As a clinical trial statistician or programmer, answer two short questions in Your review: the task and the inputs and outputs. Agreeing with both approves this benchmark; disagreeing with either needs a comment. Propose a fix with the Edit button on any source file, or add it to your comments.
We suggest spending no more than 5 minutes on a review. The other tabs beside Your review are background for assessment, not under review.
Summary
README.mdPublic entries: Python and R. Passing coverage requires an installed inventory.
Goal: publish the category B findings, obs_b.csv, with the subject
(SUBJ), the sequence number (SEQ) and the value (VAL), and check the
keys, the values and the record count over the published records alone.
Input: input/findings.csv holds five findings. The two category A
findings are faulty: one repeats subject S1's sequence number 1 and misses
its value, and one misses its sequence number. Two spec files:
spec_part.yamlkeeps the category B findings and writes its run report toobs_b-checks.csv;spec_empty.yamlnamesspec_part.yamlas its parent and keeps the category Z findings, of which there are none, writingobs_z.csvandobs_z-checks.csv.
Variables:
SUBJ,SEQandVALcarry the subject, the sequence number and the value from the input record.
Each run report has one row per item the run handled, each naming the
dataset (ARTIFACT), the kind of item (KIND), where the spec states it
(SPEC_PATH) and the item's name (NAME): the run and its outcome
(OUTCOME), the findings read and built, each published variable with its
missing values and longest text (DETAILS), then one row per check. A check
row carries no label (ID), the variable it covers (TARGET), the rule it
applies (RULE), its SEVERITY, and how many records failed out of how many
it examined (COUNT, TOTAL); every check holds, so CONDITION and KEYS
are empty.
Note: the faulty findings are built and then left out, so the subject and sequence number identify each published record, no published value is missing, and the count of at most three records holds. The run report counts the three published records (zero for the empty part) for every variable and check, while its row-construction line still counts the five findings read and built.
Inputs
Under review1 source fileinput/findings.csv
Edit5 rows| SUBJ | SEQ | CAT | VAL |
|---|---|---|---|
| S1 | 1 | B | 10 |
| S1 | 1 | A | — |
| S1 | — | A | 12 |
| S1 | 2 | B | 13 |
| S2 | 1 | B | 14 |
Expected output
Under review19 expected rowsexpected/obs_b-checks.csv
Edit8 rows| ARTIFACT | KIND | SPEC_PATH | NAME | ID | TARGET | RULE | SEVERITY | OUTCOME | CONDITION | COUNT | TOTAL | KEYS | DETAILS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| obs_b.csv | run | output | — | — | — | — | — | succeeded | — | 3 | — | — | {} |
| obs_b.csv | input | input.FND | FND | — | — | — | — | — | — | 5 | — | — | {"bytes":64,"path":"input/findings.csv","profile":"csv"} |
| obs_b.csv | rows | rows.findings | FND | — | — | — | — | — | — | 5 | 5 | — | {} |
| obs_b.csv | column | columns.SUBJ | SUBJ | — | — | — | — | — | — | 0 | 3 | — | {"max_length":2} |
| obs_b.csv | column | columns.SEQ | SEQ | — | — | — | — | — | — | 0 | 3 | — | {} |
| obs_b.csv | column | columns.VAL | VAL | — | — | — | — | — | — | 0 | 3 | — | {} |
| obs_b.csv | check | columns.VAL.verifications[0].not_missing | not_missing | — | VAL | CHECK-5 | error | held | — | 0 | 3 | — | {} |
| obs_b.csv | check | verifications[0].row_count | row_count | — | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
expected/obs_b.csv
Edit3 rows| SUBJ | SEQ | VAL |
|---|---|---|
| S1 | 1 | 10 |
| S1 | 2 | 13 |
| S2 | 1 | 14 |
expected/obs_z-checks.csv
Edit8 rows| ARTIFACT | KIND | SPEC_PATH | NAME | ID | TARGET | RULE | SEVERITY | OUTCOME | CONDITION | COUNT | TOTAL | KEYS | DETAILS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| obs_z.csv | run | output | — | — | — | — | — | succeeded | — | 0 | — | — | {} |
| obs_z.csv | input | input.FND | FND | — | — | — | — | — | — | 5 | — | — | {"bytes":64,"path":"input/findings.csv","profile":"csv"} |
| obs_z.csv | rows | rows.findings | FND | — | — | — | — | — | — | 5 | 5 | — | {} |
| obs_z.csv | column | columns.SUBJ | SUBJ | — | — | — | — | — | — | 0 | 0 | — | {"max_length":0} |
| obs_z.csv | column | columns.SEQ | SEQ | — | — | — | — | — | — | 0 | 0 | — | {} |
| obs_z.csv | column | columns.VAL | VAL | — | — | — | — | — | — | 0 | 0 | — | {} |
| obs_z.csv | check | columns.VAL.verifications[0].not_missing | not_missing | — | VAL | CHECK-5 | error | held | — | 0 | 0 | — | {} |
| obs_z.csv | check | verifications[0].row_count | row_count | — | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
Human review and assessment
| Variable Name | Variable Label | Type | Length | Controlled Terms or Format | Origin | Core | Conversion Definition | Variable Type | Variable Order | Comments for Define |
|---|
| Version | Date | Author | Description | Reviewer | Sign-off |
|---|---|---|---|---|---|
| 1.8 | 2026-11-19 | yamaa docs build | State open and closed range endpoints, including bounds of zero | ||
| 1.7 | 2026-10-20 | yamaa docs build | Read a specification in the 1.0 surface as its 0.5 counterpart; state that missing values stay missing where a mapping declares no missing handler, and leave out a declared missing answer that restates a handler's default | ||
| 1.6 | 2026-10-17 | yamaa docs build | Describe collected date parts written as ISO 8601 date text and times of day counted in seconds since midnight | ||
| 1.5 | 2026-10-17 | yamaa docs build | Name collected precision in words instead of letter codes; state imputation fallbacks, minimum source precision, bounds ignored outside the collected period, and invalid text with no handler as an error; describe date and datetime shifts, imputation flag codes, and partial text giving no date part | ||
| 1.4 | 2026-10-15 | yamaa docs build | State datetime precision codes through the hour and minute, and complete only the time parts a collected datetime lacks | ||
| 1.3 | 2026-09-29 | yamaa docs build | Show study codelist names, external dictionaries, and ISO 8601 formats in variable rows; list the document's codelist values and metadata | ||
| 1.2 | 2026-09-29 | yamaa docs build | Classify ADaM copies from a declared input as Predecessor and recodes as Derived, and SDTM recodes of locally derived columns as Derived | ||
| 1.1 | 2026-09-29 | yamaa docs build | Resolve lookups into the donor record they select, and give every derivation shape a plain-language rule instead of its raw YAML | ||
| 1.0 | yamaa docs build | Initial generation from spec.yaml |
yamaa