← 75be7448827f · 75ff4423494a →
75c10ce4046c
One color-2 tetromino or pentomino source plus 3–7 isolated candidate components in colors 3..6; an exact requested subset matches the source's normalized offsets and the rest are distinct distractors.
congruence testingordering candidatessymbolic output
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 (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 sig (relative-offsets (find-single g 2) 0)) (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 (equal? (relative-offsets obj 0) sig) 8 0)) cands))))
Provenance
- Generator
- generators/75c10ce4046c/generator.py
- Notes and decisions
- generators/75c10ce4046c/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 51b2d2d0ee0382ea60d5dfb1dee8cd69b0712bd41338c986406389ffb3a06038
- Rule hash
- 6806c8550a13
- Sources
- bank:40f7bd2c7916
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate 75c10ce4046c --count 1 --seed 20261108 --test 1