← 306f5b5f899c · 312fb4bdff00 →
3108da8bf9e8
Create an 11x11 grid split by zero rows and columns at indices 3 and 7 into nine 3x3 blocks. Every block is filled only with colors 1 and 2, and the nine blocks have distinct color-1 counts chosen from 0..9, so exactly one count is omitted. The transformation moves whole blocks: sort them by ascending color-1 count, place the three smallest left-to-right on the bottom macro-row, the next three on the middle row, and the three largest on the top row. Preserve separators and every block's internal pattern exactly.
parametric family
Generated by the released generator before publication; every output was computed by its Racket reference rule. White outlines mark the cells the rule changed. Lesson check:
refuted: a demonstration contradicts the rival. survived_all: it fits every demonstration and also gives the intended answer, so it cannot mislead here. ambiguous: it fits every demonstration but answers the query differently. Names are as declared by the generator; a declared shortcut is not guaranteed to fit the original pairs (see the paper’s Limitations).
Original task pairs
From the source task; the reference rule must reproduce them.
Reference rule (Racket)
(rule! (lambda (g)
(let* ((cells (for/list ((br (range 0 3)))
(for/list ((bc (range 0 3)))
(list br
bc
(for/sum ((dr (range 0 3)))
(for/sum ((dc (range 0 3)))
(if (= 1 (at g (+ (* br 4) dr) (+ (* bc 4) dc)))
1
0)))))))
(flat (reduce append (list) cells))
(sorted (sort-by flat (lambda (x) (third x))))
(targets (list (list 2 0)
(list 2 1)
(list 2 2)
(list 1 0)
(list 1 1)
(list 1 2)
(list 0 0)
(list 0 1)
(list 0 2))))
(grid-from-fn 11
11
(lambda (r c)
(if (or (= (mod r 4) 3) (= (mod c 4) 3))
0
(let* ((tbr (floor (/ r 4)))
(tbc (floor (/ c 4)))
(idx (find-first (lambda (i)
(and
(= tbr (fst (nth targets i)))
(= tbc (snd (nth targets i)))))
(range 0 9)))
(src (nth sorted idx))
(sbr (fst src))
(sbc (snd src))
(dr (mod r 4))
(dc (mod c 4)))
(at g (+ (* sbr 4) dr) (+ (* sbc 4) dc)))))))))Provenance
- Generator
- generators/3108da8bf9e8/generator.py
- Notes and decisions
- generators/3108da8bf9e8/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4c5d75752ec9c0899595a62b17076b1ed5e5240b3069e2d55b413477469730d3
- Rule hash
- 05977542b8d5
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 3108da8bf9e8 --count 1 --seed 20261108 --test 1