style: apply gofmt
CD / Lint / Test / Vet (push) Successful in 5s

Estate-wide consolidation pass. golangci-lint v2 default set enables NO
formatter, so gofmt drift accumulated silently across the estate -- 8 repos
were carrying it, this one included. Same hole that let two files rot in
dma-cli until they were found by hand (dma-cli#12).

Mechanical and deterministic: `gofmt -w`, nothing hand-edited. Verified
before commit -- gofmt -l now reports 0, go build and go vet both pass.

Clears this repo to adopt the canonical .golangci.yml (infra
ci-templates/golangci.yml, infra#309 pattern) in a later wave.
This commit is contained in:
2026-09-05 12:40:35 +02:00
parent c7c182fb4d
commit 73698814e8
+1
View File
@@ -8,6 +8,7 @@ import "math"
// breach_t = actualVol[t] > VaR_99_t (strict inequality) // breach_t = actualVol[t] > VaR_99_t (strict inequality)
// breachRate = fraction of breaches over all steps // breachRate = fraction of breaches over all steps
// kupiecP = Kupiec POF p-value: P(chi²(1) > LR) where LR is the likelihood ratio // kupiecP = Kupiec POF p-value: P(chi²(1) > LR) where LR is the likelihood ratio
//
// testing H0: true breach probability = 1%. High p = well-calibrated. // testing H0: true breach probability = 1%. High p = well-calibrated.
// //
// Returns (0, 1) for empty or mismatched input. // Returns (0, 1) for empty or mismatched input.