AI Fin Hub

Playground

LLM Finance Error Taxonomy

Paste a model's finance answer to check it against 12 failure modes, from hallucinated tickers to stale prices; with nothing pasted it flags 0.

On the documented defaults, computed by this tool's engine · the same answer as JSON

12 documented LLM failure modes in finance, from hallucinated tickers and stale prices to unit, currency and off-by-100 errors. Paste output to see flags.

01Playground

Runs in your browser. Nothing you enter is uploaded, and no account or API key is needed.

Education, not investment advice. Past performance does not predict future results. How we check our numbers.

The demo is a made-up answer with planted errors in 9 of the 12 modes.

When filled, every currency amount, percent, number of 1,000 or more and year in the answer is looked up in this text. A figure the answer computed (a growth rate, a ratio) shows as not found.

Failure modes flagged

9of 12

10 flags raised by surface patterns. Each flag is a lead for a reviewer, not a verdict: a pattern can fire on a correct sentence and miss a wrong one.

Flagged modes

  • Hallucinated ticker · 1 flag

    Fabricated stock symbol or one that does not exist on the implied exchange.

    • Low confidence: Symbol "XYZW" is used as a ticker but is not in this tool's list of 60 common US large caps and ETFs — confirm it exists on the exchange.

    Fix: Constrain to a verified ticker list and reject unknown symbols.

  • Stale price · 1 flag

    Price quoted appears to come from training data, not a live source. Phrases like 'as of my last update' or specific old-looking dates.

    • High confidence: Phrase: "As of my last update"

    Fix: Require live data tool calls; reject answers with 'as of my knowledge' caveats.

  • Ratio mistake · 1 flag

    Standard financial ratio formula is mis-stated (e.g. 'P/E = price × earnings').

    • High confidence: P/E stated as price × earnings (should be price / earnings)

    Fix: Cross-check ratio formulas against a fixed glossary before publishing.

  • Currency error · 1 flag

    Numbers presented in the wrong currency or without currency markers (e.g. EUR for USD).

    • Medium confidence: Euro or sterling amount in an answer about a US-listed security — US listings trade in USD

    Fix: Force explicit currency annotation; cross-check against ticker exchange.

  • Time-zone error · 1 flag

    Market times reported in wrong timezone (e.g. 09:30 CET for NYSE open).

    • High confidence: US cash equities open at 09:30 New York time (ET), not 09:30 CET/GMT/UTC

    Fix: Convert all times to UTC before display and require timezone tags.

  • Off-by-100 magnitude · 1 flag

    Decimals shifted: 5% reported as 0.05% or 500%.

    • Medium confidence: Three-digit percentage for return/yield (likely off-by-100)

    Fix: Sanity-check ranges (return |x| < 100, ratios within plausible bands).

  • Fictional source · 2 flags

    Citation to a paper, page, or filing that doesn't exist or is fabricated.

    • Low confidence: Citation "(Smith, 2024)" appears without a verifiable URL nearby.
    • Low confidence: Citation "Bloomberg article" appears without a verifiable URL nearby.

    Fix: Require URLs that retrieve OK and DOIs that resolve before citing.

  • Wrong period · 1 flag

    Quarterly figures presented as annual (or vice versa) without conversion.

    • Medium confidence: Q-period figures presented as annual

    Fix: Tag every figure with its period; reject mixed-period aggregations.

  • Double-counted dividend · 1 flag

    Dividend included in both total return and as a separate income line — counted twice.

    • Medium confidence: Dividends added on top of a figure that feeds total return — total return already includes them

    Fix: Choose one convention (price return vs total return) and stick to it across the answer.

No pattern matched for

Units error, Wrong split-adjustment, Wrong tax bracket / rate

No flag does not mean the answer is right in that respect, only that none of the patterns matched.

02Receipt

What the answer above ran on, how it is computed, where the data comes from, and a link that reopens it.

Inputs

The inputs you enter above. Nothing is uploaded.

Method

How the hub's tools are built and checked

Engine /engines/llm-finance-error-taxonomy.js, sha256 5bdab00197e4. The page, the API and MCP run the same file.

Source

Your inputs / BYO key

Page updated .

Permalink

aifinhub.io/llm-finance-error-taxonomy/

The link carries the inputs you set, so it reopens this result.

03For agents

Any agent can run this calculator by URL or MCP and get the same answer as JSON: the inputs that used defaults, the result and a line to cite. The call below follows the inputs you set above. In code, import the same engine; it runs where you import it, with no request or key.

Requestthe documented defaults
GET https://aifinhub.io/api/run/llm-finance-error-taxonomy
Response200 application/json · 4.6 KB
{
  "calculator": "llm-finance-error-taxonomy",
  "title": "LLM Finance Error Taxonomy",
  "site": "AI Fin Hub",
  "input": {},
  "defaults_used": {
    "ground_truth": "",
    "text": ""
  },
  "result": {
    "text": "",
    "flags": [],
    "flaggedModeCount": 0,
    "modes": [
      {
        "id": "hallucinated_ticker",
        "label": "Hallucinated ticker",
        "description": "Fabricated stock symbol or one that does not exist on the implied exchange.",
        "remediation": "Constrain to a verified ticker list and reject unknown symbols."
      },
      {
        "id": "stale_price",
        "label": "Stale price",
        "description": "Price quoted appears to come from training data, not a live source. Phrases like 'as of my last update' or specific old-looking dates.",
        "remediation": "Require live data tool calls; reject answers with 'as of my knowledge' caveats."
      },
      {
        "id": "ratio_mistake",
        "label": "Ratio mistake",
        "description": "Standard financial ratio formula is mis-stated (e.g. 'P/E = price × earnings').",
        "remediation": "Cross-check ratio formulas against a fixed glossary before publishing."
      },
      {
        "id": "units_error",
        "label": "Units error",
        "description": "Percentage where decimal expected, basis points where percent expected, or shares where dollars expected.",
        "remediation": "Strict input/output schemas with explicit units; validate after generation."
      },
      {
        "id": "currency_error",
        "label": "Currency error",
        "description": "Numbers presented in the wrong currency or without currency markers (e.g. EUR for USD).",
        "remediation": "Force explicit currency annotation; cross-check against ticker exchange."
      },
      {
        "id": "timezone_error",
        "label": "Time-zone error",
        "description": "Market times reported in wrong timezone (e.g. 09:30 CET for NYSE open).",
        "remediation": "Convert all times to UTC before display and require timezone tags."
      },
      {
        "id": "magnitude_off_100",
        "label": "Off-by-100 magnitude",
        "description": "Decimals shifted: 5% reported as 0.05% or 500%.",
        "remediation": "Sanity-check ranges (return |x| < 100, ratios within plausible bands)."
      },
      {
        "id": "fictional_source",
        "label": "Fictional source",
        "description": "Citation to a paper, page, or filing that doesn't exist or is fabricated.",
        "remediation": "Require URLs that retrieve OK and DOIs that resolve before citing."
      },
      {
        "id": "wrong_period",
        "label": "Wrong period",
        "description": "Quarterly figures presented as annual (or vice versa) without conversion.",
        "remediation": "Tag every figure with its period; reject mixed-period aggregations."
      },
      {
        "id": "wrong_split_adj",
        "label": "Wrong split-adjustment",
        "description": "Pre-split prices used in calculations involving post-split share count, or vice versa.",
        "remediation": "Always work with adjusted close; verify against vendor-published adjustment factors."
      },
      {
        "id": "wrong_tax_bracket",
        "label": "Wrong tax bracket / rate",
        "description": "Tax bracket from a different jurisdiction or year applied to the calculation.",
        "remediation": "Annotate tax tables with year + jurisdiction; reject answers without year stamps."
      },
      {
        "id": "double_count_dividend",
        "label": "Double-counted dividend",
        "description": "Dividend included in both total return and as a separate income line — counted twice.",
        "remediation": "Choose one convention (price return vs total return) and stick to it across the answer."
      }
    ]
  },
  "provenance": {
    "run": "https://aifinhub.io/api/run/llm-finance-error-taxonomy",
    "page": "https://aifinhub.io/llm-finance-error-taxonomy/",
    "methodology": "https://aifinhub.io/llm-finance-error-taxonomy/",
    "contract": "https://aifinhub.io/contracts/llm-finance-error-taxonomy.json",
    "engine": "https://aifinhub.io/engines/llm-finance-error-taxonomy.js",
    "engine_sha256": "5bdab00197e4e7a77d16ac1200e305fd8807b0eea1ea57f52ecc4e4592042801",
    "build": "d4d071dba6f1f7db23f33f8f0df24024b2a95f80"
  },
  "disclaimer": "Planning estimates only — not financial, tax, or investment advice.",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "cite": "AI Fin Hub, LLM Finance Error Taxonomy (engine 5bdab00197e4), https://aifinhub.io/api/run/llm-finance-error-taxonomy"
}
The response for the defaults, as the run URL returns it. Provenance carries the engine hash and build.

How to use it

  1. Paste a model's finance answer into the first box, or keep the demo answer, which has planted errors in 9 of the 12 modes.
  2. Optionally paste verified source text into the ground-truth box to check every number in the answer against it.
  3. Read how many of the 12 failure modes were flagged and, with ground truth, how many numeric claims were found in it.
  4. Open each flagged mode to see the matched evidence, its confidence and the suggested fix.
  5. Treat flags as leads: confirm each one, and remember that modes with no flag were only pattern-checked, not verified.

Questions people ask

What categories of LLM error does the taxonomy cover?

Twelve finance-specific failure modes: hallucinated ticker, stale price, ratio mistake, units error (percent vs basis points), currency error, time-zone error, off-by-100 magnitude, fictional source, wrong period (quarterly vs annual), wrong split adjustment, wrong tax bracket or year, and double-counted dividend. Each mode has a description, at least one detection pattern and a suggested fix.

How were the error rates measured?

The tool does not publish error rates. It is a checker, not a benchmark: it scans the text you paste with fixed patterns and lists what matched. How often a given model makes each mistake depends on your prompts, data access and tools, so measure it on your own answers.

What does the ground-truth box check?

If you paste verified text (a filing excerpt, a vendor quote, a press release), every currency amount, percent, number of 1,000 or more and year in the answer is looked up in it, using the same matcher as the hallucination detector. Figures the answer computed itself, such as a growth rate or a ratio, are not in the source and show as not found.

Does a clean result mean the answer is correct?

No. The patterns catch common surface forms, such as 'P/E = price × earnings', '09:30 GMT' for the NYSE open, or '0.5% (5 bps)'. A wrong number in a correct-looking sentence passes unless it contradicts the ground truth, and a correct sentence can still trip a pattern. Read every flag before acting on it.

How do I use the taxonomy in my own evals?

Use the twelve modes as a checklist of what to test. For each mode that matters for your task, write prompts where the mistake is likely (a recent stock split, a non-US listing, a quarterly filing), grade the answers against a reference, and run each answer through this checker or the agent endpoint as a first-pass filter. The checker gives you the structure and a cheap screen, not the grading.

  • Playgrounds Hallucination Detector

    Paste a source document + an LLM's extraction. Every numeric claim in the output is checked against the source. Client-side. Catches silent fabrication before it ends up in your pipeline.

  • Playgrounds Structured Schema Validator for Finance

    Paste LLM JSON output and validate against four pre-built finance schemas — research output, trade decision, risk snapshot, peer comparison — with sanity checks on unit and GAAP basis.

  • Playgrounds Price-Blind Research Auditor

    Paste a research prompt or agent context bundle. The auditor flags price numbers, directional words, and outcome-leaking phrases that cause LLMs to retroactively rationalize positions. Builds a price-blind research boundary.

All articles