← a44e3443619f · a4863798ed70 →

a452b4b4f04a

Zero-background 6..20 grids with 1..3 distinct colors from 1..9, each marked at 2 opposite, 3 arbitrary, or all 4 corners of an area-disjoint bbox at least 3x3. Complete each color's hollow rectangle outline. Canonical single-color three-corner inputs remain a default component.

parametric familyborder drawingbounding boxesrectangle inference

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).

Reference rule (Racket)

(rule!
  (let ((colors (filter (lambda (v) (not (= v 0))) (grid-colors g))))
    (for/fold ([out (empty-grid (rows g) (cols g) 0)]) ([color (in-list colors)])
      (let* ((pts (find-color g color))
             (bb (bbox-of-cells pts)))
        (paint-cells out
                     (filter (lambda (p) (or (= (first p) (first bb)) (= (first p) (third bb))
                                             (= (second p) (second bb)) (= (second p) (fourth bb))))
                             (positions-in-rect (first bb) (second bb) (third bb) (fourth bb)))
                     color)))))

Provenance

Generator
generators/a452b4b4f04a/generator.py
Notes and decisions
generators/a452b4b4f04a/notes.md
Review label
reviewed_safe
Generator SHA-256
fc5965005f4cf72f3c35f78c9b8a5822d41bb63782a05b87052186b4f2c42093
Rule hash
f54dbee03c8b
Sources
bank:0f1ff2289d6f
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate a452b4b4f04a --count 1 --seed 20261108 --test 1