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

openbraininstitute / neurodamus / 17469037236
90%

Build:
DEFAULT BRANCH: main
Ran 04 Sep 2025 03:42PM UTC
Jobs 4
Files 47
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

04 Sep 2025 03:33PM UTC coverage: 90.322% (+1.3%) from 89.008%
17469037236

push

github

web-flow
coreneuron: test reports (mostly compartment and summation) (#337)

## Context

This should finally take care of the compartment sets for coreneuron

Fix: #345 #322

testing for:

https://github.com/neuronsimulator/nrn/pull/3507
https://github.com/neuronsimulator/nrn/pull/3542

## Scope

- [x] rework report handling (mostly in node and target_manager this time. i.e. removal of `_report_setup`)
- [x] new `CoreReportConfig` to finally handle in a proper way `report.conf`
- [x] remove `write_sim_config`, `update_report_conf`, `write_report_conf` and similar functions in `CoreConfig`. Use `CoreSimulationConfig` and `CoreReportConfig` instead
- [x] move `cell-permute` in another issue/pr. EDIT done: #367
- [x] scaling moved to `report_parameters.py`
- [x] `CumulativeError` moved in `pyutils`
- [x] `ReportParams` now has its own file alleviating the burden of the `node.py` file. `_report_build_params` (previously in `node.py`) is also inside the new file.
- [x] `target_type` is no more. We do not need encoding/decoding. We just write `sections` and `compartments` in the `report.conf` 
- [x] streamlined `enable_reports`. It is still a complex function but it should be easier to read and with less edge cases 
- [x] use the decorator `@cache_errors` to just fill a `CumulativeError` instead of raising an error and raise it at the end
- [x] `merge_dicts` (in `tests/utils.py`) allows for overrides and suppression of sections from the child dict with the special keywords: `override_field` and `delete_field`

### `report.conf` changes

- [x] `type_name` has been split into `sections` and `compartments`. No need to encode everything in an enum to decode later. This simplifies code and makes the `report.conf`. The code is slightly slower `0(1)` in a part of the code that was not performance-critical
- [x] `scaling` added at the end of the report line (after buffer size)
- [x] add 2 additional binary lines in case of a compartment set report to pass the exact position... (continued)

494 of 548 new or added lines in 9 files covered. (90.15%)

4 existing lines in 3 files now uncovered.

7373 of 8163 relevant lines covered (90.32%)

2.28 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
88.52
1.29% neurodamus/utils/pyutils.py
4
83.14
0.5% neurodamus/report.py
4
95.83
neurodamus/report_parameters.py
5
94.12
neurodamus/core/coreneuron_simulation_config.py
5
91.89
3.49% neurodamus/node.py
16
83.93
-0.42% neurodamus/target_manager.py
18
90.95
neurodamus/core/coreneuron_report_config.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
83.14
0.5% neurodamus/report.py
1
88.43
1.93% neurodamus/core/configuration.py
2
83.93
-0.42% neurodamus/target_manager.py
Subprojects
ID Flag name Job ID Ran Files Coverage
1 baseline 17469037236.1 04 Sep 2025 03:42PM UTC 47
25.24
GitHub Action Run
2 unit-ngv-mpi 17469037236.2 04 Sep 2025 03:42PM UTC 47
54.66
GitHub Action Run
3 unit 17469037236.3 04 Sep 2025 03:42PM UTC 47
87.91
GitHub Action Run
4 unit-mpi 17469037236.4 04 Sep 2025 03:42PM UTC 47
60.24
GitHub Action Run
Source Files on build 17469037236
  • Tree
  • List 47
  • Changed 11
  • Source Changed 7
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17469037236
  • 948ce678 on github
  • Prev Build on main (#17262315571)
  • Next Build on main (#17642756730)
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