← ead22faa41ef · eb12c70f1032 →

eb10171146d5

Construct one separated connected blue shape and one connected red shape. Their top-left-normalized forms overlap but differ, so the rule emits a nonempty cyan symmetric difference cropped to its own bounding box. A controlled default prior covers all five complete public shape-pair profiles while most draws vary larger polyominoes.

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-cell? cell cells)
      (any?
        (lambda (p) (and (= (fst p) (fst cell)) (= (snd p) (snd cell))))
        cells))
    (define (render cells)
      (if (empty? cells)
          (list (list 0))
          (let* ((norm (normalize-cells cells))
                 (out-h (+ (max-list (map fst norm)) 1))
                 (out-w (+ (max-list (map snd norm)) 1)))
            (grid-from-fn out-h out-w
              (lambda (r c)
                (if (has-cell? (list r c) norm) 8 0))))))
    (let* ((s1 (normalize-cells (obj-cells (first (filter (lambda (obj) (= (obj-color obj) 1)) (objects g 0))))))
           (s2 (normalize-cells (obj-cells (first (filter (lambda (obj) (= (obj-color obj) 2)) (objects g 0))))))
           (xor-cells
             (append
               (filter (lambda (p) (not (has-cell? p s2))) s1)
               (filter (lambda (p) (not (has-cell? p s1))) s2))))
      (render xor-cells))))

Provenance

Generator
generators/eb10171146d5/generator.py
Notes and decisions
generators/eb10171146d5/notes.md
Review label
reviewed_safe
Generator SHA-256
b420d8f1ab6a1886b53e2381d7c3f9fb2153233dd91404df0b2acd4c8f574499
Rule hash
915cc17c87cf
Sources
bank:e2825ca16ace
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate eb10171146d5 --count 1 --seed 20261108 --test 1