← 95f82d34a755 · 95fb3503a9be →
95f849a2fe0f
Two separated connected tetrominoes, red 2 and green 3, are normalized independently. The output is their symmetric difference in cyan 8, rendered from shared normalized origin (0,0), including any leading blank row or column created by cancellation.
parametric familyoutput cropshape alignmentsymmetric difference
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 (norm-cells cells) (sort (normalize-cells cells) cell<)) (define (shape->grid cells color) (if (empty? cells) (list (list 0)) (let ((maxr (apply max (map first cells))) (maxc (apply max (map second cells)))) (for/fold ((out (empty-grid (+ maxr 1) (+ maxc 1) 0))) ((p (in-list cells))) (set-cell out (first p) (second p) color))))) (let* ((comps (sort (objects g 0) (lambda (a b) (< (obj-color a) (obj-color b))))) (a (norm-cells (obj-cells (first comps)))) (b (norm-cells (obj-cells (second comps)))) (cells (sort (append (filter (lambda (p) (not (member? p b))) a) (filter (lambda (p) (not (member? p a))) b)) cell<))) (shape->grid cells 8))))
Provenance
- Generator
- generators/95f849a2fe0f/generator.py
- Notes and decisions
- generators/95f849a2fe0f/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 079d0c5f6441d19daed57f2446faea8400518b09b32fc7442786a082e78a21de
- Rule hash
- 0aa57664563a
- Sources
- bank:76c10b1ad4b3
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 95f849a2fe0f --count 1 --seed 20261108 --test 1