Project Info

MetricThread

Devpost

Inspiration

Business decisions rarely fail because teams lack dashboards. They fail because the evidence is scattered across departments, the relationships between metrics are hard to inspect, and recommendations arrive without a clear explanation of why anyone should trust them. MetricThread began with a VP-of-Growth question: when customer acquisition cost starts rising, how can a team quickly determine which upstream business signal deserves attention—and confidently act on it without treating an AI explanation as proof? We wanted to build something more useful than “chat with your CSV.” MetricThread continuously connects Client, Financial, and Partner signals, detects evidence-backed predictive relationships, and turns them into a decision workflow that people can inspect, challenge, and measure.

What it does

MetricThread is an Enterprise Intelligence Agent for auditable business decisions. It monitors cross-functional metrics, detects statistically significant predictive lead–lag relationships, and presents the evidence before generating a recommendation. Its hero scenario identifies a decline in partner referral quality that predicts a rise in client acquisition cost. A user can: Start a live event feed and watch metrics update. Inspect retained signals in an Evidence Ledger. Open an Evidence Casefile to replay the underlying series, see candidate tests, rejected negative controls, ADF preparation, q-values, F-statistics, effect sizes, fingerprints, and confidence components. Review Evidence Resilience, which uses rolling historical windows and a target-history baseline before allowing a new recommendation. Move a recommendation from proposed to planned to implemented, then record a measured outcome. Ask grounded questions that return cited signal and insight IDs—or explicitly refuse when evidence is unavailable. Run a bounded marketing-spend scenario with forecast intervals, assumptions, reliability, and supporting evidence.

How we built it

We built MetricThread as a React/Vite frontend and FastAPI backend, with Supabase Postgres for durable evidence and decision records, and Upstash Redis Streams for the live event pipeline. The system uses a deterministic seeded enterprise dataset spanning 180 days and nine metrics across Client, Financial, and Partner domains. Redis Streams fan each event into independent hot and cold consumer paths: one powers the live dashboard and the other persists data for historical analysis. The statistical core uses Python, pandas, NumPy, and statsmodels. It aligns daily series, checks stationarity, applies differencing when needed, selects model history with BIC, evaluates directed Granger tests, and applies Benjamini–Hochberg correction across the full candidate family. Confidence is computed deterministically from adjusted significance, incremental effect, sample adequacy, and recency. For the intelligence layer, we implemented an OpenAI Responses integration with strict structured output. The model receives only a compact, validated evidence packet; server-side checks require valid cited IDs, preserve deterministic confidence, and reject causal language. Codex helped us plan the architecture, implement the pipeline and product surfaces, build tests, and harden the deployment path.

Challenges we ran into

The hardest problem was making the product genuinely trustworthy rather than merely polished. We had to ensure the signal engine did not simply rediscover the relationship we wanted. That meant testing the complete cross-domain candidate family, using multiple-testing correction, and carrying two unrelated negative controls through the workflow. We also learned that a significant full-history result is not enough. A relationship can look strong overall but fail across historical windows or add no value beyond the target metric’s own history. This led to Evidence Resilience: a rolling-origin validation layer that suppresses unstable signals before they can produce a new recommendation. Finally, we had to make the live demo feel operational. The workspace now supports real persisted decision lifecycle changes and outcome tracking, so judges can experiment with the product rather than only watch a static dashboard.

Accomplishments we're proud of

Built a deterministic-first intelligence system where evidence comes before AI narration. Created the Evidence Casefile: an inspectable forensic record for every retained signal. Added rolling-origin resilience checks, negative-control validation, and baseline comparisons to suppress unstable recommendations. Kept confidence immutable and reproducible rather than model-generated. Built a complete evidence-to-action loop: signal → insight → recommendation → implementation → measured outcome. Made unsupported questions refuse instead of inventing an answer. Delivered a distinctive enterprise product experience that prioritizes inspectability over dashboard theatre.

What we learned

We learned that “AI for analytics” becomes much more compelling when the AI is the final interpreter, not the source of truth. We also learned that explainability is not a tooltip. It needs to be part of the product architecture: persisted evidence, reproducible tests, negative controls, model versions, confidence components, and a clear record of what a recommendation is based on. Most importantly, we learned that predictive evidence should support human judgment—not replace it. MetricThread is designed to help teams make better decisions with an inspectable trail behind every important recommendation.

What's next

Next, we want to connect governed real-world sources such as CRM, ERP, support, and marketing platforms while preserving the same evidence boundary. We also plan to add authenticated workspaces, decision ownership, richer audit attribution, collaboration workflows, scheduled executive briefings, and calibrated recommendation evaluation based on real outcomes. Longer term, MetricThread can become a decision-intelligence layer for enterprises: continuously finding meaningful cross-functional signals, validating them over time, and helping teams turn evidence into accountable action.

Analysis

Compare with all teams

View

Metric

Figures cover GitHub contributors during the hackathon window. A co-authored commit counts in full for each author, so per-member totals add up to more than the whole-team figures.

Technology

Found in codeClaimed only
  • CSSIn code
  • FastAPIIn code
  • HTMLIn code
  • JavaScriptIn code
  • PythonIn code
  • ReactIn code
  • SQLIn code
  • DockerClaimed
  • PostgreSQLClaimed
  • RedisClaimed
  • SupabaseClaimed
  • VercelClaimed

7 of 12 appear in the indexed code. 5 claimed on Devpost could not be matched to code, which may simply mean the tool leaves no trace in the repository.

AI coding agents

  • CodexConfig

Detected from committed agent config files and commit authorship. Absence of a signal is not proof an agent was unused.

Codebase size

Source size

495 KB

Source files

62

Counts recognized source files only; vendored directories, binaries and lockfiles are excluded, so this is smaller than the repository on disk.

0 stars