Download scripts/generate.py from jumplander/JumpForge-Agentic-SE-3K: direct link, hf CLI and curl.
- Browser
- Download file 778 Bytes
-
https://huggingface.co/datasets/jumplander/JumpForge-Agentic-SE-3K/resolve/main/scripts/generate.py
- Command line
-
hf download hf://datasets/jumplander/JumpForge-Agentic-SE-3K/scripts/generate.py
-
curl -L -o generate.py https://huggingface.co/datasets/jumplander/JumpForge-Agentic-SE-3K/resolve/main/scripts/generate.py
778 Bytes
| #!/usr/bin/env python3 | |
| """ | |
| 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.") | |