sejm_interpellations: record the licence evidence, the SIS terms and quoted third-party text (v2#57)

#94
by ppuzio - opened
Fabryka AI org

Rights audit item for sejm_interpellations (slayerlabs/polish-dynaword-v2#57; audit entry artifacts/rights_audit_2026-10/REVIEW.html, sejm_interpellations). Records only: no text or row changes.

What changes

  • New data/sejm_interpellations/sejm_interpellations.license-evidence.json. It holds:
    • both statutory bases: Copyright Act art. 4 pkt 2 and the Open Data Act (arts. 2 pkt 12, 3, 5 pkt 1, 6 ust. 2, 14 ust. 1, 15 ust. 1, 16, 17), with the file hashes ted_pl recorded for the same ELI PDFs;
    • the System Informacyjny Sejmu terms, quoted from the Wayback capture of 2026-06-03, and the Regulamin Sejmu articles that place interpellations, replies and written questions in SIS;
    • the finding that nothing on api.sejm.gov.pl puts its output in SIS;
    • the reading that the commercial-offer clause is not an Open Data Act art. 15 ust. 1 condition;
    • the audit's third-party quotation sample (3,900 docs: 2.2% quote 400+ chars, 2.9% quote constituents, ~4% "Pan/Pani ");
    • limitations and not_checked.
  • Datasheet. It now has a caveats list (SIS terms, replies written by ministries, quoted third-party text) and gives the requested SIS source note: "Źródłem tym jest System Informacyjny Sejmu".
  • Registry.
    • added is now 2026-09-05. It was 2026-07-19, the global fallback stamp, which predates the data (last record 2026-09-03). 2026-09-05 matches the datasheet, the findings log and the input file date.
    • traceable now points to the evidence file.
    • New legal_note.
  • Test. src/test_sejm_interpellations_contract.py now checks that the registry, the datasheet and the evidence agree: licence and SPDX, the added date, the SIS wording, the hashes and not_checked.
  • Findings log. New entry.

Not changed

  • Parquet rows still carry added: 2026-07-19. build_dynaword.py stamps the global ADDED on every row; switching it to the registry date is v2#80 (release commit).
  • NERGAL. No pass has been run. The source stays release: None (v2#60).
  • No NOTICE.md. The datasheet carries the source note.
  • Inconsistencies left as they are:
    • The datasheet's repro command uses --terms 9,10, while the registry provenance says --terms 10. It is not known which was run.
    • Every row's created is the range string 2023-11-15, 2026-09-03, not a per-document date.
  • No decision yaml exists for this source in polish-dynaword-v2 (the audit lists 10 of 17). Flagged.
  • README and CHANGELOG are untouched.

Checks

  • python -m pytest from the repo root: 694 passed.
  • ruff check --select F,E9 on the changed Python files: clean.

python src/render_sample.py data/sejm_interpellations/sejm_interpellations.parquet -n 3 (unchanged Parquet):

id: sejm_interpellations_530
source: sejm_interpellations
added: 2026-07-19
created: 2023-11-15, 2026-09-03
token_count: 3299
license: public-domain (official documents)
author: Tadeusz Tomaszewski

Gniezno, 21.11.2023 r.

Szanowny Panie Ministrze,

otrzymałem stanowisko I Walnego Zgromadzenia Wielkopolskiej Izby Rolniczej VII kadencji z dnia 3 listopada 2023 roku, w którym ww. gremium wyraża głębokie zaniepokojenie aktualną, dramatyczną sytuacją na rynku kukurydzy, zbóż i trzody chlewnej. Porusza ponownie nierozwiązaną kwestię związaną z importem zboża z Ukrainy oraz sprawę budzącą wątpliwości wielkopolskiego samorządu rolniczego, jaką jest trwająca sprzedaż nieruchomości rolnych Zasobu Własności Rolnej Skarbu Państwa.

„Walne Zgromadzenie Wielkopolskiej Izby Rolniczej wyraża głębokie zaniepokojenie, związane z aktualną sytuacją na rynkach rolnych. Obecnie na rynkach rolnych trwa dekoniunktura. Potwierdzają to rolnicy w badaniach prowadzonych przez Główny Urząd Statystyczny. GUS […]
id: sejm_interpellations_13977
source: sejm_interpellations
added: 2026-07-19
created: 2023-11-15, 2026-09-03
token_count: 808
license: public-domain (official documents)
author: Jarosław Wałęsa

Gdańsk, dnia 25 listopada 2024 r.

Szanowny Panie Ministrze,

minęło już ponad 1000 dni odkąd Federacja Rosyjska dokonała zbrodniczej napaści na terytorium niepodległej Ukrainy rozpoczynając pełnoskalową wojnę. Już od 10 lat nasz wschodni sąsiad zmaga się ze zbrojną agresją, a wojna toczy się zaledwie kilkaset kilometrów od granic Rzeczypospolitej.

Należy zwrócić uwagę, że czasy bezpieczeństwa w tej części Europy minęły. W ciągu ostatnich lat rządy stają na wysokości zadania pod względem modernizacji polskiej armii, aby ta była gotowa strzec naszych granic. Dzięki wielu programom (np. Narew czy Wisła) polskie wojsko wchodzi w XXI wiek, dzięki zakupom broni pancernej czy dronów polska armia stanie się jedną z najsilniejszych w całej Europie.

Westerplatte jest jednym z miejsc, gdzie 85 […]
id: sejm_interpellations_25047
source: sejm_interpellations
added: 2026-07-19
created: 2023-11-15, 2026-09-03
token_count: 375
license: public-domain (official documents)
author: Dominik Jaśkowiec

Wielce Szanowny Panie Ministrze,

województwo małopolskie planuje budowę zachodniej obwodnicy gminy Zielonki w ciągu drogi wojewódzkiej nr 794. Przedmiotowa inwestycja jest częścią Trasy Wolbromskiej stanowiącej drogę dojazdową do Północnej Obwodnicy Krakowa. Pierwsze dwa etapy tej inwestycji polegające na połączeniu Północnej Obwodnicy Krakowa z układem drogowym miasta Krakowa, realizowane przez miasto Kraków oraz Generalną Dyrekcję Dróg Krajowych i Autostrad, zostały kilka lat temu wykonane i oddane do użytku.

Kolejny, III etap, który miał wykonać podległy marszałkowi województwa małopolskiego Zarząd Dróg Wojewódzkich, polegający na budowie zachodniej obwodnicy podkrakowskiej gminy Zielonki jest ciągle na etapie uzyskiwania decyzji ZRiD.

W związku z powyższym bardzo proszę o […]

🤖 Generated with Claude Code

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

Sign up or log in to comment