Skip to content

feat: localize ablation, data card, and split/synthetic check reports - #541

Merged
rich-iannone merged 8 commits into
mainfrom
feat-localized-model-reports
Nov 8, 2026
Merged

rich-iannone merged 8 commits into
mainfrom
feat-localized-model-reports

Conversation

@rich-iannone

Copy link
Copy Markdown
Member

This PR localizes the reports from the data-ablation and LLM-data features into all 40 reporting languages: (1) the Ablation plan, report, and annotate() notes; (2) data cards from to_data_card() (both the Hugging Face card and the datasheet); and, (3) the check_splits() and check_synthetic() reports.

A new internal _report_text.py module formats the strings, with numbers for the locale, singular forms where a language has them, and right-to-left layout for Arabic, Hebrew, and Persian. lang= and locale= are now arguments of Ablation.plan(), Ablation.get_tabular_report(), Validate.to_data_card(), SplitCheck.get_tabular_report(), and SyntheticCheck.get_tabular_report().

Ablation and card output use the validation's language by default, and the split and synthetic reports use English. Issues, reprs, and the card's YAML front matter stay in English. A new test checks that every string has every language, with the same fields and markup as English.

@github-actions
github-actions Bot temporarily deployed to pr-541 November 8, 2026 20:25 Destroyed
@rich-iannone
rich-iannone merged commit b5e20d1 into main Nov 8, 2026
11 checks passed
@rich-iannone
rich-iannone deleted the feat-localized-model-reports branch November 8, 2026 22:40

This branch was successfully deployed

1 active deployment
pr-541 — 1a031c17 Deployed Nov 8, 2026 by github-actions[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant