ttscience / unbiased

API for clinical trial randomization
https://ttscience.github.io/unbiased/
Other
9 stars 1 forks source link

#51 Issue: get randomization list + tests #68

Closed salatak closed 6 months ago

salatak commented 6 months ago

Adding endpoint: GET /study//randomization_list

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e94c746) 95.29% compared to head (d27236f) 95.51%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## devel #68 +/- ## ========================================== + Coverage 95.29% 95.51% +0.21% ========================================== Files 8 9 +1 Lines 510 535 +25 ========================================== + Hits 486 511 +25 Misses 24 24 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

salatak commented 6 months ago
[
  {
    "patient_id": 1,
    "arm": "active",
    "used": false,
    "sys_period": "2024-02-22 12:16:13"
  },
  {
    "patient_id": 2,
    "arm": "active",
    "used": false,
    "sys_period": "2024-02-22 12:16:20"
  },
  {
    "patient_id": 5,
    "arm": "active",
    "used": true,
    "sys_period": "2024-02-22 13:43:00"
  },
  {
    "patient_id": 6,
    "arm": "placebo",
    "used": true,
    "sys_period": "2024-02-22 13:48:29"
  },
  {
    "patient_id": 7,
    "arm": "active",
    "used": true,
    "sys_period": "2024-02-22 13:49:14"
  }
]