Skip to content

v0.5.3

Compare
Choose a tag to compare
@matthewfeickert matthewfeickert released this 20 Oct 22:07

This is a patch release from v0.5.2 → v0.5.3.

Fixes

  • Workspaces are now immutable
  • ShapeFactor support added to XML reading and writing
  • An error is raised if a fit initialization parameter is outside of its bounds (preventing hypotest with POI outside of bounds)

Features

Python API

  • Inverting hypothesis tests to get upper limits now has an API with pyhf.infer.intervals.upperlimit
  • Building workspaces from a model and data added with pyhf.workspace.build

CLI API

  • Added CLI API for pyhf.infer.fit: pyhf fit
  • pyhf combine now allows for merging channels: pyhf combine --merge-channels --join <join option>
  • Added utility to download archived pyhf pallets (workspaces + patchsets) to contrib module: pyhf contrib download

Changes

  • chore: Migrate to new way to set environment variables in GHA (#1139)
  • feat: Support ShapeFactor for import/export (#1136)
  • style: Adopt new JAX style of np and jnp (#1135)
  • docs: Add ss3L hepdata likelihood record (#1133)
  • fix: Use JAX v0.2.4+ API (#1134)
  • chore: Add file types for diff to .gitattributes (#1130)
  • fix: Fixed parameter naming for compatibility with ROOT import/export (#1125)
  • fix: Make workspaces immutable (#1132)
  • fix: Logic bug for outer joins of merge channels (#1128)
  • fix: Validate fit initialization parameters (#1126)
  • fix: Use functools.wraps with events.register to render docstrings (#1124)
  • docs: Use sphinx obj scope in docs by default (#1122)
  • feat: Merge channel functionality in pyhf combine (#1088)
  • ci: Make docs separate workflow (#1120)
  • refactor: Migrate contrib download to contrib module (#1119)
  • docs: Add importance of Issues to CONTRIBUTING.md (#1113)
  • refactor: Rename paramset.fixed to paramset.suggested_fixed (#1110)
  • feat: Add pyhf.workspace.build (#1101)
  • fix: Import all infer submodules (#1104)
  • docs: Use 1Lbb DOI in contrib download docstring (#1109)
  • fix: Remove improper defaults for contrib download (#1105)
  • docs: Add JSON example to README (#1102)
  • docs: Add CodeMeta JSON-LD Context File (#1091)
  • feat: Add API to download likelihood patchset archives (#1046)
  • fix: Avoid deprecation warnings due to invalid escape sequences (#1047)
  • docs: Add contributors to website (#1095)
  • docs: Remove fixed parameters caveat for TRexFitter in babel (#1093)
  • feat: Add test inversion / interval inference API (#953)
  • ci: Add code scanning CodeQL workflow (#1085)
  • test: Ensure continuous approximation of Poisson implemented (#1084)
  • chore: Migrate from bumpversion to bump2version (#1083)
  • docs: Add citations from 2019 and 2020 papers (#1081)
  • docs: Add information on announcement mailing list (#1079)
  • ci: Add workflow for nightly tests of notebooks (#1078)
  • ci: Add workflow dispatch support (#1076)
  • chore: Update GitHub Action releases and Python runtimes in CI (#1074)
  • ci: Add nightly tests using HEAD of dependencies (#1071)
  • fix: Restrict iminuit to v1.4.X releases (#1070)
  • chore: Migrate from pep517 to python-build (#1066)
  • refactor: Remove unused fixtures, refactor validation tests (#1063)
  • feat: Add fit to infer CLI API (#1060)
  • feat: Add erf and erfinv to tensorlib (#1061)
  • feat: Bump to modern pytest (6.0+) (#1049)