Add source: sejm_interpellations — 10th-term written Q&A

#24
by ppuzio - opened
Slayer Labs org

Summary

  • Adds sejm_interpellations: 25,950 documents / 28,180,895 cl100k-proxy tokens of 10th-term Sejm interpellations, written questions, and HTML ministry replies (2023-11-152026-09-03).
  • Same API and kadencja as shipped sejm_api, written register, not floor speeches. Not a duplicate of #16 or #18.
  • README / CHANGELOG cut as v0.2.6 (4,392,601 docs / 9.70B tok / 21 sources). Table also lists already-merged sejm_api and wiktionary_examples so card totals match stats.json. Extra scrub_pii work is not in this PR.

Provenance and license

  • Origin: Sejm API HTML /body endpoints (interpellations, writtenQuestions, term 10). Fetcher: src/fetch_sejm_interpellations.py.
  • License: public-domain (official documents) — Polish Copyright Act art. 4 pkt 2 + Open Data Act arts. 2(12), 5, 14, 17. Same basis as sejm_api.
  • Term 9 listed X-Total-Count: 0 at fetch time. Terms 7–8 were not fetched (PPC already covers interpellations through 2019).
  • PDF-only replies (onlyAttachment: true) and keyless stubs skipped. Header chrome stripped into meta. scrub_pii from #20 ran before jsonl write.
  • Build: read 26,503 → drop 553 exact dups → 25,950. Every row has a signatory/minister author.

Sample (verbatim, with metadata)

Question:

id: sejm_interpellations_2388
source: sejm_interpellations
added: 2026-07-19
created: 2023-11-15, 2026-09-03
token_count: 415
license: public-domain (official documents)
author: Daniel Milewski

Szanowny Panie Ministrze,

latem 2022 roku na podlaskiej części granicy z Białorusią ukończono zaporę fizyczną, czyli 5,5-metrowy płot ze stalowych przęseł zwieńczony drutem żyletkowym. Ogrodzenie stoi na 186 kilometrach. Bariera elektroniczna obejmuje również te odcinki, gdzie go nie ma, czyli część wód granicznych.

Co jest prawdą, jeśli chodzi o zapewnienie bezpieczeństwa naszego kraju na granicy z Białorusią? […]

Reply:

id: sejm_interpellations_20
source: sejm_interpellations
added: 2026-07-19
created: 2023-11-15, 2026-09-03
token_count: 608
license: public-domain (official documents)
author: sekretarz stanu w Ministerstwie Spraw Zagranicznych Władysław Teofil Bartoszewski

Szanowny Panie Marszałku,

w odpowiedzi na zapytanie poselskie nr 3472 pana posła Bronisława Foltyna w sprawie Instytutu Polskiego w Szwajcarii, uprzejmie informuję, co następuje.

Ministerstwo Spraw Zagranicznych planuje rozwój sieci Instytutów Polskich w oparciu o priorytety polskiej polityki zagranicznej oraz strategiczne interesy państwa. […]

Test plan

  • python3 src/test_sejm_interpellations_contract.py (9 tests)
  • Reviewer: texts are written Q&A / ministry prose, not stenograms
  • Reviewer: no overlap claim vs #16 / #18 / PPC
  • Phrase-frequency charts not regenerated (registry-independent, heavy); README Results section unchanged
ppuzio changed pull request status to open
Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment