Datasets:
Release UnsolvedAstronomy v1.1.0 (compact single-copy layout, 298 MB vs 2.53 GB, 35,000 deduplicated astronomy problems)
Browse filesFiles changed (40)
- DATASET_CARD.md+5-12
- README.md+5-12
- data/audits/duplicate_audit.jsonl → archived_problems.jsonRenamed+2-2
- data/audits/statement_audit.jsonlDeleted-3
- data/audits/status_audit.jsonlDeleted-3
- data/candidates/extracted_candidates.jsonlDeleted-3
- data/canonical/problems.jsonlDeleted-3
- data/canonical/status_history.jsonlDeleted-3
- dataset.jsonDeleted-3
- problems.json+2-2
- data/canonical/relations.jsonl → relations.jsonlRenamed+2-2
- releases/v1.0/gold_seed_v1.0.jsonlDeleted-3
- releases/v1.0/manifest.jsonDeleted-3
- releases/v1.0/problems_v1.0.jsonlDeleted-3
- releases/v1.0/relations_v1.0.jsonlDeleted-3
- releases/v1.0/sources_v1.0.jsonlDeleted-3
- releases/v1.0/statistics.jsonDeleted-3
- releases/v1.0/status_history_v1.0.jsonlDeleted-3
- releases/v1.1/gold_seed_v1.1.jsonlDeleted-3
- releases/v1.1/manifest.jsonDeleted-3
- releases/v1.1/problems_v1.1.jsonlDeleted-3
- releases/v1.1/relations_v1.1.jsonlDeleted-3
- releases/v1.1/sources_v1.1.jsonlDeleted-3
- releases/v1.1/statistics.jsonDeleted-3
- releases/v1.1/status_history_v1.1.jsonlDeleted-3
- research_results.json+2-2
- scripts/build_release.py+4-86
- scripts/compute_statistics.py+17-16
- scripts/duplicate_candidates.py+9-7
- scripts/generate_dataset_card.py+2-9
- scripts/generate_v1_0_dataset.py+38-89
- scripts/harvest_oai_pmh_bulk.py+23-25
- scripts/literature_search.py+19-36
- scripts/normalize_problems.py+46-1
- scripts/validate.py+22-26
- source_registry.json+2-2
- sources/query_manifests/ads_v1_0_queries.jsonDeleted-3
- sources/registry.jsonlDeleted-3
- statement_audit.json+2-2
- statistics.json+2-2
40 unmodified lines41424344454647481 unmodified line5051525354555637 unmodified lines94959697989910010110210310410510610710810911011111211340 unmodified lines## Key Highlights (v1.1.0)- **Published Open & Partially Solved Problems**: **35,000** (`UAST-000001`–`UAST-035000`)- `open`: **34,769**- `partially_solved`: **231**- **100% Strictly Unique Papers & Titles (`allow_same_source=False`)**: **35,000** unique problem titles across **35,000** published problems (0 duplicate titles, 0 duplicate primary DOIs/arXiv IDs, enforced via rarity-ordered IDF token/bigram and title/question semantic deduplication).- **Curated Gold Seed Subset**: **3,500** (`UAST-000001`–`UAST-003500`, `is_gold_seed: true`)- **Archived & Audit Records**: **80** (`UAST-035001`–`UAST-035080`: 20 historically `solved`, 15 `premise_rejected`, 25 `excluded_scope`, 20 `merged_duplicate`)1 unmodified line- **Per-Problem BM25 Literature Search (5–5 Sources per Problem, avg 5.00)**: Every published problem carries **5 to 5 distinct literature references** (its originating peer-reviewed research or review article, **3 topic-matched peer-reviewed astronomy papers retrieved via BM25/IDF literature search** across shared astrophysical concepts, facilities, wavelengths, and object classes, plus a Tier-A Decadal Survey / Agency Roadmap domain anchor).- **Paper-Specific Metadata & Semantic Graph (`12,020` Edges)**: Every problem's `status_justification`, `current_best_bounds_or_constraints`, `competing_models`, `resolution_criteria`, `falsifiability_or_discriminant`, and `related_problem_ids` are grounded in its primary source and its 3 BM25-retrieved literature search papers.- **Maximum Single-Source Share**: **0.10%** (34 problems from `SRC-AST-000001`, well below the 2.0% cap)- **Cross-Domain Interoperability**: Explicit links to `ulamai/UnsolvedPhysics` (1,099 links) and `ulamai/UnsolvedChem` (254 links).---37 unmodified lines## Repository Structure### Root Exports (`UnsolvedMath` / `UnsolvedPhysics` Compatible)- `problems.json`: The 35,000 published `open` and `partially_solved` problems (`UAST-000001`–`UAST-035000`).- `dataset.json`: Full 35,080-record table including all 80 archived/audit records (`UAST-035001`–`UAST-035080`).- `source_registry.json`: All 34,964 curated Tier-A, Tier-B, and Tier-C literature sources.- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.### Canonical JSONL & Schema Files- `data/canonical/problems.jsonl`: Canonical problem records (35,080 rows).- `data/canonical/relations.jsonl`: Typed inter-problem graph edges (`12,020` edges).- `data/canonical/status_history.jsonl`: Provenance-backed status verification events.- `sources/registry.jsonl`: Source registry in JSONL format.- `releases/v1.0/`: Frozen v1.0.0 release package (`problems_v1.0.jsonl`, `gold_seed_v1.0.jsonl`, `sources_v1.0.jsonl`, `relations_v1.0.jsonl`, `status_history_v1.0.jsonl`, `statistics.json`, `manifest.json`).- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).40 unmodified lines41424344454647481 unmodified line5051525354555637 unmodified lines94959697989910010110210310410510640 unmodified lines## Key Highlights (v1.1.0)- **Published Open & Partially Solved Problems**: **35,000** (`UAST-000001`–`UAST-035000`)- `open`: **34,778**- `partially_solved`: **222**- **100% Strictly Unique Papers & Titles (`allow_same_source=False`)**: **35,000** unique problem titles across **35,000** published problems (0 duplicate titles, 0 duplicate primary DOIs/arXiv IDs, enforced via rarity-ordered IDF token/bigram and title/question semantic deduplication).- **Curated Gold Seed Subset**: **3,500** (`UAST-000001`–`UAST-003500`, `is_gold_seed: true`)- **Archived & Audit Records**: **80** (`UAST-035001`–`UAST-035080`: 20 historically `solved`, 15 `premise_rejected`, 25 `excluded_scope`, 20 `merged_duplicate`)1 unmodified line- **Per-Problem BM25 Literature Search (5–5 Sources per Problem, avg 5.00)**: Every published problem carries **5 to 5 distinct literature references** (its originating peer-reviewed research or review article, **3 topic-matched peer-reviewed astronomy papers retrieved via BM25/IDF literature search** across shared astrophysical concepts, facilities, wavelengths, and object classes, plus a Tier-A Decadal Survey / Agency Roadmap domain anchor).- **Paper-Specific Metadata & Semantic Graph (`12,020` Edges)**: Every problem's `status_justification`, `current_best_bounds_or_constraints`, `competing_models`, `resolution_criteria`, `falsifiability_or_discriminant`, and `related_problem_ids` are grounded in its primary source and its 3 BM25-retrieved literature search papers.- **Maximum Single-Source Share**: **0.10%** (34 problems from `SRC-AST-000001`, well below the 2.0% cap)- **Cross-Domain Interoperability**: Explicit links to `ulamai/UnsolvedPhysics` (651 links) and `ulamai/UnsolvedChem` (6 links).---37 unmodified lines## Repository Structure- `problems.json`: The 35,000 published `open` and `partially_solved` problems (`UAST-000001`–`UAST-035000`).- `archived_problems.json`: All 80 archived/audit records (`UAST-035001`–`UAST-035080`: `solved`, `premise_rejected`, `excluded_scope`, `merged_duplicate`).- `source_registry.json`: All 34,964 curated Tier-A, Tier-B, and Tier-C literature sources.- `relations.jsonl`: Typed inter-problem graph edges (`12,020` edges).- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).
40 unmodified lines41424344454647481 unmodified line5051525354555637 unmodified lines94959697989910010110210310410510610710810911011111211340 unmodified lines## Key Highlights (v1.1.0)- **Published Open & Partially Solved Problems**: **35,000** (`UAST-000001`–`UAST-035000`)- `open`: **34,769**- `partially_solved`: **231**- **100% Strictly Unique Papers & Titles (`allow_same_source=False`)**: **35,000** unique problem titles across **35,000** published problems (0 duplicate titles, 0 duplicate primary DOIs/arXiv IDs, enforced via rarity-ordered IDF token/bigram and title/question semantic deduplication).- **Curated Gold Seed Subset**: **3,500** (`UAST-000001`–`UAST-003500`, `is_gold_seed: true`)- **Archived & Audit Records**: **80** (`UAST-035001`–`UAST-035080`: 20 historically `solved`, 15 `premise_rejected`, 25 `excluded_scope`, 20 `merged_duplicate`)1 unmodified line- **Per-Problem BM25 Literature Search (5–5 Sources per Problem, avg 5.00)**: Every published problem carries **5 to 5 distinct literature references** (its originating peer-reviewed research or review article, **3 topic-matched peer-reviewed astronomy papers retrieved via BM25/IDF literature search** across shared astrophysical concepts, facilities, wavelengths, and object classes, plus a Tier-A Decadal Survey / Agency Roadmap domain anchor).- **Paper-Specific Metadata & Semantic Graph (`12,020` Edges)**: Every problem's `status_justification`, `current_best_bounds_or_constraints`, `competing_models`, `resolution_criteria`, `falsifiability_or_discriminant`, and `related_problem_ids` are grounded in its primary source and its 3 BM25-retrieved literature search papers.- **Maximum Single-Source Share**: **0.10%** (34 problems from `SRC-AST-000001`, well below the 2.0% cap)- **Cross-Domain Interoperability**: Explicit links to `ulamai/UnsolvedPhysics` (1,099 links) and `ulamai/UnsolvedChem` (254 links).---37 unmodified lines## Repository Structure### Root Exports (`UnsolvedMath` / `UnsolvedPhysics` Compatible)- `problems.json`: The 35,000 published `open` and `partially_solved` problems (`UAST-000001`–`UAST-035000`).- `dataset.json`: Full 35,080-record table including all 80 archived/audit records (`UAST-035001`–`UAST-035080`).- `source_registry.json`: All 34,964 curated Tier-A, Tier-B, and Tier-C literature sources.- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.### Canonical JSONL & Schema Files- `data/canonical/problems.jsonl`: Canonical problem records (35,080 rows).- `data/canonical/relations.jsonl`: Typed inter-problem graph edges (`12,020` edges).- `data/canonical/status_history.jsonl`: Provenance-backed status verification events.- `sources/registry.jsonl`: Source registry in JSONL format.- `releases/v1.0/`: Frozen v1.0.0 release package (`problems_v1.0.jsonl`, `gold_seed_v1.0.jsonl`, `sources_v1.0.jsonl`, `relations_v1.0.jsonl`, `status_history_v1.0.jsonl`, `statistics.json`, `manifest.json`).- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).40 unmodified lines41424344454647481 unmodified line5051525354555637 unmodified lines94959697989910010110210310410510640 unmodified lines## Key Highlights (v1.1.0)- **Published Open & Partially Solved Problems**: **35,000** (`UAST-000001`–`UAST-035000`)- `open`: **34,778**- `partially_solved`: **222**- **100% Strictly Unique Papers & Titles (`allow_same_source=False`)**: **35,000** unique problem titles across **35,000** published problems (0 duplicate titles, 0 duplicate primary DOIs/arXiv IDs, enforced via rarity-ordered IDF token/bigram and title/question semantic deduplication).- **Curated Gold Seed Subset**: **3,500** (`UAST-000001`–`UAST-003500`, `is_gold_seed: true`)- **Archived & Audit Records**: **80** (`UAST-035001`–`UAST-035080`: 20 historically `solved`, 15 `premise_rejected`, 25 `excluded_scope`, 20 `merged_duplicate`)1 unmodified line- **Per-Problem BM25 Literature Search (5–5 Sources per Problem, avg 5.00)**: Every published problem carries **5 to 5 distinct literature references** (its originating peer-reviewed research or review article, **3 topic-matched peer-reviewed astronomy papers retrieved via BM25/IDF literature search** across shared astrophysical concepts, facilities, wavelengths, and object classes, plus a Tier-A Decadal Survey / Agency Roadmap domain anchor).- **Paper-Specific Metadata & Semantic Graph (`12,020` Edges)**: Every problem's `status_justification`, `current_best_bounds_or_constraints`, `competing_models`, `resolution_criteria`, `falsifiability_or_discriminant`, and `related_problem_ids` are grounded in its primary source and its 3 BM25-retrieved literature search papers.- **Maximum Single-Source Share**: **0.10%** (34 problems from `SRC-AST-000001`, well below the 2.0% cap)- **Cross-Domain Interoperability**: Explicit links to `ulamai/UnsolvedPhysics` (651 links) and `ulamai/UnsolvedChem` (6 links).---37 unmodified lines## Repository Structure- `problems.json`: The 35,000 published `open` and `partially_solved` problems (`UAST-000001`–`UAST-035000`).- `archived_problems.json`: All 80 archived/audit records (`UAST-035001`–`UAST-035080`: `solved`, `premise_rejected`, `excluded_scope`, `merged_duplicate`).- `source_registry.json`: All 34,964 curated Tier-A, Tier-B, and Tier-C literature sources.- `relations.jsonl`: Typed inter-problem graph edges (`12,020` edges).- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).
123version https://git-lfs.github.com/spec/v1oid sha256:de9092763c009bae60c72bb2f401c74079b873f5f5eb56f2b13d1d71fb0dc67esize 189069123version https://git-lfs.github.com/spec/v1oid sha256:47280297eab1ae273da4dac7ef370b4a42ee3554676b0f1a4dcd7707c130740asize 479343
123version https://git-lfs.github.com/spec/v1oid sha256:29d1bd96eda0557438afe392656fe64c2aa7765c7526eff31d61ce31ef6d7eafsize 18905240123version https://git-lfs.github.com/spec/v1oid sha256:6a480e808e92d43d5e066415dffb1dcf912ba6731f954d288aa992a2c2d2b20fsize 25718932123version https://git-lfs.github.com/spec/v1oid sha256:5a22d8727029a33e35be62d528539f7e3a05977f5635ed7928e7f304a6b184e3size 3122988123version https://git-lfs.github.com/spec/v1oid sha256:942d2a92693bd28a646f3f8f3d7850e58719c18bb795c584b32b67540f94c909size 423074694123version https://git-lfs.github.com/spec/v1oid sha256:56a0cb0075b2b83ce7b3a6e0f0f4ab01bd33d0ef6213a2bffaf23c3b40cb7615size 26424690123version https://git-lfs.github.com/spec/v1oid sha256:a47dc3c0e7501d44b152cef0665322a3f3eef41e51847488afaea9f3d309fa8esize 463874401123version https://git-lfs.github.com/spec/v1oid sha256:22f5b4dca8255ba8234f6861646e332a90a116d7871a5127de360f19e38582dbsize 463282561123version https://git-lfs.github.com/spec/v1oid sha256:d88b75316dd46f317de21c528353a18f4794986b91cda3f4446a0e82abd95e4fsize 280092714
123version https://git-lfs.github.com/spec/v1oid sha256:d583aab1d68121e29a106ca39e66a7f817a0b1ef020c1719fc1dcce26d6e7e62size 4039831123version https://git-lfs.github.com/spec/v1oid sha256:de361a954d241a1bf52a561809645173b95dcbdfd4998853d8adc5b56e7d2ed5size 3907909
123version https://git-lfs.github.com/spec/v1oid sha256:60e4ca18a9a593f2b2c41e3703b652b01dc6796e30378a328733b51851dd004asize 41313788123version https://git-lfs.github.com/spec/v1oid sha256:acb62babd89ba963867eabe4b2e8ab8934a4c7fd00d1d6cf5c0fc49cdeab2bafsize 1152123version https://git-lfs.github.com/spec/v1oid sha256:324bc8c6373f7cef8b3f0d10bd20423da52028ae0d041356d2fbe1ea36fc0449size 422537984123version https://git-lfs.github.com/spec/v1oid sha256:d583aab1d68121e29a106ca39e66a7f817a0b1ef020c1719fc1dcce26d6e7e62size 4039831123version https://git-lfs.github.com/spec/v1oid sha256:511039c2f764298d04949c579763339f02b7258ad78512f2da5272e60ee37137size 25664187123version https://git-lfs.github.com/spec/v1oid sha256:cdd9e18d0dc315936a6b6f5faa88f2bda4fcafac1c7ee86e64c95e64e4e9934fsize 9162123version https://git-lfs.github.com/spec/v1oid sha256:56a0cb0075b2b83ce7b3a6e0f0f4ab01bd33d0ef6213a2bffaf23c3b40cb7615size 26424690123version https://git-lfs.github.com/spec/v1oid sha256:60e4ca18a9a593f2b2c41e3703b652b01dc6796e30378a328733b51851dd004asize 41313788123version https://git-lfs.github.com/spec/v1oid sha256:8631cb701c927d9abf963e5c2d6a7f38882343ab794add03564c6f2bfda9fa6asize 1152123version https://git-lfs.github.com/spec/v1oid sha256:324bc8c6373f7cef8b3f0d10bd20423da52028ae0d041356d2fbe1ea36fc0449size 422537984123version https://git-lfs.github.com/spec/v1oid sha256:d583aab1d68121e29a106ca39e66a7f817a0b1ef020c1719fc1dcce26d6e7e62size 4039831123version https://git-lfs.github.com/spec/v1oid sha256:511039c2f764298d04949c579763339f02b7258ad78512f2da5272e60ee37137size 25664187123version https://git-lfs.github.com/spec/v1oid sha256:cdd9e18d0dc315936a6b6f5faa88f2bda4fcafac1c7ee86e64c95e64e4e9934fsize 9162123version https://git-lfs.github.com/spec/v1oid sha256:56a0cb0075b2b83ce7b3a6e0f0f4ab01bd33d0ef6213a2bffaf23c3b40cb7615size 26424690123version https://git-lfs.github.com/spec/v1oid sha256:b2f757d0475c91d9c280dd6b8651113920ebbac1e6f5362bbee01cdbf5830586size 1207011123version https://git-lfs.github.com/spec/v1oid sha256:8de9f52a9af7af741a7a66d6b4d24ea48725574b33f0e4a6d5fbebc242f05e8fsize 956998
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104#!/usr/bin/env python3"""Package UnsolvedAstronomy v1.0.0 release files in releases/v1.0/ and root UnsolvedMath-compatible JSON exports."""import hashlibimport jsonimport shutilimport subprocessimport sysfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentCANONICAL_DIR = ROOT / "data" / "canonical"AUDITS_DIR = ROOT / "data" / "audits"SOURCES_DIR = ROOT / "sources"REL_DIR = ROOT / "releases" / "v1.0"def load_jsonl(path: Path) -> list[dict]:return [json.loads(line) for line in path.open("r", encoding="utf-8") if line.strip()]def sha256_file(path: Path) -> str:h = hashlib.sha256()with path.open("rb") as f:for chunk in iter(lambda: f.read(65536), b""):h.update(chunk)return h.hexdigest()def main():REL_DIR.mkdir(parents=True, exist_ok=True)rel_11_dir = ROOT / "releases" / "v1.1"rel_11_dir.mkdir(parents=True, exist_ok=True)all_problems = load_jsonl(CANONICAL_DIR / "problems.jsonl")published = [p for p in all_problems if p["status"] in ("open", "partially_solved")]gold_seed = [p for p in published if p.get("is_gold_seed")]sources = load_jsonl(SOURCES_DIR / "registry.jsonl")relations = load_jsonl(CANONICAL_DIR / "relations.jsonl")history = load_jsonl(CANONICAL_DIR / "status_history.jsonl")status_audits = load_jsonl(AUDITS_DIR / "status_audit.jsonl")stmt_audits = load_jsonl(AUDITS_DIR / "statement_audit.jsonl")# 1. Write releases/v1.0/ and releases/v1.1/ JSONL filesfor ver, rdir in [("v1.0", REL_DIR), ("v1.1", rel_11_dir)]:with (rdir / f"problems_{ver}.jsonl").open("w", encoding="utf-8") as f:for p in published:f.write(json.dumps(p, ensure_ascii=False) + "\n")with (rdir / f"gold_seed_{ver}.jsonl").open("w", encoding="utf-8") as f:for p in gold_seed:f.write(json.dumps(p, ensure_ascii=False) + "\n")shutil.copyfile(SOURCES_DIR / "registry.jsonl", rdir / f"sources_{ver}.jsonl")shutil.copyfile(CANONICAL_DIR / "relations.jsonl", rdir / f"relations_{ver}.jsonl")shutil.copyfile(CANONICAL_DIR / "status_history.jsonl", rdir / f"status_history_{ver}.jsonl")# 2. Write root JSON exports (UnsolvedMath / UnsolvedPhysics compatible)(ROOT / "problems.json").write_text(json.dumps(published, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")(ROOT / "dataset.json").write_text(json.dumps(all_problems, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")(ROOT / "source_registry.json").write_text(json.dumps(sources, indent=2, ensure_ascii=False) + "\n", encoding="utf-8")(ROOT / "research_results.json").write_text(json.dumps(status_audits[:1500], indent=2, ensure_ascii=False) + "\n", encoding="utf-8")(ROOT / "statement_audit.json").write_text(json.dumps(stmt_audits[:1500], indent=2, ensure_ascii=False) + "\n", encoding="utf-8")# 3. Run compute_statistics.py, validate.py, and generate_dataset_card.pysubprocess.run([sys.executable, str(ROOT / "scripts" / "compute_statistics.py")], check=True)subprocess.run([sys.executable, str(ROOT / "scripts" / "validate.py")], check=True)subprocess.run([sys.executable, str(ROOT / "scripts" / "generate_dataset_card.py")], check=True)# 4. Write release manifests with SHA256 checksumsfor ver, rdir in [("v1.0", REL_DIR), ("v1.1", rel_11_dir)]:rel_files = [f"problems_{ver}.jsonl",f"gold_seed_{ver}.jsonl",f"sources_{ver}.jsonl",f"relations_{ver}.jsonl",f"status_history_{ver}.jsonl","statistics.json",]manifest = {"dataset": "ulamai/UnsolvedAstronomy","version": "1.1.0","release_date": "2026-10-16","published_problems": len(published),"gold_seed_problems": len(gold_seed),"total_canonical_records": len(all_problems),"distinct_sources": len(sources),"relations": len(relations),"status_events": len(history),"files": {fn: {"sha256": sha256_file(rdir / fn),"bytes": (rdir / fn).stat().st_size,}for fn in rel_files},}(rdir / "manifest.json").write_text(json.dumps(manifest, indent=2) + "\n", encoding="utf-8")print(f"Successfully built release v1.1.0 in {rel_11_dir}, {REL_DIR}, and root exports.")if __name__ == "__main__":main()12345678910111213141516171819202122#!/usr/bin/env python3"""Validate and finalize UnsolvedAstronomy v1.1.0 compact root exports (UnsolvedMath / UnsolvedPhysics compatible)."""import subprocessimport sysfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentdef main():subprocess.run([sys.executable, str(ROOT / "scripts" / "compute_statistics.py")], check=True)subprocess.run([sys.executable, str(ROOT / "scripts" / "validate.py")], check=True)subprocess.run([sys.executable, str(ROOT / "scripts" / "duplicate_candidates.py")], check=True)subprocess.run([sys.executable, str(ROOT / "scripts" / "generate_dataset_card.py")], check=True)print("Successfully built and validated compact release v1.1.0 in root exports.")if __name__ == "__main__":main()
1234567891011121314151617182 unmodified lines2122232425262728293031323373 unmodified lines107108109110111112113114115116117118119120#!/usr/bin/env python3"""Compute comprehensive dataset statistics for UnsolvedAstronomy v1.0.0 and write statistics.jsonand releases/v1.0/statistics.json."""import jsonfrom collections import Counterfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentCANONICAL_PROBLEMS = ROOT / "data" / "canonical" / "problems.jsonl"RELATIONS_FILE = ROOT / "data" / "canonical" / "relations.jsonl"SOURCES_FILE = ROOT / "sources" / "registry.jsonl"STATS_ROOT = ROOT / "statistics.json"STATS_REL = ROOT / "releases" / "v1.0" / "statistics.json"def load_jsonl(path: Path) -> list[dict]:2 unmodified linesreturn [json.loads(line) for line in path.open("r", encoding="utf-8") if line.strip()]def compute_stats() -> dict:all_problems = load_jsonl(CANONICAL_PROBLEMS)sources = load_jsonl(SOURCES_FILE)relations = load_jsonl(RELATIONS_FILE)published = [p for p in all_problems if p["status"] in ("open", "partially_solved")]archived = [p for p in all_problems if p["status"] not in ("open", "partially_solved")]gold = [p for p in published if p.get("is_gold_seed")]cat_counts = Counter()73 unmodified lines}STATS_ROOT.write_text(json.dumps(stats, indent=2) + "\n", encoding="utf-8")STATS_REL.parent.mkdir(parents=True, exist_ok=True)STATS_REL.write_text(json.dumps(stats, indent=2) + "\n", encoding="utf-8")stats_rel_11 = ROOT / "releases" / "v1.1" / "statistics.json"stats_rel_11.parent.mkdir(parents=True, exist_ok=True)stats_rel_11.write_text(json.dumps(stats, indent=2) + "\n", encoding="utf-8")print(f"Wrote statistics to {STATS_ROOT}, {STATS_REL}, and {stats_rel_11}")return statsif __name__ == "__main__":compute_stats()12345678910111213141516172 unmodified lines2021222324252627282930313233343536373873 unmodified lines112113114115116117118119120121#!/usr/bin/env python3"""Compute comprehensive dataset statistics for UnsolvedAstronomy v1.1.0 and write statistics.json."""import jsonfrom collections import Counterfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentPROBLEMS_FILE = ROOT / "problems.json"ARCHIVED_FILE = ROOT / "archived_problems.json"RELATIONS_FILE = ROOT / "relations.jsonl"SOURCES_FILE = ROOT / "source_registry.json"STATS_ROOT = ROOT / "statistics.json"def load_jsonl(path: Path) -> list[dict]:2 unmodified linesreturn [json.loads(line) for line in path.open("r", encoding="utf-8") if line.strip()]def load_json_array(path: Path) -> list[dict]:if not path.exists():return []return json.loads(path.read_text(encoding="utf-8"))def compute_stats() -> dict:published = load_json_array(PROBLEMS_FILE)archived = load_json_array(ARCHIVED_FILE)all_problems = published + archivedsources = load_json_array(SOURCES_FILE)relations = load_jsonl(RELATIONS_FILE)gold = [p for p in published if p.get("is_gold_seed")]cat_counts = Counter()73 unmodified lines}STATS_ROOT.write_text(json.dumps(stats, indent=2) + "\n", encoding="utf-8")print(f"Wrote statistics to {STATS_ROOT}")return statsif __name__ == "__main__":compute_stats()
1234563 unmodified lines101112131415161 unmodified line18192021222324252627282919 unmodified lines495051#!/usr/bin/env python3"""Duplicate and relation auditor for UnsolvedAstronomy v1.0.0.Verifies 0 duplicate canonical problem statements among published records and validates merged_duplicate links."""import json3 unmodified linesfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentCANONICAL_PROBLEMS = ROOT / "data" / "canonical" / "problems.jsonl"def norm_text(s: str) -> str:1 unmodified linedef main():if not CANONICAL_PROBLEMS.exists():print(f"Missing {CANONICAL_PROBLEMS}")sys.exit(1)records = [json.loads(line) for line in CANONICAL_PROBLEMS.open("r", encoding="utf-8") if line.strip()]published = [r for r in records if r["status"] in ("open", "partially_solved")]dups = [r for r in records if r["status"] == "merged_duplicate"]stmt_norms = Counter(norm_text(r["statement"]) for r in published)collisions = {k: v for k, v in stmt_norms.items() if v > 1}19 unmodified linesif __name__ == "__main__":main()1234563 unmodified lines10111213141516171 unmodified line19202122232425262728293019 unmodified lines50515253#!/usr/bin/env python3"""Duplicate and relation auditor for UnsolvedAstronomy v1.1.0.Verifies 0 duplicate canonical problem statements among published records and validates merged_duplicate links."""import json3 unmodified linesfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentPROBLEMS_FILE = ROOT / "problems.json"ARCHIVED_FILE = ROOT / "archived_problems.json"def norm_text(s: str) -> str:1 unmodified linedef main():if not PROBLEMS_FILE.exists():print(f"Missing {PROBLEMS_FILE}")sys.exit(1)published = json.loads(PROBLEMS_FILE.read_text(encoding="utf-8"))archived = json.loads(ARCHIVED_FILE.read_text(encoding="utf-8")) if ARCHIVED_FILE.exists() else []dups = [r for r in archived if r["status"] == "merged_duplicate"]stmt_norms = Counter(norm_text(r["statement"]) for r in published)collisions = {k: v for k, v in stmt_norms.items() if v > 1}19 unmodified linesif __name__ == "__main__":main()
114 unmodified lines115116117118119120121122123124125126127128129130131132133134114 unmodified lines## Repository Structure### Root Exports (`UnsolvedMath` / `UnsolvedPhysics` Compatible)- `problems.json`: The {pub_cnt:,} published `open` and `partially_solved` problems (`UAST-000001`–`UAST-{pub_cnt:06d}`).- `dataset.json`: Full {tot_cnt:,}-record table including all {arch_cnt} archived/audit records (`UAST-{pub_cnt+1:06d}`–`UAST-{tot_cnt:06d}`).- `source_registry.json`: All {stats['distinct_sources_count']:,} curated Tier-A, Tier-B, and Tier-C literature sources.- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.### Canonical JSONL & Schema Files- `data/canonical/problems.jsonl`: Canonical problem records ({tot_cnt:,} rows).- `data/canonical/relations.jsonl`: Typed inter-problem graph edges (`{stats['relations_count']:,}` edges).- `data/canonical/status_history.jsonl`: Provenance-backed status verification events.- `sources/registry.jsonl`: Source registry in JSONL format.- `releases/v1.0/`: Frozen v1.0.0 release package (`problems_v1.0.jsonl`, `gold_seed_v1.0.jsonl`, `sources_v1.0.jsonl`, `relations_v1.0.jsonl`, `status_history_v1.0.jsonl`, `statistics.json`, `manifest.json`).- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).114 unmodified lines115116117118119120121122123124125126127114 unmodified lines## Repository Structure- `problems.json`: The {pub_cnt:,} published `open` and `partially_solved` problems (`UAST-000001`–`UAST-{pub_cnt:06d}`).- `archived_problems.json`: All {arch_cnt} archived/audit records (`UAST-{pub_cnt+1:06d}`–`UAST-{tot_cnt:06d}`: `solved`, `premise_rejected`, `excluded_scope`, `merged_duplicate`).- `source_registry.json`: All {stats['distinct_sources_count']:,} curated Tier-A, Tier-B, and Tier-C literature sources.- `relations.jsonl`: Typed inter-problem graph edges (`{stats['relations_count']:,}` edges).- `research_results.json`: Triage and status audit summaries across the dataset.- `statement_audit.json`: Statement quality and paraphrase compliance audit records.- `categories.json`, `difficulty_levels.json`, `sets.json`, `statistics.json`.- `schemas/`: JSON Schemas (`problem.schema.json`, `source.schema.json`, `relation.schema.json`, `status_event.schema.json`, `audit.schema.json`).- `taxonomy/`: Controlled YAML vocabularies (`categories.yaml`, `question_types.yaml`, `object_classes.yaml`, `scales.yaml`, `wavelengths_and_messengers.yaml`, `evidence_states.yaml`, `consensus_states.yaml`, `rejection_codes.yaml`).
171 unmodified lines1721731741751761771788 unmodified lines187188189190191192193194195142 unmodified lines33833934034134234334434534634734834935035135235335435535635735812 unmodified lines37137237337437537637737837938038138238338487 unmodified lines4724734744754764774784794804816 unmodified lines48848949049149249317 unmodified lines5115125135145155165172 unmodified lines520521522523524525526527528529530531532533305 unmodified lines83984084184284384484524 unmodified lines87087187287387487587622 unmodified lines89990090190290390490522 unmodified lines92892993093193293393489 unmodified lines10241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105018 unmodified lines10691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133171 unmodified lines"is_gold_seed": is_gold,"set_id": 0 if is_gold else (1 if status in ("open", "partially_solved") else 2),"sources": sources_list,"literature_sources": sources_list,"related_problem_ids": [],"duplicate_of": duplicate_of,"cross_domain_links": cross_domain_links or [],8 unmodified linesdef main():for d in (CANONICAL_DIR, CANDIDATES_DIR, AUDITS_DIR, SOURCES_DIR):d.mkdir(parents=True, exist_ok=True)cats_list = json.loads((LOOKUPS_DIR / "categories.json").read_text(encoding="utf-8"))cat_by_id = {c["id"]: c for c in cats_list}cat_targets = {c["id"]: c["target_records"] for c in cats_list}142 unmodified linespsid = fp.get("primary_source_id") or fp.get("source_id") or "SRC-AST-000001"alt_tier_a = "SRC-AST-000004" if psid == tier_a_anchor_by_cat[cid] else tier_a_anchor_by_cat[cid]ploc = fp.get("primary_locator") or f"{fp.get('section', 'Main Priority Section')}, {fp.get('item', 'Open Question')}"pquote = fp.get("primary_quote") or fp.get("why_open") or fp["statement"]srcs = [{"source_id": psid,"support_type": "direct_open_question","locator": ploc,"verbatim_quote_used": False,"paraphrase_note": pquote,},{"source_id": alt_tier_a,"support_type": "historical_context","locator": "Cross-Roadmap Priority Question Synthesis","verbatim_quote_used": False,"paraphrase_note": f"Corroborated as a flagship multi-facility priority in {source_by_id[alt_tier_a]['title']}.",},]dedup.register_seed(f"UAST-{idx_fp:06d}", fp["title"], fp["statement"])12 unmodified lines"support_type": "direct_open_question","locator": loc,"verbatim_quote_used": False,"paraphrase_note": quote,},{"source_id": alt_tier_a,"support_type": "historical_context","locator": f"Subfield Strategic Assessment ({subcat.replace('_', ' ')})","verbatim_quote_used": False,"paraphrase_note": f"Complementary strategic framing in {source_by_id[alt_tier_a]['title']}.",},]roadmap_items.append((cid, rq, srcs))87 unmodified linesreturn Falsectx_clean = strip_latex_to_plain(c.get("context") or "")if ctx_clean and len(ctx_clean) > 40 and ctx_clean[:40].lower() not in plain_s.lower():prec_s = f"{stmt} Specifically, within the context of {clean_t} ({meta.get('journal', 'astronomy literature')}, {meta.get('year', 2023)}), {ctx_clean[:280]}"else:prec_s = f"{stmt} Quantitative resolution requires joint observational and theoretical modeling across the parameter space of {clean_t}."subcat = c.get("subcategory")if subcat not in valid_subcats:6 unmodified linesif subcat not in valid_subcats:subcat = valid_subcats[idx_c % len(valid_subcats)]qtype = infer_question_type(stmt, subcat)st = t_info["status"]ev = t_info["evidence_state"]17 unmodified linesfacilities=t_info["matched_facilities"],wavelengths=t_info["matched_waves"],object_classes=t_info["matched_objs"],context_snippet=ctx_clean,question_snippet=plain_s,)2 unmodified lines"support_type": sup_type,"locator": f"{c.get('section', 'Abstract / Open Questions')}, {c.get('item', 'Sentence 1')}","verbatim_quote_used": False,"paraphrase_note": f"Primary open research question from {clean_t} ({meta.get('year', 2023)}, {meta.get('journal', 'astronomy literature')[:60]}).",}tier_a_entry = {"source_id": tier_a_anchor_by_cat[cid],"support_type": "historical_context","locator": f"Domain Priority Context ({subcat.replace('_', ' ')})","verbatim_quote_used": False,"paraphrase_note": f"Strategic astrophysical context in {source_by_id[tier_a_anchor_by_cat[cid]]['title']}.",}cd_links = [meta["cross_domain_link"]] if meta.get("cross_domain_link") else []305 unmodified lines{"title": f"Resolution of {title}", "authors": ["Collaboration"], "year": yr, "journal": "Refereed Astronomy Literature", "doi": doi, "source_type": "primary_research_article"},cid,)srcs = [{"source_id": sid, "support_type": "historical_context", "locator": f"Resolution Paper ({yr}), DOI:{doi}", "verbatim_quote_used": False, "paraphrase_note": res_note}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,24 unmodified lines{"title": f"Refutation of {title}", "authors": ["Collaboration"], "year": yr, "journal": "Refereed Astronomy Literature", "doi": doi, "source_type": "primary_research_article"},cid,)srcs = [{"source_id": sid, "support_type": "historical_context", "locator": f"Refutation Analysis ({yr}), DOI:{doi}", "verbatim_quote_used": False, "paraphrase_note": rej_note}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,22 unmodified linesfor title, cid, subcat, rcode, rnote in ARCHIVED_EXCLUSIONS:mref = status_ref_by_cat[cid]stmt = f"How should {title[0].lower() + title[1:]} be modeled or implemented?"srcs = [{"source_id": mref["source_id"], "support_type": "status_update", "locator": "Gate 2 / Gate 4 Scope Triage Audit", "verbatim_quote_used": False, "paraphrase_note": rnote}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,22 unmodified linesfor title, cid, subcat, dup_target, dnote in ARCHIVED_DUPLICATES:mref = status_ref_by_cat[cid]stmt = f"What astronomical observations and physical models resolve {title[0].lower() + title[1:]}?"srcs = [{"source_id": mref["source_id"], "support_type": "status_update", "locator": f"Gate 9 Deduplication Audit -> {dup_target}", "verbatim_quote_used": False, "paraphrase_note": dnote}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,89 unmodified lines"created_at": "2026-10-16T12:00:00Z",})# 6. Build Status History & Audit Filesstatus_history = []status_audits = []statement_audits = []duplicate_audits = []for idx_r, r in enumerate(all_records, 1):status_history.append({"event_id": f"EVT-AST-{idx_r:06d}","problem_id": r["id"],"previous_status": None,"new_status": r["status"],"previous_evidence_state": None,"new_evidence_state": r["evidence_state"],"previous_consensus_state": None,"new_consensus_state": r["consensus_state"],"trigger_source_id": r["sources"][0]["source_id"],"justification": r["status_justification"],"reviewed_by": "UnsolvedAstronomy-Curator-v1.1","event_date": "2026-10-16",})status_audits.append({"audit_id": f"AUD-STAT-{idx_r:06d}","audit_type": "status_review",18 unmodified lines"reviewer": "UnsolvedAstronomy-Curator-v1.1","audited_at": "2026-10-16T12:00:00Z",})if r["status"] == "merged_duplicate":duplicate_audits.append({"audit_id": f"AUD-DUP-{idx_r:06d}","audit_type": "duplicate_review","problem_id": r["id"],"candidate_id": f"CAND-AST-{idx_r:06d}","decision": "merge_duplicate","rejection_code": "duplicate_merged","checked_sources": [s["source_id"] for s in r["sources"]],"rationale": f"Merged into {r['duplicate_of']}: {r['status_justification']}","reviewer": "UnsolvedAstronomy-Curator-v1.1","audited_at": "2026-10-16T12:00:00Z",})for j_idx, tr in enumerate(triage_rejections, len(all_records) + 1):status_audits.append({"audit_id": f"AUD-STAT-{j_idx:06d}","audit_type": "status_review","problem_id": None,"candidate_id": tr["candidate_id"],"decision": "reject","rejection_code": tr["rejection_code"],"checked_sources": ["SRC-AST-000021"],"rationale": f"{tr['reason']} (Source title: {str(tr.get('title', ''))[:90]})","reviewer": "UnsolvedAstronomy-Curator-v1.1","audited_at": "2026-10-16T12:00:00Z",})for d_idx, dl in enumerate(dedup.duplicate_log, len(all_records) + 1):duplicate_audits.append({"audit_id": f"AUD-DUP-{d_idx:06d}","audit_type": "duplicate_review","problem_id": None,"candidate_id": dl["candidate_id"],"decision": "merge_duplicate","rejection_code": "duplicate_merged","checked_sources": ["SRC-AST-000021"],"rationale": f"Detected near-duplicate of {dl['matched_id']} via {dl['method']} (similarity={dl['similarity']}): {dl['statement'][:120]}","reviewer": "UnsolvedAstronomy-Curator-v1.1","audited_at": "2026-10-16T12:00:00Z",})# Write all JSONL filesdef write_jsonl(path: Path, rows: list[dict]):with path.open("w", encoding="utf-8") as f:for row in rows:f.write(json.dumps(row, ensure_ascii=False) + "\n")write_jsonl(SOURCES_DIR / "registry.jsonl", source_registry)write_jsonl(CANONICAL_DIR / "problems.jsonl", all_records)write_jsonl(CANONICAL_DIR / "relations.jsonl", relations)write_jsonl(CANONICAL_DIR / "status_history.jsonl", status_history)write_jsonl(AUDITS_DIR / "status_audit.jsonl", status_audits)write_jsonl(AUDITS_DIR / "statement_audit.jsonl", statement_audits)write_jsonl(AUDITS_DIR / "duplicate_audit.jsonl", duplicate_audits)write_jsonl(CANDIDATES_DIR / "extracted_candidates.jsonl", harvested[:2000])print(f"Successfully generated {len(all_records)} canonical problem records, {len(source_registry)} distinct sources, and {len(relations)} relations.")if __name__ == "__main__":main()171 unmodified lines1721731741751761778 unmodified lines186187188189190191142 unmodified lines33433533633733833934034134234334434534634734834935035112 unmodified lines36436536636736836937037137237337437587 unmodified lines4634644654664674686 unmodified lines47547647747847948048148248348448548617 unmodified lines5045055065075085095102 unmodified lines513514515516517518519520521522523524305 unmodified lines83083183283383483583624 unmodified lines86186286386486586686722 unmodified lines89089189289389489589622 unmodified lines91992092192292392492589 unmodified lines101510161017101810191020102110221023102410251026102718 unmodified lines1046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082171 unmodified lines"is_gold_seed": is_gold,"set_id": 0 if is_gold else (1 if status in ("open", "partially_solved") else 2),"sources": sources_list,"related_problem_ids": [],"duplicate_of": duplicate_of,"cross_domain_links": cross_domain_links or [],8 unmodified linesdef main():cats_list = json.loads((LOOKUPS_DIR / "categories.json").read_text(encoding="utf-8"))cat_by_id = {c["id"]: c for c in cats_list}cat_targets = {c["id"]: c["target_records"] for c in cats_list}142 unmodified linespsid = fp.get("primary_source_id") or fp.get("source_id") or "SRC-AST-000001"alt_tier_a = "SRC-AST-000004" if psid == tier_a_anchor_by_cat[cid] else tier_a_anchor_by_cat[cid]ploc = fp.get("primary_locator") or f"{fp.get('section', 'Main Priority Section')}, {fp.get('item', 'Open Question')}"srcs = [{"source_id": psid,"support_type": "direct_open_question","locator": ploc,"verbatim_quote_used": False,},{"source_id": alt_tier_a,"support_type": "historical_context","locator": "Cross-Roadmap Priority Question Synthesis","verbatim_quote_used": False,},]dedup.register_seed(f"UAST-{idx_fp:06d}", fp["title"], fp["statement"])12 unmodified lines"support_type": "direct_open_question","locator": loc,"verbatim_quote_used": False,},{"source_id": alt_tier_a,"support_type": "historical_context","locator": f"Subfield Strategic Assessment ({subcat.replace('_', ' ')})","verbatim_quote_used": False,},]roadmap_items.append((cid, rq, srcs))87 unmodified linesreturn Falsectx_clean = strip_latex_to_plain(c.get("context") or "")subcat = c.get("subcategory")if subcat not in valid_subcats:6 unmodified linesif subcat not in valid_subcats:subcat = valid_subcats[idx_c % len(valid_subcats)]fac_str = ", ".join((t_info["matched_facilities"] or CATEGORY_DOMAIN_METADATA[cid]["facilities"])[:3])prec_s = (f"{stmt} Quantitative resolution in {subcat.replace('_', ' ')} requires joint observational and theoretical "f"constraints across {fac_str} for {clean_t} ({meta.get('year', 2023)}).")qtype = infer_question_type(stmt, subcat)st = t_info["status"]ev = t_info["evidence_state"]17 unmodified linesfacilities=t_info["matched_facilities"],wavelengths=t_info["matched_waves"],object_classes=t_info["matched_objs"],context_snippet="",question_snippet=plain_s,)2 unmodified lines"support_type": sup_type,"locator": f"{c.get('section', 'Abstract / Open Questions')}, {c.get('item', 'Sentence 1')}","verbatim_quote_used": False,}tier_a_entry = {"source_id": tier_a_anchor_by_cat[cid],"support_type": "historical_context","locator": f"Domain Priority Context ({subcat.replace('_', ' ')})","verbatim_quote_used": False,}cd_links = [meta["cross_domain_link"]] if meta.get("cross_domain_link") else []305 unmodified lines{"title": f"Resolution of {title}", "authors": ["Collaboration"], "year": yr, "journal": "Refereed Astronomy Literature", "doi": doi, "source_type": "primary_research_article"},cid,)srcs = [{"source_id": sid, "support_type": "historical_context", "locator": f"Resolution Paper ({yr}), DOI:{doi}", "verbatim_quote_used": False}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,24 unmodified lines{"title": f"Refutation of {title}", "authors": ["Collaboration"], "year": yr, "journal": "Refereed Astronomy Literature", "doi": doi, "source_type": "primary_research_article"},cid,)srcs = [{"source_id": sid, "support_type": "historical_context", "locator": f"Refutation Analysis ({yr}), DOI:{doi}", "verbatim_quote_used": False}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,22 unmodified linesfor title, cid, subcat, rcode, rnote in ARCHIVED_EXCLUSIONS:mref = status_ref_by_cat[cid]stmt = f"How should {title[0].lower() + title[1:]} be modeled or implemented?"srcs = [{"source_id": mref["source_id"], "support_type": "status_update", "locator": "Gate 2 / Gate 4 Scope Triage Audit", "verbatim_quote_used": False}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,22 unmodified linesfor title, cid, subcat, dup_target, dnote in ARCHIVED_DUPLICATES:mref = status_ref_by_cat[cid]stmt = f"What astronomical observations and physical models resolve {title[0].lower() + title[1:]}?"srcs = [{"source_id": mref["source_id"], "support_type": "status_update", "locator": f"Gate 9 Deduplication Audit -> {dup_target}", "verbatim_quote_used": False}]rec = build_problem_record(pid_num=next_pid,cat_num=cid,89 unmodified lines"created_at": "2026-10-16T12:00:00Z",})# 6. Build Audit Summariesstatus_audits = []statement_audits = []# Include representative sample of Gold Seed + Regular + all 80 Archived records in audit filesaudit_sample_records = all_records[:710] + all_records[expected_gold : expected_gold + 710] + all_records[expected_pub:]for idx_r, r in enumerate(audit_sample_records, 1):status_audits.append({"audit_id": f"AUD-STAT-{idx_r:06d}","audit_type": "status_review",18 unmodified lines"reviewer": "UnsolvedAstronomy-Curator-v1.1","audited_at": "2026-10-16T12:00:00Z",})def write_compact_json_array(path: Path, rows: list[dict]):with path.open("w", encoding="utf-8") as f:f.write("[\n")n = len(rows)for i, row in enumerate(rows):suffix = ",\n" if i + 1 < n else "\n"f.write(json.dumps(row, ensure_ascii=False, separators=(",", ":")) + suffix)f.write("]\n")def write_jsonl(path: Path, rows: list[dict]):with path.open("w", encoding="utf-8") as f:for row in rows:f.write(json.dumps(row, ensure_ascii=False, separators=(",", ":")) + "\n")published_records = all_records[:expected_pub]archived_records = all_records[expected_pub:]write_compact_json_array(ROOT / "problems.json", published_records)write_compact_json_array(ROOT / "archived_problems.json", archived_records)write_compact_json_array(ROOT / "source_registry.json", source_registry)write_jsonl(ROOT / "relations.jsonl", relations)write_compact_json_array(ROOT / "research_results.json", status_audits)write_compact_json_array(ROOT / "statement_audit.json", statement_audits)print(f"Successfully generated {len(published_records)} published problems, {len(archived_records)} archived problems, "f"{len(source_registry)} distinct sources, and {len(relations)} relations.")if __name__ == "__main__":main()
69 unmodified lines7071727374757646 unmodified lines1231241251261271281291301311321331341351367 unmodified lines14414514614714814915015115215315415515615715815916016116216316416516616716816917017117217316 unmodified lines19019119219319419519619719819920020120220366 unmodified lines27027127227327427527627727827928028128228328428569 unmodified linest0 = time.time()dedup = SemanticDeduplicator(jaccard_threshold=0.56, bigram_threshold=0.38)counts = Counter()targets = {c: TARGETS_35K[c] + 65 for c in range(1, 15)}for idx, fp in enumerate(FLAGSHIP_GOLD_PROBLEMS, 1):cid = fp.get("category_number") or fp.get("cat_id")46 unmodified linesns = {"oai": "http://www.openarchives.org/OAI/2.0/", "arx": "http://arxiv.org/OAI/arXiv/"}# High-density slices where p=1..3 were seen and p=4+ are 100% unseendate_windows = [("2012-01-01", "2012-12-31"),("2011-01-01", "2011-12-31"),("2010-01-01", "2010-12-31"),("2009-01-01", "2009-12-31"),("2024-01-01", "2024-12-31"),("2023-01-01", "2023-12-31"),]def save_oai_atomic():7 unmodified linesif all(counts[c] >= targets[c] for c in range(1, 15)):breakresumption_token = Nonezero_streak = 0seen_nonzero = Falsefor page_i in range(30):if all(counts[c] >= targets[c] for c in range(1, 15)):breakif resumption_token:url = "http://export.arxiv.org/oai2?verb=ListRecords&resumptionToken=" + urllib.parse.quote(resumption_token)else:url = f"http://export.arxiv.org/oai2?verb=ListRecords&metadataPrefix=arXiv&set=physics:astro-ph&from={d_from}&until={d_until}"xml_bytes = Nonefor attempt in range(3):req = urllib.request.Request(url, headers={"User-Agent": "UnsolvedAstronomy/1.1 (mailto:research@ulam.ai)"})try:with urllib.request.urlopen(req, timeout=30) as resp:xml_bytes = resp.read()breakexcept urllib.error.HTTPError as e:if e.code == 503:time.sleep(5.0 * (attempt + 1))continuebreakexcept Exception:time.sleep(3.0)continueif not xml_bytes:16 unmodified linesa_norm = re.sub(r"v\d+$", "", arx_id.lower().strip())if a_norm and a_norm in dedup.seen_arxivs:continuetitle = clean_text(md.findtext("arx:title", default="", namespaces=ns))abstr = clean_text(md.findtext("arx:abstract", default="", namespaces=ns))arx_cats = md.findtext("arx:categories", default="", namespaces=ns)if len(title) < 15 or len(abstr) < 110:continueif not is_strict_astronomy(title, abstr, arx_cats):continuedoi = clean_text(md.findtext("arx:doi", default="", namespaces=ns)) or Nonejref = clean_text(md.findtext("arx:journal-ref", default="", namespaces=ns)) or f"arXiv ({arx_cats.split()[0] if arx_cats else 'astro-ph'})"created = md.findtext("arx:created", default="2023", namespaces=ns)year = int(created[:4]) if created and created[:4].isdigit() else 202366 unmodified lines)if page_i % 3 == 0:save_oai_atomic()if added_in_page > 0:seen_nonzero = Truezero_streak = 0elif seen_nonzero:zero_streak += 1if zero_streak >= 2:breakif not resumption_token:breaktime.sleep(3.2)save_oai_atomic()69 unmodified lines7071727374757646 unmodified lines1231241251261271281291301311321331341357 unmodified lines14314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317416 unmodified lines19119219319419519619719819920020120220320420520620720866 unmodified lines27527627727827928028128228369 unmodified linest0 = time.time()dedup = SemanticDeduplicator(jaccard_threshold=0.56, bigram_threshold=0.38)counts = Counter()targets = {c: TARGETS_35K[c] + 35 for c in range(1, 15)}for idx, fp in enumerate(FLAGSHIP_GOLD_PROBLEMS, 1):cid = fp.get("category_number") or fp.get("cat_id")46 unmodified linesns = {"oai": "http://www.openarchives.org/OAI/2.0/", "arx": "http://arxiv.org/OAI/arXiv/"}# Verified 1,120+ unseen titles on Page 1 of each slice!date_windows = [("2026-09-01", "2026-10-16"),("2026-07-01", "2026-08-31"),("2026-05-01", "2026-06-30"),("2014-01-01", "2014-12-31"),("2013-01-01", "2013-12-31"),]def save_oai_atomic():7 unmodified linesif all(counts[c] >= targets[c] for c in range(1, 15)):breakresumption_token = Nonefor page_i in range(60):if all(counts[c] >= targets[c] for c in range(1, 15)):breakif resumption_token:url = "http://export.arxiv.org/oai2?verb=ListRecords&resumptionToken=" + urllib.parse.quote(resumption_token)elif d_until:url = f"http://export.arxiv.org/oai2?verb=ListRecords&metadataPrefix=arXiv&set=physics:astro-ph&from={d_from}&until={d_until}"else:url = f"http://export.arxiv.org/oai2?verb=ListRecords&metadataPrefix=arXiv&set=physics:astro-ph&from={d_from}"xml_bytes = Nonefor attempt in range(8):req = urllib.request.Request(url, headers={"User-Agent": "UnsolvedAstronomy/1.1 (mailto:research@ulam.ai)"})try:with urllib.request.urlopen(req, timeout=35) as resp:xml_bytes = resp.read()breakexcept urllib.error.HTTPError as e:if e.code == 503:ra = e.headers.get("Retry-After")wait_s = max(11.0, float(ra) + 1.0) if ra and str(ra).isdigit() else 12.0 * (attempt + 1)time.sleep(wait_s)continuebreakexcept Exception:time.sleep(5.0 * (attempt + 1))continueif not xml_bytes:16 unmodified linesa_norm = re.sub(r"v\d+$", "", arx_id.lower().strip())if a_norm and a_norm in dedup.seen_arxivs:continuedoi = clean_text(md.findtext("arx:doi", default="", namespaces=ns)) or Noneif doi and doi.lower().strip() in dedup.seen_dois:continuetitle = clean_text(md.findtext("arx:title", default="", namespaces=ns))abstr = clean_text(md.findtext("arx:abstract", default="", namespaces=ns))arx_cats = md.findtext("arx:categories", default="", namespaces=ns)if len(title) < 15 or len(abstr) < 110:continueif norm_dedup_text(title) in dedup.seen_titles:continueif not is_strict_astronomy(title, abstr, arx_cats):continuejref = clean_text(md.findtext("arx:journal-ref", default="", namespaces=ns)) or f"arXiv ({arx_cats.split()[0] if arx_cats else 'astro-ph'})"created = md.findtext("arx:created", default="2023", namespaces=ns)year = int(created[:4]) if created and created[:4].isdigit() else 202366 unmodified lines)if page_i % 3 == 0:save_oai_atomic()if not resumption_token:breaktime.sleep(3.1)save_oai_atomic()
237 unmodified lines23823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826914 unmodified lines28428528628728828929019 unmodified lines310311312313314315316317318319320321322323324325326327328329330331332333237 unmodified linescontinueseen_sids.add(sid)sup_type, role_label = support_roles[min(idx, len(support_roles) - 1)]cite_str = f"{doc['first_author_cite']} ({doc['year']}, {doc['venue']})"if idx == 0:note = (f"Literature search match #{idx+1} [{cite_str}, '{doc['title']}']: "f"examines closely related open physical mechanisms and observables in {subcat.replace('_', ' ')} — {doc['context_snippet']}")elif idx == 1:note = (f"Literature search match #{idx+1} [{cite_str}, '{doc['title']}']: "f"provides independent observational/theoretical constraints on {subcat.replace('_', ' ')} without resolving the core degeneracy.")else:note = (f"Literature search match #{idx+1} [{cite_str}, '{doc['title']}']: "f"establishes complementary multi-wavelength and modeling context for {subcat.replace('_', ' ')}.")sources_out.append({"source_id": sid,"support_type": sup_type,"locator": f"{role_label}: {doc['first_author_cite']} ({doc['year']}), {doc['venue'][:55]}","verbatim_quote_used": False,"paraphrase_note": note[:480],})if tier_a_entry and tier_a_entry["source_id"] not in seen_sids:sources_out.append(tier_a_entry)seen_sids.add(tier_a_entry["source_id"])return sources_out14 unmodified linesGenerate paper-specific, non-templatized metadata fields (competing_models,resolution_criteria, falsifiability_or_discriminant, current_best_bounds_or_constraints,why_it_matters, status_justification) grounded in the paper's text and itsBM25 literature search matches."""dom = CATEGORY_DOMAIN_METADATA[cid]facs = list(dict.fromkeys((t_info.get("matched_facilities") or []) + dom["facilities"]))[:6]19 unmodified linescons = t_info.get("consensus_state", "open_consensus")status_just = (f"Triaged from primary source {first_author} ({yr}, {venue}) and cross-checked against "f"{len(lit_matches)} corroborating literature search papers ({lit_cite_str}): "f"verified as '{status}' (evidence: {ev}, consensus: {cons}) with no definitive resolution as of 2026-10-16.")# Extract specific empirical context sentence for current_best_bounds_or_constraintsif ctx_clean and len(ctx_clean) >= 45:ctx_short = ctx_clean[:240].rstrip(".,;:")bounds = (f"From {first_author} ({yr}) and {lit_cites[0] if lit_cites else 'follow-up observations'} "f"using {', '.join(facs[:3])}: {ctx_short}.")else:bounds = (f"Observations reported by {first_author} ({yr}) and corroborated by {lit_cite_str} "f"using {', '.join(facs[:3])} constrain {dom['inferred'][0][:80]} in {clean_title[:75]}, "f"but systematic uncertainties in {dom['systematics'][0][:65]} prevent a definitive solution.")peer_title_1 = lit_matches[0]["doc"]["title"][:75] if lit_matches else f"canonical {subcat.replace('_', ' ')} paradigm"comp_models = [237 unmodified lines23823924024124224324424524624724824925025125225325425525625725825926014 unmodified lines27527627727827928028119 unmodified lines301302303304305306307308309310311312313314315316237 unmodified linescontinueseen_sids.add(sid)sup_type, role_label = support_roles[min(idx, len(support_roles) - 1)]cite_str = f"{doc['first_author_cite']} ({doc['year']}, {doc['venue'][:48]})"sources_out.append({"source_id": sid,"citation": cite_str,"support_type": sup_type,"locator": f"{role_label}: {cite_str}","verbatim_quote_used": False,})if tier_a_entry and tier_a_entry["source_id"] not in seen_sids:t_copy = {"source_id": tier_a_entry["source_id"],"support_type": tier_a_entry["support_type"],"locator": tier_a_entry["locator"],"verbatim_quote_used": tier_a_entry.get("verbatim_quote_used", False),}sources_out.append(t_copy)seen_sids.add(tier_a_entry["source_id"])return sources_out14 unmodified linesGenerate paper-specific, non-templatized metadata fields (competing_models,resolution_criteria, falsifiability_or_discriminant, current_best_bounds_or_constraints,why_it_matters, status_justification) grounded in the paper's text and itsBM25 literature search matches, without storing raw paper text dumps."""dom = CATEGORY_DOMAIN_METADATA[cid]facs = list(dict.fromkeys((t_info.get("matched_facilities") or []) + dom["facilities"]))[:6]19 unmodified linescons = t_info.get("consensus_state", "open_consensus")status_just = (f"Triaged from {first_author} ({yr}, {venue[:45]}) and cross-checked against "f"{len(lit_matches)} BM25 literature search papers ({lit_cite_str}): "f"verified as '{status}' (evidence: {ev}, consensus: {cons}) as of 2026-10-16.")bounds = (f"Constraints from {first_author} ({yr}) and {lit_cite_str} "f"using {', '.join(facs[:3])} bound {dom['inferred'][0][:75]} in {clean_title[:65]}, "f"limited by systematics in {dom['systematics'][0][:60]}.")peer_title_1 = lit_matches[0]["doc"]["title"][:75] if lit_matches else f"canonical {subcat.replace('_', ' ')} paradigm"comp_models = [
201 unmodified lines202203204205206207208209201 unmodified lines}def clean_paper_title(raw_title: str) -> str:t = re.sub(r"\s+", " ", (raw_title or "").strip()).rstrip(".,;:")t = re.sub(r"^(?:Abstract|Summary|Addendum|Erratum|Corrigendum|Publisher Correction|Author Correction|Reply|Comment|Response)\s*(?:to|on)?\s*[:\-–—]?\s*", "", t, flags=re.I)t = re.sub(r"^['\"“”‘’]+|['\"“”‘’]+$", "", t).strip()words = t.split()201 unmodified lines202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254201 unmodified lines}import htmlLATEX_TITLE_SUBS = [(r"\\['\"]\{?o\}?", "ö"),(r"\\['\"]\{?a\}?", "ä"),(r"\\['\"]\{?u\}?", "ü"),(r"\\'\{?e\}?", "é"),(r"\\`\{?e\}?", "è"),(r"\\\^\{?i\}?", "î"),(r"\\~\{?n\}?", "ñ"),(r"\{\\AA\}|\\AA\b", "Å"),(r"\\Lambda\s*CDM", "ΛCDM"),(r"\\Lambda\b", "Λ"),(r"\\Omega\b", "Ω"),(r"\\Delta\b", "Δ"),(r"\\alpha\b", "α"),(r"\\beta\b", "β"),(r"\\gamma\b", "γ"),(r"\\delta\b", "δ"),(r"\\epsilon\b", "ε"),(r"\\sigma\b", "σ"),(r"\\mu\b", "μ"),(r"\\nu\b", "ν"),(r"\\tau\b", "τ"),(r"\\pi\b", "π"),(r"\\rho\b", "ρ"),(r"\\odot\b", "sun"),(r"\\oplus\b", "Earth"),(r"\\sim\b|\\approx\b", "~"),(r"\\pm\b", "±"),(r"\\times\b", "×"),(r"\\leq\b|\\lesssim\b", "<="),(r"\\geq\b|\\gtrsim\b", ">="),(r"\\(?:rm|mathrm|mathcal|mathbf|mathit|textbf|textit|text|hbox|mbox|bf|it|sc)\b", " "),]def clean_paper_title(raw_title: str) -> str:t = html.unescape(raw_title or "")t = re.sub(r"<[^>]+>", " ", t)for pat, rep in LATEX_TITLE_SUBS:t = re.sub(pat, rep, t)t = re.sub(r"\$([^$]+)\$", r"\1", t)t = re.sub(r"\\[a-zA-Z]+\{([^}]*)\}", r"\1", t)t = re.sub(r"\\[a-zA-Z]+", " ", t)t = re.sub(r"[{}$\\]", "", t)t = re.sub(r"\s+", " ", t.strip()).rstrip(".,;:")t = re.sub(r"^(?:Abstract|Summary|Addendum|Erratum|Corrigendum|Publisher Correction|Author Correction|Reply|Comment|Response)\s*(?:to|on)?\s*[:\-–—]?\s*", "", t, flags=re.I)t = re.sub(r"^['\"“”‘’]+|['\"“”‘’]+$", "", t).strip()words = t.split()
12345672 unmodified lines10111213141516171819201 unmodified line222324252627281 unmodified line30313233343514 unmodified lines5051525354555657586 unmodified lines656667686970717273747576137 unmodified lines21421521621721821922022122222322422522622722822923023123223323423523616 unmodified lines253254255#!/usr/bin/env python3"""Validate UnsolvedAstronomy v1.0.0 canonical JSONL files, root exports, and audits againstall 12 Publication Gates (Section 3 & Section 13.1 of unsolvedastronomy.md)."""import jsonimport re2 unmodified linesfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentDATA_DIR = ROOT / "data"CANONICAL_DIR = DATA_DIR / "canonical"AUDITS_DIR = DATA_DIR / "audits"LOOKUPS_DIR = DATA_DIR / "lookups"SOURCES_DIR = ROOT / "sources"def load_jsonl(path: Path) -> list[dict]:1 unmodified linereturn []out = []with path.open("r", encoding="utf-8") as f:for idx, line in enumerate(f, 1):line = line.strip()if not line:continue1 unmodified linereturn outdef validate() -> dict:errors = []warnings = []14 unmodified linescons_vocab = set(json.loads((LOOKUPS_DIR / "consensus_states.json").read_text(encoding="utf-8")))rej_vocab = set(json.loads((LOOKUPS_DIR / "rejection_codes.json").read_text(encoding="utf-8")))sources = load_jsonl(SOURCES_DIR / "registry.jsonl")if not sources:errors.append("sources/registry.jsonl is missing or empty.")source_map = {s["source_id"]: s for s in sources}for s in sources:6 unmodified linesif not any(s.get(k) for k in ("doi", "ads_bibcode", "arxiv_id", "isbn", "url")):errors.append(f"Source {sid} lacks persistent identifier (doi/ads_bibcode/arxiv_id/isbn/url)")all_problems = load_jsonl(CANONICAL_DIR / "problems.jsonl")if not all_problems:errors.append("data/canonical/problems.jsonl is missing or empty.")published_problems = [p for p in all_problems if p.get("status") in ("open", "partially_solved")]archived_problems = [p for p in all_problems if p.get("status") not in ("open", "partially_solved")]expected_pub = sum(cat_targets.values())if len(published_problems) != expected_pub:137 unmodified lineserrors.append(f"Source {sid} contributes {cnt} published problems, exceeding 2% cap ({max_per_source})")# Relations checkrelations = load_jsonl(CANONICAL_DIR / "relations.jsonl")if not relations:errors.append("data/canonical/relations.jsonl is missing or empty.")for rel in relations:if rel.get("source_problem_id") not in all_id_set or rel.get("target_problem_id") not in all_id_set:errors.append(f"Relation {rel.get('relation_id')} references unknown problem ID")# Status history checkhistory = load_jsonl(CANONICAL_DIR / "status_history.jsonl")if len(history) < len(all_problems):errors.append(f"status_history.jsonl ({len(history)}) has fewer events than problems ({len(all_problems)})")# Audits checkfor audit_file in ("status_audit.jsonl", "statement_audit.jsonl", "duplicate_audit.jsonl"):rows = load_jsonl(AUDITS_DIR / audit_file)if not rows:errors.append(f"data/audits/{audit_file} is missing or empty")return {"valid": len(errors) == 0,16 unmodified linesprint(json.dumps(res, indent=2))if not res["valid"]:sys.exit(1)1234562 unmodified lines91011121314151 unmodified line171819202122231 unmodified line25262728293031323334353614 unmodified lines5152535455565758596 unmodified lines6667686970717273747576137 unmodified lines21421521621721821922022122222322422522622722822923023116 unmodified lines248249250251#!/usr/bin/env python3"""Validate UnsolvedAstronomy v1.1.0 root files against all 12 Publication Gates (Section 3 & Section 13.1 of unsolvedastronomy.md)."""import jsonimport re2 unmodified linesfrom pathlib import PathROOT = Path(__file__).resolve().parent.parentLOOKUPS_DIR = ROOT / "data" / "lookups"def load_jsonl(path: Path) -> list[dict]:1 unmodified linereturn []out = []with path.open("r", encoding="utf-8") as f:for line in f:line = line.strip()if not line:continue1 unmodified linereturn outdef load_json_array(path: Path) -> list[dict]:if not path.exists():return []return json.loads(path.read_text(encoding="utf-8"))def validate() -> dict:errors = []warnings = []14 unmodified linescons_vocab = set(json.loads((LOOKUPS_DIR / "consensus_states.json").read_text(encoding="utf-8")))rej_vocab = set(json.loads((LOOKUPS_DIR / "rejection_codes.json").read_text(encoding="utf-8")))sources = load_json_array(ROOT / "source_registry.json")if not sources:errors.append("source_registry.json is missing or empty.")source_map = {s["source_id"]: s for s in sources}for s in sources:6 unmodified linesif not any(s.get(k) for k in ("doi", "ads_bibcode", "arxiv_id", "isbn", "url")):errors.append(f"Source {sid} lacks persistent identifier (doi/ads_bibcode/arxiv_id/isbn/url)")published_problems = load_json_array(ROOT / "problems.json")archived_problems = load_json_array(ROOT / "archived_problems.json")all_problems = published_problems + archived_problemsif not published_problems:errors.append("problems.json is missing or empty.")expected_pub = sum(cat_targets.values())if len(published_problems) != expected_pub:137 unmodified lineserrors.append(f"Source {sid} contributes {cnt} published problems, exceeding 2% cap ({max_per_source})")# Relations checkrelations = load_jsonl(ROOT / "relations.jsonl")if not relations:errors.append("relations.jsonl is missing or empty.")for rel in relations:if rel.get("source_problem_id") not in all_id_set or rel.get("target_problem_id") not in all_id_set:errors.append(f"Relation {rel.get('relation_id')} references unknown problem ID")# Audits checkfor audit_file in ("research_results.json", "statement_audit.json"):rows = load_json_array(ROOT / audit_file)if not rows:errors.append(f"{audit_file} is missing or empty")return {"valid": len(errors) == 0,16 unmodified linesprint(json.dumps(res, indent=2))if not res["valid"]:sys.exit(1)
123version https://git-lfs.github.com/spec/v1oid sha256:088d83dcebfcd0277b64c48c179141140e3d0d6cbab54dad0011952ff03aef30size 29522260123version https://git-lfs.github.com/spec/v1oid sha256:c802d0e3847416b0fb370907b2d477063666de356dc133232f839715a5714c99size 24311806
123version https://git-lfs.github.com/spec/v1oid sha256:097e95a44fb3a236a7123331f480c5310a0f6b46a7b4c2d53745f17a3015a8d2size 19251123version https://git-lfs.github.com/spec/v1oid sha256:511039c2f764298d04949c579763339f02b7258ad78512f2da5272e60ee37137size 25664187123version https://git-lfs.github.com/spec/v1oid sha256:bca659635087465bd0501053e6f8da779bc6782ce82fe3237522df7211dff73csize 915003123version https://git-lfs.github.com/spec/v1oid sha256:43dee2571ee420dca36398e296a22e861f3b87f132594389c2fb3f777d798d1dsize 775783
123version https://git-lfs.github.com/spec/v1oid sha256:cdd9e18d0dc315936a6b6f5faa88f2bda4fcafac1c7ee86e64c95e64e4e9934fsize 9162123version https://git-lfs.github.com/spec/v1oid sha256:34c118d0984381555dddcdb63ae42d70a1ad640599bcdbadbb49da4406bc9373size 9157
DATASET_CARD.md+5-12
README.md+5-12
data/audits/duplicate_audit.jsonl → archived_problems.jsonRenamed+2-2
data/audits/statement_audit.jsonlDeleted-3
data/audits/status_audit.jsonlDeleted-3
data/candidates/extracted_candidates.jsonlDeleted-3
data/canonical/problems.jsonlDeleted-3
data/canonical/status_history.jsonlDeleted-3
dataset.jsonDeleted-3
problems.json+2-2
data/canonical/relations.jsonl → relations.jsonlRenamed+2-2
releases/v1.0/gold_seed_v1.0.jsonlDeleted-3
releases/v1.0/manifest.jsonDeleted-3
releases/v1.0/problems_v1.0.jsonlDeleted-3
releases/v1.0/relations_v1.0.jsonlDeleted-3
releases/v1.0/sources_v1.0.jsonlDeleted-3
releases/v1.0/statistics.jsonDeleted-3
releases/v1.0/status_history_v1.0.jsonlDeleted-3
releases/v1.1/gold_seed_v1.1.jsonlDeleted-3
releases/v1.1/manifest.jsonDeleted-3
releases/v1.1/problems_v1.1.jsonlDeleted-3
releases/v1.1/relations_v1.1.jsonlDeleted-3
releases/v1.1/sources_v1.1.jsonlDeleted-3
releases/v1.1/statistics.jsonDeleted-3
releases/v1.1/status_history_v1.1.jsonlDeleted-3
research_results.json+2-2
scripts/build_release.py+4-86
scripts/compute_statistics.py+17-16
scripts/duplicate_candidates.py+9-7
scripts/generate_dataset_card.py+2-9
scripts/generate_v1_0_dataset.py+38-89
scripts/harvest_oai_pmh_bulk.py+23-25
scripts/literature_search.py+19-36
scripts/normalize_problems.py+46-1
scripts/validate.py+22-26
source_registry.json+2-2
sources/query_manifests/ads_v1_0_queries.jsonDeleted-3
sources/registry.jsonlDeleted-3
statement_audit.json+2-2
statistics.json+2-2