← 0938f7c346fb · 09636f05e06e →

094e0794786c

Place one connected color-1 object and one connected color-2 object on a zero background. Crop and top-left-normalize both objects, then output color 8 exactly on their symmetric difference. Every sample contains a normalized overlap plus exclusive cells from both objects.

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 (has? p cells) (member? p cells))
    (define s1 (normalize-cells (find-color g 1)))
    (define s2 (normalize-cells (find-color g 2)))
    (define b1 (bbox-of-cells s1))
    (define b2 (bbox-of-cells s2))
    (define out-h (max (if b1 (+ 1 (third b1)) 0) (if b2 (+ 1 (third b2)) 0)))
    (define out-w (max (if b1 (+ 1 (fourth b1)) 0) (if b2 (+ 1 (fourth b2)) 0)))
    (define res (append (filter (lambda (p) (not (has? p s2))) s1)
                        (filter (lambda (p) (not (has? p s1))) s2)))
    (if (empty? res)
        (empty-grid 1 1 0)
        (paint-cells (empty-grid out-h out-w 0) res 8))))

Provenance

Generator
generators/094e0794786c/generator.py
Notes and decisions
generators/094e0794786c/notes.md
Review label
reviewed_safe
Generator SHA-256
21aa14315da3568bdacad323642fd0f74bbd06265d17bba2efbdc212b31ac154
Rule hash
e94c733a8465
Sources
bank:0d92044d8ccc
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 094e0794786c --count 1 --seed 20261108 --test 1