Datasets:
nik_control_reports_pl: NIK state-audit control reports (4,576 docs / 305M chars)
What
New source nik_control_reports_pl: state-audit control reports of the Supreme Audit Office (Najwyzsza Izba Kontroli, NIK) — the published Informacja o wynikach kontroli, wystapienia pokontrolne, protokoly and annexes. 4,576 documents / 304,904,133 characters / 121,183,078 tokens (tiktoken proxy), 2,962 controls, 2005-2026. release: None.
Provenance and licensing
- Origin: first-hand from the publisher, https://www.nik.gov.pl/kontrole/wyniki-kontroli-nik/ . The results listing is a JS pager (every
/strona,NURL returns page 1; no sitemap), sosrc/fetch_nik_control_reports_pl.pysweeps the official record numbers (Nr ewidencyjnyP|D|I/RR/NNN, 2004-2026, gap-tolerant blocks journaled) over public detail pages, downloads each report PDF and extracts its text layer with pypdf. No intermediary snapshot, no dump, no third-party copy. - Basis: official documents outside copyright, Copyright Act art. 4 pkt 2 ("urzedowe dokumenty, materialy, znaki i symbole"); Open Data Act (Dz.U. 2023 poz. 1524) arts. 2(12), 5, 14, 17 as supporting context (I). The statement lives in the statute, not on the site (nik.gov.pl has no per-document licence field, V). Verbatim quote + raw-segment sha256 in
data/nik_control_reports_pl/nik_control_reports_pl.license-evidence.json(consolidated text Dz.U. 2000 Nr 80 poz. 904). Fail-closed: no CC grant asserted anywhere. - Chain of title: authors = NIK officers / Kolegium NIK acting officially -> publisher NIK -> this repo; no intermediaries.
- Caveat (material): reports quote party letters, audited-entity documents and cited rulings at length. Stratified recorded-seed sample (20261010) of 220/4,621 docs over control-prefix strata: quote spans 40+ chars in 184/220 (Wilson 95% 78.2-87.9%), third-party citation refs 104/220 (40.8-53.9%), quote spans cover 59.7% of sampled chars (regex, I). Whether art. 4 pkt 2 clears works quoted inside an official document is an open legal question (as in uodo_orzeczenia_pl); documents are not filtered.
- Persons/identifiers: names stay as published in official documents; pattern-level redaction of PESEL and bank accounts ->
[PII](146 + 3 hits; 0/220 residual in the sample, Wilson 95% 0-1.7%). Scrubber: pattern-level only; SlayerLab/NERGAL has not run — hencerelease: Noneuntil re-run. Per-item sample classes and IDs innik_control_reports_pl.sampling.json; full evidence incl.not_checkedin the evidence file.
What the texts are
Formal administrative/analytical Polish: audit findings, legal reasoning, statistical tables as text. Not OCR (born-digital PDF text layer). created at year precision. Known extraction limits: wrapped single words on their own lines, pypdf ligature artifacts (Ż -> Ŝ in some old documents).
Collection, normalization, filtering
src/fetch_nik_control_reports_pl.py (acquisition + pypdf) and src/clean_nik_control_reports_pl.py (normalization; contract tests in src/test_nik_control_reports_pl_contract.py, 11/11 passing). Cleaning: NFKC, space zoo -> plain space, control chars out, soft-hyphen de-hydphenation (slowo-\nslowo, lowercase fragments), strona N z M + standalone page numbers dropped (section numbering kept — it is content), frequency-detected boilerplate (rule 1: exact line >= 20 chars in >= 33% of docs; rule 2: >= 300 occurrences, >= 5x per containing document, in >= 50 docs — calibrated on the shard's top-line frequency table, in the datasheet), identifier redaction. Clean run: 311,654,583 -> 309,053,905 chars, 21 boilerplate lines dropped. build_dynaword gates: 4,621 read -> 4,576 kept (-42 exact dup, -3 lang, 0 short/ocr).
Before (raw pypdf extraction) -> after:
NAJWYŻSZA IZBA KONTROLI
ul. Filtrowa 57,
02-056 Warszawa
tel. +48 22 444 50 00, nik@nik.gov.pl
strona 2 z 47
I. Dane identyfikacyjne
...
Wystąpienie pokontrolne zmienione zgodnie z treścią uchwały nr 88/2026 <- stays (content)
-> page furniture and strona N z M gone, I. Dane identyfikacyjne and document text kept, sporzą-\ndzenie joined to sporządzenie.
Samples (render_sample, verbatim)
id: nik_control_reports_pl_p_07_146_3
source: nik_control_reports_pl
added: 2026-10-10
created: 2008
token_count: 5724
license: public-domain (official documents)
author: Najwyższa Izba Kontroli
NAJWY śSZA IZBA KONTROLI
DELEGATURA W LUBLINIE
ul. Okopowa 7, 20-001 Lublin tel. 081 53 64 120 fax. 081 53 64 111
Lublin, dnia 1 kwietnia 2008 r.
LLU-41004-3-08
P/07/146
Szanowny Pan
Andrzej GREGOREK
Lubelski Komendant Wojewódzki
Pa ństwowej Stra Ŝy Po Ŝarnej
WYST ĄPIENIE POKONTROLNE
Na podstawie art. 2 ust. 1 ustawy z dnia 23 grudnia 1994 r. o Najwy Ŝszej Izbie
Kontroli 1 zwanej dalej ustaw ą o NIK, Najwy Ŝsza Izba Kontroli – Delegatura w Lublinie
skontrolowała w Komendzie Wojewódzkiej Pa ństwowej Stra Ŝy Po Ŝarnej (zwanej dalej
„KW PSP”) wykonanie bud Ŝetu pa ństwa w 2007 r. w cz ęś ci 85/06 województwo lubelskie. […]
id: nik_control_reports_pl_r_15_006_5
source: nik_control_reports_pl
added: 2026-10-10
created: 2016
token_count: 6754
license: public-domain (official documents)
author: Najwyższa Izba Kontroli
LWA.411.008.10.2015
R/15/006
WYSTĄPIENIE
POKONTROLNE
I. Dane identyfikacyjne kontroli
Numer i tytuł
kontroli
R/15/006 – Zabezpieczenie wybranych obiektów infrastruktury krytycznej w woj.
mazowieckim istotnych dla funkcjonowania Państwa i jego obywateli
Jednostka
przeprowadzająca
kontrolę
Delegatura w Warszawie
Kontroler Zbigniew Dudzik, specjalista kontroli państwowej, upoważnienie do kontroli nr 95286
z dnia 29 czerwca 2015 r.
(dowód: akta kontroli str. 1-2) […]
id: nik_control_reports_pl_k_19_005_4
source: nik_control_reports_pl
added: 2026-10-10
created: 2019
token_count: 7086
license: public-domain (official documents)
author: Najwyższa Izba Kontroli
LKA.411.005.05.2019
Pan
Bernard Bednorz
Starosta Bieruńsko-Lędziński
ul. Św. Kingi 1, 43-155 Bieruń
WYSTĄPIENIE […]
Argument for inclusion
DynaWord's government/administrative slice is short on long-form analytical prose: NIK reports are structured argument (problem -> evidence -> assessment -> recommendations) with dense legal and statistical vocabulary — a register between dziennik_ustaw's normative texts and parliamentary's speeches; the largest state-audit corpus published openly in Poland. Bias/quality caveats: legalese-analytical register, published wording only, wrapped-word/ligature extraction artifacts, year-precision dates (all in the datasheet).
Decision record (no sibling checkout — flagged per skill)
source: nik_control_reports_pl
status: admitted # with release: None (NERGAL pending, inner-quote question open)
date: 2026-10-10
basis: Copyright Act art. 4 pkt 2 (official documents) - V, verbatim + hash in license-evidence.json
scope:
kept: 4,576 documents (report PDFs with a text layer), 2005-2026
withheld: scanned annexes without a text layer (count unknown - in not_checked)
filters: exact-dup (42) and language gate (3) in build_dynaword; identifier redaction in clean_nik_control_reports_pl.py
caveats: quoted third-party text inside official documents (184/220 sampled docs, quote spans 59.7% of chars) - art. 4 coverage of inner quotes is an open legal question; documents not filtered
not_checked: [see license-evidence.json not_checked - 7 items]
Review
@ppuzio — review requested (same review line as #116). Notable cross-note: uodo_orzeczenia_pl.license-evidence.json cites "Dz.U. 1994 nr 24 poz. 83" and eli.gov.pl/api/acts/DU/2025/24 for art. 4 pkt 2 — both look wrong (the act is Dz.U. 1994 Nr 43 poz. 175; the linked PDF is the 2025 amending act and contains no such provision). Details in the source_findings.md entry of this PR.
Prepared as a worked example: sources.py entry (release: None), datasheet, license-evidence.json with V/I marks and not_checked, sampling.json with per-item IDs + seed, contract tests 11/11 (python -m pytest src/test_nik_control_reports_pl_contract.py). Note for CI maintainers: src/test_ted_pl_contract.py fails to import on Python 3.10 (PEP 701 f-string in upstream build_ted_pl.py) — unrelated to this PR.