← db98b701e5bb · dbee38495261 →

dbecc530afd0

One or two corner-disjoint yellow rectangles, optionally with up to three isolated yellow distractors; fill every strict rectangle interior red. A four-slot schedule alternates canonical anchors and interleaved-row counterexamples to the adjacent-row-pair shortcut.

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* ((yellows (find-color g 4))
                  (rs (sort (remove-duplicates (map first yellows)) <))
                  (cs (sort (remove-duplicates (map second yellows)) <))
                  (rectangles (filter (lambda (rec) rec)
                                      (flatmap (lambda (r1)
                                                 (flatmap (lambda (r2)
                                                            (flatmap (lambda (c1)
                                                                       (map (lambda (c2)
                                                                              (and
                                                                                (and
                                                                                  (< r1
                                                                                     r2)
                                                                                  (< c1
                                                                                     c2)
                                                                                  (member (list r1
                                                                                                c1)
                                                                                          yellows)
                                                                                  (member (list r1
                                                                                                c2)
                                                                                          yellows)
                                                                                  (member (list r2
                                                                                                c1)
                                                                                          yellows)
                                                                                  (member (list r2
                                                                                                c2)
                                                                                          yellows))
                                                                                (list r1
                                                                                      c1
                                                                                      r2
                                                                                      c2)))
                                                                            cs))
                                                                     cs))
                                                          rs))
                                               rs))))
             (foldl (lambda (rec acc)
                      (let ((r1 (first rec))
                            (c1 (second rec))
                            (r2 (third rec))
                            (c2 (fourth rec)))
                        (cellmap g
                                 (r c v)
                                 (cond
                                   ((and (> r r1) (< r r2) (> c c1) (< c c2)) 2)
                                   (else (at acc r c))))))
                    g
                    rectangles)))))

Provenance

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