Hi team, I think the failure renderer for easy/7_color_inversion is showing an incorrect/misleading Expected preview.
For a failed test (width=64, height=64), the output showed:
Expected: [72, 248, 144, 179, 88, ..., 254, 61, 26, 168, 53]
Got: [72, 248, 144, 179, 88, ..., 254, 194, 229, 87, 53]
But for this challenge, RGB should be inverted and alpha unchanged:
194 = 255 - 61
229 = 255 - 26
87 = 255 - 168
53 (alpha) unchanged
So the Got tail appears to follow the spec, while the Expected tail appears non-inverted (like raw input), which is confusing.
Could you check whether the mismatch formatter is:
- printing the wrong buffer under
Expected, or
- mixing/truncating slices incorrectly?
Thanks!

Hi team, I think the failure renderer for
easy/7_color_inversionis showing an incorrect/misleadingExpectedpreview.For a failed test (
width=64,height=64), the output showed:Expected: [72, 248, 144, 179, 88, ..., 254, 61, 26, 168, 53]Got: [72, 248, 144, 179, 88, ..., 254, 194, 229, 87, 53]But for this challenge, RGB should be inverted and alpha unchanged:
194 = 255 - 61229 = 255 - 2687 = 255 - 16853(alpha) unchangedSo the
Gottail appears to follow the spec, while theExpectedtail appears non-inverted (like raw input), which is confusing.Could you check whether the mismatch formatter is:
Expected, orThanks!