← 8291f3ee7e54 · 82b36c453029 →

82b2be9b4f4e

A bottom-left key selects the largest of one or two isolated matching-color objects. Crop that object's pure bounding box and upscale it 2x. Two or three differently colored distractor objects vary independently; a four-slot schedule with two discriminator slots keeps every three-demo lesson identifiable even under cyclic query rotation.

component extractionkeyed selectionscale doubling

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 (e8b-list< a b) (cond ((empty? a) #f) ((< (first a) (first b)) #t) ((> (first a) (first b)) #f) (else (e8b-list< (rest a) (rest b))))) (define (e8b-list> a b) (e8b-list< b a)) (define (e8b-crop-obj grid obj) (let ((bb (obj-bbox obj))) (subgrid grid (first bb) (second bb) (third bb) (fourth bb)))) (define (e15b-color-objs grid color) (filter (lambda (obj) (= (obj-color obj) color)) (objects grid 0))) (let* ((key (at g (- (rows g) 1) 0)) (work (set-cell g (- (rows g) 1) 0 0)) (target (first (sort (e15b-color-objs work key) (lambda (a b) (let ((ba (obj-bbox a)) (bb (obj-bbox b))) (e8b-list> (list (obj-size a) (- (first ba)) (- (second ba))) (list (obj-size b) (- (first bb)) (- (second bb)))))))))) (upscale (e8b-crop-obj work target) 2))))

Provenance

Generator
generators/82b2be9b4f4e/generator.py
Notes and decisions
generators/82b2be9b4f4e/notes.md
Review label
reviewed_safe
Generator SHA-256
31fbbaca003a4ae974746c74ae007a02fa6dbef7ef9592f13c5b3a159ac8fd8a
Rule hash
eff131529ace
Sources
bank:392b6b954bfd
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 82b2be9b4f4e --count 1 --seed 20261108 --test 1