Diagrams.Color.HSV:lerp from diagrams-contrib-1.3.0.5

Specification

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

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

Reproduce

?
herbie shell --seed 2023339 
(FPCore (x y z)
  :name "Diagrams.Color.HSV:lerp  from diagrams-contrib-1.3.0.5"
  :precision binary64

  :herbie-target
  (- y (* x (- y z)))

  (+ (* (- 1.0 x) y) (* x z)))

Please file a bug report with this information.

Backtrace

pcontext-points: contract violation expected: pcontext? given: '()LC
pcontext-pointsunknown
batch-errors/home/nightlies/herbie/preprocess-per-alternate/src/points.rkt770
get-alternatives/report/home/nightlies/herbie/preprocess-per-alternate/src/sandbox.rkt1490
(unnamed)/home/nightlies/herbie/preprocess-per-alternate/src/sandbox.rkt2566
(unnamed)/usr/share/racket/pkgs/profile-lib/main.rkt4010
profile-thunk/usr/share/racket/pkgs/profile-lib/main.rkt90
(unnamed)/usr/share/racket/collects/racket/engine.rkt4224