Skip to content

test: fast SimulatoDetectorTests target for detector, line-scan and iCOM tests - #29

Merged
Paullo9 merged 1 commit into
mainfrom
issue-8-detector-tests
Oct 29, 2026
Merged

Paullo9 merged 1 commit into
mainfrom
issue-8-detector-tests

Conversation

@Paullo9

@Paullo9 Paullo9 commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Requested by Paul

The per-session gate (swift test --skip SimulatoKitParityTests) ran no detector, line-scan or iCOM test. This adds a SimulatoDetectorTests target with the fixture-free half of those tests (20 tests, about 0.04 s):

  • moved as they were: HardeningTests (detector) and LineProfileTruthTests;
  • moved from the parity files: memoryRefusalIsTyped and frozenPhononsAreRefused (now on the same Al cell built without waves-pins.json), the vacuum scan / DPC symmetry, the review findings, the constructor refusals, the LineScan and interpolate_line refusals, the linear-image truth;
  • new: a vacuum line scan is flat, a planted gradient as a two-value scan integrates to its potential (iCOM), a vacuum scan has no centre of mass.

The pinned comparisons stay in SimulatoKitParityTests (the Al-based outer-angle refusal stays there as anOuterAngleBeyondThePatternIsRefused). Files named after slices are renamed by subject: Slice2Support -> STEMPins, Slice4Tests -> GridSamplingAndTiltTests, Slice4ScanTests -> ScanPatternsAndNoiseTests. SimulatoProbeTests drops its unused SimulatoMultislice dependency. Test-only; no number, fixture or public API changes. The open item is removed from docs/open-items.md.

Fixes #8

🤖 Generated with Claude Code

…COM tests

The per-session gate (`--skip SimulatoKitParityTests`) ran no detector test. A new
SimulatoDetectorTests target holds the fixture-free half: the detector hardening and
line-profile truths (moved), WavesDetector's memory and several-potentials refusals on
the same Al cell built without the pins, the vacuum scan and DPC symmetry, the review
findings and constructor refusals, LineScan and interpolate_line refusals and the
linear-image truth, a vacuum line scan, and two iCOM truths (a planted gradient as a
two-value scan; a vacuum scan has no centre of mass). The pinned comparisons stay in
the parity target. Files named after work batches are renamed by subject
(Slice2Support -> STEMPins, Slice4Tests -> GridSamplingAndTiltTests, Slice4ScanTests ->
ScanPatternsAndNoiseTests), and SimulatoProbeTests drops its unused SimulatoMultislice
dependency. No number changes.

Done: the fast run executes 20 detector, line-scan and iCOM tests. Next: none for #8.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Paullo9 Paullo9 self-assigned this Oct 29, 2026
@Paullo9
Paullo9 merged commit 9f47bf4 into main Oct 29, 2026
6 checks passed
@Paullo9
Paullo9 deleted the issue-8-detector-tests branch October 29, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fast unit test target for SimulatoDetector

1 participant