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

openego / eDisGo / 42012422935
87%
dev: 87%

Build:
Build:
LAST BUILD BRANCH: fix/381-integrity-check
DEFAULT BRANCH: dev
Ran 05 Nov 2026 11:45AM UTC
Jobs 1
Files 67
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

05 Nov 2026 10:38AM UTC coverage: 86.779% (+0.003%) from 86.776%
42012422935

Pull #854

github

joda9
Speed up the spatial complexity reduction and fix three bugs in it

The reduction spent most of its run time in pandas row loops: per-bus
weights that searched the generator and load tables for every bus,
per-bus .loc writes of the busmap, row-wise apply calls to map buses and
transform coordinates, groupby.apply over all lines and per-node writes
of the pseudo coordinates. These are now done on whole columns, and the
shortest paths to the cluster medoids are searched within the feeder
and its transformer bus instead of the whole grid. Apart from the
susceptance fix below, busmap, linemap, topology and time series are
bit-identical to before on the test grids and on four real grids for all
cluster areas and modes; the reduction runs 2.5 to 9 times faster.

Bugs fixed:
- make_busmap transformed the coordinates of the EDisGo object to
  EPSG:3035 in place for the cluster areas 'feeder' and 'main_feeder'.
- apply_busmap set the susceptance b of every aggregated line to 0. It
  now keeps the susceptance per km of the aggregated lines.
- The prefix "virtual_" was removed with str.lstrip, which strips all
  leading characters contained in it.
Pull Request #854: Speed up the spatial complexity reduction and fix three bugs in it

206 of 214 new or added lines in 2 files covered. (96.26%)

61 existing lines in 2 files now uncovered.

10180 of 11731 relevant lines covered (86.78%)

0.87 hits per line

Uncovered Changes

Lines Coverage ∆ File
8
94.14
0.8% edisgo/tools/spatial_complexity_reduction.py

Coverage Regressions

Lines Coverage ∆ File
37
94.14
0.8% edisgo/tools/spatial_complexity_reduction.py
24
78.53
0.0% edisgo/edisgo.py
Jobs
ID Job ID Ran Files Coverage
1 42012422935.1 05 Nov 2026 11:45AM UTC 67
86.78
GitHub Action Run
Source Files on build 42012422935
  • Tree
  • List 67
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #854
  • PR Base - dev (#41996504366)
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