feat(skill): advance dasha oracle evidence
This commit is contained in:
@@ -37,17 +37,17 @@ def test_dasha_oracle_closure_status_identifies_first_shortest_packet() -> None:
|
||||
assert report["scope"] == "dasha_external_oracle_closure_status"
|
||||
assert report["schema_version"] == 1
|
||||
assert report["summary"]["dasha_task_count"] == 3
|
||||
assert report["summary"]["external_verified_dasha_tasks"] == 1
|
||||
assert report["summary"]["external_verified_dasha_tasks"] == 2
|
||||
assert report["summary"]["can_claim_dasha_oracle_closure"] is False
|
||||
assert report["first_priority"]["case_id"] == "template_user_REDACTED_YEAR_moon_longitude_lahiri"
|
||||
assert report["first_priority"]["capture_id"] == "external_template_user_REDACTED_YEAR_moon_longitude_lahiri"
|
||||
assert report["first_priority"]["case_id"] == "template_historical_epoch_lahiri"
|
||||
assert report["first_priority"]["capture_id"] == "external_template_historical_epoch_lahiri"
|
||||
assert report["first_priority"]["required_target_fields"] == ["target.vimshottari_start_date"]
|
||||
assert "metadata.tool_name" in report["first_priority"]["missing_fields"]
|
||||
assert "target.vimshottari_start_date" in report["first_priority"]["missing_fields"]
|
||||
assert report["first_priority"]["missing_groups"]["metadata"]["count"] == 5
|
||||
assert report["first_priority"]["missing_groups"]["target"]["count"] == 1
|
||||
assert report["first_priority"]["prefilled_fields"]["metadata"]["ayanamsa"] == "lahiri"
|
||||
assert report["first_priority"]["prefilled_fields"]["metadata"]["timezone"] == 8
|
||||
assert report["first_priority"]["prefilled_fields"]["metadata"]["timezone"] == 5.5
|
||||
assert report["first_priority"]["manual_fill_plan"]["status_value"] == "external_verified"
|
||||
assert report["first_priority"]["manual_fill_plan"]["manual_entry_count"] == 6
|
||||
assert report["first_priority"]["apply_command"]
|
||||
@@ -63,7 +63,7 @@ def test_dasha_oracle_closure_status_markdown_can_be_written(tmp_path: Path) ->
|
||||
markdown = output.read_text(encoding="utf-8")
|
||||
assert "# Dasha External Oracle Closure Status" in markdown
|
||||
assert "can_claim_dasha_oracle_closure: `false`" in markdown
|
||||
assert "external_template_user_REDACTED_YEAR_moon_longitude_lahiri" in markdown
|
||||
assert "external_template_historical_epoch_lahiri" in markdown
|
||||
assert "target.vimshottari_start_date" in markdown
|
||||
assert "## Missing Summary" in markdown
|
||||
assert "## Prefilled Fields" in markdown
|
||||
@@ -114,6 +114,6 @@ def test_dasha_oracle_closure_status_advances_after_first_packet_is_filled(tmp_p
|
||||
|
||||
assert completed.returncode == 0, completed.stderr or completed.stdout
|
||||
report = json.loads(completed.stdout)
|
||||
assert report["summary"]["external_verified_dasha_tasks"] == 1
|
||||
assert report["first_priority"]["case_id"] != "template_steve_jobs_dasha_lahiri"
|
||||
assert report["summary"]["external_verified_dasha_tasks"] == 2
|
||||
assert report["first_priority"]["case_id"] == "template_historical_epoch_lahiri"
|
||||
assert report["first_priority"]["missing_fields"]
|
||||
|
||||
@@ -39,14 +39,14 @@ def test_oracle_closure_master_dashboard_aggregates_all_hard_fronts() -> None:
|
||||
assert report["scope"] == "jyotish_external_oracle_closure_master_dashboard"
|
||||
assert report["schema_version"] == 1
|
||||
assert report["summary"]["total_tasks"] == 12
|
||||
assert report["summary"]["external_verified_tasks"] == 1
|
||||
assert report["summary"]["open_tasks"] == 11
|
||||
assert report["summary"]["external_verified_tasks"] == 2
|
||||
assert report["summary"]["open_tasks"] == 10
|
||||
assert report["summary"]["can_claim_global_oracle_closure"] is False
|
||||
assert report["fronts"]["dasha"]["task_count"] == 3
|
||||
assert report["fronts"]["shadbala"]["task_count"] == 4
|
||||
assert report["fronts"]["tajika_sahams"]["task_count"] == 5
|
||||
assert report["fronts"]["dasha"]["external_verified_tasks"] == 1
|
||||
assert report["fronts"]["dasha"]["first_priority"]["case_id"] == "template_user_REDACTED_YEAR_moon_longitude_lahiri"
|
||||
assert report["fronts"]["dasha"]["external_verified_tasks"] == 2
|
||||
assert report["fronts"]["dasha"]["first_priority"]["case_id"] == "template_historical_epoch_lahiri"
|
||||
assert report["fronts"]["shadbala"]["first_priority"]["case_id"] == "template_redacted_place_shadbala_raman"
|
||||
assert report["fronts"]["tajika_sahams"]["first_priority"]["case_id"] == "template_steve_jobs_varshaphala_1984_lahiri"
|
||||
assert report["fronts"]["dasha"]["first_priority"]["missing_groups"]["metadata"]["count"] == 5
|
||||
@@ -70,7 +70,7 @@ def test_oracle_closure_master_dashboard_markdown_can_be_written(tmp_path: Path)
|
||||
assert "# Jyotish External Oracle Closure Master Dashboard" in markdown
|
||||
assert "total_tasks: `12`" in markdown
|
||||
assert "can_claim_global_oracle_closure: `false`" in markdown
|
||||
assert "template_user_REDACTED_YEAR_moon_longitude_lahiri" in markdown
|
||||
assert "template_historical_epoch_lahiri" in markdown
|
||||
assert "template_redacted_place_shadbala_raman" in markdown
|
||||
assert "template_steve_jobs_varshaphala_1984_lahiri" in markdown
|
||||
assert "manual entries" in markdown
|
||||
|
||||
@@ -42,10 +42,10 @@ def test_public_benchmark_dashboard_outputs_stable_json_summary() -> None:
|
||||
assert report["oracle_readiness"]["valid_packets"] == 0
|
||||
assert report["oracle_readiness"]["ready_for_calibration"] == 0
|
||||
assert report["oracle_readiness"]["production_tuning_allowed"] is False
|
||||
assert report["dasha_oracle_readiness"]["valid_dasha_packets"] == 1
|
||||
assert report["dasha_oracle_readiness"]["valid_dasha_packets"] == 2
|
||||
assert report["dasha_oracle_readiness"]["total_dasha_packets"] == 3
|
||||
assert report["boundary_audit"]["production_tuning_recommended"] is False
|
||||
assert "Dasha-only external oracle readiness is 1/3" in report["global_first_gap"]
|
||||
assert "Dasha-only external oracle readiness is 2/3" in report["global_first_gap"]
|
||||
assert report["public_claim"]["can_claim_global_first"] is False
|
||||
assert report["public_claim"]["reason"]
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ def test_skill_gap_truth_registry_lists_hard_fronts_and_past_corrections() -> No
|
||||
assert required_fronts <= set(hard_fronts)
|
||||
for front_id in required_fronts:
|
||||
front = hard_fronts[front_id]
|
||||
assert front["status"] in {"blocked_external_evidence", "active_gap"}
|
||||
assert front["status"] in {"blocked_external_evidence", "active_gap", "active_partial_external_evidence"}
|
||||
assert front["priority"] in {"P0", "P1", "P2"}
|
||||
assert front["completion_standard"]
|
||||
assert front["forbidden_claims"]
|
||||
|
||||
Reference in New Issue
Block a user