Vivarium · Layer 1 · Pyodide

Reproducing numpy/numpy#28287

NumPy's timedelta64 ordering is non-transitive when one of the values uses the generic unit. With x = 1 ms, y = 2 (generic), and z = 5 ns, NumPy reports x < y and y < z but x > z — a transitivity violation in a built-in comparison operator.

Verdict

Loading Pyodide runtime…

Reproduction script

Output

(running)