← a2d9d069c7d5 · a2e841db66ad →
a2e752ad6948
Two separated 4-6 cell rectangular frames, each with one differently colored interior marker. Fill every interior with a top-left-anchored checkerboard using that frame's local marker and border colors.
checkerboard fillframe detectionlocal phase
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 (rect-frame? obj)
(and (>= (obj-h obj) 3)
(>= (obj-w obj) 3)
(= (obj-size obj) (- (* 2 (+ (obj-h obj) (obj-w obj))) 4))))
(define (marker-color frame)
(let ((vals
(filter (lambda (v) (and (not (= v 0)) (not (= v (obj-color frame)))))
(for*/list ([r (in-range (+ (obj-r1 frame) 1) (obj-r2 frame))]
[c (in-range (+ (obj-c1 frame) 1) (obj-c2 frame))])
(at g r c)))))
(if (empty? vals) 1 (first vals))))
(for/fold ([out g]) ([frame (in-list (filter rect-frame? (objects g 0)))])
(let ((marker (marker-color frame)) (border (obj-color frame)))
(for*/fold ([acc out])
([r (in-range (+ (obj-r1 frame) 1) (obj-r2 frame))]
[c (in-range (+ (obj-c1 frame) 1) (obj-c2 frame))])
(set-cell acc r c
(if (= (modulo (+ (- r (+ (obj-r1 frame) 1))
(- c (+ (obj-c1 frame) 1))) 2) 0)
marker
border)))))))Provenance
- Generator
- generators/a2e752ad6948/generator.py
- Notes and decisions
- generators/a2e752ad6948/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 7449bbd641263736246fab96a870367355390e48e6ab392a3a75ad014eecbc34
- Rule hash
- 39fb0a2b12e8
- Sources
- bank:be1bc1d91387
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate a2e752ad6948 --count 1 --seed 20261108 --test 1