← 600ed4e5d09c · 6027f42c6c59 →
6027a830c96e
A 10..12 by 14..17 zero-background grid contains two or three exact, disjoint rectangular frames with distinct border colors and nonempty interiors. Exactly one isolated nonzero cell lies outside all frame bounding boxes. Its color uniquely selects a frame; output is the full strict interior of that frame, including any blank rows or columns.
border-color lookupcroppingpanel selection
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 (rect-frame? obj)
(and (>= (obj-h obj) 3)
(>= (obj-w obj) 3)
(= (obj-size obj) (- (* 2 (+ (obj-h obj) (obj-w obj))) 4))))
(define frames (filter rect-frame? (objects g 0)))
(define (inside-any-frame? r c)
(not (eq? (find-first (lambda (fr)
(and (>= r (obj-r1 fr)) (<= r (obj-r2 fr))
(>= c (obj-c1 fr)) (<= c (obj-c2 fr))))
frames)
#f)))
(define selector
(third (first (filter (lambda (cell)
(and (not (= (third cell) 0))
(not (inside-any-frame? (first cell) (second cell)))))
(grid-cells g)))))
(define chosen (first (filter (lambda (fr) (= (obj-color fr) selector)) frames)))
(subgrid g (+ (obj-r1 chosen) 1) (+ (obj-c1 chosen) 1)
(- (obj-r2 chosen) 1) (- (obj-c2 chosen) 1))))Provenance
- Generator
- generators/6027a830c96e/generator.py
- Notes and decisions
- generators/6027a830c96e/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- ebdc95cab58d27d0b8b1ca01b86b5bbc1fba055bbffc23cbf9fbebc5e971ca4a
- Rule hash
- ca56dbdca539
- Sources
- bank:be1bc1d91387
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 6027a830c96e --count 1 --seed 20261108 --test 1