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

google / sedpack / 17561841648
89%
main: 89%

Build:
Build:
LAST BUILD BRANCH: gh-readonly-queue/main/pr-269-a311a9e772fe05427b5b7ef5932072d7a057cd55
DEFAULT BRANCH: main
Ran 08 Sep 2025 07:34PM UTC
Jobs 1
Files 73
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

08 Sep 2025 07:28PM UTC coverage: 88.513% (+0.6%) from 87.958%
17561841648

push

github

web-flow
Improve saving and loading of non-NumPy attributes (#227)

Improve saving of `int`, `str`, and `bytes` attributes. This PR mostly
fixes existing bugs. It might cause a regression and incompatibility
with older versions (version bumped).

- tfrec str is represented as bytes (which is consistent with
TensorFlow)
- int is represented as int64, which might be revisited later to enable
arbitrarily large integers
- bytes in npz are stored as contiguous array with indexes. This is not
the most robust implementation. Otherwise we would not allow dynamic
size (with `examples_per_shard > 1`). The other option of saving them as
padded size arrays was causing length problems when decoding.

---------

Co-authored-by: wsxrdv <111074929+wsxrdv@users.noreply.github.com>

208 of 215 new or added lines in 6 files covered. (96.74%)

3 existing lines in 2 files now uncovered.

2851 of 3221 relevant lines covered (88.51%)

0.89 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
91.23
4.13% src/sedpack/io/shard/shard_writer_np.py
1
82.81
1.56% src/sedpack/io/tfrec/tfdata.py
1
99.06
tests/io/test_end2end_dtypes.py
2
96.77
-3.23% src/sedpack/io/npz/iterate_npz.py
2
90.29
-0.3% src/sedpack/io/shard/shard_writer_flatbuffer.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
91.23
4.13% src/sedpack/io/shard/shard_writer_np.py
2
82.81
1.56% src/sedpack/io/tfrec/tfdata.py
Jobs
ID Job ID Ran Files Coverage
1 17561841648.1 08 Sep 2025 07:34PM UTC 73
88.51
GitHub Action Run
Source Files on build 17561841648
  • Tree
  • List 73
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #17561841648
  • 198cd982 on github
  • Prev Build on gh-readonly-queue/main/pr-234-63b2a20f9ea5749b88a43ca1b55ca50a8ffaea60 (#17542102899)
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