Datasets:
build_dynaword: preserve_id / preserve_created flags (split from #19)
#45
by PiotrSty - opened
build_dynaword: opt-in preserve_id / preserve_created flags (split from #19)
The shared-build half of the studia_bas contribution (#19), split out for independent review per that PR's review item 2. Small and self-contained:
src/build_dynaword.py— two opt-in per-source registry flags:preserve_idkeeps the intermediate row'sidin the canonical output;preserve_createdstamps the per-recordcreated/date/publishedvalue instead of the source-level default. Sources without the flags are gated and stamped exactly as before —src/test_build_dynaword_flags.pypins that backward-compat behavior (3 tests, passing)..gitignore—__pycache__/*.pycplus the build-input/scratch patterns of the studia_bas fetch pipeline (PDF cache,.jsonl.zstintermediates, probe output). Personal tooling lines from the original branch were dropped.
Companion source PR: the studia_bas data PR linked above. Merge order is free — the flags are inert registry keys until the flags land; the committed shard is pre-built either way.
PiotrSty changed pull request status to open
ppuzio changed pull request status to merged
ppuzio deleted the
refs/pr/45 ref