Skip to content

Commit

Permalink
Merge pull request #84 from ttscience/newsmd-update
Browse files Browse the repository at this point in the history
Update Changelog for Release 1.0.0
  • Loading branch information
kamilsi authored Mar 8, 2024
2 parents bc90d9b + 60c4090 commit 04f0527
Showing 1 changed file with 29 additions and 4 deletions.
33 changes: 29 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,30 @@
# unbiased (development version)
# unbiased 1.0.0

* Initialized package structure.
* Implemented study definition endpoint (`POST /study`).
* Implemented study details endpoints (`GET /study`, `GET /study/<study_id>`).
## New Features

- **Adaptive Randomization Support:**
- Implemented support for adaptive randomization using Pocock’s minimization algorithm, integrating a new R function based on the Minirand package by Man Jin, Adam Polis, and Jonathan Hartzel ([Minirand Package](https://CRAN.R-project.org/package=Minirand)).
- Introduced new POST endpoints facilitating the creation of studies and randomization of subjects.

- **Enhanced Retrieval Capabilities:**
- Added new GET endpoints for comprehensive access to study overviews, in-depth details, and information on randomized patients.

- **Audit Trial Mechanism:**
- Implemented an audit trial mechanism that systematically logs and stores each request in the database alongside `unbiased`’s response.
- Introduced a new GET endpoint enabling users to access the complete audit trail for a specific study.

## Vignettes / Articles

- Added a new article benchmarking Pocock’s minimization algorithm against permuted block randomization and simple randomization, focusing on the balance of covariates.

## DevOps Integration

- Integrated project with Sentry to capture errors, empowering users to provide their credentials and receive notifications in the event of unexpected occurrences, including HTTP 500 instances.
- Implemented GitHub Actions CI, ensuring that all tests must pass before merging.
- Integrated project with CodeCov, achieving a code coverage of 95% or higher, with maintenance of the same level or improvement required for merging.
- Integrated project with pkgdown, hosting the project site at [ttscience.github.io/unbiased/](https://ttscience.github.io/unbiased/).
- Enforced the use of a linter, ensuring no errors are present upon merging.

## Smaller Improvements

- Improved handling of malformed JSONs, now returning HTTP 400 instead of the default HTTP 500 (plumber behavior).

0 comments on commit 04f0527

Please sign in to comment.