← 93ca517eac25 · 93e709ad4848 →

93cbf6ceadf6

Place exactly three separated objects: two translation-identical shapes and one different shape with matched area and bounding box. The rule returns the uniquely shaped object cropped in its original color.

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 (f14-same-cells? a b) (and (= (length a) (length b)) (all? (lambda (p) (member? p b)) a))) (define (t10-norm-cells cells) (let* ((bb (bbox-of-cells cells)) (r0 (first bb)) (c0 (second bb)) (r1 (third bb)) (c1 (fourth bb))) (list (map (lambda (p) (list (- (first p) r0) (- (second p) c0))) cells) (+ 1 (- r1 r0)) (+ 1 (- c1 c0)) r0 c0))) (define (t3-component-items grid) (map (lambda (obj) (let* ((info (t10-norm-cells (obj-cells obj))) (offs (first info)) (sh (second info)) (sw (third info)) (bb (obj-bbox obj))) (list (obj-color obj) offs sh sw (first bb) (second bb) obj))) (objects grid 0))) (let* ((items (t3-component-items g)) (odd (first (filter (lambda (item) (= (count-where (lambda (other) (and (= (third item) (third other)) (= (fourth item) (fourth other)) (f14-same-cells? (second item) (second other)))) items) 1)) items))) (color (first odd)) (offs (second odd)) (sh (third odd)) (sw (fourth odd))) (paint-cells (empty-grid sh sw 0) offs color))))

Provenance

Generator
generators/93cbf6ceadf6/generator.py
Notes and decisions
generators/93cbf6ceadf6/notes.md
Review label
reviewed_safe
Generator SHA-256
9c41cab15ec8a41af3badb1c4bc392a1fb3cb78cef3de7fc686920d56621e155
Rule hash
57c6ed2ab6dc
Sources
bank:66491d778d88
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 93cbf6ceadf6 --count 1 --seed 20261108 --test 1