← e58027e9749f · e5d9efdf472c →

e5887c52e323

Place one to six separated red L-triominoes in all orientations, plus optional red non-L and non-red shape distractors. Recolor only each qualifying red L's elbow yellow.

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!
  (reduce (lambda (out obj)
    (if (not (= (obj-color obj) 2)) out
      (let* ((cells (obj-cells obj))
             (rs (map fst cells))
             (cs (map snd cells)))
        (if (or (not (= (length cells) 3)) (= (min-list rs) (max-list rs)) (= (min-list cs) (max-list cs)))
          out
          (let ((elbow (find-first (lambda (p)
            (= (count-where (lambda (q)
                 (= (+ (abs (- (fst p) (fst q))) (abs (- (snd p) (snd q)))) 1))
               cells) 2)) cells)))
            (if elbow (set-cell out (fst elbow) (snd elbow) 4) out))))))
    g (objects g 0)))

Provenance

Generator
generators/e5887c52e323/generator.py
Notes and decisions
generators/e5887c52e323/notes.md
Review label
reviewed_safe
Generator SHA-256
1a3009e5a4dd30c6eecb3b09cc56c6b802a821094cf5c48659a369471df98213
Rule hash
bf76323192ad
Sources
bank:343f662c728a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate e5887c52e323 --count 1 --seed 20261108 --test 1