--- language: - en task_categories: - text-retrieval size_categories: - 1K= 2}| / |{score >= 2}| # answer only evidence_recall@k = |topk ∩ {score >= 1}| / |{score >= 1}| # answer + supporting evidence ``` `nDCG@k` can consume the graded scores directly. A human-readable `roles` field (`answer` / `evidence`) mirrors the score. Backward compatible: datasets that use `score = 1` uniformly are answer-only (no evidence tier). ## Configs ### `documents` `chunk_id`, `chunk` (one sentence), `source_url` (filing accession — **group chunks by this to give a contextual model its document view**), `title` (company + 8-K date), `chunk_idx` (sentence position in the filing), `chunk_start_char` / `chunk_end_char`. ### `queries` `original_query` / `query`, `answer[]` (gold sentence texts), `score[]` (2=answer, 1=evidence), `source_url[]` (filing per gold), `frag_start_char[]` / `frag_end_char[]`, `n_gold`, `roles[]` (`answer`/`evidence`), `fact` (`workforce` / `charges`). Gold matching: a chunk is gold for a query if it shares `source_url` and its `[chunk_start_char, chunk_end_char)` overlaps a gold fragment's span (each gold maps to exactly one sentence chunk). ## Construction & limitations Built from EDGAR full-text search for restructuring 8-Ks (2022–2026), one primary filing per company. HTML cleaned (inline-XBRL/hidden/exhibit boilerplate stripped, sliced to the Item narrative), sentence-split with **NLTK Punkt**, junk/heading/fragment chunks removed. - **Prototype scale** — 38 queries; the query set skews toward `charges` (workforce answers more often repeat the company name and are filtered out to preserve the coreference axis). - **Templated queries** — 2 regex-generated templates (`workforce`, `charges`); phrasing overlaps the gold, so the difficulty is the coreference/near-duplicate disambiguation, not the wording. A natural/LLM-generated query pass is future work. - **Evidence coverage** — 28/38 queries have a supporting-evidence fragment; the rest are answer-only. Source: public SEC EDGAR filings (U.S. government works / public domain).