← 1409f5f7af2e · 144582f287b5 →

142a3a64b02a

Generate a sparse 0-background grid with one isolated straight red (2) component, one isolated non-straight red tree, and a one- or two-cell non-red decoy. Recolor only the two extrema of each red component whose whole 4-connected object is horizontal or vertical; leave every non-straight red component and every non-red object unchanged. A three-step schedule cycles T, L, and stair-shaped negative witnesses.

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!
  (reduce (lambda (out obj)
    (if (not (= (obj-color obj) 2)) out
      (let* ((cells (obj-cells obj))
             (rs (map fst cells))
             (cs (map snd cells))
             (r0 (min-list rs))
             (r1 (max-list rs))
             (c0 (min-list cs))
             (c1 (max-list cs)))
        (cond
          ((= r0 r1) (set-cell (set-cell out r0 c0 4) r0 c1 4))
          ((= c0 c1) (set-cell (set-cell out r0 c0 4) r1 c0 4))
          (else out)))))
    g (objects g 0)))

Provenance

Generator
generators/142a3a64b02a/generator.py
Notes and decisions
generators/142a3a64b02a/notes.md
Review label
reviewed_safe
Generator SHA-256
9a70d3d7b963e449a97efc672a7af6e906615a2739d66151e27576cf9138c9e2
Rule hash
ffb5719ce1e2
Sources
bank:8edfaf6db623
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 142a3a64b02a --count 1 --seed 20261108 --test 1