-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from swerik-project/decision-11
Ammend Decision 3 API structure
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
38 changes: 38 additions & 0 deletions
38
docs/decisions/decision-3+11_API-structure-of-data-repositories.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# API structure of data repositories | ||
|
||
## Status | ||
|
||
Decided | ||
|
||
- Decision: accepted | ||
|
||
## Context | ||
|
||
*Amendment to decision 3 following decision 8.* | ||
|
||
We need to have a unifide API to access and work with quality estimation for each individual repository. An example is that we want to have the data to estimate the OCR quality (i.e. the test data) in the repository so when the repository is updated the estimation can be conducted. | ||
|
||
This also includes that we need to store the estimated results in the corpus in a nice formats for the umbrella repository to easily access and use estimated quality. | ||
|
||
See [#329](https://github.com/welfare-state-analytics/riksdagen-corpus/issues/329) for discussions. | ||
|
||
## Decision | ||
We store the data, test, and quality estimation in the following way. | ||
|
||
### Data | ||
/data/... -> the data is stored here | ||
|
||
### Data integrity tests | ||
/test/... -> data integrity tests of the specific data | ||
/test/data/... -> data used by data integrity tests | ||
/test/results/... -> test results by version stored for easy access | ||
/test/docs/... -> data integrity test descriptions (decision 8) | ||
|
||
### Quality estimation | ||
/quality/... -> scripts used for quality estimation | ||
/quality/data/... -> data used for quality estimation | ||
/quality/estimates/... -> estimates by version stored for easy access | ||
/quality/docs/... -> quality dimension descriptions (decision 8) | ||
|
||
## Consequences | ||
This will make clear where different data sources go. |