Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ jobs:
- run: python3 scripts/check_credit_methodology.py
- run: python3 scripts/check_quote_sensitivity.py
- run: python3 scripts/check_pricing_methodology.py
- run: python3 scripts/check_calibration_stability.py
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,5 @@ Each script states the limited fixture relationships it checks. See [the test gu
These checks verify links, imported identities and specified numerical correspondences. They do not assess arbitrary prose, certify the financial model or establish that contract composition outperforms a baseline. [Contributing](CONTRIBUTING.md) explains how to add a contract or model example. Owned code and documentation are [MIT licensed](LICENSE); external sources retain their own terms.

The [implementation-review example](examples/implementation-review/README.md) uses observed synthetic pricing calculations to distinguish correct input mappings, reference agreement, passing identities and missing coverage. It has an authored report and deterministic controls; its report program remains agent-unqualified.

The [calibration-stability example](examples/calibration-stability/README.md) shows why an exact fit and a better matrix condition number need not establish stable physical parameters. It reuses calibration and sensitivity requirements; the worked reporting program remains agent-unqualified.
2 changes: 2 additions & 0 deletions docs/composition.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ With the inputs supplied and an authenticated harness configured through [the ru
The two contracts contribute different requirements to one report. A supported issue-closure conclusion would be an additional requested outcome, with the relevant closure criteria and evidence. Adding that outcome changes what fulfillment requires. It does not require a prescribed sequence of steps or another agent.

For a component package installed elsewhere, use the actual selected contract locations and identities. This sketch's paths assume the source checkout; examples and input records are not distributed in the component package.

The [calibration-stability example](../examples/calibration-stability/README.md) composes calibration and sensitivity review. It separates an exact fit, physical parameter uncertainty and a coordinate-dependent condition number. Its missing-perturbations case permits analytical bounds while keeping absent native execution records unresolved.
1 change: 1 addition & 0 deletions docs/operating-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ These operating reports have authored references and deterministic fixture check
| [Pricing probabilities](../examples/pricing-probabilities/README.md) | Model description, numerical evidence | Identical prices and replication do not identify physical probabilities; missing assumptions can leave pricing supported. |
| [Exposure/default dependence](../examples/exposure-default/README.md) | Credit-loss review, dependence review | Identical marginals need not determine expected loss; product equality need not establish independence. |
| [Calibration identification](../examples/calibration-identification/README.md) | Calibration review, optimization review | Exact fit can leave some outputs undetermined; regularization selects a result without adding observed data. |
| [Calibration stability](../examples/calibration-stability/README.md) | Calibration review, sensitivity review | A unique exact fit and improved coordinate conditioning do not establish stable physical parameters. |
| [Valuation](../examples/valuation-review/README.md) | Valuation comparison, model data | Offsetting differences do not remove position-level exceptions. |
| [Backtesting statistics](../examples/backtest-statistics/README.md) | Backtesting, outcomes analysis | Equal exception counts do not establish equal timing; missing order limits verification without erasing aggregate calculations. |
| [Backtesting](../examples/backtesting-review/README.md) | Backtesting, outcomes analysis | Observed exceedances differ from policy treatment of missing data. |
Expand Down
4 changes: 4 additions & 0 deletions docs/qualification.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,3 +253,7 @@ The [reproduction assessment](../examples/sofr-reproduction/assess.md) adds a si
## Pricing methodology documentation

The [third full-document example](../examples/pricing-methodology/README.md) applies the unchanged documentation contract to the retained Black pricing source and records. Complete and baseline-only selections distinguish method knowledge from required observations of actual native results. An authored document, supporting records and ten review cases accompany a separate assessment entry. Fixed checks bind fifty input cells, twenty native prices, nine summary cells and fifteen identities; they do not certify the prose or an agent's interpretation. No new financial calculation or agent invocation occurred, and the package and two-model collection remain unchanged.

## Calibration stability reporting

The [stability example](../examples/calibration-stability/README.md) reuses one prespecified calculation with forty-two native solves and eight condition numbers. Complete, missing-perturbations and contradictory selections distinguish analytical support from native observations. A fixed-record checker verifies 1,002 correspondences, three packet projections, four authored table rows and twelve selected corruptions without a native solver. Reporting and assessment remain agent-unqualified; the example adds no reusable definition or package content.
31 changes: 31 additions & 0 deletions examples/calibration-stability/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Calibration fit and stability

An exactly fitted, uniquely solved calibration can remain sensitive to its inputs. A change of coordinates can improve a matrix condition number without shrinking uncertainty in the physical parameter. This example composes the existing calibration and sensitivity contracts to explain those distinctions.

The [program](program.md) produces one report and result record from a selected evidence packet. It permits arithmetic and derivation, without prescribing a workflow or authorizing native model runs.

| Selection | Evidence |
|---|---|
| `complete` | Twenty-one cases, forty-two native solutions and eight condition numbers. |
| `missing-perturbations` | Four baseline cases and all eight condition numbers; perturbation and boundary native records are absent. |
| `contradictory` | Complete records with five producer claims to assess. |

From the source root with the [authenticated runtime](../../docs/running.md):

```sh
prose --harness claude --model haiku --native-profile claude-workspace-tools --permission-mode acceptEdits run examples/calibration-stability/program.md complete
```

Replace complete with one selected case. For a separate assessment, supply the actual result path and original selection:

```sh
prose --harness claude --model haiku --native-profile claude-workspace-tools --permission-mode acceptEdits run examples/assess-report.md examples/calibration-stability/program.md results/calibration-stability/YOUR-RUN complete
```

The [authored reference](sample-results/report.md) covers complete only. All native repricing residuals are zero, but the shortest-spacing admissible variance-rate interval is [0, 0.382] under the stipulated input set. Rescaling lowers the matrix condition number from 7,302 to 4 while preserving physical uncertainty. These are synthetic linear-algebra findings, not an empirical forecast or novel calibration method.

In missing-perturbations, the brief still supports derivation of sharp mathematical bounds. That does not recover an observation of native execution. This distinction is intentional; neither a missing field nor a successful process should determine every finding at once.

[Plan](model/PLAN.md), [owned source](model/measure.py), [retained observations](model/observations.json) and [receipt](receipt.json) preserve one prespecified development calculation. They were copied unchanged; no new public reproduction or reporting-agent run is claimed. Calculation reproduction requires separate execution limits and NumPy 2.5.3. The reporting task itself needs no numerical dependency.

Run `python3 scripts/check_calibration_stability.py` for fixed-record projection, arithmetic and mutation checks. [Interpretation cases](../../tests/cases/calibration-stability.md) are authored expectations. These checks do not evaluate arbitrary prose or establish agent fulfillment, production calibration suitability, workshop readiness or operating savings.
11 changes: 11 additions & 0 deletions examples/calibration-stability/inputs/brief.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Two-interval synthetic variance calibration

The model has variance rate a on [0,1] and b on (1,1+epsilon], with time in years. Its two total-variance observations satisfy q1=a and q2=a+epsilon*b. Rates are variance/year; total variances are dimensionless. Nonnegative a and b are required for a variance interpretation. These synthetic durations are not calendar dates or market observations.

Use baseline a=0.04 and b=0.09 at epsilon=1, 1/12, 1/365 and 1/3650. For each spacing, the stipulated input set permits independent changes of up to eta=0.00004 in each total variance. No statistical distribution, estimated error bar or institutional tolerance is supplied.

The expected native cases at each spacing are baseline, common-up (+eta,+eta), common-down (-eta,-eta), steepen (-eta,+eta) and flatten (+eta,-eta). At epsilon=1/3650 also expect admissible-boundary with q1=q2=0.04. This gives twenty-one requested cases, with two native solutions per case.

Physical coordinates (a,b) use matrix [[1,0],[1,epsilon]]. Integrated coordinates (a,u), where u=epsilon*b, use [[1,0],[1,1]]. Each case is solved in both coordinates; the integrated result is mapped back to physical rates. Four pairs of native infinity-norm matrix condition numbers are supplied. The infinity norm is the largest absolute row sum; the condition number is norm(A)*norm(inverse(A)). This quantity depends on the parameter coordinates and norm.

The supplied relationship permits analytical conclusions even when native records are absent. An analytical value is not an observation of native execution. The receipt identifies one NumPy 2.5.3 calculation and its source/record hashes; this reporting task requests no fresh reproduction.
Loading
Loading