SuperAPI AI Directory

trend-compare

Data & analytics

View repository

Updated 10-30 11:24

About this skill

Trend Compare

Purpose

Deterministic deltas on same-metric, same-market pairs (#2.1); cross-definition comparisons flagged, never blended.

When to use

After research-retrieve in every run.

Inputs

question.json + config/research-index.json.

Steps

  1. Run scripts/trend_compare.py --question question.json --index research-index.json --out compared.json
  2. Quote deltas with both study ids and periods; state methods when they differ.

Output

compared.json - the {retrieved, trends, contradictions} hop.

Grounding requirements

Every delta cites both studies.

Constraints

  • Like-for-like only; the model never converts metrics to force a comparison.

Escalation / uncertainty

Metric-definition mismatch -> flagged comparison, not a blended number.