← 8c5406fbf66c · 8c73e339d80e →

8c6fbfbe20d4

Rows 0 and 1 are independent sparse color lists: scan each row left-to-right and discard zeros. Pair the first min(source_count, target_count) entries. Rows 2+ are the body. The output removes both header rows, recolors paired source values, and preserves zeros, unpaired sources, target-colored distractors, and other unmapped body values.

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 (t10-alist-ref pairs key default) (let ((hits (filter (lambda (p) (= (first p) key)) pairs))) (if (empty? hits) default (second (first hits))))) (let* ((src (filter (lambda (v) (not (= v 0))) (first g))) (tgt (filter (lambda (v) (not (= v 0))) (second g))) (n (min (length src) (length tgt))) (pairs (for/list ((i (in-range n))) (list (list-ref src i) (list-ref tgt i))))) (grid-from-fn (- (rows g) 2) (cols g) (lambda (r c) (let ((v (at g (+ r 2) c))) (if (= v 0) 0 (t10-alist-ref pairs v v))))))))

Provenance

Generator
generators/8c6fbfbe20d4/generator.py
Notes and decisions
generators/8c6fbfbe20d4/notes.md
Review label
reviewed_safe
Generator SHA-256
0f15f02d0e60731a11e7b4eaa6922c54c2491b57451060ff63e859098e3d98ae
Rule hash
27daa6126c50
Sources
bank:05283c9df3d9
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8c6fbfbe20d4 --count 1 --seed 20261108 --test 1