← fcac68386147 · fcd2e3748e0e →
fcd1f7b55d3b
On a blank output, fill the axis-aligned bounding rectangle of every nonzero color that occurs exactly twice. Generated pair rectangles are non-overlapping; scheduled slash pairs, 3-4 pair scenes, and one 1- or 3-cell decoy teach what the canonical backslash-only two-pair examples do not distinguish.
corner pairingrectangle inferencesolid fill
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).
Reference rule (Racket)
(rule!
;; alt: the same fold can inline bbox painting directly in the exactly-two branch.
(let ((paint-bbox
(lambda (out color pts)
(let* ((bb (bbox-of-cells pts))
(r0 (first bb)) (c0 (second bb))
(r1 (third bb)) (c1 (fourth bb)))
(paint-cells out (positions-in-rect r0 c0 r1 c1) color)))))
(for/fold ([out (empty-grid h w 0)])
([color (in-list (grid-colors g 0))])
(let ((pts (find-color g color)))
(if (= (length pts) 2)
(paint-bbox out color pts)
out)))))Provenance
- Generator
- generators/fcd1f7b55d3b/generator.py
- Notes and decisions
- generators/fcd1f7b55d3b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 22a8cd0cf6bffcb1e6222a4727065d4bb7b0b672360fec4052042523047bf4a4
- Rule hash
- d0be8e83eb5b
- Sources
- bank:c025e54ed3a2
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate fcd1f7b55d3b --count 1 --seed 20261108 --test 1