Fix cards and NOTICE files citing paths that do not exist (cross-source, paths only)

#105
Fabryka AI org

Cross-source, paths only. This is the agreed exception to one source per PR: it touches 10 sources and changes nothing but cited paths. No parquet, attribution or code changes.

Cards and NOTICE.md files copied the contributor repositories' layout (artifacts/attribution.jsonl, data/train-00000-of-00001.parquet, …) into this repository's flattened data/<source>/<source>.* layout. Each citation now points at the real file where it exists. Where the file exists nowhere in this repository, the text says so.

  • edukacja_medialna_pl, kultura_bez_barier_pl, ted_pl, open_agh_chemistry_pl, wiktionary_examples: card and/or NOTICE fixes.
    • open_agh_chemistry_pl now names modules.jsonl.gz in the contributor repo PiotrSty/open-agh-chemistry-pl@07d38bfdb3c9ac961f0aed380195cada1871d53b (checked: the file is there at that revision).
    • edukacja_medialna_pl NOTICE: "acquisition hashes" now points at page_sha256 / xml_sha256 in the attribution file (checked: both fields exist).
    • wiktionary_examples: the citations side-car the fetcher writes is described without a filename, since it is not in this repository.
  • open_icm_pl, plwiki_talk, plwiki_user_talk, uzp_orzeczenia_pl, wiadomosci_statystyczne_pl: NOTICE fix, plus the NOTICE.md sha256 in <source>.checksums.json.
  • New src/test_cited_paths.py: for every data/<source>/, every data/… or artifacts/… path and every bare <source>*.{parquet,jsonl,json,md} filename cited by <source>.md and NOTICE.md must exist. URLs are stripped first.

Merge order

Merge after Hub PR 104 (rock). Until then the new test fails for rock_pollub_pl only. PR 104's own cited-path check in src/test_rock_pollub_contribution.py duplicates this one and can be dropped afterwards.

Tests

Full pytest (LFS-skip worktree, so parquet-dependent tests fail on both sides): 112 FAILED/ERROR ids vs 111 on main. The one new id is test_cited_paths.py::…[rock_pollub_pl]; none disappeared. test_cited_paths.py: 32 passed, 1 failed (rock).

Not fixed here (out of scope)

  • The builders and fetchers still emit artifacts/… paths, so a rebuild would reintroduce some of these.
  • The edukacja_medialna_pl card cites src/requirements.txt, which does not exist.
  • The kultura_bez_barier_pl NOTICE says the catalogue HTML, raw PDFs, URLs and digests "are preserved"; the HTML and PDFs are not in this repository.
  • The test only sees paths of the forms above; prose like "the raw PDFs" is not checked.

🤖 Generated with Claude Code

ppuzio changed pull request status to open
ppuzio changed pull request status to merged
ppuzio deleted the refs/pr/105 ref

Sign up or log in to comment