← 4dd7720cba5f · 4e05481a2c21 →

4de2bae05c7d

On a black background, recolor only yellow (4) components that are exact three-cell 2x2 L-triominoes to blue (1). Yellow non-L components and same-shaped L-triominoes in other colors remain unchanged.

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!
  (let ((dummy 0))
    (define (cell<? a b)
      (or (< (first a) (first b))
          (and (= (first a) (first b)) (< (second a) (second b)))))
    (define forms
      (list (list (list 0 0) (list 1 0) (list 1 1))
            (list (list 0 1) (list 1 0) (list 1 1))
            (list (list 0 0) (list 0 1) (list 1 0))
            (list (list 0 0) (list 0 1) (list 1 1))))
    (for/fold ([out g]) ([obj (filter (lambda (o) (= (obj-color o) 4)) (objects g 0))])
      (let ((n (sort (normalize-cells (obj-cells obj)) cell<?)))
        (if (and (= (obj-size obj) 3) (member? n forms))
            (paint-cells out (obj-cells obj) 1)
            out)))))

Provenance

Generator
generators/4de2bae05c7d/generator.py
Notes and decisions
generators/4de2bae05c7d/notes.md
Review label
reviewed_safe
Generator SHA-256
92f394ad05fa719e54c2fcb9f6c4afd152b79f1949a252714e89e4729d33e8fb
Rule hash
12b3f52c8e05
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 4de2bae05c7d --count 1 --seed 20261108 --test 1