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: bound the rows a filter matches, by count and by share: upper and lower count bounds, upper and lower share bounds, per-group share bounds with an inclusive edge, and a deliberately violated warning.
Input: eight subjects in two arms of four. Each has an ARM, a
FLAG marking it for review, and a collected VAL. Three are flagged
(one in arm A, two in arm B); seven carry a value and one does not.
Checks:
- Flagged subjects stay at or under one half: 3 of 8 do, so the check holds.
- Subjects with a collected value stay above three quarters: 7 of 8 do, so the check holds.
- Per arm, flagged subjects stay at or under one half: arm A has 1 of 4, arm B has 2 of 4, and the exact half counts as held.
- Flagged subjects number at most three: exactly 3 do, so the check holds and pins the inclusive count boundary.
- Subjects with a collected value number at least seven: exactly 7 do, so the check holds and pins the inclusive count boundary.
- Unflagged subjects stay at or under one half: 5 of 8 do not, so the check is violated. It is a warning, so the run still succeeds and the run report carries the broken check.
The run report (adsl-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 its subject (NAME): the run and its
outcome (OUTCOME), the subjects read and built, each output column with
its missing values and longest text, then one row per check in the order
the run evaluated them. A check row carries its label (ID), the rule it
applies (RULE), its SEVERITY, and how many units failed out of how
many it evaluated (COUNT, TOTAL): the group check evaluates two
groups and the others the whole dataset as one unit. Every check covers
the dataset rather than one column, so none names a column (TARGET).
A held check leaves CONDITION and KEYS empty, reports zero failures
and has empty details ({}). The violated warning names its condition,
reports in DETAILS how many rows matched out of how many, and lists one
empty key ([{}]): a check over the whole dataset has no offending rows.
Inputs
Under review1 source fileinput/dm.csv
Edit8 rows| USUBJID | ARM | FLAG | VAL |
|---|---|---|---|
| A | Y | 12 | |
| A | N | 10 | |
| A | N | — | |
| A | N | 9 | |
| B | Y | 11 | |
| B | Y | 8 | |
| B | N | 7 | |
| B | N | 6 |
Expected output
Under review21 expected rowsexpected/adsl-checks.csv
Edit13 rows| ARTIFACT | KIND | SPEC_PATH | NAME | ID | TARGET | RULE | SEVERITY | OUTCOME | CONDITION | COUNT | TOTAL | KEYS | DETAILS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| adsl.csv | run | output | — | — | — | — | — | succeeded | — | 8 | — | — | {} |
| adsl.csv | input | input.DM | DM | — | — | — | — | — | — | 8 | — | — | {"bytes":103,"path":"input/dm.csv","profile":"csv"} |
| adsl.csv | rows | base | DM | — | — | — | — | — | — | 8 | 8 | — | {} |
| adsl.csv | column | columns.USUBJID | USUBJID | — | — | — | — | — | — | 0 | 8 | — | {"max_length":3} |
| adsl.csv | column | columns.ARM | ARM | — | — | — | — | — | — | 0 | 8 | — | {"max_length":1} |
| adsl.csv | column | columns.FLAG | FLAG | — | — | — | — | — | — | 0 | 8 | — | {"max_length":1} |
| adsl.csv | column | columns.VAL | VAL | — | — | — | — | — | — | 1 | 8 | — | {} |
| adsl.csv | check | verifications[0].row_count | row_count | flagged-share-within-limit | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
| adsl.csv | check | verifications[1].row_count | row_count | values-mostly-present | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
| adsl.csv | check | verifications[2].row_count | row_count | flagged-share-by-arm | — | CHECK-13 | error | held | — | 0 | 2 | — | {} |
| adsl.csv | check | verifications[3].row_count | row_count | flagged-count-within-limit | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
| adsl.csv | check | verifications[4].row_count | row_count | values-count-floor | — | CHECK-13 | error | held | — | 0 | 1 | — | {} |
| adsl.csv | check | verifications[5].row_count | row_count | unflagged-share-warning | — | CHECK-13 | warning | violated | row_count_failed | 1 | 1 | [{}] | {"count":5,"denominator":8} |
expected/adsl.csv
Edit8 rows| USUBJID | ARM | FLAG | VAL |
|---|---|---|---|
| A | Y | 12 | |
| A | N | 10 | |
| A | N | — | |
| A | N | 9 | |
| B | Y | 11 | |
| B | Y | 8 | |
| B | N | 7 | |
| B | N | 6 |
Human review and assessment
| Dataset Name | Variable Name | Variable Label | Type | Codelist/Controlled Terms | Core | Computational Method | Origin |
|---|---|---|---|---|---|---|---|
| ADSL | USUBJID | Unique Subject Identifier | character | Copy value from DM.USUBJID. | Predecessor | ||
| ADSL | ARM | Planned Arm | character | Copy value from DM.ARM. | Predecessor | ||
| ADSL | FLAG | Flagged for Review | character | Copy value from DM.FLAG. | Predecessor | ||
| ADSL | VAL | Collected Value | numeric | Copy value from DM.VAL. | Predecessor |
| Version | Date | Author | Description | Reviewer | Sign-off |
|---|---|---|---|---|---|
| 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