← f112ec4615da · f13d23b71bd4 →

f1347e0836ec

Square solid background with one interior dot. Paint color 1 vertically through the dot column, preserving the dot itself. If row == column, extend the top endpoint to the top-right corner and the bottom endpoint to the bottom-left; otherwise extend top-left and bottom-right. Generated lessons break the canonical anti-diagonal, center-column, and background-parity and dot-successor correlations.

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* ((bg (at g 0 0))
                  (dot (find-first (lambda (p) (!= (at g (fst p) (snd p)) bg))
                                   (flatmap (lambda (r)
                                              (map (lambda (c) (cons r c)) (range 0 w)))
                                            (range 0 h))))
                  (dr (fst dot))
                  (dc (snd dot))
                  (anti (= dr dc))
                  (tc-c (if anti (- w 1) 0))
                  (bc-c (if anti 0 (- w 1))))
             (cellmap g
                      (r c v)
                      (let ((v v))
                        (if (!= v bg)
                            v
                            (if (or
                                  (and (= c dc) (< r dr))
                                  (and
                                    (zero? r)
                                    (>= c (min dc tc-c))
                                    (<= c (max dc tc-c)))
                                  (and (= c dc) (> r dr))
                                  (and
                                    (= r (- h 1))
                                    (>= c (min dc bc-c))
                                    (<= c (max dc bc-c))))
                                1
                                v))))))))

Provenance

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