← 51c5df6650a9 · 51db77fe24c5 →
51cb5336f078
One connected monochrome object on zero background; replace it with its tight bounding-box outline in the original color, erasing its interior. Vary canvas, color, occupancy, shape and position. Alternate bent-interior teaching witnesses with unconstrained nonidentity motifs.
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 ((dummy 0)) (define (paint grid cells color) (for/fold ((out grid)) ((p (in-list cells))) (if (in-bounds? (first p) (second p) (rows out) (cols out)) (set-cell out (first p) (second p) color) out))) (define (nonzero-cells grid) (filter (lambda (p) (not (= (at grid (first p) (second p)) 0))) (grid-positions grid))) (let* ((cells (nonzero-cells g)) (bb (bbox-of-cells cells)) (color (at g (first (first cells)) (second (first cells)))) (edge (remove-duplicates (append (map (lambda (c) (list (first bb) c)) (range (second bb) (+ (fourth bb) 1))) (map (lambda (c) (list (third bb) c)) (range (second bb) (+ (fourth bb) 1))) (map (lambda (r) (list r (second bb))) (range (first bb) (+ (third bb) 1))) (map (lambda (r) (list r (fourth bb))) (range (first bb) (+ (third bb) 1))))))) (paint (empty-grid (rows g) (cols g) 0) edge color))))
Provenance
- Generator
- generators/51cb5336f078/generator.py
- Notes and decisions
- generators/51cb5336f078/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ace5571d3576ca3cbcbd5255b9ec5c8abcd4bf6911b7f1161e3d362e2da4142e
- Rule hash
- 2bb5c38e3f24
- Sources
- bank:c0e651d407f3
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 51cb5336f078 --count 1 --seed 20261108 --test 1