Skip to content

Tier1 build flags - #362

Merged
yellowbean merged 5 commits into
Dec26from
tier1-build-flags
Oct 23, 2026
Merged

yellowbean merged 5 commits into
Dec26from
tier1-build-flags

Conversation

@yellowbean

Copy link
Copy Markdown
Collaborator

No description provided.

- secantSlopes via pattern matching; total for 0/1/n points, no tail
- remove unused top-level initialSlopes (shadowed by local one, zero callers)
- Fritsch-Carlson initial slopes in one pass: first secant, harmonic
  means of adjacent secants, last secant; direct [] / [_] clauses in
  fritschCarlsonSlopes replace the length<2 guard
- adjustSlopes monotonicity filter numerically unchanged
- hermiteTest 3 -> 7: multi-date singleton/empty curves, 4-point node
  reproduction, 3-point interior, pv4 pricing a single-point curve
  against pv2 oracle
- old-vs-new slope equivalence verified exhaustively on 19,530 delta
  sequences; full suite 551/551 pass
- all 17 dead branches were defensive catch-alls or refactor leftovers
  behind exhaustive matches; enumerated constructor counts per site
  (TxnComment 31, PoolSource 13, InterestInfo 7, Bond 3, BondType 8,
  AssetUnion 7, RateAssumption 2, AmortRule 2, single-ctor
  LiqFacility/SrtType)
- DealAction.hs: drop the two dead 'Missing revolving Assumption'
  clauses in performActionWrap, subsumed by the BuyAsset -> BuyAssetFrom
  delegation clause and the Nothing-assumption clause above them
- behavior-preserving: unreachable code only; no exported signature,
  JSON, or reachable-error-message changes
- clean build: 0 x -Woverlapping-patterns (was 17); full suite 551/551
Override cabal's default -O1 for every component. -fllvm is left off because the LLVM toolchain is not part of shell.nix. No behaviour change; all 551 tests pass.
@yellowbean
yellowbean merged commit b9aea35 into Dec26 Oct 23, 2026
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