← c7c9b61d5a51 · c8138b7e476c →
c7f337af82e5
Read and clear the top-left control: 1 recolors hollow rectangular 7-frames to 8, while 2 recolors filled 7-rectangles. Generate 2..4 separate objects with both kinds, varied sizes and positions, and larger-solid counterexamples.
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 ((control (cell-at g 0 0)))
(foldl
(lambda (obj acc)
(if (= (obj-color obj) 7)
(let* ((bb (obj-bbox obj))
(r0 (first bb))
(c0 (second bb))
(r1 (third bb))
(c1 (fourth bb))
(cells (obj-cells obj))
(interior (if (and (< (+ r0 1) r1) (< (+ c0 1) c1))
(positions-in-rect (+ r0 1) (+ c0 1) (- r1 1) (- c1 1))
(list)))
(hollow
(any?
(lambda (p)
(and (= (cell-at g (fst p) (snd p)) 0)
(not (member p cells))))
interior)))
(if (or (and (= control 1) hollow)
(and (= control 2) (not hollow)))
(paint-cells acc cells 8)
acc))
acc))
(set-cell g 0 0 0)
(objects g 0))))Provenance
- Generator
- generators/c7f337af82e5/generator.py
- Notes and decisions
- generators/c7f337af82e5/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 435e528f6ba99da6d8f887c71f5c23e187ae20ec3e059240a9e20511fba45f01
- Rule hash
- 4441279127ff
- Sources
- bank:765a70430bc9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c7f337af82e5 --count 1 --seed 20261108 --test 1