← 8a50bfdecd97 · 8a761b80b11b →

8a63cd5c5bfb

Draw a cyan outline through two opposite green corners while preserving every occupied cell.

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!
  (let ((pts (find-color g 3)))
    (if (= (length pts) 2)
        (let* ((a (first pts)) (b (second pts))
               (r0 (min (first a) (first b))) (r1 (max (first a) (first b)))
               (c0 (min (second a) (second b))) (c1 (max (second a) (second b))))
          (for*/fold ([out g]) ([r (in-range r0 (+ r1 1))] [c (in-range c0 (+ c1 1))])
            (if (and (or (= r r0) (= r r1) (= c c0) (= c c1)) (= (at out r c) 0))
                (set-cell out r c 8)
                out)))
        g)))

Provenance

Generator
generators/8a63cd5c5bfb/generator.py
Notes and decisions
generators/8a63cd5c5bfb/notes.md
Review label
reviewed_safe
Generator SHA-256
43c9714227969f9dc4bc13bbd317b04ea0b06a1951ee333e0b3416df9d971881
Rule hash
4e08f58254c0
Sources
bank:8edfaf6db623
Lesson seeds
20261108, 20261109, 20261110, 20261111, 20261112
Reproduce lesson 1
arcpuzzles generate 8a63cd5c5bfb --count 1 --seed 20261108 --test 1