LibraryWorkspaceDataHub

© 2026 QCA · by Lime Fintech · About QCA · Market data from Massive

PrivacyTermsCookiesDisclaimer
HomeLibrary
DataHub
  1. Library
  2. Report

The fundamental representation of pricing adjustments

Open repository
Jul 23, 2026
Mathematical Finance+2

Verdict: Partially Reproduced

OverviewExperiments

Executive Summary

Status
Partially Reproduced
Confidence
High

Executive Summary

  • Status: PARTIALLY REPRODUCED
  • Confidence: HIGH
  • Key Insight: The repository reproduces the paper’s core analytic identities and the toy CVA wrong-way-risk numerical values very closely, including the meta-adjustment identity and approximation quality. The main caveat is that Experiment 5 uses a reduced simulation design versus the paper specification, so variance-reduction claims are directionally and strongly supported, but not as an exact like-for-like reproduction.

Results Comparison

Experiment 1 — Universal Pricing-Adjustment Identity

MetricPaperReproducedDiffStatus
Adjustment identity U=V^−VU=\hat V - VU=
V^
−
V
Exact analytic identity
Verified symbolically
0
Match
Adjustment PDE source term F∗F^*F∗(L^−L)V−(R^−R)V+F^−F(\hat L-L)V-(\hat R-R)V+\hat F-F(L^−L)V−(R^−R)V+F^−FVerified exactly0Match
Terminal condition G∗G^*G∗G^−G\hat G-GG^−GVerified exactly0Match
Feynman–Kac representationExactVerified exactly0Match
Reduced representation for G^=G\hat G=GG^=GU=EQ^[∫DR^Z dt]U=\mathbb E^{\hat Q}[\int D^{\hat R} Z\,dt]U=EQ^​[∫DR^Zdt]Verified exactly0Match
Bleed decompositionZ=Z(M)+Z(D)+Z(P)Z=Z^{(M)}+Z^{(D)}+Z^{(P)}Z=Z(M)+Z(D)+Z(P)Verified exactly0Match
Internal consistency testsExpected to pass13/13 passed0 failuresMatch

Summary:
This experiment appears fully reproduced. Since it is symbolic/analytic, exact algebraic equality is the correct benchmark, and the repository reports zero residual in the derivation checks and full consistency across special internal cases.


Experiment 2 — Historical Special Cases

MetricPaperReproducedDiffStatus
Gatheral local-vol bleed12(α^2−α2)S2∂SSV\frac12(\hat\alpha^2-\alpha^2)S^2 \partial_{SS}V21​(α^2−α2)S2∂SS​VVerified exactly0Match
Gatheral stochastic-vol bleedβ^∂αV+12γ^2∂ααV+ραSγ^∂SαV\hat\beta \partial_\alpha V + \frac12\hat\gamma^2 \partial_{\alpha\alpha}V + \rho \alpha S \hat\gamma \partial_{S\alpha}Vβ^​∂α​V+
Piterbarg discounting bleed−(R^−R)V-(\hat R-R)V−(R^−R)VVerified exactly0Match
BK CVA source / PDE sign−λV+-\lambda V^+−λV+, discount at r+λr+\lambdar+λVerified exactly0Match
Symbolic testsExpected to pass17/17 passed0 failuresMatch

Summary:
This experiment also appears fully reproduced. The repository recovered all four historical formulas exactly, including key sign conventions and the stochastic-vol cross term.


Experiment 3 — Exact Numerical CVA Wrong-Way-Risk Meta-Adjustment

MetricPaperReproducedDiffStatus
V0V_0V0​~13.7513.7510+0.0010Match
Base CVA U0U_0U0​~-1.92-1.9154+0.0046Match
Meta-adjustment A0A_0A0​~-0.393-0.3928 ± 0.0006+0.0002Match
Direct target CVA U^0\hat U_0U^0​~-2.313-2.3107 ± 0.0081+0.0023Match
Implied U^0=U0+A0\hat U_0 = U_0+A_0U^0​=U0​+A
Identity gap U^0−(U0+A0)\hat U_0-(U_0+A_0)U^0​−(U0​+A

Summary:
This is a strong numerical reproduction. All key scalar outputs are extremely close to the paper. The deviations are far inside the user’s stated tolerances:

  • Returns-style tolerance doesn’t directly apply here, but relative errors are tiny.
  • Identity gap is economically negligible and statistically indistinguishable from zero given the direct-estimator SE of 0.0081.

The repository also reports the chart: Expected cumulative P&L path


Experiment 4 — Practical Approximation for the Meta-Adjustment

MetricPaperReproducedDiffStatus
Approximate A0A_0A0​~-0.397-0.3965+0.0005Match
Closed-form approximation~-0.397-0.3965+0.0005Match
Exact MC benchmark~-0.393-0.3928+0.0002Match
Relative error vs paper00.12%+0.12%Match
Relative error vs exact MCSmall-0.94%<1%Match

Summary:
This experiment is fully reproduced in practical terms. The approximation lands within about 1% of the exact MC benchmark and essentially exactly reproduces the paper’s reported approximation value.

The repository also includes: Approximation comparison


Experiment 5 — Variance Reduction Validation

MetricPaperReproducedDiffStatus
Variance reduction claimSignificant reduction197.3x variance ratioLarge positive confirmationMatch directionally
SE reductionNarrower CI for MA estimator14.05x SE ratioLarge positive confirmationMatch directionally
Mean consistencyUnbiased relative to directMean diff = -0.00658, t = 1.38Not statistically significantMatch
Simulation design100k paths, 1000 steps suggested20 batches × 10k paths, 500 stepsMaterial implementation deviationPartial

Summary:
The qualitative finding is reproduced very strongly: the meta-adjustment estimator is dramatically more efficient than direct simulation. However, this is not an exact replication of the specified experimental setup, because the repository explicitly used fewer paths per batch and fewer time steps than the paper-style specification described by the user. That does not undermine the main conclusion, but it does prevent calling this a perfect one-to-one reproduction.

Charts included: Variance comparison

Integrand diagnostics


Statistical & Economic Significance

Statistical significance

For the numerical experiments, the evidence is strong:

  • Experiment 3

    • A0=−0.3928±0.0006A_0=-0.3928 \pm 0.0006A0​=−0.3928±0.0006: very tight confidence band.
    • U^0=−2.3107±0.0081\hat U_0=-2.3107 \pm 0.0081U^0​=−2.3107±0.0081: somewhat noisier, but still precise enough.
    • Identity gap = -0.00247, which is much smaller than the direct MC estimator’s SE, so the identity holds statistically.
  • Experiment 5

    • Mean difference between direct and meta-adjustment estimators: -0.00658
    • Mean-difference SE: 0.00476
    • Reported ∣t∣=1.38|t|=1.38∣t∣=1.38, which does not indicate a statistically significant bias.

Economic significance

Even though this is not a returns/Sharpe strategy paper, the numerical findings are economically meaningful:

  • The meta-adjustment A0≈−0.393A_0 \approx -0.393A0​≈−0.393 is material relative to base CVA U0≈−1.915U_0 \approx -1.915U0​≈−1.915, around 20% of the base CVA magnitude.
  • The target CVA shift from −1.915-1.915−1.915 to roughly −2.31-2.31−2.31 is nontrivial and would matter in XVA/risk management practice.
  • The 197x variance reduction is economically very important from a computational-cost perspective, implying major efficiency gains in production valuation.

Discrepancies

  • Experiment 5 setup differs materially from the requested/paper-like numerical design.
    The repository used 20 batches of 10,000 paths and 500 steps, versus the user’s described canonical setup of 100,000 paths and 1,000 steps. This is the main reason the overall reproduction should be considered partial rather than full.

  • Small numerical differences in Experiment 3 are immaterial.
    The reproduced values differ from the paper by only:

    • V0V_0V0​: about 0.007%
    • U0U_0U0​: about 0.24%
    • A0A_0A0​: about 0.05%
    • U^0\hat U_0U^0​: about 0.10%
      These are well within acceptable tolerance and entirely consistent with Monte Carlo noise / discretization choices.
  • Approximation error in Experiment 4 is slightly negative vs exact MC (~-0.94%).
    This is not a reproduction failure; it is the approximation working as intended. The repository’s explanation that the measure-switch approximation is the dominant source of error is consistent with the paper.


Methodology Issues

Only one material issue stands out:

  • Exp 5 is not a strict like-for-like reproduction of the requested simulation scale.
    The repository says this reduction was “for speed.” That is acceptable for demonstrating the variance-reduction phenomenon, but it is a methodological deviation if the goal is exact numerical reproduction of the experiment as specified.

Otherwise, methodology looks aligned:

  • Symbolic experiments use exact algebraic verification.
  • Numerical experiments use the toy model, parameters, and decomposition formulas described in the paper/user brief.
  • Sign conventions appear carefully handled, especially for discounting and CVA source terms.

Reliability

Overall reliability is high.

Strengths

  • Results are organized cleanly in results/.
  • Symbolic experiments report exact equality checks rather than loose heuristics.
  • Numerical experiments include confidence intervals / standard errors.
  • Internal consistency checks are reported as passing.
  • The main paper claims are reproduced across theory, exact MC, approximation, and efficiency.

Minor red flags

  • Exp 5 uses reduced path/time-step settings, so exact quantitative efficiency numbers may shift under the full paper configuration.
  • The repository summary reports “53/53 tests pass,” but this is mostly internal validation rather than independent robustness testing.

Stability assessment

  • Experiments 1 and 2 are exact and therefore highly stable.
  • Experiments 3 and 4 are highly convincing because reproduced values are very close to paper values.
  • Experiment 5 is reliable in direction and likely in magnitude, but less exact due to the reduced simulation budget.

Verdict

Final Decision: PARTIALLY REPRODUCED

Why:
The repository reproduces the paper’s core analytic identities and the key numerical CVA wrong-way-risk results extremely well, with only tiny deviations and strong statistical confirmation. However, because the variance-reduction experiment was implemented with a materially reduced simulation design relative to the specified setup, the overall study is best classified as partially reproduced rather than fully reproduced.

Experiments

Analytic Reproduction of the Universal Pricing-Adjustment Identity and P&L-Bleed Decomposition

Reproduce analytically the paper’s core theorem that the difference between two pricing functions in the Itô SDE / parabolic PDE setting can be written as an expected discounted future P&L bleed, and verify the decomposition of that bleed into model, discounting, and payoff components. This experiment is symbolic/analytic and does not require Monte Carlo simulation or market data.

Analytic Recovery of Historic Special Cases from the General Adjustment Framework

Verify that the paper’s universal adjustment representation reduces exactly to several historical special cases: Gatheral-type volatility misspecification adjustment, Gatheral stochastic-vol extension, Piterbarg discounting adjustment, and Burgard–Kjaer-type CVA adjustment. This experiment is independent and focuses on substitution and reduction of the general formulas to known closed-form representations.

Exact Numerical Reproduction of the CVA Wrong-Way-Risk Meta-Adjustment Identity

Numerically reproduce the paper’s fully specified toy example in Sections 4.4–4.5 for CVA wrong-way risk. Validate the exact meta-adjustment identity hat(U)_0 = U_0 + A_0, where A_0 is computed as the expected discounted future P&L bleed under the target model with stochastic hazard rate and correlation to the underlying stock.

Practical Approximation Reproduction for the CVA Wrong-Way-Risk Meta-Adjustment

Reproduce the paper’s practical meta-adjustment approximation in Section 4.5 for the same toy CVA wrong-way-risk example. This experiment evaluates the quality of the approximation based on the base XVA term structure, day-zero operator action, and measure approximation, including the closed-form specialization reported by the paper.

Variance-Reduction Validation for Meta-Adjustment-Based Estimation of Target CVA

Test the paper’s claim that estimating the target CVA through the decomposition hat(U)_0 = U_0 + A_0 provides significant variance reduction relative to direct simulation of the target CVA. This is a standalone numerical experiment using the same toy wrong-way-risk setup but focusing on estimator efficiency rather than identity verification alone.

Original paperRun QCA on your paper
21​
γ^​2
∂αα​
V
+
ραSγ^​∂Sα​V
Verified exactly
0
Match
0​
~-2.313
-2.3082
+0.0048
Match
0​
)
0
-0.00247
Small; within MC error
Match