← 5bba6e671cec · 5c0bcc9d1b8b →

5bcc776c32fb

Find each color-1 object that is a single horizontal row of odd length at least 3, recolor exactly its middle cell to 2, and preserve every other object and cell.

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!
  (for/fold ([out g]) ([obj (filter (lambda (o) (= (obj-color o) 1)) (objects g 0))])
    (if (and (= (obj-h obj) 1) (>= (obj-size obj) 3) (= (remainder (obj-size obj) 2) 1))
        (let ((mid (quotient (+ (obj-c1 obj) (obj-c2 obj)) 2)))
          (set-cell out (obj-r1 obj) mid 2))
        out)))

Provenance

Generator
generators/5bcc776c32fb/generator.py
Notes and decisions
generators/5bcc776c32fb/notes.md
Review label
reviewed_safe
Generator SHA-256
3aa97adf5be5f529c2ef3f451002e8622e4cefb9b45180dec005691e17b0ae90
Rule hash
51414a828017
Sources
bank:b18129f611a9
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 5bcc776c32fb --count 1 --seed 20261108 --test 1