uiowaSEP2024 / 002_ImagePro

Image processing backend
1 stars 0 forks source link

update seed.py #171

Closed powersaudrey25 closed 4 months ago

powersaudrey25 commented 4 months ago

Overview

Our old version of seed.py had pointless hospital and provider names and did not use our general study config format.

Implementation

The seed file was updated to have meaningful names and configurations.

Testing

I cleared my dev db and ran the seed file and everything seeded as it should.

Notes

Screenshot 2024-04-09 at 9 56 56 PM Screenshot 2024-04-09 at 9 57 04 PM
sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

github-actions[bot] commented 4 months ago

Jest Coverage

Summary

Lines Statements Branches Functions
Coverage: 72%
73.25% (515/703) 56.8% (96/169) 66.05% (144/218)

Junit Summary

Tests Skipped Failures Errors Time
37 0 :zzz: 0 :x: 0 :fire: 3.931s :stopwatch:
Coverage Report (72%)
File% Stmts% Branch% Funcs% LinesUncovered Line #s
All files73.2556.866.0572.04 
fixtures100100100100 
   hospitalFixture.tsx100100100100 
   kidneyStudyFixture.tsx100100100100 
   providerFixture.tsx100100100100 
src/components90.9944.4489.6591.17 
   ErrorMessageBox.tsx100100100100 
   EventTimeline.tsx71.42007579–83
   Metadata.tsx85.7108084.6174–75
   Navbar.tsx90.475010090150, 163
   StackedChart.tsx10066.6610010072–85
   withAuthenticated.tsx100100100100 
src/contexts9010058.3389.28 
   authContext.tsx9010058.3389.2872, 90, 104
src/data30.9315.3833.8720 
   index.ts30.9315.3833.872017–27, 38–48, 59–69, 80–90, 98–108, 118–128, 140–149, 161–171, 181–190, 200–205, 217–240, 251–259, 269–274, 287–326, 335–345, 355–365, 370–380, 385–395, 411–412
src/hooks100100100100 
   useAuthContext.ts100100100100 
src/pages81.7267.2780.3982.01 
   analytics.tsx96.1510088.889690
   dashboard.tsx100100100100 
   index.tsx100100100100 
   login.tsx83.8788.8885.7183.3352–57, 109
   profile.tsx77.561.538080.5559–61, 83–86
   signup.tsx71.6255.5566.6671.2389–91, 98–100, 116–140, 224–231, 270–287
src/pages/apikeys73.2154.5464.2871.69 
   index.tsx73.2154.5464.2871.6974–77, 89, 94–99, 104–108, 195
src/pages/studies79.5657.1474.3581.74 
   [id].tsx69.0137.557.8971.8785, 94–108, 112–114, 125–126, 130, 134, 143, 219
   index.tsx90.971.879091.9349, 64, 141, 150, 157