← 8c73e339d80e · 8c82d72dafe9 →

8c7daa3d3cef

A black grid contains exactly two one-cell rectangular frames: a yellow (4) outer frame and a blue (1) inner frame separated uniformly by one or two blank cells. Fill the annulus inside the outer frame but outside the inner frame's bounding box with cyan (8), preserving both frames and the empty interior of the inner frame.

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* ((outer (first (sort (filter (lambda (o) (= (obj-color o) 4)) (objects g 0))
                             (lambda (a b) (> (obj-size a) (obj-size b))))))
         (inner (first (sort (filter (lambda (o) (= (obj-color o) 1)) (objects g 0))
                             (lambda (a b) (> (obj-size a) (obj-size b))))))
         (ob (obj-bbox outer))
         (ib (obj-bbox inner))
         (cells (filter (lambda (p)
                          (not (and (>= (first p) (first ib)) (<= (first p) (third ib))
                                    (>= (second p) (second ib)) (<= (second p) (fourth ib)))))
                        (positions-in-rect (+ (first ob) 1) (+ (second ob) 1) (- (third ob) 1) (- (fourth ob) 1)))))
    (paint-cells g cells 8)))

Provenance

Generator
generators/8c7daa3d3cef/generator.py
Notes and decisions
generators/8c7daa3d3cef/notes.md
Review label
reviewed_safe
Generator SHA-256
9f7321e85aff1c4ab7083926e28f23b1bafbb4218de886bc4d5c8934f0b55e4f
Rule hash
af62226587e1
Sources
bank:2f7d84161f6a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8c7daa3d3cef --count 1 --seed 20261108 --test 1