← a20ecf84f041 · a286b2610efc →

a23328d45092

A full row and column of 1s split the input into four quadrants. Overlay aligned quadrant cells with zero transparent and priority TL, then TR, then BL, then BR.

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* ((sep-r (find-first (lambda (r)
                                       (all? (lambda (c) (= 1 (at g r c))) (range 0 w)))
                                     (range 0 h)))
                  (sep-c (find-first (lambda (c)
                                       (all? (lambda (r) (= 1 (at g r c))) (range 0 h)))
                                     (range 0 w)))
                  (qh sep-r)
                  (qw sep-c))
             (build-grid qh
                         qw
                         (r c)
                         (let ((tl (at g r c))
                               (tr (at g r (+ sep-c 1 c)))
                               (bl (at g (+ sep-r 1 r) c))
                               (br (at g (+ sep-r 1 r) (+ sep-c 1 c))))
                           (cond
                             ((!= 0 tl) tl)
                             ((!= 0 tr) tr)
                             ((!= 0 bl) bl)
                             ((!= 0 br) br)
                             (else 0))))))))

Provenance

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