← 2d2455d1008d · 2d4e8c8fa10e →

2d2b102b7740

2-5 equally spaced blue cells; continue their row-major step with red cells.

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* ((h (rows g))
                (w (cols g))
                (blues (sort-by (find-color g 1) (lambda (p) (fst p))))
                (p0 (first blues))
                (p1 (second blues))
                (dr (- (fst p1) (fst p0)))
                (dc (- (snd p1) (snd p0)))
                (last-blue (nth blues (- (length blues) 1)))
                (lr (fst last-blue))
                (lc (snd last-blue)))
           (reduce (lambda (grid i)
                     (let* ((nr (+ lr (* (+ i 1) dr)))
                            (nc (+ lc (* (+ i 1) dc))))
                       (if (and (>= nr 0) (< nr h) (>= nc 0) (< nc w))
                           (set-cell grid nr nc 2)
                           grid)))
                   g
                   (range 0 20)))))

Provenance

Generator
generators/2d2b102b7740/generator.py
Notes and decisions
generators/2d2b102b7740/notes.md
Review label
reviewed_safe
Generator SHA-256
47d83413e7bc5176995118cec0d5c98a2ad973651513346ebc74a66d54ec848c
Rule hash
8db0d36e6e45
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 2d2b102b7740 --count 1 --seed 20261108 --test 1