Example scenarios Classification

Example scenario — illustrative numbers

Which stocks is this headline about?

Tag each news headline with the listed companies it is actually about — not every name it happens to mention.

ClassificationMarket dataA market-data desk

The problem

A market-data desk tags tens of thousands of headlines a day so clients can filter news by holding. Simple name matching over-tags ("Apple" in a recipe story) and misses subsidiaries and brands.

A general-purpose AI API tags well but is too slow for a live feed and too expensive at this volume, so today only a fraction of headlines get tagged that way.

Input and target output

Input Headline and lede
Shares of the Danish drugmaker slipped in Copenhagen after a rival's obesity pill showed stronger weight loss in a late-stage trial; analysts said the read-across for the Ozempic maker's US sales was limited for now.

Source region: EU · Time: 09:12 CET
Output Target output (JSON)
{
  "primary": [
    {
      "ticker": "NOVO-B.CO",
      "role": "subject",
      "sentiment": "negative"
    }
  ],
  "secondary": [
    {
      "ticker": null,
      "role": "rival_unnamed",
      "note": "rival not named in text"
    }
  ],
  "mentioned_not_about": [],
  "confidence": 0.86
}

The scorer rubric

Each attempt is graded from 0 to 1. The points below add up to 1.00.

  • 0.40Primary subject ticker is correct
  • 0.20No tickers added that the story is not about
  • 0.15Unnamed or ambiguous entities are flagged, not guessed
  • 0.15Sentiment towards the subject is right
  • 0.10Valid JSON with tickers from the supplied universe only

Before and after

Example scenario — illustrative numbers

About 1.5 million headlines a month. Illustrative estimates, not measured results.
MetricGeneral-purpose AI APIOraCommand model
Rubric score (held-out set)0.900.92
Median latency per headline1.8 s0.15 s
Monthly running cost$9,000$1,100
Where headlines goThird-party APIYour cloud account
Who owns the modelRentedYou do