← 4d0f228177b0 · 4d5bb3c0250b →
4d3c5600ffbd
Recolor yellow components touching exactly two distinct borders to cyan; retain yellow components touching zero, one, three, or four borders.
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 ((h (rows g)) (w (cols g)))
(define (side-count obj)
(+ (if (= (obj-r1 obj) 0) 1 0)
(if (= (obj-r2 obj) (- h 1)) 1 0)
(if (= (obj-c1 obj) 0) 1 0)
(if (= (obj-c2 obj) (- w 1)) 1 0)))
(for/fold ([out g]) ([obj (filter (lambda (o) (and (= (obj-color o) 4) (= (side-count o) 2))) (objects g 0))])
(paint-cells out (obj-cells obj) 8))))Provenance
- Generator
- generators/4d3c5600ffbd/generator.py
- Notes and decisions
- generators/4d3c5600ffbd/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 5360812c71c015b1e3befd367bbdaf769e65473648b0ebdc674cd598385927c6
- Rule hash
- af5bd9f68ba9
- Sources
- bank:38166e88069b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 4d3c5600ffbd --count 1 --seed 20261108 --test 1