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

MITLibraries / transmogrifier / 7250636386
99%

Build:
DEFAULT BRANCH: main
Ran 18 Dec 2023 04:04PM UTC
Jobs 1
Files 19
Run time 9s
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

18 Dec 2023 04:03PM UTC coverage: 98.709% (+1.9%) from 96.798%
7250636386

push

github

web-flow
Gdt 54 aardvark transform (#108)

* Reorganize source around XML and JSON folders

* GDT-54 Create Aardvark transform

Why these changes are being introduced:
* This is the initial structure for the Aardvark transform class. The class will be expanded with new methods in subsequent commits.

How this addresses that need:
* Add jsonlines to Pipfile
* Add fixtures for aardvark and generic JSONLines files
* Update argument type hinting for Transformer and JsonTransformer classes to clarify expected content types
* Update JsonTransformer.parse_source_file method to use jsonlines library
* Add Aardvark class with get_main_titles, get_source_record_id, record_is_deleted (in progress), get_optional_fields (in progress), and get_subjects methods and corresponding unit tests

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/GDT-54

* Refactor unit test to resolve CI error

* Updates based on discussion in PR #108

* Update json_records fixture to aardvark_records for more accurate unit tests
* Rename Aardvark > MITAardvark to unify terminology across repos
* Update get_main_titles method to reflect it is a required field
* Update Aardvark method docstrings to provide greater context
* Add Transformer._transform method to minimize code duplication between JsonTransformer and XmlTransformer methods

* Update _transform method docstring

68 of 68 new or added lines in 5 files covered. (100.0%)

1223 of 1239 relevant lines covered (98.71%)

0.99 hits per line

Jobs
ID Job ID Ran Files Coverage
1 7250636386.1 18 Dec 2023 04:04PM UTC 0
98.71
GitHub Action Run
Source Files on build 7250636386
Detailed source file information is not available for this build.
  • Back to Repo
  • 1aba9878 on github
  • Prev Build on main (#7115514238)
  • Next Build on main (#7280690709)
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