mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-22 19:56:25 +00:00
Generator hardening: - Rewrite puzzle generator with difficulty-based posterior targeting (30-365 day ranges) - Remove InMonth/DayRange over-constraining from low difficulties - DayOfWeek constraint (difficulty 3+) creates 7x cost surface for solver optimization - Distractor injection at difficulty 5+ (redundant constraints that don't narrow search) - target_posterior() scales 300→20 across difficulty 1→10 Solver PolicyKernel: - Add skip_weekday: Option<Weekday> to TemporalSolver - Weekday skipping advances by 7 days instead of 1 when DayOfWeek constraint detected - Wire into AdaptiveSolver for compiler/router modes (B and C) - Mode A (baseline) scans linearly, Mode B/C skip to matching weekdays Correctness: - Relax correctness check: "every expected solution found" (not "only expected found") - Wide posteriors have many valid dates; only target inclusion matters - Integration test step budget increased to 400 for wider ranges Ablation results: - Mode A: 195.96 cost/solve (full linear scan) - Mode B: 68.80 cost/solve (65% reduction via weekday skipping) - Mode C: 68.80 cost/solve (65% reduction, same as B) - B beats A on cost: PASS (65% > 15% threshold) - Compiler false-hit rate: PASS (<5%) - 81 tests passing (61 unit + 20 integration) https://claude.ai/code/session_01RnwD4x5cbpB7FPvoyYQz8G |
||
|---|---|---|
| .. | ||
| integration_tests.rs | ||