Polish Dynaword rights audit

Audited 2026-10-04 main a108c2e (37 sources with data) v0.2.5 tag 7ae4ac7 (20 sources) PR #21 bd16dda (saos) Citations reports/citations.md (primary sources, 2026-10-05)

Every source on main and the pending SAOS PR, checked for the problem that removed HPLT: a licence that covers the packaging but not the underlying works. Each entry has the evidence, the fix, and a check that tells an agent when the fix is done.

Why this audit

The paper (polish-dynaword-v2/main.tex:46) says:

No source carries a NonCommercial licence, but the rights to HPLT's underlying web pages and to some 1000 Novels texts are unresolved

That sentence is false for both main and v0.2.5. openstax_pl carries NonCommercial terms and an explicit ban on LLM training. Five sources already shipped in v0.2.5 have the HPLT problem: wikisource, wikiquote, wiktionary_examples, 1000_novels and nkjp1m.

Failure classes tested.

  • A packaging licence that doesn't cover the content (HPLT).
  • A compilation licence over third-party works (1000 Novels).
  • A uniform label over per-item licences.
  • NC/ND terms.
  • Intermediary snapshots with no chain of title.
  • Quotation-right content (Art. 29) presented as licensed.
  • Authors who died after 1955. Their works are still protected in Poland in 2026 (life + 70).

V verified against files, parquet or live upstream. I inferred. v0.2.5 marks sources already in the published release.

Decisions for the session

Ticks are local to your browser and not shared.

Register

Sourcev0.2.5Registry licenceProposed action
HPLT-class  unresolved rights in the underlying works · 8
wikisourceyesCC-BY-SA-3.0Rebuild from dump with death-year screen, or withdraw
wikiquoteyesCC-BY-SA-3.0Drop, or screen per page
wiktionary_examplesyesCC-BY-SA-3.0Rebuild keeping uncited examples only
1000_novelsyesCC-BY-4.0Drop 17 + 143 rows, or relabel 17 and withhold 143
nkjp1myesCC-BY-4.0Remove, or get written confirmation from IPI PAN
openstax_plnoCC-BY-4.0Pull: NonCommercial and LLM-training ban
common_voice_plnoCC0-1.0Withdraw, or drop the 24,709 Europarl sentences
fandom_plnoCC-BY-SA-3.0Drop 6 wikis, sample 4, review Fandom ToU
Partial  remove a slice · 4
parliamentaryyesCC-BY-4.0Drop committee docs (59% of chars) or the source
samorzad_gov_plyesCC-BY-SA-4.0Drop third-party subsets; get confirmation from KPRM/MC
sejm_committee_transcriptsnoLicenseRef-Polish-Official-DocumentsKeep only official speakers
nonsanoCC-BY-SA-3.0Drop ns100 "Cytaty" and the <poem> docs
Minor  labelling or provenance · 17
wikipediayesCC-BY-SA-3.0Rebuild from official dump; label 3.0/4.0
wikinewsyesCC-BY-2.5Label 2.5/4.0 by edit date
wikivoyageyesCC-BY-SA-3.0Label 3.0/4.0 by revision date
wikibooksyesCC-BY-SA-3.0Label 3.0/4.0; review 24 GFDL docs
plwiki_talknoCC-BY-SA-4.0Label per record by revision date
plwiki_user_talknoCC-BY-SA-4.0Label per record by revision date
wolne_lekturyyesCC-BY-SA-4.0Per-row licence from WL metadata
biblioteka_naukiyesMIXEDKeep licence versions; drop 3 "PD" records
eurlexyesCC-BY-4.0Relabel as EU reuse policy
govplyesCC-BY-SA-4.0Restore third-party carve-out; drop PAP docs; add URLs
global_voicesyesCC-BY-3.0Drop 64 partner-republished docs
sejm_apiyesLicenseRef-Polish-Official-DocumentsState the intermediary snapshot
sejm_api_2011_2022noLicenseRef-Polish-Official-DocumentsAs sejm_api; dedup; NERGAL
sejm_interpellationsnoLicenseRef-Polish-Official-DocumentsAdd evidence file; NERGAL
uzp_orzeczenia_plnoLicenseRef-Polish-Official-DocumentsState review status; dedup with SAOS
ted_plnoLicenseRef-TED-Notice-ReuseCite both bases; full name/email scan
kultura_bez_barier_plnoCC-BY-SA-3.0Note version gap; PII in one PDF
Clean  small notes only · 8
dziennik_ustawyesCC0-1.0Fix card date range
eltec_polyesCC-BY-4.0Add authors to card; dedup vs wolne_lektury
studia_basnoCC-BY-3.0-PLCheck live site manually (CAPTCHA); resolve 3.0 vs 4.0
edukacja_medialna_plnoCC-BY-SA-3.0Optionally drop 3 quotes
open_icm_plnoMIXEDNone
open_agh_chemistry_plnoCC-BY-SA-4.0Archive the rights pages
rock_pollub_plnoCC-BY-SA-4.0None
wiadomosci_statystyczne_plnoCC-BY-SA-4.0None
Pending PR  not on main
saos (PR #21)noLicenseRef-Polish-Official-DocumentsMerge after 2 notice fixes; 7 pre-release items

For agents: how to work on this

Where things live (repo polish-dynaword)

  • Registry: src/sources.py. Edit the fields license, license_spdx, traceable, provenance, upstream, legal_note and release. release: None means the source is on main but unreleased.
  • Per source: data/<src>/<src>.md (card), NOTICE.md, <src>.license-evidence.json, <src>.attribution.jsonl, <src>.stats.json, qa.json.
  • Decision records: polish-dynaword-v2/repo_patch_suggestions/decisions/<src>.yaml (schema decision-record.schema.yaml). Per-text evidence goes in polish-dynaword-v2/evidence/.
  • Paper check: src/verify_paper_claims.py checks token and source counts. Run it after any removal.

Conventions

  • Withdrawal: HPLT was removed by deleting the data/<src>/ files on HF (commits 23e883a, 1802420, bade8e7). The registry entry stays for history. Do the same, and record the reason in legal_note and a decision record.
  • Rows with file_key: None: these are SpeakLeash pulls with no fetch script: wikipedia, wikisource, wolne_lektury, 1000_novels, eurlex, parliamentary. Any row-level fix needs a script, so write one; don't hand-edit the parquet.
  • Cards: regenerate them; don't hand-edit the per-document licence tables.
  • PII: NERGAL is the PII pass and a release gate wherever noted.
  • Tests: every builder has a src/test_* contract. Update it whenever filtering changes.

Evidence from this audit

  • artifacts/rights_audit_2026-10/: reports/*.md holds the six full audit reports; reports/citations.md tabulates the 2026-10-05 primary-source citation pass by release, with per-claim tables in reports/citations/.
  • literary/wl_map.json maps each wolne_lektury row to its WL slugs.
  • wikis/nonsa_ns.json maps nonsa page ids to namespaces.
  • wikis/wq_sample.json and wq_summ.txt hold the 200-doc wikiquote sample.
  • wikis/wk_pages.json is the wiktionary sample.
  • wikis/encpw_*.json holds the English Creepypasta Wiki lookups.
  • official/committee_roles.csv holds speaker-role shares.
  • official/ppc_classify.py is the parliamentary document classifier.
  • Run the scripts from the repo root. Some read or write their JSON and pickle files relative to the working directory.

Suggested workstreams

Each workstream can run as its own agent. H waits for the session decisions and the A–G results.

WSSourcesShared work
Aopenstax_pl, common_voice_pl, nkjp1mWithdrawal pattern, decision records, card notes
Bwikipedia, wikisource, wikiquote, wiktionary_examples, wikinews, wikivoyage, wikibooks, plwiki_talk, plwiki_user_talkExtend src/fetch_wikimedia.py to plwiki and plwikisource from pinned dumps. Write one helper that labels the licence from the last-revision date, and reuse it in every wiki builder.
C1000_novels, wolne_lektury, eltec_polPer-row licence column. Cross-source dedup of the same novels.
Dparliamentary, sejm_committee_transcripts, sejm_api, sejm_api_2011_2022, sejm_interpellations, uzp_orzeczenia_pl, saos, eurlex, ted_pl, dziennik_ustawDedup set: sejm_api_2011_2022 vs parliamentary vs parlamint_pl, and saos KIO vs uzp_orzeczenia_pl. NERGAL runs.
Egovpl, samorzad_gov_pl, global_voices, kultura_bez_barier_pl, edukacja_medialna_plThird-party subset filters ("Źródło:", PAP, partner outlets)
Ffandom_pl, nonsaPer-wiki and per-namespace filters; Fandom ToU decision
Gbiblioteka_nauki, studia_basRecord licence versions per row
HPaper and registryFix main.tex:46, decision records, the sources.py docstring, and verify_paper_claims.py.

HPLT-class: unresolved rights in the underlying works

wikisource

HPLT-classv0.2.5release 0.2.0 · CC-BY-SA-3.0 · SpeakLeash pull, no fetch script

Problem

632,005 rows (1.97G chars), all labelled CC-BY-SA-3.0. The rows have no title, author or page id, and mix single pages with whole books. Which pages were selected came from SpeakLeash and is undocumented. The card sentence "underlying texts are public-domain works" is false.

Evidence

  • V wikisource_1295016: a Conrad translation by J. B. Rychliński (d. 1974). The Wikisource footer says it is protected in Poland until 2045.
  • V Post-war editions: wikisource_1799959 (1962), _1182398 and _1185399 (1971–72), _1265054 (1966), _1280295 (1974), and the cluster _1264778–_1265031.
  • V _1800344 carries "Copyright by Jerzy Kuliński" (1995). _1802332 is a 2016 translation under CC BY 2.5. 1990s press: _1802484, _1241134.
  • V The policy admits in-copyright texts with consent, under CC BY-SA 4.0. The dataset keeps neither the consent nor the version.
  • I The share is unknown. A crude filter flags 372 rows (32.8M chars, 1.7%).

Fix

  1. Add plwikisource to src/fetch_wikimedia.py from a pinned dump. Keep page id, title, URL and revision timestamp.
  2. For each page, collect its authors and translators (from the Autor: pages and the page header templates) with their death years.
  3. Keep a page only if all of them died in 1955 or earlier, or if it carries an explicit CC licence or consent template. Label the consent pages CC-BY-SA-4.0.
  4. Drop PD-US-only pages. Their footer reads "Prawa autorskie do tekstu wygasają: w 20xx roku w Polsce" with a year after 2025.
  5. Add a per-row license and the source URL. Regenerate the card and remove the false sentence.

Done when

None of the IDs above survive. Every row has a page URL and a death-year basis or licence template. The rights-screen CSV is in polish-dynaword-v2/evidence/.

Needs a human

Decide whether to withdraw from v0.2.6 until the rebuild lands. Death years for translators may need manual curation.

wikiquote

HPLT-classv0.2.5release 0.2.0 · CC-BY-SA-3.0 · fetch_wikimedia.py (plwikiquote)

Problem

Most of the text is quotations of copyrighted works. CC BY-SA covers only the contributors' selection and framing. The quotes themselves rest on the quotation exception (Art. 29), which applies only for a purpose and is not a licence to us. Wikiquote caps each quote at 1,000 chars (policy).

Evidence

  • V Random 200-doc sample (seed 1): 158 in copyright (79%, Wilson CI 73–84%), 20 PD, 13 mixed, 7 translation-only, 2 unknown.
  • V A typical page is wikiquote_2429270 (Alice Sebold, b. 1963, in a modern translation).
  • Sample: artifacts/rights_audit_2026-10/wikis/wq_sample.json, wq_summ.txt.

Fix

  1. Recommended: withdraw the source.
  2. Alternative: rebuild per page. Pages are mostly about one person. Keep a page only if the quoted author, and any credited translator ("tłum."), died in 1955 or earlier. Keep contributor-written intros. Drop everything else.

Done when

The source is withdrawn, or a per-page screen CSV exists and a fresh 200-doc sample shows no in-copyright quotes.

Needs a human

Decide between dropping and screening. Screening keeps maybe 10–20% of the text.

wiktionary_examples

HPLT-classv0.2.5release 0.2.5 · CC-BY-SA-3.0 · src/fetch_wiktionary_examples.py

Problem

A large share of the example sentences are cited quotations from corpora and books (NKJP above all). The fetcher strips the citations, so the dataset can't be screened afterwards.

Evidence

  • V Live sample of 74 entries and 111 example lines. Lines citing an external source hold 34% of chars (23% of lines); NKJP alone is 21% of chars. 34% of entries have at least one cited example.
  • I In 70 dataset lines checked by eye, about 55% look like in-copyright corpus quotes.
  • V clean() strips <ref> (lines 126–127). examples_and_citations() (around line 150) moves {{źródło}} into a per-page citation list but still keeps the cited sentence. That sidecar isn't committed, and it can't be mapped back to individual lines.
  • Sample: wikis/wk_pages.json.

Fix

  1. In examples_and_citations(), skip any example line whose raw text contains a {{źródło or {{zrodlo template or a <ref. Decide this per line, before clean().
  2. Also skip lines that name NKJP or a bibliographic source in plain text. Collect the patterns from wk_pages.json.
  3. Add a sidecar with the headword, page id and revision id. Label rows CC-BY-SA-4.0 if the last revision is on or after 2023-06-01, otherwise 3.0; use the WS-B helper.
  4. Add a test with one cited and one uncited example.

Done when

No output line comes from a line that had a citation. A 100-line sample has no corpus quotes. Card stats are regenerated.

Needs a human

None beyond the withdraw-or-rebuild timing.

1000_novels

HPLT-classv0.2.5release 0.2.1 · CC-BY-4.0 · SpeakLeash 1000_novels_corpus_CLARIN-PL

Problem

CLARIN-PL's CC BY 4.0 covers only the compilation. The card on main now has a rights note, but the parquet is unchanged: all 1,000 rows say CC-BY-4.0 and author is empty.

Evidence

  • V Per-text screen polish-dynaword-v2/evidence/1000_novels_rights_screen.csv: 830 PD by term, 10 PD per Wolne Lektury, 17 in copyright, 143 unverified.
  • V The 17 are 2 by Dąbrowska, 12 translated by Michał Friedman and 3 translated by Hōjun. Wolne Lektury publishes them under CC BY-SA 3.0 PL; 5 still carry that footer.
  • V Row i of the parquet is the i-th file in the CLARIN listing, which is how rows map to the screen (decision record 1000_novels.yaml).
  • I The CLARIN-PL licence page wasn't read (timeout). Death years in scripts/novels_rights_screen.py are hand-curated.

Fix

  1. Write a builder (there isn't one) that joins the parquet to the screen CSV by row index.
  2. Drop the 143 unverified rows. Either drop the 17 or relabel them CC-BY-SA-3.0 with Wolne Lektury attribution. That leaves 840 or 857 rows.
  3. Add per-row author and title from the CLARIN file names.
  4. Dedup against wolne_lektury and eltec_pol (same novels).
  5. Update the decision record: keep status: admitted, list the removed texts under scope.withheld, and set the new artifact_sha256.

Done when

The parquet has 840 or 857 rows with per-row licence and author. The card's per-document licence table matches.

Needs a human

Choose between dropping and relabelling the 17. Optionally research the 143 to recover some.

nkjp1m

HPLT-classv0.2.5release 0.2.3 · CC-BY-4.0 · src/fetch_njkp.py

Problem

18,381 rows of newspapers, books, web pages and transcripts. The licence statements conflict. The rationale for releasing the subcorpus is that its fragments are short, which is not a grant from the rights holders.

Evidence

  • V fetch_njkp.py hard-codes CC-BY with the comment "stated on the NKJP download page".
  • V The sources disagree:
    • clip.ipipan.waw.pl says CC-BY.
    • nkjp.pl says CC-BY 4.0.
    • The old LRT page and the 2012 NKJP book say GPL v3.
  • V NKJP book, ch. 5.3: the full corpus can't be released for copyright reasons; the 1M subset is released because it consists of short fragments.
  • I The per-text TEI availability headers were not checked, because that needs the tarball download.

Fix

  1. Recommended: withdraw, using the HPLT pattern, and add legal_note.
  2. Optionally, with approval, download the NKJP1M tarball and grep each header.xml for availability/licence. Attach the result to the decision record.

Done when

The data is removed from the next release and the decision record is updated, or IPI PAN's written confirmation is filed in evidence/.

Needs a human

Write to IPI PAN (Zespół Inżynierii Lingwistycznej) asking whether CC BY applies to the texts themselves.

openstax_pl

HPLT-classunreleased · CC-BY-4.0 · src/fetch_openstax_pl.py · 1,422 docs, 4.6M tokens

Problem

The rights holder licenses the books NonCommercial and share-alike, and explicitly prohibits LLM training without written consent. Our label says CC BY 4.0. This alone falsifies "No source carries a NonCommercial licence".

Evidence

  • V All 8 live /pages/przedmowa pages, in the "Cytowanie i udostępnianie" block: "nie może być wykorzystywany do trenowania dużych modeli językowych … bez uprzedniej pisemnej zgody OpenStax Poland" and "wyłącznie w celach niekomercyjnych … na tej samej licencji".
  • V The clause is older than our snapshot. Wayback shows it on Psychologia (2025-02-17) and Żywienie (2025-10-09).
  • V The OpenStax CMS lists all 8 Polish books as CC BY-NC-SA 4.0.
  • V license_evidence() reads only the foreword body, which says "CC BY 4.0", and hard-codes CC-BY-4.0.
  • I An earlier CC BY grant may be irrevocable for text already released. That doesn't make shipping it defensible.

Fix

  1. Remove data/openstax_pl/ from what we publish (HPLT pattern) and set legal_note to the clause and its URL.
  2. Harden the fetcher. Parse the "Cytowanie i udostępnianie" block and the CMS licence field, and fail closed on niekomercyjn, modeli językowych or any NC/ND licence. Add a fixture test from the live page.
  3. Add the same fail-closed check to src/rights.py if other fetchers parse free-text licence lines.

Done when

No openstax data is in the build. The fetcher test fails on the current live page text.

Needs a human

Optionally request permission through OpenStax Poland.

common_voice_pl

HPLT-classunreleased · CC0-1.0 · src/fetch_common_voice_pl.py

Problem

CC0 is a platform-level assertion. Most of the sentences come from Europarl, whose reuse terms require reproducing the entire item with attribution, which is not CC0. Most of the rest are Wolne Lektury excerpts whose translators were never checked.

Evidence

  • V 45,043 sentences matched against common-voice/common-voice server/data/pl/ (main), after normalising text:
    • 24,709 (54.9%) are in selected-europarl-v7-pl.txt (added 2021-04-14).
    • 18,569 (41.2%) are in sentence-collector.txt.
    • 37 are in both, and 1,802 (4.0%) in neither.
  • V The EP legal notice allows reuse "provided that the entire item is reproduced and the source is acknowledged". Europarl itself says only that it is "not aware of any copyright restrictions".
  • V The card already offers withdrawal: no document reaches 200 chars, because sentences are single units.
  • I sentence_domain is "unspecified" for 45,035 rows, so the source of each sentence isn't exported.

Fix

  1. Recommended: withdraw, with legal_note, a decision record and an updated test_common_voice_pl_contract.py.
  2. If kept: drop every sentence found in the Europarl file. Matching must use the same normalisation as the audit (NFKC, collapse whitespace, strip final punctuation).

Done when

The source is withdrawn, or 0 Europarl matches remain and the card states the Sentence Collector caveat.

Needs a human

Withdraw or keep the partial set.

fandom_pl

HPLT-class (per wiki)unreleased · CC-BY-SA-3.0 · src/build_fandom_pl.py via snapshot PiotrSty/fandom-pl

Problem

Several wikis consist mostly of verbatim game text, book text, song lyrics or translated third-party stories. Fandom's CC BY-SA can't license those. The Fandom Terms of Use reportedly bar automated scraping. The data comes through an intermediary snapshot.

Evidence by wiki (40-doc samples)

WikiDocs affectedToken shareWhat
dragonage22/40 (40–69%)~52%codex, letters, poems
elderscrolls17/40 (29–58%)14–22%in-game books and notes, including English "Oryginał="
wiedzmin11/40 (16–43%)~14%in-game documents, quest log
naruton/a4.1–4.4%full song lyrics
pokemonstructuraln/atranslation of Bulbapedia, CC BY-NC-SA 2.5 I
creepypasta240 strict / 301 broad~0.75M toklabelled translations; 135 of 153 English-titled ones are not on the English Creepypasta Wiki, so they likely come from r/nosleep and similar
gothic0/40n/aclean in sample
harrypotter0/400.055%clean in sample
starwars, fallout, sims, gtanot sampled

More evidence

  • V build_fandom_pl.py: OWN_REPO = "PiotrSty/fandom-pl". The licence URL is a Wayback copy of fandom.com/licensing. The siteinfo query asks only for general|statistics, so no per-wiki rightsinfo is recorded.
  • V qa.json license gate: "third-party notices still require review". The card says pages "may quote or copy official game materials".
  • I The Fandom ToU scraping ban comes from web search only; the primary page wasn't read. Only one creepypasta origin is confirmed (HiggsThunder, r/nosleep).
  • Lookups: wikis/encpw_found.json, encpw_res.json.

Fix

  1. Exclude the creepypasta, pokemon, elderscrolls, dragonage, wiedzmin and naruto wikis in build_fandom_pl.py, filtering on the per-record wiki field. Add a test.
  2. Sample starwars, fallout, sims and gta with the same 40-doc protocol: verbatim in-universe text, lyrics, translations. Exclude any over 5% of tokens.
  3. Add siprop=rightsinfo to the siteinfo query and store the result per wiki in license-evidence.json.
  4. Read the Fandom Terms of Use and record the clause in the decision record.
  5. Update the card, NOTICE.md, qa.json, the registry provenance (12 wikis) and overlap_audit.json.

Done when

Only cleared wikis remain. Per-wiki rightsinfo is recorded. The ToU decision is recorded.

Needs a human

Decide on the ToU: if it bans bulk reuse, drop the whole source.

Partial: remove a slice

parliamentary

Partialv0.2.5release 0.2.0 · registry CC-BY-4.0, card public-domain · SpeakLeash PPC_corpus

Problem

The chain is Sejm, then IPI PAN PPC, then SpeakLeash, then us. IPI PAN's "public domain" is a redistributor's claim with no stated basis. The Sejm website's own SIS terms (since early 2016) ask for a source note and bar SIS material from the commercial offer of an agency, TV station or portal. Committee sittings dominate the text and have speaker labels stripped, so guests can't be filtered out. The registry and the card disagree on the licence.

Evidence

  • V 324,622 docs, by heuristic classification:
    • Interpellations and replies: 79% of docs, 22% of chars.
    • Committee sittings: 11% of docs, ~59% of chars.
    • Plenary: ~14% of chars.
  • V Samples quote constituents by name. Some items predate 1991 and some have mojibake. There are no per-doc dates.
  • V SIS terms: SIS material "nie mogą być elementem komercyjnej oferty żadnej agencji, stacji telewizyjnej, portalu ani innego podmiotu". Wayback shows only a permissive sentence on 2015-11-21; the clause first appears on 2016-02-04. SIS is the www.sejm.gov.pl system (Regulamin Sejmu art. 201a).
  • I The clause is narrower than a commercial-use ban and says nothing about datasets. Open Data Act art. 15 ust. 1 lists the conditions a public body may set, and a commercial bar is not among them. PPC crawl dates are unknown, so some text predates the clause. Details: sejm_sis.md.
  • Classifier: official/ppc_classify.py.

Fix

  1. Option A: withdraw. sejm_api*, sejm_committee_transcripts and sejm_interpellations cover the recent period with attribution.
  2. Option B: write a builder that applies ppc_classify.py and drops committee docs. Dedup against sejm_api_2011_2022 and parlamint_pl.
  3. Either way, make the registry and card agree. Use "PPC public-domain statement (unverified)", not "official documents".

Done when

No committee docs remain, the licence label matches across registry and card, and the dedup report is attached.

Needs a human

Choose A or B.

samorzad_gov_pl

Partialv0.2.5release 0.2.5 · CC-BY-SA-4.0 · src/clean_samorzad_gov_pl.py via HF dawidmajewski/samorzad-gov-pl-articles v0.2

Problem

The CC BY-SA 4.0 footer is a platform template run by KPRM/MC over content written by 247 independent tenants. The tenant agreements aren't published. The grant comes from the operator, not the authors, which is the HPLT structure.

Evidence

  • V 72,472 docs. The footer script's sha256 b36ec507… is in license-evidence.json. The onboarding PDF mentions no licence grant.
  • V Third-party subsets:
    • 69 docs: the "Piątek z poezją" series (Powiat Sokołowski).
    • 9 docs: IMGW notices ("podlega ochronie prawnej").
    • 112 docs: pupil, participant and poem works.
    • 810 docs (1.1%): "Źródło:" lines.
  • I A 200-doc sample (seed 7) has about 2–3% real third-party material.
  • Regexes: govweb/s1.py–s5.py. Publishers: src/samorzad_gov_pl_publishers.json.

Fix

  1. In clean_samorzad_gov_pl.py, drop the poetry series, IMGW notices, contest and pupil entries, and "Źródło:" docs that name a non-governmental source.
  2. Relabel the basis as "operator-declared platform licence". Add the carve-out from gov.pl's copyright page to the card.
  3. Update test_samorzad_gov_pl_contract.py.

Done when

All four subsets are 0. The card states the operator-declared basis.

Needs a human

Ask KPRM / Ministerstwo Cyfryzacji to confirm in writing that tenants authorise the footer licence.

sejm_committee_transcripts

Partialunreleased · LicenseRef-Polish-Official-Documents · src/fetch_sejm_committee_transcripts.py

Problem

Art. 4(2) and the Open Data Act cover official speakers. Private guests (companies, NGOs, academics) are not clearly covered. Open Data Act art. 6(4)(4) excludes material in which non-public entities hold copyright.

Evidence

  • I 653,411 turns. By speaker:
    • Non-official speakers: ~5% of chars (1.8% of turns).
    • Unclassified: ~2.7%.
    • State bodies: ~18%.
    • MPs and the chair: ~70%.
  • V Non-official examples include Konfederacja Lewiatan, Grupa Azoty S.A., Greenpeace, ClientEarth, HFPC, Związek Miast Polskich and university professors. There are 3,097 "Głos z sali" (voice from the floor) turns.
  • I Regulamin Sejmu art. 166 ust. 4 puts the full record of committee sittings in SIS, so the SIS source-note and commercial-offer terms may apply. Scope and enforceability: sejm_sis.md.
  • Role shares: official/committee_roles.csv. Classifier: committee_speakers.py. Known false positives: NBP, Wody Polskie, IPN (all state bodies).

Fix

  1. Filter turns on the author field with an allowlist: Poseł, Przewodniczący, Minister, Sekretarz/Podsekretarz stanu, Prezes [state body], Sejm and Senate staff (BAS, BEOS), and the named state agencies.
  2. Drop "Głos z sali" and anything not on the allowlist. Re-assemble the documents. Log dropped speakers to a sidecar.
  3. Add a test and regenerate stats.

Done when

Non-official and "Głos z sali" turns are 0. The dropped-speaker list is reviewed for false negatives.

Needs a human

Approve the allowlist.

nonsa

Partialunreleased · CC-BY-SA-3.0 · src/build_nonsa_pl.py via WikiTeam wiki-nonsa.pl-20251009 and HF PiotrSty/nonsa-pl

Problem

The site licence is fine. One namespace and a few pages quote film and TV dialogue and song lyrics. The card itself says "Embedded third-party quotations have not been reviewed".

Evidence

  • V Live rightsinfo is CC BY-SA 3.0, and Nonsensopedia:Prawa autorskie requires contributors' own or compatible text. No NC licence applies to text.
  • V 12,204 of 12,304 page ids resolved to a namespace (wikis/nonsa_ns.json).
  • V ns100 "Cytaty": 287 docs, 2.6% of tokens. It quotes Miś, Rejs, Kiler, Wiedźmin 3 and Shrek, plus lyrics.
  • V 12 docs with <poem> lyrics, 0.5% of tokens, e.g. nonsa_202491 and nonsa_221845.
  • V 100 docs were deleted live after the dump.

Fix

  1. Carry namespace through build_nonsa_pl.py into each record and exclude ns100.
  2. Exclude pages whose raw wikitext has <poem> blocks quoting third-party lyrics. To be safe, drop all of them.
  3. Drop the 100 pages deleted live, so the dataset honours the deletions.
  4. Run NERGAL. Update test_build_nonsa_pl.py.

Done when

ns100 and <poem> docs are 0, a namespace field is present, and NERGAL has run.

Needs a human

Optional: check the Nonźródła, Gra and Forum parody content against Polish parody law (not done).

Minor: labelling and provenance

One shared helper for WS-B: label a record CC-BY-SA-3.0 if its last revision is before 2023-06-01 (adding GFDL if before 2009), otherwise CC-BY-SA-4.0. Wikinews uses its own cutover. Agents should use this helper in every wiki builder instead of hard-coding a licence per source.

wikipedia

Minorv0.2.5release 0.2.0 · CC-BY-SA-3.0 · SpeakLeash plwiki

Problem

Live Wikipedia is CC BY-SA 4.0 (rightsinfo), but the label says 3.0. The card's upstream URL is dumps.wikimedia.org, but the data actually came through SpeakLeash.

Fix

  1. Add plwiki to fetch_wikimedia.py from a pinned dump.
  2. Keep page id, title, URL and revision timestamp.
  3. Apply the revision-date licence helper.
  4. Replace the SpeakLeash provenance text.
Not done: sampling for pasted copyrighted text.

wikinews

Minorv0.2.5release 0.2.0 · CC-BY-2.5 · fetch_wikimedia.py (plwikinews)

Problem

Polish Wikinews voted between 2024-07-22 and 2024-08-20 to move from CC BY 2.5 to 4.0, and the live site is 4.0. All 24,386 docs are still labelled 2.5. Wikinews:Prawa autorskie bans copying agency text verbatim.

Fix

  1. Label each record by last-revision date: before the effective switch date it is CC-BY-2.5, after it CC-BY-4.0. Confirm the effective date on Wikinews:Głosowania/Zmiana licencji na CC:BY 4.0.
  2. Review the 6 docs that mention e-Polityka.pl. The 2005 permission requires attribution, so keep it or drop the docs.
  3. Sample 100 docs for unattributed press copying. A 30-doc check found none.

wikivoyage

Minorv0.2.5release 0.2.0 · CC-BY-SA-3.0 · fetch_wikimedia.py (plwikivoyage)

Problem

Labelled 3.0, but the live site is 4.0. One doc mentions Wikitravel.

Fix

Apply the revision-date helper. Optionally sample listings for pasted tourist-board or business text (not checked).

wikibooks

Minorv0.2.5release 0.2.0 · CC-BY-SA-3.0 · fetch_wikimedia.py (plwikibooks)

Problem

Same label issue. 24 docs (0.4% of tokens) mention GFDL, for example the "Dive into Python" translation (wikibooks_2419791, wikibooks_2419792). GFDL-only text is incompatible with CC BY-SA. wikibooks_2423104 was imported "za zgodą twórców" (with the authors' consent) under an unknown original licence.

Fix

  1. Apply the revision-date helper.
  2. For each of the 24 GFDL docs, keep it only if it is dual-licensed, or GFDL "or later" with an eligible migration date. Otherwise drop it.
  3. Check wikibooks_2423104's talk page for the consent terms.

plwiki_talk

Minorunreleased · CC-BY-SA-4.0 · src/build_plwiki_talk_pl.py (official dump)

Problem

Every record is labelled 4.0, but created is the last-revision date. 42% of docs (25% of tokens) were last edited before 2023-06-01, so their content is entirely 3.0.

Fix

Apply the revision-date helper per record. In a 1,500-doc sample, 10% of chars are long unsigned lines; about 3% or less of chars are likely pasted source text. That's acceptable. Keep the card's admission that it contains article quotes.

plwiki_user_talk

Minorunreleased · CC-BY-SA-4.0 · src/build_plwiki_usertalk_pl.py

Problem

64% of docs (42% of tokens) were last edited before 2023-06-01. Most flagged lines are welcome boilerplate or English Commons copyright notices.

Fix

Apply the revision-date helper per record. Optionally strip the templated Commons notices as boilerplate.

wolne_lektury

Minorv0.2.5release 0.2.0 · CC-BY-SA-4.0 (card: "/ Wolna Sztuka 1.3") · SpeakLeash, no fetch script

Problem

6,141 rows carry one label. The real licences are per text: public domain, Free Art Licence (FAL) 1.3, or CC BY-SA 3.0 PL/4.0. The label claims share-alike on PD texts, and 3.0 PL to 4.0 isn't a free upgrade. The SpeakLeash export stripped the licence footers.

Evidence

  • V 5,604 rows matched to WL XML dc:rights: ~3,800 PD, ~1,340 FAL 1.3 (living poets' own grants), ~58 CC BY-SA 3.0 PL/4.0.
  • V 537 rows are unmatched; 398 of those are truncated parent-collection titles.
  • V No PD-labelled row has an author or translator who died after 1955.
  • Mapping: literary/wl_map.json (row id to WL slugs) and wl_cat.json.

Fix

  1. Write a builder: for each row, fetch the WL book API for its slug and store the licence (dc:rights.license, or PD) in a per-row license field.
  2. Resolve the 537 unmatched rows, starting with the parent-collection prefix match.
  3. Dedup against 1000_novels and eltec_pol.
  4. Set the registry to MIXED.

biblioteka_nauki

Minorv0.2.5release 0.2.4 · MIXED · file_key biblioteka_nauki_pl_corpus

Problem

The licence type is right, but the version is collapsed to 4.0. Three "PD" records are really living authors' works with a platform label. Card and registry disagree on provenance.

Evidence

  • V 583 records checked against the live bibliotekanauki.pl/api: 0 licence-type mismatches, and no NC, ND or all-rights-reserved items.
  • V Real versions:
    • BY: 170 are 4.0, 101 are 3.0 PL, 27 are 3.0 Unported, 2 are 2.0.
    • BY-SA: 213 are 4.0, 67 are 3.0 PL.
  • V iconId (the CLEAN set in recover_licenses.py) drops the version.
  • V "PD" records: books_2142716, books_2147851, articles_2097363.
  • V licenses.jsonl and build_parquet.py are not in the repo.

Fix

  1. Rebuild the licence field from the API's full licence name and version.
  2. Drop the 3 PD records.
  3. Commit the build scripts.
  4. Make the card say "direct rebuild" to match the registry.

eurlex

Minorv0.2.5release 0.2.0 · CC-BY-4.0 · SpeakLeash eurlex_corpus

Problem

CC BY 4.0 covers EUR-Lex editorial content only. Legal documents fall under the general reuse notice, with exceptions for third-party works and special conditions. Decision 2011/833/EU covers Commission documents only. The card's Art. 4 basis doesn't apply to EU acts.

Fix

  1. Relabel as LicenseRef-EU-Reuse-Policy, citing the legal notice and 2011/833/EU.
  2. Remove the Art. 4 basis from the card.
  3. Add a caveat for third-party and "special conditions" items: ECB ~4%, state-aid notices ~2.5%, EESC, ETSI citations.
  4. Note the chain via SpeakLeash.

govpl

Minorv0.2.5release 0.2.2 · CC-BY-SA-4.0 · src/fetch_govpl.py, govpl_subsites.json (133)

Problem

The card says "All textual content … CC-BY-SA 4.0" and drops gov.pl's own carve-out for third-party works (prawa-autorskie). The parquet has no URL or subsite field.

Fix

  1. Reword the card to include the carve-out.
  2. Drop the ~154 docs that name PAP (mostly the MKiDN subsite) and "Źródło:" docs that name non-government sources (764 have "Źródło:").
  3. Re-fetch to add a URL and subsite sidecar.

A 200-doc sample (seed 42) had 0 clear third-party reprints.

global_voices

Minorv0.2.5release 0.2.3 · CC-BY-3.0

Problem

GV's CC BY covers "content created by Global Voices". 64 of 2,040 docs (3.1%) are republished from partners under content-sharing agreements: 17 from PRI/The World, plus Metamorphosis, Irrawaddy, Nepali Times, Premium Times, HKFP and 350.org.

Fix

Drop the 64 docs, selected by outlet names in the sidecar author field ("Autorzy oryginału: …") together with the regex for "content-sharing agreement"/partnership wording. After that the source is clean.

sejm_api

Minorv0.2.5release 0.2.5 · LicenseRef-Polish-Official-Documents · src/fetch_sejm_api.py

Problem

The data comes from the HF snapshot PiotrSty/sejm-speeches-corpus@124557799608, not the live API. source_url points only at a day-level /videos/ endpoint. The API publishes no licence or terms. The SIS terms cover www.sejm.gov.pl, and no source puts API output in SIS. Content is MPs' and ministers' floor speeches: 38,812 rows from 1,149 authors.

Fix

Change provenance to "Sejm API data via contributor snapshot". Spot-check 20 rows against the live API. Use per-speech URLs if the API offers them.

sejm_api_2011_2022

Minorunreleased · LicenseRef-Polish-Official-Documents · src/fetch_sejm_api_2011_2022.py

Problem

Same snapshot chain as sejm_api: 118,902 rows from 2,095 authors. Terms 7–8 (2011–2015) predate the 2016 SIS wording. NERGAL hasn't run. It overlaps parliamentary (2011–2019) and the registered parlamint_pl.

Fix

Apply the sejm_api fix. Dedup against parliamentary and parlamint_pl before release. Run NERGAL.

sejm_interpellations

Minorunreleased · LicenseRef-Polish-Official-Documents · src/fetch_sejm_interpellations.py

Problem

The source has no license-evidence.json. In a 3,900-doc sample:

  • 2.2% quote 400+ chars.
  • 2.9% quote constituents.
  • About 4% match a "Pan/Pani Name" pattern.

PDF-only replies are skipped. Regulamin art. 192 puts interpellations and replies in SIS, so the SIS terms may apply; replies are written by ministries, not the Kancelaria. The card's added date (2026-09-05) disagrees with sources.py (2026-07-19).

Fix

Add license-evidence.json with a caveat about third-party quotations and the SIS terms. Fix the added date. Run NERGAL before release, as the card requires.

uzp_orzeczenia_pl

Minorunreleased · LicenseRef-Polish-Official-Documents · src/build_uzp_orzeczenia_pl.py via HF PiotrSty/uzp-orzeczenia-pl

Problem

orzeczenia.uzp.gov.pl states no licence or terms. Of 34,715 rulings, 34,412 are KIO. In a 250-ruling sample:

  • 71% recite party arguments.
  • 50% quote 300+ chars.
  • 4.4% cite an expert opinion.
  • 1.2% name natural persons.

Fix

Reword the label to state the review status ("statutory basis, no formal legal review"). If SAOS merges, choose one canonical source for the 4,541 KIO duplicates. Optional: written confirmation from UZP.

ted_pl

Minorunreleased · LicenseRef-TED-Notice-Reuse · src/build_ted_pl.py

Problem

The TED notice allows free reuse of notices, but doesn't separately address text written by member-state authorities. The exception review covered only 60 records. Over 15,544 notices: ~0.4% name a person, and 33 contain an email address.

Fix

Cite both the TED terms and the Polish public-body basis. Run a name and email scan, or NERGAL, over the full set.

kultura_bez_barier_pl

Minorunreleased · CC-BY-SA-3.0 · src/build_kultura_bez_barier_pl.py

Problem

The licence is stated only at catalogue level ("CC BY-SA 3.0"). Only jak_udostepniac_kulture embeds a line, and it is unversioned ("CC BY-SA"). The other 8 PDFs have none. The two guides co-owned with NIMOZ are already dropped.

Fix

In the card, cite the embedded line and state the version gap. Handle the phone numbers in podsumowanie_wizyt_studyjnych separately as PII.

Clean: small notes only

dziennik_ustaw

Cleanv0.2.5

Fetched directly via the ELI API (fetch_eli.py); Art. 4(1)–(2) applies. 35,442 docs. There are 7 © hits, none a third-party work.

Fix: the card gives 1918–2025, but the fetcher defaults to 1990–2025. Reconcile them.

eltec_pol

Cleanv0.2.5

100 Polish originals. The latest author death is Makuszyński (1953). Every TEI header carries CC BY 4.0.

Fix: add authors to the card. Dedup against wolne_lektury (~40 shared texts) and 1000_novels.

studia_bas

Clean

112 records, all from issues 66–82 (2021 onward); the earlier "all rights reserved" issues are excluded. Wikipedia gives CC BY 3.0 from issue 2/2021, but DOAJ lists 4.0.

Fix: someone with a normal browser should check the journal's site (it's behind a CAPTCHA) and settle 3.0 PL vs 4.0 in the registry.

edukacja_medialna_pl

Clean

Each lesson page carries a CC BY-SA 3.0 line from the publisher, FNP. Third-party text is negligible.

Optional: drop the 3 quote passages, e.g. the Michera quote in montaz-materialu-filmowego.

open_icm_pl

Clean

85 of 85 records match live DSpace dc.rights, versions included. An allowlist rejects NC/ND. No action.

open_agh_chemistry_pl

Clean

4 of 4 EPUB rights pages match the recorded SHA-256 hashes and say BY-SA 4.0. The "3.0 PL" strings appear only in image captions, and images aren't included.

Fix: archive the rights pages in Wayback, since no historical copy exists.

rock_pollub_pl

Clean

The fetcher keeps only items that are BY-SA 4.0 in both the facet and the PDF dc.rights; 8 of 8 match live, and the colophons agree. No action.

wiadomosci_statystyczne_pl

Clean

The licence is BY-SA 4.0 from 2022, granted by the authors. A per-article line is required, so 169 articles from 2022 onward are shipped, and 21 of 21 live pages match. No action.

Pending: SAOS (PR #21)

saos

MinorPR head bd16dda · release: None · src/fetch_saos.py via HF PiotrSty/saos-polish-court-judgments@736cba4 (license: unknown)

Why it isn't HPLT-class

The basis is a statutory exclusion: court judgments are not protected by copyright (Copyright Act Art. 4(2)). It is not a packaging licence. It still fails the per-record evidence bar in three places, and no lawyer has signed off.

Evidence

  • V 20 of 20 IDs match live SAOS after the PR's normalisation. The snapshot covers 54.9% of live SAOS (296,692 of 540,726).
  • V SAOS publishes no licence or regulamin (/regulamin returns 404) and disclaims responsibility for content. TK requires a "processed data" notice (Open Data Act Art. 15(1)). SN and KIO terms weren't found.
  • I About 450 TK documents carry dissenting opinions. About 1.1% of chars are quoted third-party material, and 2.3% of rows have a quoted span of 1,000+ chars.
  • V 4,541 KIO rows duplicate uzp_orzeczenia_pl. overlap_audit.json on main ran with saos_rows: 0.

Before merge

  1. Add the "processed data" notice and source/time attribution to NOTICE.md and the card.
  2. State that SAOS publishes no licence and disclaims responsibility for content, and that the HF intermediary is license: unknown.

Before release

  1. A formal Polish legal opinion covering reasons, dissents, KIO and TK, and quoted material.
  2. Strip or exclude TK dissents.
  3. Replace the regex-only PII scrub with NERGAL.
  4. Dedup KIO against uzp_orzeczenia_pl.
  5. Re-pull from the SAOS dump API and record the date.
  6. Add a takedown path.
  7. Obtain SN and KIO terms.
Not reviewed: most of src/fetch_saos.py (only the first ~140 of 1,014 lines), test_saos_contract.py and artifacts/saos_*. license-evidence.json copies the Open Data Act list from sejm_api, so the two sources read as equally reviewed when they aren't.

Cross-cutting