← c878420172c2 · c8e53a07acc8 →
c8ab3fc199b1
Variable same-colored blobs docked beneath matching top-row marker cells.
parametric familyalignmentmarkersobjectsresize
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* ((markers (filter (lambda (cell) (and (= (first cell) 0) (not (= (third cell) 0)))) (grid-cells g)))
(body (subgrid g 1 0 (- (rows g) 1) (- (cols g) 1)))
(objs (objects body 0)))
(define (crop-for color)
(let* ((obj (first (filter (lambda (o) (= (obj-color o) color)) objs))))
(subgrid body (obj-r1 obj) (obj-c1 obj) (obj-r2 obj) (obj-c2 obj))))
(define crops (map (lambda (m) (list (third m) (second m) (crop-for (third m)))) markers))
(define out-h (apply max (map (lambda (x) (rows (third x))) crops)))
(for/fold ([out (empty-grid out-h (cols g) 0)]) ([item (in-list crops)])
(let* ((left (second item))
(crop (third item))
(top (- out-h (rows crop))))
(for*/fold ([acc out])
([r (in-range (rows crop))]
[c (in-range (cols crop))])
(let ((v (at crop r c)))
(if (not (= v 0)) (set-cell acc (+ top r) (+ left c) v) acc)))))))Provenance
- Generator
- generators/c8ab3fc199b1/generator.py
- Notes and decisions
- generators/c8ab3fc199b1/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 3d2b62ad875b02de7093d11d6e27e12509436d449192ecb0ccd15c98231c3c5d
- Rule hash
- 4379fff5d025
- Sources
- bank:a54e1d9e1d4b
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate c8ab3fc199b1 --count 1 --seed 20261108 --test 1