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

MITLibraries / transmogrifier / 10355221461 / 2
99%
main: 99%

Build:
Build:
LAST BUILD BRANCH: v3.8
DEFAULT BRANCH: main
Ran 13 Aug 2024 01:40PM UTC
Files 22
Run time 0s
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

12 Aug 2024 03:54PM UTC coverage: 99.465% (+0.007%) from 99.458%
10355221461.2

Pull #206

github

jonavellecuerdo
Deduplicate list fields in TIMDEX record

Why these changes are being introduced:
* Improve data quality of TIMDEX records
by reducing duplication of data in list fields.

How this addresses that need:
* Create an attrs converter function to dedupe list of items
* Create ListFields abstract class with hash method
* Set hash methods in custom classes to ListFields.__hash__
* Set 'converter=dedupe' for every list field in TimdexRecord
* Add unit tests verifying deduplication of list fields

Side effects of this change:
* Deduplication is highly likely to result in diffs
when comparing transformed records before and after this
change. However (and more importantly), reducing duplicates
improves the data quality of TIMDEX records.

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-332
Pull Request #206: Timx 332 dedupe function

1674 of 1683 relevant lines covered (99.47%)

0.99 hits per line

Source Files on job 10355221461.2
  • Tree
  • List 0
  • Changed 22
  • Source Changed 18
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 10355221461
  • 2871769e on github
  • Prev Job for on TIMX-332-dedupe-function (#10321542796.1)
  • Next Job for on TIMX-332-dedupe-function (#10404690804.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