← 97dd5f3c96b9 · 981730af48bb →
97f17772dd96
A 12-15 by 12-15 black grid contains two or three complete blue (1) rectangular frames, strictly nested with at least one black cell between adjacent outlines. Frames may be concentric or deliberately offset. Keep the blue outlines; for every black cell, count how many frames strictly contain it and paint depth+1 when depth is positive. Cells outside every frame remain black.
parametric familymulti-level fillingnesting depthregion analysis
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 ((dummy 0))
(define (rect-frame? obj)
(and (= (obj-color obj) 1)
(>= (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? r c frame)
(and (> r (obj-r1 frame)) (< r (obj-r2 frame))
(> c (obj-c1 frame)) (< c (obj-c2 frame))))
(grid-from-fn (rows g) (cols g)
(lambda (r c)
(if (= (at g r c) 1)
1
(let ((n (count-where (lambda (frame) (inside? r c frame)) frames)))
(if (> n 0) (+ n 1) 0)))))))Provenance
- Generator
- generators/97f17772dd96/generator.py
- Notes and decisions
- generators/97f17772dd96/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 4b21377c5031784dc214ed7d179d87f37c78f79360ea10a6fff71d84f605fa40
- Rule hash
- 1fab8c098fd0
- Sources
- bank:e06827914c5c
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 97f17772dd96 --count 1 --seed 20261108 --test 1