Skip to content

v1.0.0

Choose a tag to compare

@woozyking woozyking released this 24 Nov 21:31

crc-framework 1.0 is the first stable release of the 1.x interface, for Python (3.11+) and JavaScript/WebAssembly.

python -m pip install --upgrade crc-framework
npm install @climateriskcommons/crc-framework
  • Evidence and laws are separate. A QuantileCurve holds the probabilities and values a source published; a Distribution is a complete probability law. Completing or conditioning a curve is an explicit, recorded step.
  • Direct threshold answers. exceedance, mass and cdf(inclusive=...) answer threshold questions, including at point masses. statistics reports infinite or undefined moments instead of returning a number.
  • Typed fitting. Fits take a specification, and the FitRecord lists every candidate tried and why the winner was chosen.
  • Exact impacts. Damage functions push hazard distributions through exactly, including decreasing and step functions, with typed measurements and units.
  • One contract in Python and JavaScript. Both read the same numerical documents and validate them against the same JSON Schemas.

Upgrading from 0.x: read Changes that alter results first, then the rest of the migration guide.

What's Changed

  • V1 Framework Release by @ChrisHampu in #24
  • 1.0 migration guide by @woozyking in #25
  • Compare packaged numerical fixtures within consumer tolerance by @woozyking in #28
  • Build regular and free-threaded macOS wheels in separate jobs by @woozyking in #29
  • Modernize CI actions and shorten the critical path by @woozyking in #30
  • Per-document outcomes for batched numerical queries; release 1.0.0-alpha.2 by @woozyking in #32

Full Changelog: v0.6.0...v1.0.0