← 8d7d1364cf11 · 8dafcfb1101f →

8dac9e436a4c

A 0-background grid contains one or two hollow color-6 rectangular frames and one or two filled color-6 rectangular distractors, all as separate components, plus a short non-6 decoration. Fill the strict interior of every hollow frame with color 8; leave filled rectangles unchanged. Canonical-size profiles are sampled densely, frame aspect and scale vary constructively, and all declared numeric controls are exact.

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!
  (let ((dummy 0))
    (define (rect-border r0 c0 r1 c1)
      (filter (lambda (p) (or (= (first p) r0) (= (first p) r1) (= (second p) c0) (= (second p) c1)))
              (positions-in-rect r0 c0 r1 c1)))
    (define (same-cells? a b)
      (and (= (length a) (length b)) (all? (lambda (p) (member? p b)) a)))
    (let ((frames (filter (lambda (o) (= (obj-color o) 6)) (objects g 0))))
      (for/fold ([out g]) ([obj frames])
        (let* ((bb (obj-bbox obj))
               (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))
               (border (rect-border r0 c0 r1 c1)))
          (if (same-cells? (obj-cells obj) border)
              (paint-cells out (positions-in-rect (+ r0 1) (+ c0 1) (- r1 1) (- c1 1)) 8)
              out))))))

Provenance

Generator
generators/8dac9e436a4c/generator.py
Notes and decisions
generators/8dac9e436a4c/notes.md
Review label
reviewed_safe
Generator SHA-256
9498e7a7b0517f4d7a440ea744d75300b260c0f2655e0be8ba1e168a7a984969
Rule hash
1ee9a2a0fa3f
Sources
bank:343f662c728a
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8dac9e436a4c --count 1 --seed 20261108 --test 1