← 2786bc764238 · 27b865c5f43a →
27a915a2c9b3
Place red marker cells inside two or three separate filled green rectangles, together with red background distractors. Paint a clipped 3x3 blue halo around each inside marker while preserving every inside red marker; outside red cells have no marking role.
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! (lambda (g) (let* ((h (rows g)) (w (cols g))) (let* ((three-objs (filter (lambda (o) (= (obj-color o) 3)) (objects g 0))) (interior-2s (apply append (map (lambda (o) (with-bbox o (r1 c1 r2 c2) (let* ((valid (for/and ((r (range r1 (+ r2 1)))) (for/and ((c (range c1 (+ c2 1)))) (let ((v (at g r c))) (or (= v 3) (= v 2))))))) (if valid (for*/list ((r (range r1 (+ r2 1))) (c (range c1 (+ c2 1))) #:when (= (at g r c) 2)) (list r c)) ' ())))) three-objs))) (interior-set (make-hash)) (_1 (for ((p interior-2s)) (hash-set! interior-set (list (first p) (second p)) #t)))) (for/fold ((out g)) ((p interior-2s)) (let ((pr (first p)) (pc (second p))) (for*/fold ((gg out)) ((dr (in-list ' (-1 0 1))) (dc (in-list ' (-1 0 1)))) (let ((r (+ pr dr)) (c (+ pc dc))) (cond ((or (< r 0) (>= r h) (< c 0) (>= c w)) gg) ((hash-has-key? interior-set (list r c)) gg) (else (set-cell gg r c 1)))))))))))
Provenance
- Generator
- generators/27a915a2c9b3/generator.py
- Notes and decisions
- generators/27a915a2c9b3/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 9993d1beffeb7ec2f4ac71f7f1c05b9256e2cf47130b4529ad1d83c306e5a765
- Rule hash
- 043982b4cb5e
- Sources
- augmented, training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 27a915a2c9b3 --count 1 --seed 20261108 --test 1