assert eq with epsilon produces confusing error messages when units differ
assert eq with epsilon produces confusing error messages when units differ: a task in LegoFlow-SWE (Harbor dataset). When using the three‑argument form assert eq(lhs, rhs, epsilon) and the assertion fails, the error message prints the left‑hand and right‑hand sides in whatever unit they were…
The task
When using the three‑argument form `assert_eq(lhs, rhs, epsilon)` and the assertion fails, the error message prints the left‑hand and right‑hand sides in whatever unit they were originally given. If the two values use different units (or a unit that differs from the epsilon) the user cannot easily tell how far apart…
Part of Lego-X/LegoFlow-SWE.