• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openbraininstitute / neurodamus / 26745527384
91%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 09:12AM UTC
Jobs 5
Files 50
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jun 2026 09:04AM UTC coverage: 91.234% (+0.007%) from 91.227%
26745527384

push

github

web-flow
Compute segment displacements on the fly in apply_all_stimuli (#529)

## Context
Fix: #524

## Scope

Move displacement computation from add_new_stimuli into apply_all_stimuli, eliminating the intermediate segment_displacements dict on ElectrodeSource and the explicit cleanup() call. The displacement vectors now live as local variables scoped to the apply loop iteration.

The geometry computation (segment coordinates + displacements) was done once per stimList entry before, and it's still once per stimList entry now — just deferred from init time to apply time. stimList is already the union of all gids across stimulus blocks, so no work is duplicated.

## Testing

Internal refactoring: tests should be already in place and should not change

19 of 20 new or added lines in 3 files covered. (95.0%)

7785 of 8533 relevant lines covered (91.23%)

2.85 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
95.1
0.19% neurodamus/stimulus_manager.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit 26745527384.1 01 Jun 2026 09:12AM UTC 50
88.5
GitHub Action Run
2 baseline 26745527384.2 01 Jun 2026 09:12AM UTC 50
26.61
GitHub Action Run
3 unit-ngv-mpi 26745527384.3 01 Jun 2026 09:12AM UTC 50
54.71
GitHub Action Run
4 unit-mpi 26745527384.4 01 Jun 2026 09:12AM UTC 50
62.23
GitHub Action Run
5 unit-allen-v1 26745527384.5 01 Jun 2026 09:12AM UTC 50
53.35
GitHub Action Run
Source Files on build 26745527384
  • Tree
  • List 50
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26745527384
  • edb273e5 on github
  • Prev Build on main (#26640253248)
  • Next Build on main (#26757709627)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc