--- license: mit pretty_name: Cosimo CFA/FRM Synthetic Reasoning Dataset language: - en task_categories: - question-answering - text-generation tags: - finance - cfa - frm - synthetic - reasoning - chain-of-thought - dpo - orpo - preference-optimization - exam size_categories: - 10K__` — content hash of question + verified answer | | `program` | `CFA_Level_I` … `FRM_Part_2` | | `topic` / `subtopic` | curriculum taxonomy cell | | `difficulty` | tiered difficulty label | | `question_type` | `Calculation`, `Vignette`, `Constructed Response`, `MCQ` | | `question` | original question text | | `answer` | correct answer (computed) | | `distractors` | plausible wrong options (empty for constructed-response) | | `reasoning_trace` | step-by-step CoT with formulas and explicit assumptions | | `verified` | `true` — only verified records are shipped | | `verification` | method, template, seed, recomputation flags | | `metadata` | pitfalls addressed, generator name/version, seed | | `preference_pair` | `chosen`/`rejected` traces + `pitfall` (null on ~65% of rows) | ### `preference_pairs` — flattened DPO/ORPO rows 24,711 rows with `prompt`, `chosen` (`{answer, reasoning_trace}`), `rejected` (`{answer, reasoning_trace}`), and the named `pitfall` the rejected trace commits (e.g. *"geometric vs arithmetic"*, *"annuity due vs ordinary"*, *"sign flip"*). The rejected answer is guaranteed numerically different from the correct answer. ```python prefs = load_dataset("btech-software/cosimo-cfa-frm-71k", "preference_pairs") def to_dpo(row): return { "prompt": row["prompt"], "chosen": row["chosen"]["reasoning_trace"], "rejected": row["rejected"]["reasoning_trace"], } dpo = prefs["train"].map(to_dpo, remove_columns=prefs["train"].column_names) ``` ## Integrity guarantees The full corpus passes a 4-axis verification gate (100% on all axes at release): 1. **Answers are computed, not guessed.** Every template computes its result numerically; the verification gate re-runs the template from the stored seed and compares the recomputed answer to the persisted one. 2. **Traces are derived from computed numbers.** Trace text references the already-computed intermediates and is byte-identical under deterministic recomputation. 3. **Concrete preference pairs.** Every `rejected` answer is verified to differ numerically from the correct answer. 4. **Clean distractors.** No distractor numerically equals the correct answer. Generation is deterministic per `(program, template, variant)` with content-hashed IDs, so every record is independently reproducible from its stored seed. ## Limitations - **Structural novelty is bounded by 71 distinct question stems** (templates); within a stem, records differ in sampled numbers, entities, and phrasing. Deduplicate by `metadata.generator` if you need stem-level splits. - Content is synthetic exam-*style* material aligned to public learning objectives; it is not a substitute for official curriculum or mock exams. - English only. ## Provenance and trademarks All questions are **original synthetic content** generated from independently written templates inspired only by publicly available learning outcome statements. **No proprietary CFA Institute or GARP exam items were used.** CFA® is a registered trademark of CFA Institute; FRM® is a registered trademark of the Global Association of Risk Professionals (GARP). This dataset is not affiliated with, endorsed by, or sponsored by CFA Institute or GARP. ## License MIT. Attribution appreciated: ```bibtex @misc{cosimo2026, title = {Cosimo Financial Dataset: A Synthetic, Code-Verified CFA/FRM Financial Reasoning Dataset}, author = {Sant'Anna, Bruno}, year = {2026}, url = {https://huggingface.co/datasets/btech-software/cosimo-cfa-frm-71k} } ```