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

openbraininstitute / neurodamus / 44706500953
91%

Build:
DEFAULT BRANCH: main
Ran 20 Nov 2026 08:57AM UTC
Jobs 5
Files 51
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

20 Nov 2026 08:56AM UTC coverage: 91.379% (+0.05%) from 91.334%
44706500953

push

github

web-flow
Give every rank the LFP reports in the same order (#594)

With more than one LFP report, each rank lays out its cells' electrode
factors report by report. CoreNEURON then reads each report's share in
the order report.conf lists the reports. Ranks took the order from
libsonata's `list_report_names`, a Python `set`, which each process
iterates in its own order because string hashes are seeded per process.
Only rank 0 writes report.conf, so on any other rank a report could read
another report's electrodes.

In the neurodamus image as shipped (neurodamus 4.2.6), I ran the
ringtest with two per-cell LFP reports of RingA, one with 3 electrodes
and one with 2. On 1 rank both were right. On 2 ranks, in 2 runs out of
3, the cell on rank 1 had the 2-electrode report's electrodes in the
3-electrode report, and the other way round. obi-one writes one LFP
report per extracellular recording, so this affects any simulation with
two recordings on more than one rank.

A disabled LFP report also shifted the electrodes of the enabled ones
after it: its factors were laid out, but report.conf leaves it out.

## Changes
- `parsedReports` lists the reports sorted by name, so every rank sees
the same order.
- `CompartmentMapping.register_mapping` lays out the factors of the
enabled LFP reports only, which are the ones report.conf holds.

## Tests
- `test_sonata_config.py::test_parsed_reports_are_sorted`.
- `test_lfp.py::test_ringcircuit_lfp` gets a second case, with a
disabled LFP report listed before the enabled one, which has to give the
same values as the report alone.

Both fail with main's code and pass with this change. The test suites
run in one process, so I checked the ranks' order separately: the
ringtest with three pairs of LFP reports, on 1, 2, 3 and 6 ranks, with
every report matching the 1-rank run.

Inputs are listed from a set too (`list_input_names`, in
`parsedStimuli`), and noise, shot-noise and Ornstein-Uhlenbeck stimuli
take their block seed from their po... (continued)

1 of 1 new or added line in 1 file covered. (100.0%)

8183 of 8955 relevant lines covered (91.38%)

7.94 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
1 unit-mpi 44706500953.1 20 Nov 2026 09:00AM UTC 50
61.73
GitHub Action Run
2 unit 44706500953.2 20 Nov 2026 08:59AM UTC 51
88.82
GitHub Action Run
3 unit-ngv-mpi 44706500953.3 20 Nov 2026 09:00AM UTC 50
54.21
GitHub Action Run
4 unit-allen-v1-mpi 44706500953.4 20 Nov 2026 09:01AM UTC 50
53.06
GitHub Action Run
5 baseline 44706500953.5 20 Nov 2026 08:57AM UTC 51
25.57
GitHub Action Run
Source Files on build 44706500953
  • Tree
  • List 51
  • Changed 4
  • Source Changed 2
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #44706500953
  • d614b5c0 on github
  • Prev Build on main (#41676370774)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc