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: carry each subject's age in whole years (AGE) into the
demographics domain, and report the ages wider than the width the
specification declares for them.
Input: collected demographics with the study and subject identifiers and the age in whole years, empty when it was not recorded.
Variables:
STUDYIDandUSUBJIDare the study and subject identifiers, as collected.AGEis the collected age in years, unchanged. It is described to reviewers as one digit wide, so an age of ten years or more is wider than that description. Every age is checked against it once the variable is filled in. A wider age is a warning, not a failure: the run still succeeds and publishes every age as collected. An age that was not recorded is left empty and is not checked.
The run report (dm-checks.csv) 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 input dataset read, the subjects built, each output column
with its missing values, and one row for the declared length of AGE. That
row names the column it checks (TARGET) and the rule behind the check
(RULE), and is a warning (SEVERITY) that the length understates the
ages (OUTCOME violated, with the condition in CONDITION): it counts
the two subjects whose age has two digits (COUNT) of the four checked
(TOTAL), names them by their keys (KEYS) and states the column and the
declared length (DETAILS).
To silence the warning, describe the age as wide as the ages the study can
collect, such as length: 3 for an adult study; a collected age is never
changed to fit the description.
Inputs
Under review1 source fileinput/dm_raw.csv
Edit4 rows| STUDYID | USUBJID | AGE |
|---|---|---|
| YAMAA-01 | 34 | |
| YAMAA-01 | 7 | |
| YAMAA-01 | 67 | |
| YAMAA-01 | — |
Expected output
Under review11 expected rowsexpected/dm-checks.csv
Edit7 rows| ARTIFACT | KIND | SPEC_PATH | NAME | ID | TARGET | RULE | SEVERITY | OUTCOME | CONDITION | COUNT | TOTAL | KEYS | DETAILS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dm.csv | run | output | — | — | — | — | — | succeeded | — | 4 | — | — | {} |
| dm.csv | input | input.DM_RAW | DM_RAW | — | — | — | — | — | — | 4 | — | — | {"bytes":117,"path":"input/dm_raw.csv","profile":"csv"} |
| dm.csv | rows | base | DM_RAW | — | — | — | — | — | — | 4 | 4 | — | {} |
| dm.csv | column | columns.STUDYID | STUDYID | — | — | — | — | — | — | 0 | 4 | — | {"max_length":8} |
| dm.csv | column | columns.USUBJID | USUBJID | — | — | — | — | — | — | 0 | 4 | — | {"max_length":12} |
| dm.csv | column | columns.AGE | AGE | — | — | — | — | — | — | 1 | 4 | — | {} |
| dm.csv | check | columns.AGE.submission.length | numeric_width | — | AGE | SUB-29 | warning | violated | numeric_width_failed | 2 | 4 | [{"STUDYID":"YAMAA-01","USUBJID":"YAMAA-01-101"},{"STUDYID":"YAMAA-01","USUBJID":"YAMAA-01-103"}] | {"column":"AGE","length":1} |
expected/dm.csv
Edit4 rows| STUDYID | USUBJID | AGE |
|---|---|---|
| YAMAA-01 | 34 | |
| YAMAA-01 | 7 | |
| YAMAA-01 | 67 | |
| YAMAA-01 | — |
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 |
|---|---|---|---|---|---|---|---|---|---|---|
| STUDYID | Study Identifier | Char | Collected | Copy value from DM_RAW.STUDYID. | SDTM | 1 | ||||
| USUBJID | Unique Subject Identifier | Char | Collected | Copy value from DM_RAW.USUBJID. | SDTM | 2 | ||||
| AGE | Age | Num | 1 | Collected | Exp | Copy value from DM_RAW.AGE. | SDTM | 3 |
| 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