← ae7376fe4957 · aea4d55345a1 →
aea1d569d78b
On a canonical-size canvas, connect exactly two blue endpoints in every row or column only when all cells strictly between them are background. Generated lessons contain clear horizontal and vertical positives plus a non-colour-5 blocked negative witness; easy layouts are separated, medium layouts mixed, and hard layouts cross the clear pairs.
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 ((after-rows
(for/fold ([out g]) ([r (in-range (rows g))])
(let ((cols1 (filter (lambda (c) (= (at g r c) 1)) (range 0 (cols g)))))
(if (and (= (length cols1) 2)
(all? (lambda (c) (= (at g r c) 0)) (range (+ (first cols1) 1) (second cols1))))
(paint-cells out (map (lambda (c) (list r c)) (range (+ (first cols1) 1) (second cols1))) 3)
out)))))
(for/fold ([out after-rows]) ([c (in-range (cols g))])
(let ((rows1 (filter (lambda (r) (= (at g r c) 1)) (range 0 (rows g)))))
(if (and (= (length rows1) 2)
(all? (lambda (r) (= (at g r c) 0)) (range (+ (first rows1) 1) (second rows1))))
(paint-cells out (map (lambda (r) (list r c)) (range (+ (first rows1) 1) (second rows1))) 3)
out)))))Provenance
- Generator
- generators/aea1d569d78b/generator.py
- Notes and decisions
- generators/aea1d569d78b/notes.md
- Review label
- reviewed_safe
- Generator SHA-256
- 8547ba66930b3c01c56b2f424de3da4b265d4ff36e4f7296ca364ebeb020d4ba
- Rule hash
- 5074f7d7c8b5
- Sources
- bank:d3d681cdb82a
- Lesson seeds
- 20261108, 20261109, 20261110, 20261111, 20261112
- Reproduce lesson 1
arcpuzzles generate aea1d569d78b --count 1 --seed 20261108 --test 1