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

ROVI-org / auto-soh / 11628768743 / 1
95%
main: 95%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2024 11:49AM UTC
Files 34
Run time 1s
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 Nov 2024 11:38AM UTC coverage: 95.235% (+0.06%) from 95.171%
11628768743.1

push

github

web-flow
Reworking batching interpolation (#96)

* Rerunning notebooks after new changes

Making sure they all still at least run, and, luckily, still produce the same
results!

* Revamped batching when interpolating

We have slightly altered the way batching is done in the SOCInterpolatedHealth.
The main array it works with now is 3D, having the internal batch size as the
first dimension, the SOC batch size as the second, and the SOC dimensionality as
the third. It takes an additional flag that allows the user to get this array
returned, but it's default configuration is to try to match the internal and SOC
batches if possible, as well as to remove superfluous batches of cardinality one.

* Adding more explanation

Added documentation with more detailed explanation of how batching works in the
SOCInterpolatedHealth variable, including explicit mentions of the shape of
arrays used and returned, and the impacts of the boolean flag.

* Changing return from SOCInterpolatedHealth

Now, SOCInterpolatedHealth get_value method always returns a 3D array with
shape (internal_batch, soc_batch, soc_dim)

* Altered some computations

Had to change the way some things are computed to accomodate the changes to the
SOCInterpolatedHealth class, which now always returns a 3D array from its
get_value method. Also included comments detailing the shapes of most arrays
being used, so we don't get lost.

* Removed flags that are no longer used

Everything in here was a child of SOCInterpolatedHealth, which no longer uses
an optional flag for broadcasting batches together.

* Additional tests on the components of an ECM

* removing leftover print statements

* Making sure OCV returns correct dimensions

Since we changed the dimensionality of the base get_value method, we should
also make sure the OCV calls return a 3D array for consistency.

* Additional changes to dimensionality

Because of the new 3D array returns, there were a few a... (continued)

1639 of 1721 relevant lines covered (95.24%)

0.95 hits per line

Source Files on job 11628768743.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11628768743
  • 2ee48d9a on github
  • Prev Job for on main (#11600523973.1)
  • Next Job for on main (#11632307188.1)
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