← 7d970a1ea99b · 7deedd72e091 →

7de2798953a7

Rows contain two equal-colour endpoints with a zero gap. Fill interior cells at offsets 1, 3, 5, ... from the left endpoint. Default lessons retain canonical profiles and include scheduled unequal-colour distractors.

alternationbridgesrowssame_size

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!
  (for/fold ([out g]) ([r (in-range (rows g))])
    (for/fold ([acc out]) ([color (in-list (grid-colors g 0))])
      (let ((cols (filter (lambda (c) (= (at g r c) color)) (range 0 (cols g)))))
        (if (and (= (length cols) 2)
                 (all? (lambda (c) (= (at g r c) 0)) (range (+ (first cols) 1) (second cols))))
            (for/fold ([row-out acc])
                      ([c (in-range (+ (first cols) 1) (second cols))]
                       [k (in-naturals 1)])
              (if (= (modulo k 2) 1) (set-cell row-out r c color) row-out))
            acc)))))

Provenance

Generator
generators/7de2798953a7/generator.py
Notes and decisions
generators/7de2798953a7/notes.md
Review label
reviewed_safe
Generator SHA-256
8d2e04b1455b242f0212529c123d54c5e8e5f258c16b821c31c5a33c31d320e5
Rule hash
3bca54d68914
Sources
bank:a54e1d9e1d4b
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 7de2798953a7 --count 1 --seed 20261108 --test 1