Riddle_Evaluation_00576224 - arc-community/arc GitHub Wiki
Observations
I observe that there are copies of the source in the target
I observe that the copies are similar but not identical
- Similar means == I don't know at first, but I try several options and the flipLR works
I count how many copies are there, it's a 3 x 3 grid
I observe that every 2nd row of the target super-pattern has the FlipLR applied on the element
I classify this task as "create a pattern with modifier function"
Concepts Used
- comparison
- Search for copies of the object
- Searching for symmetry - rotation
- Searching for symmetry - rotation, flipLR, flipUD
- Guiding pattern to fill, with element sizes of 1x1, 1x2, 2x1, 2x2, e.t.c.
- Operations on odd rows of the guiding pattern
- loop with 2 or 3 actions in it
- Temporary image buffers, and operation on them before copying them out
Plausible distribution shifts
- The size of the input can be other than 2x2
- The repeat count of the pattern can be other than square
- The function that modifies some of the pattern's rows can be different, and can be applied over a different mask
- There could be a different modifier function for each of the row, column, or even each element of the pattern
Solution Approach
Take the source image, register it as a working stamp
reserve a 3x3 pattern grid with element size=2x2 (total of 6x6) in the output
copy the stamp to the 1st row of the target pattern
begin the loop?
apply the flipLR to the working stamp
copy the stamp to the 2nd row of the target pattern
apply the flipLR to the working stamp
copy the pattern to the 3rd row of the target pattern
apply the filipLR to the working stamp
submit
Other notes
This appears to be solvable with a brute force op search of the depth of 4-5-6