← 97c9b7818f99 · 97dd5f3c96b9 →

97d3714964b0

A 7-14 by 9-14 zero-background grid contains one or two hollow color-7 rectangular frames and one or two solid color-7 rectangles, separated by blank rows/columns. At least one hollow/solid pair has the same bbox dimensions. Recolor each 7-component independently: a bbox with an empty interior cell becomes yellow (4); a fully filled bbox becomes red (2).

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!
  (foldl
    (lambda (obj acc)
      (if (= (obj-color obj) 7)
          (let* ((bb (obj-bbox obj))
                 (r0 (first bb))
                 (c0 (second bb))
                 (r1 (third bb))
                 (c1 (fourth bb))
                 (cells (obj-cells obj))
                 (interior (if (and (< (+ r0 1) r1) (< (+ c0 1) c1))
                               (positions-in-rect (+ r0 1) (+ c0 1) (- r1 1) (- c1 1))
                               (list)))
                 (hollow
                   (any?
                     (lambda (p)
                       (and (= (cell-at g (fst p) (snd p)) 0)
                            (not (member p cells))))
                     interior)))
            (paint-cells acc cells (if hollow 4 2)))
          acc))
    g
    (objects g 0)))

Provenance

Generator
generators/97d3714964b0/generator.py
Notes and decisions
generators/97d3714964b0/notes.md
Review label
reviewed_safe
Generator SHA-256
7103c5f54a2596c16c7e68f5c1d113fad4aff0dd32259e5cf68cf8db0e2a9363
Rule hash
3c6d01646411
Sources
bank:765a70430bc9
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 97d3714964b0 --count 1 --seed 20261108 --test 1