← 12b35b7402b6 · 1314f4ccf5cc →
12b9259f7792
0-background grid with 2-4 distinct single-cell markers in colors 1..4 and 2-4 separated color-5 blobs. Recolor each blob to the color of its unique nearest marker under minimum Manhattan cell distance.
parametric family
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 markers (filter (lambda (cell) (and (>= (third cell) 1) (<= (third cell) 4))) (grid-cells g)))
(define (dist m obj)
(apply min
(map (lambda (p)
(+ (abs (- (first p) (first m))) (abs (- (second p) (second m)))))
(obj-cells obj))))
(for/fold ([out g]) ([obj (in-list (filter (lambda (o) (= (obj-color o) 5)) (objects g 0)))])
(let ((best (first (sort markers (lambda (a b) (< (dist a obj) (dist b obj)))))))
(paint-cells out (obj-cells obj) (third best))))))Provenance
- Generator
- generators/12b9259f7792/generator.py
- Notes and decisions
- generators/12b9259f7792/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3cfdae22ae1e6d97b637e5b26dfa95349ec6bf6f24eedade105d9a43af3a1b68
- Rule hash
- 736d3618f968
- Sources
- bank:e57147319d67
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 12b9259f7792 --count 1 --seed 20261108 --test 1