diff --git a/docs/research/pre_work_error_ledger.md b/docs/research/pre_work_error_ledger.md index ce9d51d5..6f0c1163 100644 --- a/docs/research/pre_work_error_ledger.md +++ b/docs/research/pre_work_error_ledger.md @@ -111,6 +111,9 @@ For large architecture or release work, also read: | ERR-078 | On this macOS host, bare `python3` resolves to Python 3.9 without pytest, while the project uses PEP 604 annotations; rerunning with `.venv/bin/python` reaches the tests but `test_preflight_fragment_scan_reports_authority_layers_and_risk_buckets` has a stale `high_value_unpromoted_count >= 1` assertion even when the scanner correctly reports zero. | observed 2026-07-15 | Run the gate with the project venv on this host and do not claim the full pre-work gate passed until the fragment-governance assertion is reconciled with the valid zero-unpromoted state. | | ERR-079 | VedAstro hosted replay and fixed-commit self-host validation cannot run on this host when `VEDASTRO_API_ENDPOINT` / `VEDASTRO_API_KEY` are absent and neither a .NET runtime nor a reachable Docker daemon is available. | observed 2026-07-17 | Keep hosted closure `blocked`; run `vedastro_contract_probe.py --repeats 3` only after injecting credentials through the environment, and build the pinned source in a provisioned Windows/.NET or reachable container environment. Never persist credentials in artifacts or shell history. | +## ERR-080 | Issue link was mistaken for benchmark provenance | mitigated 2026-07-18 +PyJHora issue #17 is a UI/encoding issue with a general mismatch report, not VP Jain calibration. The benchmark now pins `V4.8.7` / `ca22995709bd60e371e7820a1a5efc80ce4cf821` and the exact test function URL. Treat its AGPL numeric expectations as a candidate replay, never independent formula arbitration. + ## Fragment Sweep Command Set Use split scans, not one unbounded full-home command: diff --git a/references/oracle/vp_jain_shadbala_component_benchmark_2026_07_17.json b/references/oracle/vp_jain_shadbala_component_benchmark_2026_07_17.json index 80e33f1b..d1d771df 100644 --- a/references/oracle/vp_jain_shadbala_component_benchmark_2026_07_17.json +++ b/references/oracle/vp_jain_shadbala_component_benchmark_2026_07_17.json @@ -7,9 +7,12 @@ "ayanamsa": "Lahiri" }, "source": { - "upstream": "PyJHora 4.8.7 pvr_tests.py::shadbala_VPJainBook_tests", - "upstream_issue": "https://github.com/naturalstupid/PyJHora/issues/17", - "license_boundary": "Numeric published-example expectations only; no AGPL implementation copied." + "upstream": "PyJHora V4.8.7 pvr_tests.py::shadbala_VPJainBook_tests", + "upstream_commit": "ca22995709bd60e371e7820a1a5efc80ce4cf821", + "upstream_url": "https://github.com/naturalstupid/PyJHora/blob/ca22995709bd60e371e7820a1a5efc80ce4cf821/src/jhora/tests/pvr_tests.py#L6853", + "upstream_issue": null, + "license_boundary": "AGPL-3.0 process-isolated numeric expectations only; no implementation copied.", + "truth_status": "candidate_published_example_replay_not_independent_arbitration" }, "summary": { "row_count": 42, diff --git a/scripts/vp_jain_shadbala_benchmark.py b/scripts/vp_jain_shadbala_benchmark.py index dcdf62c6..d27914ab 100644 --- a/scripts/vp_jain_shadbala_benchmark.py +++ b/scripts/vp_jain_shadbala_benchmark.py @@ -83,9 +83,12 @@ def build_report() -> dict: "ayanamsa": "Lahiri", }, "source": { - "upstream": "PyJHora 4.8.7 pvr_tests.py::shadbala_VPJainBook_tests", - "upstream_issue": "https://github.com/naturalstupid/PyJHora/issues/17", - "license_boundary": "Numeric published-example expectations only; no AGPL implementation copied.", + "upstream": "PyJHora V4.8.7 pvr_tests.py::shadbala_VPJainBook_tests", + "upstream_commit": "ca22995709bd60e371e7820a1a5efc80ce4cf821", + "upstream_url": "https://github.com/naturalstupid/PyJHora/blob/ca22995709bd60e371e7820a1a5efc80ce4cf821/src/jhora/tests/pvr_tests.py#L6853", + "upstream_issue": None, + "license_boundary": "AGPL-3.0 process-isolated numeric expectations only; no implementation copied.", + "truth_status": "candidate_published_example_replay_not_independent_arbitration", }, "summary": { "row_count": len(rows), diff --git a/tests/test_vp_jain_shadbala_benchmark.py b/tests/test_vp_jain_shadbala_benchmark.py index 1cf92900..424bcd21 100644 --- a/tests/test_vp_jain_shadbala_benchmark.py +++ b/tests/test_vp_jain_shadbala_benchmark.py @@ -5,6 +5,14 @@ def test_vp_jain_published_component_benchmark_is_fully_classified() -> None: report = build_report() assert report["case"]["name"] == "VP Jain published Shadbala example" + assert report["source"] == { + "upstream": "PyJHora V4.8.7 pvr_tests.py::shadbala_VPJainBook_tests", + "upstream_commit": "ca22995709bd60e371e7820a1a5efc80ce4cf821", + "upstream_url": "https://github.com/naturalstupid/PyJHora/blob/ca22995709bd60e371e7820a1a5efc80ce4cf821/src/jhora/tests/pvr_tests.py#L6853", + "upstream_issue": None, + "license_boundary": "AGPL-3.0 process-isolated numeric expectations only; no implementation copied.", + "truth_status": "candidate_published_example_replay_not_independent_arbitration", + } assert report["summary"]["row_count"] == 42 assert report["summary"]["classified_count"] == 42 assert report["summary"]["within_tolerance_count"] == 34 @@ -27,4 +35,3 @@ def test_vp_jain_benchmark_keeps_known_method_variants_explicit() -> None: } assert variants[("sthana", "Sun")]["variant"] == "moolatrikona_degree_range_vs_whole_sign" assert variants[("chesta", "Moon")]["variant"] == "luminary_chesta_policy" -