One of the steps for validating pyhf against ROOT is comparing nuisance parameters, which unfortunately involves some translation of the NP names.
To that end, it looks like one of these duplicated lines should be for "shape" systematics.
https://github.com/pyhf/pyhf-validation/blob/master/scripts/compare_nuisance.py#L37-L38
In my specific use case, this did the trick (but not sure how robust this is for other workspaces):
.replace("gamma_shape_", "shape_")
One of the steps for validating pyhf against ROOT is comparing nuisance parameters, which unfortunately involves some translation of the NP names.
To that end, it looks like one of these duplicated lines should be for "shape" systematics.
https://github.com/pyhf/pyhf-validation/blob/master/scripts/compare_nuisance.py#L37-L38
In my specific use case, this did the trick (but not sure how robust this is for other workspaces):
.replace("gamma_shape_", "shape_")