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

neurobagel / api / 6565267296 / 1
97%
main: 97%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2023 06:50PM UTC
Files 24
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

18 Oct 2023 06:49PM UTC coverage: 94.866% (+1.4%) from 93.469%
6565267296.1

push

github

web-flow
[ENH] Add endpoint that returns term ID-label mappings for vocab of a given attribute (`nb:Assessment`) (#201)

* add response model for term labels path

* add startup and util functions to fetch and temporarily store cogatlas term labels

* configure pre-commit to ignore files in new backup vocab directory

* add backup JSON dump of cogatlas vocab

* make data element URI an enum for vocab term label lookup

* add path operation and crud function for vocab term label lookup endpoint
- crud function processes fetched (temporary) term-label mappings and adds vocab info

* refactor out json file loader

* refactor vocab file prefix into a dictionary for reuse

* update docstrings

* remove extra param in function call

* add tests of new startup events to fetch + store vocab and of new endpoint

* update codespell config to ignore external vocab files

* update return type annotations and docstrings for crud funcs

* merge startup hooks for vocab handling and add more comments

* simplify return statement

* use more appropriate status code for failed external API request test

* store actual filepath of cogatlas term lookup file on app state

850 of 896 relevant lines covered (94.87%)

0.95 hits per line

Source Files on job 6565267296.1
  • Tree
  • List 0
  • Changed 12
  • Source Changed 6
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 6565267296
  • 036fb3b8 on github
  • Prev Job for on main (#6474650526.1)
  • Next Job for on main (#6601525114.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