polish-dynaword / CHANGELOG.md
kacperwikiel's picture
feat(data): add samorzad.gov.pl institutional corpus (#13)
8cc48a3
|
Raw History Blame
7.58 kB

Changelog

v0.2.5 (2026-08-14)

  • Added the community contribution samorzad_gov_pl by Dawid Majewski (dawidmajewski): 72,771 Polish articles / 41,154,506 cl100k-proxy tokens from 246 local public institutions and one central platform tenant using the shared samorzad.gov.pl platform.
  • Converted the published, directly collected source dataset at revision d5eaefc32c3f17cfa5a01d14573f8e4ee7d43385; retained 72,771 of 81,422 records after dropping 6,624 short, 35 below the Polish-language heuristic and 1,992 exact-duplicate records.
  • Preserved the human-readable publishing institution in every author value. Added a 72,771-record attribution sidecar with discovered source URLs, fetched final URLs, recommended attribution URLs, titles, institution names, license URLs and modification notices.
  • Added the frozen 247-institution publisher manifest, reproducible conversion script, contract tests, source datasheet, NOTICE and release-time license evidence. The live shared footer script matched the audited SHA-256 b36ec507901ed443195479d8d8009386159ae59d7486ce266bfb3308043e99aa.
  • Recomputed complete-corpus totals: 4,319,200 documents and 9,639,062,573 cl100k-proxy tokens across 18 sources.

v0.2.4 (2026-08-07)

  • Expanded european_hplt_v3_pl (Arkadiusz Słota / Maggio33) from HPLT v3.0 WDS quality bins 10+9 to WDS bins 10-5: +1,493,384 documents / 2,043,141,874 cl100k-proxy tokens, 100% CC0-1.0. The source total is now 1,603,974 documents / 2,555,525,652 tokens.
  • Phone PII-scrub hardening (v12b): an independent-lens deep verification caught a systematic phone recall-gap (~1,900 real phone numbers) that the pipeline's self-report (idempotency) was structurally blind to — address-block suppression, dzwoń-label family, leading-0 landline, +48-paren, newline-over-span and foreign-UK-bare formats. Fixed and dual-independently verified; the residual 0.0135% is a classified clearance-tail. Phones map to a [Telefon] semantic tag (anti-poisoning, not a fake number).
  • Cross-source deduplication of the expansion against the existing WDS-10+9 shards: removed 3,038 near-duplicate documents (truncation variants); exact-dup 0, near-dup overlap 0.0000% (byte-verified). Resolves the "downstream near-dedup remains" caveat from the original release.
  • Contract-revalidated the merged parquet (canonical schema, non-empty text, positive token counts, uniform source/license, stats-file consistency).
  • Expanded contributor credit for Arkadiusz Słota (Maggio33) for the WDS 10-5 expansion, PII-scrub and dedup work.
  • Updated the complete-corpus release totals from per-source parquet stats: 4,246,429 documents and 9,597,908,067 cl100k-proxy tokens (also reflects the separately-merged biblioteka_nauki source now present on main).

v0.2.3 (2026-07-26)

  • Added the community contribution european_hplt_v3_pl by Arkadiusz Słota (Maggio33): HPLT v3.0 Polish WDS quality bins 10+9, 110,590 documents and 512,383,778 cl100k-proxy tokens under CC0-1.0 packaging.
  • Added the reviewed global_voices contribution by Dawid Majewski (dawidmajewski): 2,040 documents / 3,715,020 tokens with CC-BY-3.0 and per-document author attribution metadata.
  • Added nkjp1m from contributor 1am: 18,381 documents / 2,601,201 tokens from the manually annotated 1-million-word NKJP subcorpus under the upstream version-unspecified CC-BY statement.
  • Revalidated the contributed parquet against the canonical schema, non-empty text, positive token counts, uniform source/license metadata, and stats-file consistency.
  • Updated the complete 16-source release totals from per-source parquet stats: 2,710,974 documents and 6,881,277,362 cl100k-proxy tokens.
  • Recomputed the full-corpus phrase-frequency report and charts. Updated the Arrow reporting path to use 64-bit string offsets for large row groups.
  • Fixed src/test_hplt_v3_contract.py to resolve its fixture relative to the repository instead of a contributor-local Windows path.
  • Added public contributor credit for Arkadiusz Słota (Maggio33) and Paweł Puzio (ppuzio, author of the govpl contribution released in v0.2.2), plus Dawid Majewski (dawidmajewski) for Global Voices Polish.
  • HPLT caveat: CC0 applies to the HPLT packaging; underlying web documents can carry independent rights. Downstream near-dedup and web-content review remain recommended before training.

v0.2.2 (2026-07-19)

  • Added govpl — gov.pl Polish government press releases (CC-BY-SA-4.0), 88,190 documents / 80.7M tokens, fetched directly from gov.pl across 133 ministry/agency subsites. New scripts: src/discover_govpl.py (discovers each subsite's news-section path into the committed src/govpl_subsites.json manifest) and src/fetch_govpl.py (pure-stdlib crawl of that manifest).
  • Stable totals after adding govpl: 13 sources, 2,579,963 docs, 6.36B tokens (tiktoken proxy).
  • Article date range 2005-09-26 → 2026-07-19. Build dropped 24 non-Polish and deduped 1,926 cross-posted articles (exact sha1).

v0.3.1-preview (2026-07-10)

  • Added a separate 810-document Europeana direct-ingestion preview parquet at previews/v0.3.1/europeana.parquet. It was built from 1,000 live API records using per-record rights/creator metadata in 59.4 seconds; 808 retained records are Public Domain Mark and two are CC-BY-SA-4.0.
  • The direct source gate dropped 181 non-Polish and nine OCR-garble records. dsbench found unique IDs, no empty text, no duplicate text and no eval-set overlap. Potential-phone matches remain warnings for manual review.
  • This preview does not change v0.2.1 stable totals or promote Europeana to a stable source. It is the measured contract for the full rights-preserving run.

v0.3.0-preview (in progress)

  • Validated the source-policy gate on live local SpeakLeash shards: 12 reviewed sources sampled and cleared blocking checks; four sources remain excluded and two talk-page shards remain on hold pending a separate policy.
  • Ran a direct Europeana 200-record rebuild probe with per-record rights and creator metadata: 197 Public Domain Mark and three CC-BY-SA-4.0 records cleared blocking validation. This is candidate validation, not a release inclusion.
  • Biblioteka Nauki direct probe currently returns HTTP 500 and is held out of the preview until the upstream request is repaired and audited.

v0.2.1 (2026-07-02)

  • Released a stable metadata-schema update: id, text, source, added, created, token_count, license, author.
  • Current release totals after parquet recount: 12 sources, 2,491,773 docs, 6.28B tokens (tiktoken proxy).
  • Added 1000_novels as a stable CC-BY-4.0 literature source.
  • Added source registry entries and PR contract for future biblioteka_nauki and europeana ingestion with per-document license/author metadata. These sources are not included in v0.2.1 parquets yet.
  • Credited Bart Kobyliński for source expansion work on Biblioteka Nauki and Europeana metadata/rebuild preparation.
  • Kept raw SpeakLeash Europeana excluded unless a direct rebuild preserves per-record rights metadata.
  • Sources: eurlex, parliamentary, wikisource, wikipedia, dziennik_ustaw, wolne_lektury, 1000_novels, wikiquote, eltec_pol, wikivoyage, wikibooks, wikinews.
  • Excluded (see README): open_subtitles_corpus, europeana_eu_pl_corpus_raw_speakleash, project_gutenberg_pl_corpus.