Transferring some information and ideas from a developer chat with @kratsg:
pyhf-validation spec.json
that will run pyhf cls over spec.json and additionally runs json2xml+hist2workspace+run_single.py on the resulting ROOT workspace from the HistFactory side.
delta, pyhf_out, hifa_out = pyhf-validation.run_validation("spec.json")
Transferring some information and ideas from a developer chat with @kratsg:
that will run
pyhf clsoverspec.jsonand additionally runsjson2xml+hist2workspace+run_single.pyon the resulting ROOT workspace from the HistFactory side.try import ROOT; except foo)