Spaces:
Runtime error

Arthur_Diaz commited on
Commit
aaf2b86
·
unverified ·
1 Parent(s): 00d5ae5

feat(data): UniversalCEFR EDA report and M1 training-mix decision (#1)

Browse files

## What & why
Discovers and profiles the UniversalCEFR subsets to fix the M1 training
mix
(reading-level classifier). The committed EDA reports are the evidence
behind
the updated ADR 0003.

## Changes
- scripts/eda_universalcefr.py: org discovery, per-subset stats,
markdown
report (replaces the M0 placeholder download_data.py)
- docs/evals/m1_data_eda.md + m1_data_eda_all.md: committed reports (EN
+ all)
- docs/adr/0003: training-mix decision + multilingual addendum
- pyproject/uv.lock: huggingface-hub added to the data group

## Decision
- In (reference only): cambridge_exams_en, elg_cefr_en, cefr_sp_en,
readme_en;
non-EN reference subsets as a *measured* experiment arm (+13.6k rows)
- Out: icle500_en, cefr_asag_en (learner production → M3)
- Labels: X+ → X (recovers 114 en + 1,505 nl rows); drop NA / EMPTY /
unrated /
Unassessable / bare A-B-C
- Unit: passage (docs chunked ~200 words, label inherited); split at
document
level, stratified corpus×level, fixed seed
- Key constraint surfaced: only 1,043 EN reference documents and 24 A1
docs →
doc-level test is the headline eval; weak A1 recall expected and
documented

## How to test
uv run --group data python scripts/eda_universalcefr.py

7 files changed +413 -67
Files changed (7)
docs/adr/0003-datasets-and-licensing.md+47
docs/evals/m1_data_eda.mdAdded+45
docs/evals/m1_data_eda_all.mdAdded+83
pyproject.toml+1
scripts/download_data.pyDeleted-66
scripts/eda_universalcefr.pyAdded+232
uv.lock+5-1