Withdraw wikisource: one CC BY-SA label over mixed per-page licences

#60
by ppuzio - opened
Fabryka AI org
•
edited 4 days ago

Withdraws wikisource (whole source) from main and from v0.2.6. It was released in v0.2.0 and is in every tag through v0.2.5; those tags stay as published. A rebuild for a later release is tracked separately (polish-dynaword-v2 #68).

Stacked on Hub PR 59 (wikiquote), which is stacked on Hub PR 58 (common_voice_pl). All three change the same README header and CHANGELOG total lines. Merge order: 58, 59, then this one. Until then, this PR's diff also shows those commits; after each merge, this branch is rebased onto main.

Reason. Every row carries one label, CC-BY-SA-3.0, and the card said the underlying texts are public-domain works. Wikisource's own guidance says "mostly" (W1).

  • Among the 12 audited rows, several are in-copyright post-war imprints that their rights holders released through consent programmes or OTRS: PIW 1971 and 1972, Czytelnik 1962 and 1966, WL 1974, a 1995 sailing manual, and 1990-91 regional press (W11-W21). Each page declares its own licence template, and the templates differ (CC BY 3.0 PL, CC BY-SA 3.0 PL, CC BY-SA 3.0, GFDL, CC BY 4.0). No single relabel fixes them, including the audit's proposed CC-BY-SA-4.0 (W17).
  • One row carries a translator's footnote for a translation protected until 2045. The row-to-page mapping is inferred (W8-W10).
  • The rows keep neither the consent, the licence version nor an author (W22). The data is a SpeakLeash pull with an undocumented selection and no title or page id, so it cannot be screened. The in-copyright share is unknown; the audit's crude filter (372 rows, 1.7%) was not reproduced (W23).

References: artifacts/rights_audit_2026-10/reports/citations.md L10, reports/citations/wikimedia.md section 2 (W1-W23), and REVIEW.html (wikisource block).

What this PR changes

  • Removes data/wikisource/: 632,005 documents / 801,947,427 tokens (the 937.5M parquet), plus the card and stats.
  • Registry: the entry is kept, not removed. It was released (release: "0.2.0"), so this follows the HPLT precedent, as in PR 59. The entry gets a legal_note recording the withdrawal. Its traceable text no longer claims every text is public domain; it now states the SpeakLeash pull and the per-page licences. upstream is now https://pl.wikisource.org/ rather than the dumps the data never came from. make_docs.py skips the source, since there is no stats file. (Issue #67 assumed release: None, which does not hold here.)
  • There is no fetch script to remove.
  • src/count_vocab.py and src/sample_quality.py hard-code an early six-source list; wikisource is dropped from it so they still run on main.
  • Prose: "Wikipedia/Wikisource" is changed in both README and make_docs.py, which keeps them in sync as in PR 53. The personal-data section now says "(Wikipedia)", and the licence section says "Wikipedia and Wolne Lektury".
  • artifacts/source_findings.md: an entry is appended.

README and CHANGELOG

  • The v0.2.5 source table keeps the wikisource row, marked withdrawn the way HPLT is, with the card link removed. "Main has changed since" gains a wikisource bullet.
  • The main totals are recomputed from the stats.json files:
    • 17 v0.2.5 sources still on main: 2,093,026 documents / 6,276,340,429 tokens.
    • All 32 sources on main: 3,378,438 documents / 7,533,130,444 tokens (7.53B).
  • CHANGELOG: a "Removed from main" bullet is added.

Not changed

  • The README "Corpus phrase frequency" section is a labelled v0.2.5 snapshot that is not recomputed for main, so its rows stay.
  • The project_gutenberg_pl_corpus exclusion reason ("already covered by wolne_lektury + wikisource") stays: it is the reason recorded at decision time.
  • configs/training_mix_v0_3.json (v0.3-dev) still lists wikisource.
  • PAPER.md and the v2 paper wait for the paper pass after v0.2.6 is frozen. This is the largest removal: 801.9M of the v0.2.5 9,676.5M proxy tokens.

Checks

  • python3 -m pytest from the repo root on a clean tree (on main 1d66074 with Hub PRs 58 and 59 applied): 259 passed.
  • render_sample.py: not applicable, since this is a removal with no shard to sample.
  • python3 src/verify_paper_claims.py --tex ../polish-dynaword-v2/main.tex fails with LookupError: no table with \label{tab:s04-wersje} in the .tex. This is a known tooling gap (polish-dynaword-v2 #61). wikisource is in the paper, and the paper counts are deferred to the paper pass.

🤖 Generated with Claude Code

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

Sign up or log in to comment