🧠 NeMo's Reasoning (from examples, no text)
▸ Input: [[0,3,0],[3,7,3]] → Output: [[0,7,0],[7,3,7]]
▸ Perceive: same size, some pixels changed
▸ Compare: 3→7 and 7→3 consistently across all pairs
✓ Hypothesis: color mapping {3:7, 7:3}
✓ Verified on all training examples
★ Generated working code from I/O examples alone
# NeMo generated this from examples
# No problem text — pure perception
def solve(grid):
import numpy as np
mapping = {3: 7, 7: 3}
g = np.array(grid)
out = g.copy()
for old, new in mapping.items():
out[np.array(grid) == old] = new
return out.tolist()
# Test: [3,3,7] → [7,7,3] ✓