Skip to content

test: add reproducible domain table generator - #80

Merged
vitormattos merged 3 commits into
mainfrom
test/reproducible-domain-generator
Oct 4, 2026
Merged

vitormattos merged 3 commits into
mainfrom
test/reproducible-domain-generator

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Completes the remaining Definition of Done for #51.

Summary

  • add a dependency-free Python XLSX normalizer for official annexes A/B/C
  • generate the committed municipality/country/service/NBS/operation-indicator TSV snapshots directly from XLSX
  • honor spreadsheet cell references and vertically merged cells
  • reject unexpected official cardinalities instead of silently accepting partial data
  • add --check mode for byte-for-byte snapshot verification
  • add a network-free synthetic workbook test and dedicated CI job

The generator is a development/update tool only; runtime remains fully offline and PHP-only.

If CI passes, #51 can be closed without weakening its reproducibility requirement.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@vitormattos
vitormattos merged commit 02ea498 into main Oct 4, 2026
12 checks passed
@vitormattos
vitormattos deleted the test/reproducible-domain-generator branch October 4, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant