id stringlengths 10 47 | category stringclasses 7
values | difficulty stringclasses 1
value | text stringlengths 12 140 | execution_expectation stringclasses 2
values | expected_intent stringlengths 66 376 |
|---|---|---|---|---|---|
canon_relative_change | valid_simple | core | Increase COGS by 4%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": 0.04}]} | |
canon_absolute_change | valid_simple | core | Increase opex by R5,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "opex", "value": 5000000, "currency": "ZAR"}]} | |
canon_set_days | valid_simple | core | Extend payment terms to 60 days. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "set", "target": "payment_terms", "value": 60, "unit": "days"}]} | |
canon_multi_operation | multi_operation | core | Revenue falls 8%, COGS rises 3%, and extend payment terms to 60 days. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": -0.08}, {"operation": "relative_change", "target": "cogs", "value": 0.03}, {"operation": "set", "target": "payment_terms", "value": 60, "unit": "days"}]} | |
canon_scenario | scenario | core | Model three scenarios: Base scenario: no changes. Upside scenario: revenue grows 10%. Downside scenario: revenue falls 8% and COGS rises 5%. | {"schema_version": "1.0", "status": "valid", "scenarios": [{"name": "base", "operations": []}, {"name": "upside", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.1}]}, {"name": "downside", "operations": [{"operation": "relative_change", "target": "revenue", "value": -0.08}, {"operation":... | |
canon_ambiguous | ambiguous | core | Improve margins next year. | {"schema_version": "1.0", "status": "ambiguous", "reason": "No quantitative margin target was specified.", "operations": []} | |
canon_unsupported | unsupported | core | Acquire our largest competitor. | {"schema_version": "1.0", "status": "unsupported", "reason": "Acquiring a competitor cannot be represented as a FinIR model mutation.", "operations": []} | |
canon_invalid_currency | invalid | core | Increase revenue by USD 2,000,000. | semantic_reject | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "revenue", "value": 2000000, "currency": "USD"}]} |
canon_invalid_type | invalid | core | Set COGS to 60 days. | semantic_reject | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "set", "target": "cogs", "value": 60, "unit": "days"}]} |
valid_revenue_relative | valid_simple | core | Increase revenue by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.06}]} | |
valid_revenue_set | valid_simple | core | Set revenue to R550,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "set", "target": "revenue", "value": 550000000.0, "currency": "ZAR"}]} | |
valid_cogs_absolute | valid_simple | core | Reduce COGS by R15,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cogs", "value": -15000000.0, "currency": "ZAR"}]} | |
valid_price_relative | valid_simple | core | Cut price by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "price", "value": -0.05}]} | |
valid_volume_relative | valid_simple | core | Increase volume by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "volume", "value": 0.1}]} | |
valid_payment_terms_range_phrasing | valid_simple | core | Payment terms move from 30 to 60 days. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "set", "target": "payment_terms", "value": 60.0, "unit": "days"}]} | |
valid_accounts_payable_absolute | valid_simple | core | Change accounts payable by R2,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "accounts_payable", "value": 2000000.0, "currency": "ZAR"}]} | |
valid_inventory_relative | valid_simple | core | Reduce inventory by 15%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "inventory", "value": -0.15}]} | |
valid_capex_absolute | valid_simple | core | Increase capex by R10,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "capex", "value": 10000000.0, "currency": "ZAR"}]} | |
valid_debt_absolute | valid_simple | core | Reduce debt by R20,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "debt", "value": -20000000.0, "currency": "ZAR"}]} | |
valid_interest_rate_set | valid_simple | core | Set the interest rate to 8%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "set", "target": "interest_rate", "value": 0.08, "unit": "percentage"}]} | |
valid_cash_absolute | valid_simple | core | Increase cash by R5,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cash", "value": 5000000.0, "currency": "ZAR"}]} | |
multi_brief_example | multi_operation | core | What happens if COGS rises by 6% and customer payment terms move from 30 to 60 days? | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": 0.06}, {"operation": "set", "target": "payment_terms", "value": 60.0, "unit": "days"}]} | |
multi_three_targets | multi_operation | core | Revenue grows 5%, opex falls 4%, and cash increases by R3,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.05}, {"operation": "relative_change", "target": "opex", "value": -0.04}, {"operation": "absolute_change", "target": "cash", "value": 3000000.0, "currency": "ZAR"}]} | |
multi_capex_debt | multi_operation | core | Increase capex by R8,000,000 and reduce debt by R12,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "capex", "value": 8000000.0, "currency": "ZAR"}, {"operation": "absolute_change", "target": "debt", "value": -12000000.0, "currency": "ZAR"}]} | |
ambiguous_sales_vague | ambiguous | core | Sales should grow significantly. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
ambiguous_costs_vague | ambiguous | core | Reduce costs a little. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
ambiguous_ebitda_vague | ambiguous | core | Make EBITDA better. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
ambiguous_no_target | ambiguous | core | Let's make the business healthier this year. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
ambiguous_duplicate_targets | ambiguous | core | Increase revenue by 5% and also cut revenue by 10%. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
unsupported_ipo | unsupported | core | Take the company public with an IPO next year. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
unsupported_layoff | unsupported | core | Lay off half of the sales team. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
unsupported_lawsuit | unsupported | core | We are facing a lawsuit from a former supplier. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
invalid_currency_capex | invalid | core | Increase capex by USD 1,000,000. | semantic_reject | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "capex", "value": 1000000.0, "currency": "USD"}]} |
range_cogs | range | core | Sweep COGS from 300,000,000 to 400,000,000 in 100 steps. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "range", "target": "cogs", "min": 300000000.0, "max": 400000000.0, "steps": 100}]} | |
range_revenue | range | core | Run a range on revenue from 400,000,000 to 600,000,000 in 50 steps. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "range", "target": "revenue", "min": 400000000.0, "max": 600000000.0, "steps": 50}]} | |
scenario_two | scenario | core | Base scenario: no changes. Stress scenario: cogs rises 12% and opex rises 6%. | {"schema_version": "1.0", "status": "valid", "scenarios": [{"name": "base", "operations": []}, {"name": "stress", "operations": [{"operation": "relative_change", "target": "cogs", "value": 0.12}, {"operation": "relative_change", "target": "opex", "value": 0.06}]}]} | |
spelled_out_percent | valid_simple | core | Bump top line up five percent. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.05}]} | |
direction_word_trim | valid_simple | core | We'd like to trim cogs by roughly 4 percent. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.04}]} | |
unlisted_alias_supplier_invoices | valid_simple | core | Our supplier invoices should be paid down by R1,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "accounts_payable", "value": -1000000.0, "currency": "ZAR"}]} | |
range_explore_between_points | range | core | Explore COGS between 300,000,000 and 400,000,000 across 100 points. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "range", "target": "cogs", "min": 300000000.0, "max": 400000000.0, "steps": 100}]} | |
spelled_out_money_rand | valid_simple | core | Increase opex by five million rand. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "opex", "value": 5000000.0, "currency": "ZAR"}]} | |
regression_direction_word_inside_supplier | valid_simple | core | Reduce supplier costs by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.1}]} | |
regression_direction_word_inside_group | valid_simple | core | Decrease cogs for this group by 4%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.04}]} | |
regression_unsupported_word_inside_emergency | valid_simple | core | This is an emergent risk; increase cash by R1,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cash", "value": 1000000.0, "currency": "ZAR"}]} | |
regression_unsupported_word_inside_issue | valid_simple | core | We have a cash flow issue and need to increase cash by R2,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cash", "value": 2000000.0, "currency": "ZAR"}]} | |
regression_unsupported_bankruptcy_inflection | unsupported | core | The company filed for bankruptcy. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
regression_unsupported_hiring_inflection | unsupported | core | We are hiring new staff and increasing opex by 5%. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
regression_unsupported_sued_inflection | unsupported | core | We are being sued by a former supplier. | {"schema_version": "1.0", "status": "unsupported", "operations": []} | |
regression_set_to_percent_non_percentage_target | ambiguous | core | Set opex to 45%. | {"schema_version": "1.0", "status": "ambiguous", "operations": []} | |
gen_rel_00_revenue | valid_simple | core | Revenue should grow by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.06}]} | |
gen_rel_01_revenue | valid_simple | core | Sales should increase by 12%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.12}]} | |
gen_rel_02_revenue | valid_simple | core | The top line should raise by 8%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.08}]} | |
gen_rel_03_revenue | valid_simple | core | Revenue should reduce by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": -0.05}]} | |
gen_rel_04_cogs | valid_simple | core | COGS should cut by 4%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.04}]} | |
gen_rel_05_cogs | valid_simple | core | Cost of goods sold should reduce by 7%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.07}]} | |
gen_rel_06_cogs | valid_simple | core | Cost of sales should trim by 3%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.03}]} | |
gen_rel_07_cogs | valid_simple | core | COGS should increase by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": 0.06}]} | |
gen_rel_08_opex | valid_simple | core | Opex should lower by 9%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "opex", "value": -0.09}]} | |
gen_rel_09_opex | valid_simple | core | Operating expenses should reduce by 12%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "opex", "value": -0.12}]} | |
gen_rel_10_opex | valid_simple | core | Operating costs should increase by 4%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "opex", "value": 0.04}]} | |
gen_rel_11_inventory | valid_simple | core | Inventory should reduce by 15%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "inventory", "value": -0.15}]} | |
gen_rel_12_inventory | valid_simple | core | Stock levels should cut by 20%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "inventory", "value": -0.2}]} | |
gen_rel_13_inventory | valid_simple | core | Inventory levels should grow by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "inventory", "value": 0.05}]} | |
gen_rel_14_capex | valid_simple | core | Capex should increase by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "capex", "value": 0.1}]} | |
gen_rel_15_capex | valid_simple | core | Capital expenditure should raise by 25%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "capex", "value": 0.25}]} | |
gen_rel_16_capex | valid_simple | core | Capital spending should cut by 30%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "capex", "value": -0.3}]} | |
gen_rel_17_debt | valid_simple | core | Debt should reduce by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "debt", "value": -0.1}]} | |
gen_rel_18_debt | valid_simple | core | Total debt should lower by 8%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "debt", "value": -0.08}]} | |
gen_rel_19_debt | valid_simple | core | Borrowings should increase by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "debt", "value": 0.05}]} | |
gen_rel_20_cash | valid_simple | core | Cash should increase by 12%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cash", "value": 0.12}]} | |
gen_rel_21_cash | valid_simple | core | The cash balance should grow by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cash", "value": 0.06}]} | |
gen_rel_22_price | valid_simple | core | Price should cut by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "price", "value": -0.05}]} | |
gen_rel_23_price | valid_simple | core | The unit price should raise by 8%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "price", "value": 0.08}]} | |
gen_rel_24_price | valid_simple | core | The selling price should increase by 3%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "price", "value": 0.03}]} | |
gen_rel_25_volume | valid_simple | core | Volume should increase by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "volume", "value": 0.1}]} | |
gen_rel_26_volume | valid_simple | core | Sales volume should grow by 7%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "volume", "value": 0.07}]} | |
gen_rel_27_volume | valid_simple | core | Units sold should boost by 15%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "volume", "value": 0.15}]} | |
gen_rel_28_accounts_payable | valid_simple | core | Accounts payable should reduce by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "accounts_payable", "value": -0.1}]} | |
gen_rel_29_accounts_payable | valid_simple | core | Trade payables should cut by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "accounts_payable", "value": -0.05}]} | |
gen_rel_30_interest_rate | valid_simple | core | The interest rate should raise by 2%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "interest_rate", "value": 0.02}]} | |
gen_rel_31_interest_rate | valid_simple | core | The borrowing rate should increase by 1%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "interest_rate", "value": 0.01}]} | |
gen_rel2_00_revenue | valid_simple | core | Grow sales by 5%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "revenue", "value": 0.05}]} | |
gen_rel2_01_cogs | valid_simple | core | Reduce COGS by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cogs", "value": -0.06}]} | |
gen_rel2_02_opex | valid_simple | core | Cut operating expenses by 8%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "opex", "value": -0.08}]} | |
gen_rel2_03_debt | valid_simple | core | Reduce borrowings by 12%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "debt", "value": -0.12}]} | |
gen_rel2_04_cash | valid_simple | core | Increase cash on hand by 4%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "cash", "value": 0.04}]} | |
gen_rel2_05_inventory | valid_simple | core | Lower inventory by 10%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "inventory", "value": -0.1}]} | |
gen_rel2_06_price | valid_simple | core | Raise price by 6%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "price", "value": 0.06}]} | |
gen_rel2_07_capex | valid_simple | core | Trim capex by 15%. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "relative_change", "target": "capex", "value": -0.15}]} | |
gen_abs_01_opex | valid_simple | core | Reduce operating costs by R8,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "opex", "value": -8000000.0, "currency": "ZAR"}]} | |
gen_abs_02_cash | valid_simple | core | Increase cash by R3,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cash", "value": 3000000.0, "currency": "ZAR"}]} | |
gen_abs_03_cash | valid_simple | core | Reduce the cash balance by R2,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cash", "value": -2000000.0, "currency": "ZAR"}]} | |
gen_abs_05_capex | valid_simple | core | Cut capital spending by R6,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "capex", "value": -6000000.0, "currency": "ZAR"}]} | |
gen_abs_07_debt | valid_simple | core | Increase total debt by R15,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "debt", "value": 15000000.0, "currency": "ZAR"}]} | |
gen_abs_08_accounts_payable | valid_simple | core | Increase accounts payable by R2,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "accounts_payable", "value": 2000000.0, "currency": "ZAR"}]} | |
gen_abs_09_accounts_payable | valid_simple | core | Reduce trade payables by R1,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "accounts_payable", "value": -1000000.0, "currency": "ZAR"}]} | |
gen_abs_10_inventory | valid_simple | core | Increase inventory by R4,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "inventory", "value": 4000000.0, "currency": "ZAR"}]} | |
gen_abs_11_revenue | valid_simple | core | Increase revenue by R25,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "revenue", "value": 25000000.0, "currency": "ZAR"}]} | |
gen_abs_12_cogs | valid_simple | core | Reduce COGS by R12,000,000. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "cogs", "value": -12000000.0, "currency": "ZAR"}]} | |
gen_abs_13_price | valid_simple | core | Increase the unit price by R100. | {"schema_version": "1.0", "status": "valid", "operations": [{"operation": "absolute_change", "target": "price", "value": 100.0, "currency": "ZAR"}]} |
Dataset Card: FinIR-IntentBench v1
Purpose
Paired {natural-language finance instruction, expected FinIR Intent} examples for
evaluating any FinIR-Intent compiler (the rule-based baseline, a fine-tuned model, or
an LLM-backed one) against the canonical FinIR Intent Contract (schema 1.0,
owned by the core finir package — finir.intent.json_schema() /
schemas/finir-intent-v1.schema.json, runtime >=0.1.0,<0.2.0).
Size and splits
- 183 examples total.
core(143) — in-distribution phrasing the deterministic baseline is built to support.stress(40) — a held-out subset of harder paraphrases (unlisted verbs, fractions, magnitude suffixes, idioms, out-of-domain phrasing) authored independently of the baseline's rules. The baseline was deliberately not tuned to these; they exist so evaluation reports a real coverage gap rather than a score the parser was fitted to. See the split methodology below and../MODEL_CARD.md.
The difficulty field on every row records the split.
Categories
| category | total | core | stress | covers |
|---|---|---|---|---|
valid_simple |
118 | 90 | 28 | one operation (relative_change / set / absolute_change) across every supported target |
ambiguous |
21 | 16 | 5 | vague quantities, no target, conflicting duplicate targets, "set to N%" on a non-percentage target |
unsupported |
17 | 13 | 4 | clear but not a FinIR model mutation (acquisitions, IPOs/going public, layoffs, litigation, hiring, bankruptcy, spin-offs) |
multi_operation |
10 | 9 | 1 | multiple simultaneous operations in one instruction |
invalid |
7 | 5 | 2 | structurally valid, semantically wrong at execution (currency or unit mismatch) |
range |
6 | 6 | 0 | a range batch sweep |
scenario |
4 | 4 | 0 | named scenarios, each with simultaneous operations |
Every one of the 12 supported targets (revenue, cogs, opex, payment_terms,
accounts_payable, inventory, capex, debt, interest_rate, cash, price,
volume) and every operation type (set, relative_change, absolute_change,
range, multi-operation, scenarios), unit (money, percentage, days,
quantity) and currency (ZAR, USD) appears in the dataset.
Format
One JSON object per line in examples/intentbench_v1.jsonl:
{"id": "...", "category": "...", "difficulty": "core|stress", "text": "...",
"expected_intent": { ...canonical FinIR Intent envelope... }}
9 examples (id prefixed canon_) instead carry a fixture field naming a file in
the core repo's tests/fixtures/intents/ — the exact fixtures
tests/test_intent_contract.py validates and executes on the runtime side. The repo
copy references them by filename (rather than re-typing their JSON) so the benchmark
and the runtime can never drift apart on those cases; the Hugging Face export
(../release/huggingface/finir-intentbench/) resolves them inline so the dataset
loads with no dependency on the GitHub repo (see "Loading" below).
Seven rows whose expected_intent is structurally "valid" but semantically wrong
for the reference model carry "execution_expectation": "semantic_reject" — the
evaluation checks the runtime correctly raises finir.intent.IntentValidationError,
proving the NL layer transcribes faithfully and lets the runtime catch the error.
Loading (Hugging Face Datasets)
The Hugging Face export ships fully inlined JSONL (no fixture references; the
expected_intent is a JSON string to keep a stable, flat schema), plus per-split
files:
from datasets import load_dataset
ds = load_dataset("Olyxee/FinIR-IntentBench") # 'core' and 'stress' splits
core = load_dataset("Olyxee/FinIR-IntentBench", split="core")
import json
row = core[0]
expected = json.loads(row["expected_intent"]) # the canonical envelope
No clone of the FinIR GitHub repo is required to use the dataset.
Generation methodology
- Fully synthetic. No real company data, no data from any real financial system. All values are illustrative and generic.
- Ground-truth expected intents are derived from a structured spec (target,
operation, direction, magnitude) — not by running the baseline parser — so the
benchmark measures the parser rather than being defined by it (
../generator in the workstream; see../MODEL_CARD.md). - The 9
canon_*rows reuse the core repo's shared fixtures verbatim. - Human-reviewed: every row was reviewed for a correct canonical envelope and correct split label; the core subset is additionally gated by a test asserting the baseline reaches 100% status accuracy on it, and every expected intent is checked against the canonical JSON Schema in CI.
Split methodology (anti-leakage)
core is phrasing inside the documented rule set; stress is held-out paraphrases
authored to fall outside it. A benchmark hand-tuned until the parser passes every
case measures nothing — so the baseline is frozen against the stress subset. On the
current baseline the stress subset scores well below core (status 0.70 vs 1.00, value
0.58 vs 1.00), which is the intended, honest signal. When a stress case is genuinely
fixed in the rule set, it may move to core with regression coverage; new
adversarial paraphrases are added to stress to keep the gap measurable.
What is not in this dataset
- No
period/time-scope field (forbidden by the v1.0 contract). - No private company, customer, or personal data — entirely synthetic.
- No canonical alias ontology: targets are the raw FinIR model-input names; synonym → target mapping is the compiler's job, not the dataset's or the contract's.
Versioning
Filename-versioned (intentbench_v1.jsonl). A breaking change to the FinIR Intent
Contract (a schema_version major bump) requires a new IntentBench major version, per
docs/intent-contract.md#versioning-policy. Additive cases can be appended without a
version bump.
License & attribution
Apache-2.0, matching the core FinIR repository. FinIR-IntentBench was contributed by Alisha Fatima (@AlishaFatima16) as part of the FinIR-Intent Hugging Face workstream; the canonical contract it targets is maintained by Olyxee.
Files
data/intentbench_v1.jsonl— all 183 examples (eachexpected_intentis a JSON string).data/core.jsonl— 143 core examples.data/stress.jsonl— 40 held-out stress examples.
Links
- FinIR-Intent (model/baseline): https://huggingface.co/Olyxee/FinIR-Intent
- FinIR source (GitHub): https://github.com/Olyxee/finir
- Intent Contract spec: https://github.com/Olyxee/finir/blob/main/docs/intent-contract.md
- Downloads last month
- 31