miscusi's picture
AutoScientist Part 2 source dataset
c2d67a9 verified
|
Raw
History Blame Contribute Delete
7.16 kB
---
license: cc-by-4.0
language:
- en
task_categories:
- text-generation
tags:
- instruction-tuning
- market
- autoscientist-challenge
- adaption
size_categories:
- 1K<n<10K
---
# Market Analysis & News Instruction Dataset (SEC XBRL-grounded)
Instruction-tuning data for financial analysis — fundamentals, growth and ratio arithmetic, trend and risk reading, filing navigation and comparability caveats — built from real XBRL facts, with every stated figure independently re-derived.
Built for the [Adaption Labs AutoScientist Challenge](https://adaptionlabs.ai/blog/autoscientist-challenge) Part 2, **Market Analysis & News** track.
## What is in it
| | |
|---|---|
| Rows | **5,068** (4,501 train / 567 eval) |
| Task families | **18** |
| Companies covered | **2,341** of 4,230 available |
| Response length | median **56** words (p95 90, max 96) |
| Duplicate instructions | **0** |
| Source | SEC EDGAR XBRL company facts |
| Task family | Rows |
|---|---|
| `fundamental_lookup` | 350 |
| `yoy_growth` | 350 |
| `margin_analysis` | 350 |
| `ratio_analysis` | 350 |
| `cagr` | 350 |
| `trend_summary` | 350 |
| `peer_comparison` | 350 |
| `risk_flag` | 350 |
| `earnings_headline` | 350 |
| `news_summary` | 350 |
| `news_extraction` | 350 |
| `news_fact_check` | 350 |
| `headline_sentiment` | 350 |
| `news_commentary` | 350 |
| `premise_check` | 54 |
| `filing_navigation` | 54 |
| `metric_definition` | 36 |
| `data_caveat` | 24 |
## Three design decisions, and why
**Concise answers, and we tested whether that was right.** Median response is
56 words. Pairwise judges are known to reward length, and a documented entry in this same challenge trained on ~780-word chain-of-thought and *lost* to its own base model twice. We tested the trade-off directly on the [HR dataset card](https://huggingface.co/datasets/miscusi/adaption-hr-advisory-onet#concise-vs-expanded--the-measurement-that-surprised-us): training on 5.7x longer completions produced a model indistinguishable from the concise one, so concision costs nothing measurable and is far cheaper to serve.
**Split by company, not by row.** A pool of
507 companies was reserved before generation and excluded from
training entirely; the 567 evaluation rows are drawn from
276 of them
(verified: 0 companies overlap training). A row-level split would let the
same company appear on both sides and report memorisation as generalisation.
**Breadth over depth.** 18 task families rather than one schema repeated.
The target is competence across the domain, including tasks phrased in ways this
dataset does not contain.
## Verification
**3,393 numeric claims across both datasets were independently re-derived from source and every one matches the figure stated in the response.**
The verifier (`verify.py`, included in this repo) does not import the generator's
arithmetic. It parses
each question for its inputs, recomputes the answer from scratch — for the market
set, from the source XBRL facts — and compares against the figure the stored
response states. Sharing a helper would let a wrong formula agree with itself.
## Adaption platform quality grade
Graded by [Adaption](https://adaptionlabs.ai)'s own data-quality evaluation (dataset `bc48eb4e-1de9-4187-8094-d35f5304f8c8`, sampled on 100 rows):
| | source (what we trained on) | after platform adaptation |
|---|---|---|
| Grade | **B** | **B** |
| Score | 7.0 | 8.7 |
| Percentile (all platform datasets) | 11.8 | **31.5** |
| Prompt quality | 6.7 (pct 14.1) | 8 (pct 26.1) |
| Completion quality | 8.58 (pct 9.4) | 9.36 (pct 37) |
Improvement: **+24.3%**. All numbers, including the per-metric percentiles, are exactly as returned by the platform API (`eval/adaption_grade_*.json` in the build repo); where a before/after percentile repeats, that repetition is the platform's own coarse bucketing, not a transcription error.
## Format
```json
{"id": "...", "task_family": "...", "instruction": "...", "response": "...", "split": "train"}
```
Recommended system prompt:
> You are a financial analyst. Answer with the figures that matter, state the arithmetic you used, and flag when a comparison is misleading. Be concise.
## Licence and attribution
Released under **CC-BY-4.0**.
Financial figures are taken from XBRL company facts filed with the U.S. Securities and Exchange Commission and retrieved through the SEC's public API. U.S. government works are not subject to copyright. Figures are as filed and may have been restated by the filer since retrieval.
Source: [SEC EDGAR XBRL company facts](https://www.sec.gov/search-filings/edgar-application-programming-interfaces). (Note: sec.gov returns HTTP 403 to clients without a declared User-Agent — automated link checkers will flag it; it opens normally in a browser, per the SEC's [fair-access policy](https://www.sec.gov/os/webmaster-faq#developers).)
## Mirrors and companion artifacts
The challenge requires the dataset **and** the weights on Hugging Face **and**
Kaggle. All four artifacts for this track, plus the public demo:
| Artifact | Link |
|---|---|
| Dataset (HF) | https://huggingface.co/datasets/miscusi/adaption-market-analysis-sec |
| Dataset (Kaggle) | https://www.kaggle.com/datasets/usiadianimuwa/adaption-market-analysis-sec |
| Weights (HF) | https://huggingface.co/miscusi/adaption-market-analyst-qwen2.5-1.5b |
| Weights (Kaggle) | https://www.kaggle.com/datasets/usiadianimuwa/adaption-market-analyst-qwen25-15b |
| Companion model (HF) | https://huggingface.co/miscusi/adaption-market-analyst-qwen2.5-1.5b |
| Demo — every eval prompt and all answers, including our losses | [https://miscusi-adaption-autoscientist-demo.static.hf.space](https://miscusi-adaption-autoscientist-demo.static.hf.space) ([Space](https://huggingface.co/spaces/miscusi/adaption-autoscientist-demo)) |
## Why trust these numbers
- Every numeric claim in every response is **re-derived from source** by
`verify.py` (included in this repo), which shares no arithmetic with the
generator.
- All model evaluations for this track are **blinded and judged in both
orderings**: a verdict that does not survive swapping the answers is recorded
as a tie, never resolved in our favour.
- The [demo](https://miscusi-adaption-autoscientist-demo.static.hf.space) publishes **every** evaluation prompt with all
models' answers — including the ones we lose.
## Citation
```bibtex
@misc{adaption_market_analysis_sec_2026,
author = {Adia-Nimuwa, Usi},
title = {adaption-market-analysis-sec: AutoScientist Challenge Part 2, Market Analysis & News track},
year = {2026},
url = {https://huggingface.co/datasets/miscusi/adaption-market-analysis-sec}
}
```
## Limitations
- Responses are generated from structured records by template, then verified. They
are factually grounded and stylistically consistent, which also means they are
stylistically *narrow* — this set is designed to be mixed with general
instruction data, not trained on alone.
- Figures are as filed at retrieval time. Filers restate, and fiscal-year labels do not imply aligned periods across companies. Nothing here is investment advice.
- English only.