I pushed a new v035 proto version to my proto DRT repo. It now includes the adjusted formulas I posted above, an achromatic response slider in the GUI to change it, and adjusted primaries to improve the SDR/HDR blue match.
The achromatic response slider adjusts how much each LMS channel contributes to the achromatic response. 0 would be equal contribution and 1 is the default from the model. I’ve set it to 1 by default.
The pimaries change the blue hue a tiny amount, but it’s enough to bring the SDR/HDR match closer, based on my testing. It’s not a big change but the match feels better. The blue is a bit darker as a result, which can then be adjusted with the achromatic response slider, if wanted.
Example images follow. v035 proto first image, v034 second image.