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

MITLibraries / timdex-dataset-api / 12183166932
99%
main: 93%

Build:
Build:
LAST BUILD BRANCH: USE-306-handle-missing-metadata-or-embeddings
DEFAULT BRANCH: main
Ran 05 Dec 2024 03:45PM UTC
Jobs 1
Files 5
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 Dec 2024 03:41PM UTC coverage: 98.519% (+4.7%) from 93.827%
12183166932

Pull #9

github

ghukill
Validate DatasetRecord during serialization

Why these changes are being introduced:

When a DatasetRecord is serialized for writing, it contains the dataset
partitions that the record will fall under.  We do not want any records
getting written to the dataset without all required partitions.

Additionally, we may want to add future validations to the record, e.g.
ensuring the transformed record is valid JSON.  This provides a place
for that.

How this addresses that need:
* Adds new DatasetRecord.validate() method, and applies method during
to_dict() serialization.

Side effects of this change:
* Records cannot be written to dataset without all required partitions

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-415
Pull Request #9: TIMX 415 - write to dataset

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

133 of 135 relevant lines covered (98.52%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12183166932.1 05 Dec 2024 03:45PM UTC 5
98.52
GitHub Action Run
Source Files on build 12183166932
  • Tree
  • List 5
  • Changed 3
  • Source Changed 3
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #12183166932
  • Pull Request #9
  • PR Base - main (#12167004587)
  • Delete
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