← ce3c6d414140 · ce99418cc163 →
ce40117f40f9
A 6-30 by 6-30 zero-background grid contains exactly one monochrome, 4-connected blob of 2-6 cells and exactly one color-9 marker. Crop the blob to its tight bounding box, clear the canvas, and paste the crop with its top-left corner at the marker. Marker direction varies across all four diagonal quadrants.
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 (s6-component-grid grid cells) (let ((bb (bbox-of-cells cells))) (grid-from-fn (+ 1 (- (third bb) (first bb))) (+ 1 (- (fourth bb) (second bb))) (lambda (r c) (let ((rr (+ (first bb) r)) (cc (+ (second bb) c))) (if (member? (list rr cc) cells) (at grid rr cc) 0)))))) (define (s6b-component-crop grid cells) (s6-component-grid grid cells)) (define (t13-paste-all out obj top left) (for*/fold ((acc out)) ((r (in-range (rows obj))) (c (in-range (cols obj)))) (let ((v (at obj r c)) (rr (+ top r)) (cc (+ left c))) (if (and (not (= v 0)) (in-bounds? rr cc (rows acc) (cols acc))) (set-cell acc rr cc v) acc)))) (let* ((marker (first (find-color g 9))) (cells (filter (lambda (p) (let ((v (at g (first p) (second p)))) (and (not (= v 0)) (not (= v 9))))) (grid-positions g)))) (if (or (empty? cells) (not marker)) g (t13-paste-all (empty-grid (rows g) (cols g) 0) (s6b-component-crop g cells) (first marker) (second marker))))))
Provenance
- Generator
- generators/ce40117f40f9/generator.py
- Notes and decisions
- generators/ce40117f40f9/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4543a7362aa88a6bd5977ad2de79e781b2e0599334a832c627d43ce12ebd4728
- Rule hash
- 28f814e6d694
- Sources
- bank:05283c9df3d9
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate ce40117f40f9 --count 1 --seed 20261108 --test 1