The website gives an example:<p><pre><code> {
"train": [
{"input": [[1, 0], [0, 0]], "output": [[1, 1], [1, 1]]},
{"input": [[0, 0], [4, 0]], "output": [[4, 4], [4, 4]]},
{"input": [[0, 0], [6, 0]], "output": [[6, 6], [6, 6]]}
],
"test": [
{"input": [[0, 0], [0, 8]], "output": [[8, 8], [8, 8]]}
]
}
</code></pre>
But why restrict yourself to JSON that codes for 2-d coloured grids? Why not also allow:<p><pre><code> {
"train": [
{"input": [[1, 0], [0, 0]], "output": 1},
{"input": [[0, 0], [4, 0]], "output": 4},
{"input": [[0, 0], [6, 0]], "output": 6}
]
}
</code></pre>
Where the rule might be to output the biggest number in the input, or add them up (and the solver has to work out which).