← 64bd7bc767bb · 659980b6f715 →
65084a735199
Bind each gray hollow frame to its interior marker, recolor the border, and clear the marker.
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!
(foldl
(lambda (obj acc)
(if (= (obj-color obj) 5)
(let* ((bb (obj-bbox obj))
(r0 (first bb))
(c0 (second bb))
(r1 (third bb))
(c1 (fourth bb))
(markers
(filter
(lambda (p)
(let ((v (cell-at g (fst p) (snd p))))
(and (not (= v 0)) (not (= v 5)))))
(positions-in-rect (+ r0 1) (+ c0 1) (- r1 1) (- c1 1)))))
(if (= (length markers) 1)
(let* ((marker (first markers))
(color (cell-at g (fst marker) (snd marker))))
(set-cell (paint-cells acc (obj-cells obj) color) (fst marker) (snd marker) 0))
acc))
acc))
g
(objects g 0)))Provenance
- Generator
- generators/65084a735199/generator.py
- Notes and decisions
- generators/65084a735199/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- d27ce873624ad8e341ed8669131878c03f9203fead97cbac8c74bf1319258081
- Rule hash
- ec22312565dc
- Sources
- bank:765a70430bc9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 65084a735199 --count 1 --seed 20261108 --test 1