← a3a85fedfec1 · a3fcfe29ef7e →
a3c33cc348fb
Expand a two-color framed rectangle to include the cyan marker while preserving frame and interior colors.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(let* ((cyan (first (find-color g 8)))
(cr (first cyan))
(cc (second cyan))
(non-bg (flatmap (lambda (r)
(flatmap (lambda (c)
(let ((v (at g r c)))
(if (and (!= v 0) (!= v 8))
(list (list r c v))
(list))))
(range 0 w)))
(range 0 h)))
(rs (map first non-bg))
(cs (map second non-bg))
(r1 (min-list rs))
(r2 (max-list rs))
(c1 (min-list cs))
(c2 (max-list cs))
(frame-col (at g r1 c1))
(inner-col (let loop
((cells non-bg))
(if (null? cells)
frame-col
(if (!= (third (first cells)) frame-col)
(third (first cells))
(loop (rest cells))))))
(new-r1 (if (< cr r1) cr r1))
(new-r2 (if (> cr r2) cr r2))
(new-c1 (if (< cc c1) cc c1))
(new-c2 (if (> cc c2) cc c2)))
(cellmap g
(r c v)
(cond
((and (>= r new-r1) (<= r new-r2) (>= c new-c1) (<= c new-c2)) (if (or (= r new-r1) (= r new-r2) (= c new-c1) (= c new-c2))
frame-col
inner-col))
(else 0)))))))Provenance
- Generator
- generators/a3c33cc348fb/generator.py
- Notes and decisions
- generators/a3c33cc348fb/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- fc9d54b672dcf95bf69009b7592d5793033df45d073c0c208ad05d4c16c1d478
- Rule hash
- b3185fa9390c
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate a3c33cc348fb --count 1 --seed 20261108 --test 1