| |
| """ |
| The released data is deterministic. The complete generation catalogs and algorithm are documented |
| in configs/ and docs/. This command verifies the release files and prints the expected regeneration |
| contract. It intentionally avoids silently overwriting a reviewed dataset. |
| """ |
| from pathlib import Path |
| import json |
|
|
| ROOT = Path(__file__).resolve().parents[1] |
| taxonomy = json.loads((ROOT / "configs" / "taxonomy.json").read_text(encoding="utf-8")) |
| records = sum(1 for _ in (ROOT / "data" / "all.jsonl").open(encoding="utf-8")) |
|
|
| print(f"Families: {len(taxonomy)}") |
| print(f"Archetypes: {sum(len(v['archetypes']) for v in taxonomy.values())}") |
| print(f"Released records: {records}") |
| print("See docs/ALGORITHM.md for the deterministic generation contract.") |
|
|