Promote yoga benchmark and refresh oracle packet priority

This commit is contained in:
732642856
2026-06-28 17:51:34 +08:00
parent 7ba46213a6
commit 2582ccd6c0
10 changed files with 153 additions and 32 deletions
+1
View File
@@ -7,6 +7,7 @@ This file is the small index for the current engineering fronts that still drive
- Before touching strict workflow or adjudicator logic, check:
- `/Users/wuyongnaren/Documents/印度占星/docs/research/high_value_fragment_source_map_2026_06_28.md`
- `/Users/wuyongnaren/Documents/印度占星/docs/research/worktree_fragment_triage_2026_06_28.md`
- `/Users/wuyongnaren/Documents/印度占星/docs/research/yoga_benchmark_case_promotion_audit_2026_06_28.md`
- Treat repo truth as authoritative.
- Treat `docs/research/local_drafts`, Gemini brain notes, Codex attachments, and WorkBuddy copies as candidate sources only.
@@ -56,8 +56,8 @@ Only promote this report later if a stable human-facing archive is needed.
- Disposition: useful boundary values were promoted into `/Users/wuyongnaren/Documents/印度占星/references/oracle/dasha_shadbala_oracle_cases.json` as `template_bv_raman_vimshottari_boundary_series`.
- Follow-up: collect source artifact metadata before promoting beyond `template_only`.
- `/Users/wuyongnaren/Documents/印度占星/tests/test_yoga_benchmark_cases.py`
- Current state: smoke-style test ending in `assert True`.
- Better path: replace with concrete yoga names and expected detections before promotion.
- Disposition: promoted into a real benchmark with concrete `rule_id` expectations and metadata contract checks.
- See `/Users/wuyongnaren/Documents/印度占星/docs/research/yoga_benchmark_case_promotion_audit_2026_06_28.md`.
### Superseded or Needs Review
@@ -0,0 +1,40 @@
# Yoga Benchmark Case Promotion Audit - 2026-06-28
## Scope
This pass converts the untracked `tests/test_yoga_benchmark_cases.py` scratch smoke test into an executable Yoga benchmark.
## Problem With The Old Fragment
The old file only verified that `detect_yogas_from_json()` returned a list and ended with `assert True`. It did not constrain any specific Yoga rule, category, strength, or metadata.
## Promoted Test Contract
The promoted test uses the same B.V. Raman-style static Aquarius chart but now asserts stable rule ids:
- `dharma_karmadhipati`
- `chandra_yoga_exalted`
- `shakti_yoga_9_10_lord`
- `bvr_016_vesi_precise`
- `budha_shukra_yoga`
- `kalatra_yoga_venus_kendra`
- `raja_yoga_5_10_lord`
- `raja_yoga_4_10_lord`
It also verifies that the metadata contract remains useful:
- `category`
- `strength`
- `source`
- human-readable `combination`
## Boundary
- This is a deterministic engine benchmark, not a life prediction.
- It does not claim B.V. Raman biography validation.
- It guards the data-driven Yoga engine and rule metadata against silent drift.
## Regression Coverage
- `/Users/wuyongnaren/Documents/印度占星/tests/test_yoga_benchmark_cases.py`
- `/Users/wuyongnaren/Documents/印度占星/tests/test_yoga_rules_integrity.py`