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

openbraininstitute / neurodamus / 14111620907
90%

Build:
DEFAULT BRANCH: main
Ran 27 Mar 2025 04:21PM UTC
Jobs 2
Files 48
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

27 Mar 2025 04:20PM UTC coverage: 69.801% (+0.9%) from 68.862%
14111620907

push

github

web-flow
multicycle coreneuron test (#166)

## Context

CoreNeuron has the multicycle functionality. It is already partially
tested in e2e. We should add a test in unit too. Check that the results
are the same as for the filemode test.

The important part of the code may be
[here](https://github.com/openbraininstitute/neurodamus/blob/9066f6bef/neurodamus/node.py#L1911)

## Scope

- [x] Rename `test_coreneuron` -> `test_coreneuron_filemode` to clarify
its purpose
- [x] Add new `test_coreneuron_multicycle` test file 
- [x] Reorganization of the existing e2e multicycle tests. 1 can go in
the unit tests for the nodeSets. The others remain in e2e because some
mechanisms are not installed for the unit tests.
- [x] improve docstrings
- [x] limit the max number of multicycle steps to the max number of
nodes per population. This is in line to the nodeset distribution
algorithm used down the line
- [x] add an assert to be sure that when we add a fake gid for avoiding
coreneuron complains we are not adding into an existing population
- [x] `isFile` -> `is_file` (typo)
- [x] split `_instantiate_simulation` in a few functions. Why? SRP 

Fix: #153, #176

## Testing

This is testing

5 of 29 new or added lines in 2 files covered. (17.24%)

5 existing lines in 2 files now uncovered.

6280 of 8997 relevant lines covered (69.8%)

0.94 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
22.79
0.16% neurodamus/target_manager.py
23
14.6
0.1% neurodamus/node.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
22.79
0.16% neurodamus/target_manager.py
4
14.6
0.1% neurodamus/node.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 baseline 14111620907.1 27 Mar 2025 04:21PM UTC 48
24.47
GitHub Action Run
2 unit 14111620907.2 27 Mar 2025 04:23PM UTC 48
69.41
GitHub Action Run
Source Files on build 14111620907
  • Tree
  • List 48
  • Changed 5
  • Source Changed 2
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #14111620907
  • b3afc29a on github
  • Prev Build on main (#14055700442)
  • Next Build on main (#14332353091)
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

© 2025 Coveralls, Inc