Data.Colour.CIE.Chromaticity:chromaCoords from colour-2.3.3

Specification

?
\[\begin{array}{l} \\ \left(1 - x\right) - y \end{array} \]
(FPCore (x y) :precision binary64 (- (- 1.0 x) y))
double code(double x, double y) {
	return (1.0 - x) - y;
}
real(8) function code(x, y)
    real(8), intent (in) :: x
    real(8), intent (in) :: y
    code = (1.0d0 - x) - y
end function
public static double code(double x, double y) {
	return (1.0 - x) - y;
}
def code(x, y):
	return (1.0 - x) - y
function code(x, y)
	return Float64(Float64(1.0 - x) - y)
end
function tmp = code(x, y)
	tmp = (1.0 - x) - y;
end
code[x_, y_] := N[(N[(1.0 - x), $MachinePrecision] - y), $MachinePrecision]
\begin{array}{l}

\\
\left(1 - x\right) - y
\end{array}

Reproduce

?
herbie shell --seed 2024246 
(FPCore (x y)
  :name "Data.Colour.CIE.Chromaticity:chromaCoords from colour-2.3.3"
  :precision binary64
  (- (- 1.0 x) y))

Please file a bug report with this information.

Backtrace

map: contract violation expected: list? given: '(#s(literal 1 binary64) . #hasheq((errs . (1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1...LC
gen-map/usr/local/racket/collects/racket/private/map.rkt2572
actual-errors/home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt350
generate-timelines/home/nightlies/herbie/zane-concrete-values/src/core/explain.rkt4930
explain!/home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt3220
run-improve!/home/nightlies/herbie/zane-concrete-values/src/core/mainloop.rkt440
get-alternatives/report/home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt1860
(unnamed)/home/nightlies/herbie/zane-concrete-values/src/api/sandbox.rkt2826
(unnamed)/usr/local/racket/share/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/local/racket/share/pkgs/profile-lib/main.rkt90
(unnamed)/usr/local/racket/collects/racket/engine.rkt4224