sejm_api_2011_2022: re-pin the parliamentary reference to Hub PR 111 (v2#54)

#113
by ppuzio - opened
artifacts/source_findings.md CHANGED
@@ -2402,6 +2402,13 @@ floor interjections), 114 (222,020) to other rebuild drops. The 23 speeches of M
2402
  Coghen stay dropped: the rebuild's name check keeps a member's name with a particle (decision
2403
  1A of 2026-10-08). Parquet sha256 `f6ec51dfd87b47b93905adcdd8f8dfb3f8449d6319df4153526c900bf258062f`.
2404
 
 
 
 
 
 
 
 
2405
  **Not established** — the hand checks in the card still date from Hub PR 76. The 573 rows whose
2406
  speaker no allowlist rule matches stay here until the allowlist is applied to this source
2407
  (slayerlabs/polish-dynaword-v2#99).
 
2402
  Coghen stay dropped: the rebuild's name check keeps a member's name with a particle (decision
2403
  1A of 2026-10-08). Parquet sha256 `f6ec51dfd87b47b93905adcdd8f8dfb3f8449d6319df4153526c900bf258062f`.
2404
 
2405
+ **Re-pin (2026-10-08)** — Hub PR 111 repaired Windows-1250 misdecoding in `parliamentary` and
2406
+ dropped 18,612 exact copies, so its parquet is `07903953…`. `REFERENCES` is re-pinned to it and
2407
+ the script re-run on the restored inputs: the parquet, attribution and decisions are
2408
+ byte-identical; only the pin in the stats changes. An exact copy cannot raise or lower the best
2409
+ containment of a speech in one document, and the encoding repair changed no score in the
2410
+ decisions (every speech scoring 0.3 or more, byte-identical).
2411
+
2412
  **Not established** — the hand checks in the card still date from Hub PR 76. The 573 rows whose
2413
  speaker no allowlist rule matches stay here until the allowlist is applied to this source
2414
  (slayerlabs/polish-dynaword-v2#99).
data/sejm_api_2011_2022/sejm_api_2011_2022.md CHANGED
@@ -57,8 +57,10 @@ of a pinned reference set holds at least half of its 5-word shingles (containmen
57
  >= 0.5 over NFKC-casefolded `\w+` tokens, the tokenisation of the repo's `near_dedup`,
58
  in `src/shingle_containment.py`; the trailers are cut first, see "Trailer cut"). The
59
  reference set is every Parquet whose registry `release` is not `None`:
60
- `parliamentary` (the PPC TEI rebuild of slayerlabs/polish-dynaword-v2#54, Hub PR 108)
61
- and `sejm_api` (after its own trailer cut), each pinned by SHA-256 in `REFERENCES`.
 
 
62
  `parlamint_pl` is no longer registered and has no data, so it is not a reference.
63
  Rows under five words have no shingles and are kept (none in this build).
64
 
 
57
  >= 0.5 over NFKC-casefolded `\w+` tokens, the tokenisation of the repo's `near_dedup`,
58
  in `src/shingle_containment.py`; the trailers are cut first, see "Trailer cut"). The
59
  reference set is every Parquet whose registry `release` is not `None`:
60
+ `parliamentary` (the PPC TEI rebuild of slayerlabs/polish-dynaword-v2#54, Hub PR 108, with
61
+ Hub PR 111's encoding repair and exact-copy drop) and `sejm_api` (after its own trailer cut),
62
+ each pinned by SHA-256 in `REFERENCES`. Re-pinning from Hub PR 108's `parliamentary` to Hub
63
+ PR 111's left every output of this script byte-identical except the pin in the stats.
64
  `parlamint_pl` is no longer registered and has no data, so it is not a reference.
65
  Rows under five words have no shingles and are kept (none in this build).
66
 
data/sejm_api_2011_2022/sejm_api_2011_2022.stats.json CHANGED
@@ -60,7 +60,7 @@
60
  "sejm_api_2011_2022.stats.json": "398dbaff87ec8f1d8702fce347db65ae8a3e4cf69a90594a6c7998cc4441c356"
61
  },
62
  "reference_sha256": {
63
- "parliamentary": "5f21252ee65425a77cdd48bdb964171fb06cd6cf0c59c0b882be995d84dcec7c",
64
  "sejm_api": "ba2daa20d2d2753c09e8bdd477839f43c82170f44caeadc634cb2295362c9c3b"
65
  },
66
  "no_shingles": 0,
 
60
  "sejm_api_2011_2022.stats.json": "398dbaff87ec8f1d8702fce347db65ae8a3e4cf69a90594a6c7998cc4441c356"
61
  },
62
  "reference_sha256": {
63
+ "parliamentary": "07903953faa3bb88bd5083500cc77e8d49aa505037f7420bab49f09b7bb4115b",
64
  "sejm_api": "ba2daa20d2d2753c09e8bdd477839f43c82170f44caeadc634cb2295362c9c3b"
65
  },
66
  "no_shingles": 0,
src/clean_sejm_api_2011_2022.py CHANGED
@@ -66,7 +66,7 @@ INPUT_SHA256 = {
66
  # `parlamint_pl` left the registry in Hub PR 54 and never had data, so it cannot be pinned.
67
  REFERENCES = {
68
  "parliamentary": (ROOT / "data/parliamentary/parliamentary.parquet",
69
- "5f21252ee65425a77cdd48bdb964171fb06cd6cf0c59c0b882be995d84dcec7c"),
70
  "sejm_api": (ROOT / "data/sejm_api/sejm_api.parquet", # after src/clean_sejm_api.py
71
  "ba2daa20d2d2753c09e8bdd477839f43c82170f44caeadc634cb2295362c9c3b"),
72
  }
 
66
  # `parlamint_pl` left the registry in Hub PR 54 and never had data, so it cannot be pinned.
67
  REFERENCES = {
68
  "parliamentary": (ROOT / "data/parliamentary/parliamentary.parquet",
69
+ "07903953faa3bb88bd5083500cc77e8d49aa505037f7420bab49f09b7bb4115b"),
70
  "sejm_api": (ROOT / "data/sejm_api/sejm_api.parquet", # after src/clean_sejm_api.py
71
  "ba2daa20d2d2753c09e8bdd477839f43c82170f44caeadc634cb2295362c9c3b"),
72
  }