feat(skill): close dasha oracle target set

This commit is contained in:
732642856
2026-06-27 01:03:02 +08:00
parent baf73d5eb4
commit a369c99a7d
15 changed files with 216 additions and 118 deletions
+7 -12
View File
@@ -39,25 +39,20 @@ 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"] == 2
assert report["summary"]["open_tasks"] == 10
assert report["summary"]["external_verified_tasks"] == 3
assert report["summary"]["open_tasks"] == 9
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"] == 2
assert report["fronts"]["dasha"]["first_priority"]["case_id"] == "template_historical_epoch_lahiri"
assert report["fronts"]["dasha"]["external_verified_tasks"] == 3
assert report["fronts"]["dasha"]["first_priority"] is None
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
assert report["fronts"]["dasha"]["first_priority"]["manual_fill_plan"]["manual_entry_count"] == 6
assert report["fronts"]["tajika_sahams"]["first_priority"]["missing_groups"]["target"]["count"] == 10
assert report["fronts"]["shadbala"]["first_priority"]["manual_fill_plan"]["manual_entry_count"] == 55
assert report["next_action_order"][0]["front"] == "dasha"
assert report["next_action_order"][0]["missing_field_count"] == 6
assert report["next_action_order"][0]["manual_entry_count"] == 6
assert report["next_action_order"][1]["front"] == "tajika_sahams"
assert report["next_action_order"][2]["front"] == "shadbala"
assert report["next_action_order"][0]["front"] == "tajika_sahams"
assert report["next_action_order"][1]["front"] == "shadbala"
def test_oracle_closure_master_dashboard_markdown_can_be_written(tmp_path: Path) -> None:
@@ -70,7 +65,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_historical_epoch_lahiri" in markdown
assert "`dasha` | 3 | 3 | `complete`" in markdown
assert "template_redacted_place_shadbala_raman" in markdown
assert "template_steve_jobs_varshaphala_1984_lahiri" in markdown
assert "manual entries" in markdown