← 0a54983176e5 · 0a855288946a →
0a7f0faace31
Crop the first 4-connected glyph whose floor bbox center is inside the bbox of all 7 marks. Connected ordinary glyphs and compound teaching boards distinguish containment, overlap, rounding, scan order, color grouping, connectivity, object masking and fixed-ring shortcuts.
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! (lambda (g)
(let* ((h (rows g))
(w (cols g)))
(begin
(define guide-bb (bbox-of-cells (find-color g 7)))
(define gr0 (first guide-bb))
(define gc0 (second guide-bb))
(define gr1 (third guide-bb))
(define gc1 (fourth guide-bb))
(define glyphs
(filter (lambda (obj)
(and (!= (obj-color obj) 5) (!= (obj-color obj) 7)))
(objects g 5)))
(define selected
(find-first (lambda (obj)
(let ((ctr (obj-center obj)))
(and
(>= (first ctr) gr0)
(<= (first ctr) gr1)
(>= (second ctr) gc0)
(<= (second ctr) gc1))))
glyphs))
(crop-object g selected)))))Provenance
- Generator
- generators/0a7f0faace31/generator.py
- Notes and decisions
- generators/0a7f0faace31/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- c9985a30b4ea46dd497b57229a9c8ffa92e7f866c968afe55495a97a89874862
- Rule hash
- b5a68207c8ed
- Sources
- training
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 0a7f0faace31 --count 1 --seed 20261108 --test 1