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

ROVI-org / battery-data-toolkit / 8759712809
96%

Build:
DEFAULT BRANCH: main
Ran 19 Apr 2024 09:17PM CUT
Jobs 1
Files 21
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

19 Apr 2024 09:17PM CUT coverage: 81.227% (+0.4%) from 80.803%
8759712809

push

github

web-flow
Change how we compute cell capacity and energy (#50)

* Add a very simple example file

* Add a cycle starting from charge and starting from discharged

* Re-implement integrals and tests

No more steps

* Add schema, fix sign convention

* Caught another sign error

* Add notebook which explains the feature

* Fix capacity and energy integrators  (#55)

* Switching energy units to W-hr in schema to be consistent with calculations performed by CapacityPerCycle summarizer (#52)

Co-authored-by: Victor Venturi <vventuri@Victors-MBP.hsd1.il.comcast.net>

* Changing to_batdata_hdf method

Previously, it seemed that the cycle_stats attributed received the raw_data when
being saved. This hopefully fixes that.

* Add a very simple example file

* Add a cycle starting from charge and starting from discharged

* Re-implement integrals and tests

No more steps

* Add schema, fix sign convention

* Add notebook which explains the feature

* Caught another sign error

* Removing trailing white spaces from commented out lines

* Removing previous way of saving data from comments

* Removing trailing white space from new way of saving data

* Fixes on how capacity integrator works

1. Switched from cumulative_simpson to cumtrapz, which is more stable for the
    "erratic" battery data we usually deal with
2. Implemented correct convention for figuring out if the cycle starts in a
    charged or discharged state

---------

Co-authored-by: Victor Venturi <vventuri@Victors-MBP.hsd1.il.comcast.net>
Co-authored-by: Logan Ward <ward.logan.t@gmail.com>
Co-authored-by: Logan Ward <WardLT@users.noreply.github.com>

* Flake8 fixes

* Flip sign convention in extractors, test data

* Fix the charge capacity unit test

* Add test case with complex cycling

* Save capacity in W-hr

* Add a complex cycle example

* Test against XCEL dataset

Works when I assume XCEL has mis-label time
as seconds instead of ... (continued)

33 of 33 new or added lines in 4 files covered. (100.0%)

649 of 799 relevant lines covered (81.23%)

0.81 hits per line

Jobs
ID Job ID Ran Files Coverage
1 8759712809.1 19 Apr 2024 09:17PM CUT 21
81.23
Source Files on build 8759712809
  • Tree
  • List 21
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Loading...
Coverage∆FileLinesRelevantCoveredMissedHits/Line
0.0
batdata/cli.py62 30 0 30 0.0
0.0
batdata/extractors/tIVT.py92 57 0 57 0.0
0.0
batdata/extractors/batteryarchive.py74 30 0 30 0.0
80.77
batdata/extractors/base.py98 26 21 5 1.0
86.84
batdata/extractors/arbin.py92 38 33 5 1.0
91.3
batdata/postprocess/base.py85 23 21 + 22 - 21.0
92.86
batdata/extractors/maccor.py74 42 39 3 1.0
94.34
batdata/data.py381 159 150 9 1.0
94.57
batdata/schemas/cycling.py197 92 87 5 1.0
94.87
batdata/extractors/batterydata.py191 - 778 - 374 - 34 1.0
Showing 1 to 10 of 21 entries
  • Previous
  • 1
  • 2
  • 3
  • Next
  • ►
    81.23
    batdata/
  • Back to Repo
  • c7f9f995 on github
  • Prev Build on main (#8622550679)
  • Next Build on main (#8784024460)
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