← c05faa9b2b85 · c0f52d961a7c →

c0bd45c81959

Fixed 9×10 grid with 6 cells (2×3 macro grid), each cell is 3 rows × 2 cols, separated by all-0 row 4 and all-0 cols 3 + 6 + border. Each cell has a majority color + possible distractor cells. Rule outputs a 4×5 grid: 0-border + each interior position = mode color of corresponding 3×2 cell.

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* ((h (rows g))
                (w (cols g)))
           (let ((mode-block (lambda (r1 c1)
                               (let ((freq (make-hash))
                                     (best 0)
                                     (best-count -1))
                                 (for* ((r (range r1 (+ r1 3))) (c (range c1 (+ c1 2))))
                                       (let ((v (at g r c)))
                                         (when
                                           (!= v 0)
                                           (hash-set! freq v (+ 1 (hash-ref freq v 0))))))
                                 (hash-for-each freq
                                                (lambda (k v)
                                                  (when
                                                    (> v best-count)
                                                    (set! best k)
                                                    (set! best-count v))))
                                 best))))
             (build-grid 4
                         5
                         (r c)
                         (cond
                           ((or (zero? r) (= r 3) (zero? c) (= c 4)) 0)
                           (else (let* ((br (- r 1))
                                        (bc (- c 1))
                                        (block-r1 (+ 1 (* br 4)))
                                        (block-c1 (+ 1 (* bc 3))))
                                   (mode-block block-r1 block-c1)))))))))

Provenance

Generator
generators/c0bd45c81959/generator.py
Notes and decisions
generators/c0bd45c81959/notes.md
Review label
reviewed_safe
Generator SHA-256
11d8db8a64b1535b486cbcae6dcdfbf1f919665d52ba1c04fdc2152f84e9cb17
Rule hash
4de1fc1b1909
Sources
augmented, training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate c0bd45c81959 --count 1 --seed 20261108 --test 1