How rohith00755/search-term-triage-engine works
TriageIQ turns Google Ads search-term reports into audited PROMOTE, BLOCK, or IGNORE decisions, then presents review and actionable exports. Users can run the batch CLI or the Streamlit dashboard. The workflow preserves intent-cluster traceability, applies statistical evidence and advertiser boundaries, suggests negatives, and supports human corrections and contextual precedents. The README documents the main contract and capabilities; sampled CLI code shows evaluation and export orchestration, while the large dashboard excerpt is partial, so dashboard links rely on its imports and shown pipeline call rather than a complete UI trace.
Main entry points: app.py Review Dashboard · run_cli.py Batch CLI · rules.py Evidence Decisions · negatives.py Negative Suggestions
Components 14
User Entry Points
- Search Term CSV
data/search_terms_25k.csv - Batch CLI
run_cli.py - Review Dashboard
app.py
Triage Analysis
- Intent Clustering
triage_engine/clustering.py - Evidence Decisions
triage_engine/rules.py - Statistical Evidence
triage_engine/stats.py - Advertiser Boundaries
triage_engine/rules.py - Negative Suggestions
triage_engine/negatives.py
Review Intelligence
- Triage Copilot
triage_engine/copilot.py - Reviewer Precedents
triage_engine/learning.py - Human Corrections
triage_engine/rules.py
Results and Export
- Audit and Ads Export
triage_engine/exporter.py - Audit and Action CSVs
output
Other components
- Search Analyst
Connections 18
- Search Analyst → Batch CLI: runs batch
README.md - Search Analyst → Review Dashboard: opens dashboard
README.md - Search Term CSV → Batch CLI: loads report
README.md - Batch CLI → Intent Clustering: clusters terms
run_cli.py - Batch CLI → Evidence Decisions: evaluates terms
run_cli.py - Evidence Decisions → Statistical Evidence: uses metrics
triage_engine/rules.py - Evidence Decisions → Advertiser Boundaries: checks scope
README.md - Batch CLI → Negative Suggestions: generates suggestions
run_cli.py - Negative Suggestions → Advertiser Boundaries: uses exclusions
triage_engine/negatives.py - Batch CLI → Audit and Ads Export: exports results
run_cli.py - Audit and Ads Export → Audit and Action CSVs: writes CSVs
triage_engine/exporter.py - Review Dashboard → Intent Clustering: runs pipeline
app.py - Review Dashboard → Evidence Decisions: runs pipeline
app.py - Review Dashboard → Negative Suggestions: uses suggestions
app.py - Review Dashboard → Audit and Ads Export: exports results
app.py - Review Dashboard → Triage Copilot: uses copilot
app.py - Review Dashboard → Reviewer Precedents: uses precedents
app.py - Review Dashboard → Human Corrections: records overrides
README.md