Skip to content

SRB-01: apply EvalMath observability and selection-risk calculus to systemic-risk scenarios - #38

Open
patrickdugan wants to merge 13 commits into
mainfrom
feat/srb01-systemic-risk-evalmath-20261116
Open

patrickdugan wants to merge 13 commits into
mainfrom
feat/srb01-systemic-risk-evalmath-20261116

Conversation

@patrickdugan

Copy link
Copy Markdown
Contributor

Scope

Proposed finite-world SystemicRiskBench export contract and exact EvalMath scoring bridge. SystemicRiskBench's repository/API was not accessible in the connected GitHub search.

  • Exact systemic node-loss and intervention scoring, observable-action floor, and two-action fibre-collision certificate.
  • Tail CVaR, recorded-action replay, and post-feedback false-authorization risk through EvalMath's existing NullModel, fixed and adaptive optimizers.
  • Strict rational JSON export, source-hashed CLI, synthetic two-world witness, unit tests, independent finite oracles and fast-CI receipt.
  • Mathematical proofs and prospective scoring protocol.

Evidence: exact synthetic finite-world verification. No SystemicRiskBench real cases or model runs, and no Lean theorem claimed.

Reproduce:

PYTHONPATH=src python -m pytest -q tests/test_evaluation_systemic_risk.py
PYTHONPATH=src python scripts/verify_evaluation_systemic_risk.py
python scripts/check_receipts.py --only systemic_risk

Comment on lines +30 to +46
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install EvalMath
run: python -m pip install -e ".[test]"
- name: Exact unit tests
run: python -m pytest -q tests/test_evaluation_systemic_risk.py
- name: Regenerate source-hashed synthetic receipt
run: python scripts/check_receipts.py --only systemic_risk
- name: Score fixture through public CLI
run: |
PYTHONPATH=src python scripts/score_systemic_risk.py --input fixtures/systemic_risk_evalmath/synthetic_two_worlds.json > /tmp/srb01_scored.json
python -c 'import json; d=json.load(open("/tmp/srb01_scored.json")); assert d["metrics"]["unobservable_regret"] == "4"'

This branch has not been deployed

No deployments
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.

2 participants