← ec23789c7821 · ec5fd031b9e1 →

ec491e97a5d5

Hollow every solid monochrome rectangular component independently, preserving its coloured border and clearing its strict interior to 0.

frameslocalrectanglessame_size

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 (empty-grid (rows g) (cols g) 0)]) ([obj (in-list (objects g 0))])
    (let ((border (append
                   (for/list ([c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1))]) (list (obj-r1 obj) c))
                   (for/list ([c (in-range (obj-c1 obj) (+ (obj-c2 obj) 1))]) (list (obj-r2 obj) c))
                   (for/list ([r (in-range (+ (obj-r1 obj) 1) (obj-r2 obj))]) (list r (obj-c1 obj)))
                   (for/list ([r (in-range (+ (obj-r1 obj) 1) (obj-r2 obj))]) (list r (obj-c2 obj))))))
      (paint-cells out border (obj-color obj)))))

Provenance

Generator
generators/ec491e97a5d5/generator.py
Notes and decisions
generators/ec491e97a5d5/notes.md
Review label
reviewed_safe
Generator SHA-256
f87a59961e2e3393c940120d6ce5e83b8db84a355a2088b969ddfff26697ce36
Rule hash
56f21366dd85
Sources
bank:d7b013a675b4
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate ec491e97a5d5 --count 1 --seed 20261108 --test 1