← 85305305afdf · 85782e8a5dc9 →
857238219e77
On a blank output, convert only interior vertical monochrome runs of exactly length 3 into same-colour horizontal trios centered on the old middle cell; discard short, long, and edge runs.
objectsorientationsame_size
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)) (for/fold ((out (empty-grid (rows g) (cols g) 0))) ((c (in-range (cols g)))) (let loop ((r 0) (acc out)) (if (>= r (rows g)) acc (let ((v (at g r c))) (if (= v 0) (loop (+ r 1) acc) (let ((end (let find-end ((rr r)) (if (and (< rr (rows g)) (= (at g rr c) v)) (find-end (+ rr 1)) rr)))) (loop end (if (and (= (- end r) 3) (> c 0) (< c (- (cols g) 1))) (paint-cells acc (list (list (+ r 1) (- c 1)) (list (+ r 1) c) (list (+ r 1) (+ c 1))) v) acc))))))))))
Provenance
- Generator
- generators/857238219e77/generator.py
- Notes and decisions
- generators/857238219e77/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 313047a5064241054a183f9c4846c3e7078ee9dd70aacf538d191005faf8faa9
- Rule hash
- fc2cfb863af5
- Sources
- bank:cedcb02251c0
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 857238219e77 --count 1 --seed 20261108 --test 1