Skip to content

v0.6: Probabilistic decision intelligence and reliability research - #9

Draft
j112929 wants to merge 4 commits into
codex/v05-world-modelfrom
codex/v06-probabilistic
Draft

j112929 wants to merge 4 commits into
codex/v05-world-modelfrom
codex/v06-probabilistic

Conversation

@j112929

@j112929 j112929 commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

The existing platform gains an optional CPU research layer for probabilistic forecasts, calibration, risk planning and long-horizon reliability. It reuses BenchmarkRunner, PlanningAgent, WorldModel/CandidateAction contracts, trajectory v2, sanitized storage, recorded replay and the existing three-state release gate. No required dependency, SQL migration or second agent runtime.

Implemented:

  • Timestamped forecast/outcome joins with duplicate/version/leakage checks; train-only Platt and PAVA isotonic calibration; Brier/log loss/ECE/AUC/AP, grouped intervals and selective risk.
  • Bounded Monte Carlo futures, greedy/expected-value/mean–variance/CVaR baselines, optional uncertainty penalty, fixed evaluation-tail level and generation-fee accounting. Candidate generation receives copied state, and generation/sampling/serialization share a fail-closed planning deadline.
  • Open-loop, periodic, error- and uncertainty-triggered replanning with separate teacher-forced/free-running/closed-loop analysis. Simulations have no executor; actual actions retain existing authorization.
  • Versioned sidecars, replay/failure references, three artifact-driven Labs, JSON/HTML/JUnit benchmark reports and opt-in PASS/FAIL/INCONCLUSIVE CI policies.
  • Interrupted-span finalization and current SDK/source provenance; this fixes the existing Python 3.14 timeout/replay regression.

Actual validation:

  • 172 Python tests, 15 web Node tests, 13 SaaS tests and 2 Playwright product/research flows passed locally.
  • Wheel/sdist and SDK/web/plugin/source ZIP synchronization verified.
  • Offline GitHub smoke executes all three experiments and recorded replay with no API keys; all 12 pull-request workflows passed on final commit 7d58f650e4e02b5e2b6957d66d9dad85df9b36d6, including Python 3.10/3.12/3.14, CPU distributed rollout and world-model acceptance.

Actual experiments: 180 calibration tasks, 1,296 risk-screen tasks (18 configurations), 144 horizon-screen tasks (24 configurations). CVaR observed 2/72 severe failures versus expected value 9/72; after the full Holm correction the comparison remains INCONCLUSIVE. Platt worsened held-out Brier. H=32 uncertainty-triggered runs exhausted the retained record budget: all six remain censored and are excluded from verified success curves. No production improvement, calibrated-confidence or general rule-policy superiority claim.

See audit, methods and reproduction, measured validation and risk register, and release notes. Public JSON/SVGs contain explicitly synthetic numeric aggregates; raw trajectories remain private local artifacts.

Stacked on #7, kept as draft. No merge, production deployment, paid model/GPU run, live billing activation or online weight update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant