← 6be78d0010df · 6c2353a2cdee →

6c08e545720f

7-bg grid (size varies) with pairs of same-color markers placed at exact diagonal offsets. Rule: for each color with two objects, draw a 45-degree diagonal connecting them. The grid size, pair count, diagonal directions/lengths, colors and positions vary freely (was a fixed setup, ~27 distinct).

parametric family

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! (lambda (g)
         (let* ((h (rows g))
                (w (cols g))
                (objs (objects g 7))
                (colors (unique (map obj-color objs))))
           (reduce (lambda (acc color)
                     (let* ((co (filter (lambda (o) (= (obj-color o) color)) objs)))
                       (if (!= (length co) 2)
                           acc
                           (let* ((c1 (obj-cells (first co)))
                                  (c2 (obj-cells (second co)))
                                  (r1a (min-of fst c1))
                                  (r1b (max-of fst c1))
                                  (c1a (min-of snd c1))
                                  (c1b (max-of snd c1))
                                  (r2a (min-of fst c2))
                                  (r2b (max-of fst c2))
                                  (c2a (min-of snd c2))
                                  (c2b (max-of snd c2))
                                  (dr (if (> (+ r2a r2b) (+ r1a r1b)) 1 -1))
                                  (dc (if (> (+ c2a c2b) (+ c1a c1b)) 1 -1))
                                  (sr (if (> dr 0) r1b r1a))
                                  (sc (if (> dc 0) c1b c1a))
                                  (er (if (> dr 0) r2a r2b)))
                             (let loop
                                  ((r (+ sr dr)) (c (+ sc dc)) (grid acc))
                                  (if (= r er)
                                      grid
                                      (loop (+ r dr) (+ c dc) (set-cell grid r c color))))))))
                   g
                   colors))))

Provenance

Generator
generators/6c08e545720f/generator.py
Notes and decisions
generators/6c08e545720f/notes.md
Review label
reviewed_safe
Generator SHA-256
426c007779e835637c7253bd67d3f5f0df5356dc7886efda4246263079b922cc
Rule hash
5f09d0835582
Sources
training
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 6c08e545720f --count 1 --seed 20261108 --test 1