← 26e0ef7cf48b · 26f313fdf812 →

26f02d922ca0

A 0-background grid contains one color-2 source shape and 2-4 isolated candidate shapes in distinct colours from {3,4,5,6}. Candidates are read by top-left position and receive 8 exactly when their normalized mask is the source or its horizontal mirror, otherwise 0. A four-profile schedule anchors the canonical 9x16 six-colour scale while refuting fixed-colour, first-two, exact-only, and fixed-four-output shortcuts.

parametric familycandidate orderingreflection-invariant matchingsymbolic reporting

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 (obj-top-left< a b) (if (= (obj-r1 a) (obj-r1 b)) (< (obj-c1 a) (obj-c1 b)) (< (obj-r1 a) (obj-r1 b)))) (define (offset< a b) (if (= (first a) (first b)) (< (second a) (second b)) (< (first a) (first b)))) (define (find-single grid color) (first (filter (lambda (obj) (= (obj-color obj) color)) (objects grid 0)))) (define (normalize-offsets offsets) (if (empty? offsets) (list) (let* ((r0 (apply min (map first offsets))) (c0 (apply min (map second offsets)))) (sort (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) offsets) offset<)))) (define (relative-offsets obj anchor) (let* ((ar (cond ((= anchor 0) (obj-r1 obj)) ((= anchor 1) (obj-r1 obj)) ((= anchor 2) (obj-r2 obj)) (else (obj-r2 obj)))) (ac (cond ((= anchor 0) (obj-c1 obj)) ((= anchor 1) (obj-c2 obj)) ((= anchor 2) (obj-c1 obj)) (else (obj-c2 obj))))) (sort (map (lambda (p) (list (- (first p) ar) (- (second p) ac))) (obj-cells obj)) offset<))) (define (transform-offsets offsets op) (let* ((nr (normalize-offsets offsets)) (h (+ 1 (apply max (map first nr)))) (w (+ 1 (apply max (map second nr))))) (normalize-offsets (map (lambda (p) (let ((r (first p)) (c (second p))) (cond ((= op 0) (list r c)) ((= op 1) (list r (- w 1 c))) ((= op 2) (list (- h 1 r) c)) ((= op 3) (list c (- h 1 r))) ((= op 4) (list (- h 1 r) (- w 1 c))) (else (list (- w 1 c) r))))) nr)))) (define base (relative-offsets (find-single g 2) 0)) (define sigs (list (transform-offsets base 0) (transform-offsets base 1))) (define cands (sort (filter (lambda (obj) (member (obj-color obj) (list 3 4 5 6))) (objects g 0)) obj-top-left<)) (grid (map (lambda (obj) (if (member (relative-offsets obj 0) sigs) 8 0)) cands))))

Provenance

Generator
generators/26f02d922ca0/generator.py
Notes and decisions
generators/26f02d922ca0/notes.md
Review label
reviewed_safe
Generator SHA-256
9bcae6b6715ce0ca185d67f3ae9e5cb92507af24b30f385eb71251456b175caa
Rule hash
2ec8ce6b9b7f
Sources
bank:40f7bd2c7916
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 26f02d922ca0 --count 1 --seed 20261108 --test 1