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

openbraininstitute / neurodamus / 26745527384 / 4 – unit-mpi
91%
main: 91%

Build:
DEFAULT BRANCH: main
Ran 01 Jun 2026 09:12AM UTC
Files 50
Run time 2s
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: 62.229% (-0.01%) from 62.239%
unit-mpi – 26745527384.4

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

5310 of 8533 relevant lines covered (62.23%)

0.62 hits per line

Source Files on job unit-mpi - 26745527384.4
  • Tree
  • List 50
  • Changed 3
  • Source Changed 3
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26745527384
  • edb273e5 on github
  • Prev Job for on main (#26640253248.2)
  • Next Job for on main (#26757709627.5)
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