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: derive each vital signs result (AVAL) and what was meant as the
subject's first result (BASE), and report that the choice of a first
result never had two results to choose between.
Input: one spec.yaml over one dataset. VS carries one row per vital
signs result: subject, sequence number and the numeric result.
Variables:
USUBJIDandVSSEQare the result's subject and sequence number; each output row is one result.AVALis the result.BASEwas written to keep the subject's result with the lowest sequence number. It chooses only among the results that build one output row, and each output row is built from one result, so it holds the row's own result, the same asAVAL.
The run report (advs-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 rows built, the count of rows where
the first result chose between two results, which names the column it feeds
(TARGET), and one row per output column. One warning follows, at the choice
of the first result. It has no label (ID) or column (TARGET); it names
the rule it reports (RULE), its SEVERITY and what it found
(CONDITION), counts the choice as one unit (COUNT, TOTAL, KEYS), and
its DETAILS name the result it reads.
Note: the warning changes no value and fails nothing. A first result per subject is chosen over the subject's results apart from the rows, such as a lookup over the vital signs keyed by subject, and gives no warning.
Inputs
Under review1 source fileinput/vs.csv
Edit4 rows| USUBJID | VSSEQ | VSSTRESN |
|---|---|---|
| 1 | 120 | |
| 2 | 126 | |
| 3 | 131 | |
| 1 | 118 |
Expected output
Under review13 expected rowsexpected/advs-checks.csv
Edit9 rows| ARTIFACT | KIND | SPEC_PATH | NAME | ID | TARGET | RULE | SEVERITY | OUTCOME | CONDITION | COUNT | TOTAL | KEYS | DETAILS |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| advs.csv | run | output | — | — | — | — | — | succeeded | — | 4 | — | — | {} |
| advs.csv | input | input.VS | VS | — | — | — | — | — | — | 4 | — | — | {"bytes":63,"path":"input/vs.csv","profile":"csv"} |
| advs.csv | rows | base | VS | — | — | — | — | — | — | 4 | 4 | — | {} |
| advs.csv | handler | columns.BASE.derivation.source.multiple_matches | multiple_matches | — | BASE | LOOKUP-10 | — | — | — | 0 | — | — | {} |
| advs.csv | column | columns.USUBJID | USUBJID | — | — | — | — | — | — | 0 | 4 | — | {"max_length":3} |
| advs.csv | column | columns.VSSEQ | VSSEQ | — | — | — | — | — | — | 0 | 4 | — | {} |
| advs.csv | column | columns.AVAL | AVAL | — | — | — | — | — | — | 0 | 4 | — | {} |
| advs.csv | column | columns.BASE | BASE | — | — | — | — | — | — | 0 | 4 | — | {} |
| advs.csv | check | columns.BASE.derivation.source.keep | unchosen_selection | — | — | LOOKUP-10 | warning | violated | unchosen_selection | 1 | 1 | [{}] | {"identifier":"VS.VSSTRESN"} |
expected/advs.csv
Edit4 rows| USUBJID | VSSEQ | AVAL | BASE |
|---|---|---|---|
| 1 | 120 | 120 | |
| 2 | 126 | 126 | |
| 3 | 131 | 131 | |
| 1 | 118 | 118 |
Human review and assessment
| Dataset Name | Variable Name | Variable Label | Type | Codelist/Controlled Terms | Core | Computational Method | Origin |
|---|---|---|---|---|---|---|---|
| ADVS | USUBJID | Unique Subject Identifier | character | Copy value from VS.USUBJID. | Predecessor | ||
| ADVS | VSSEQ | Sequence Number | numeric | Copy value from VS.VSSEQ. | Predecessor | ||
| ADVS | AVAL | Analysis Value | numeric | Copy value from VS.VSSTRESN. | Predecessor | ||
| ADVS | BASE | Baseline Value | numeric | Copy value from VS.VSSTRESN keeping the first ordered by VS.VSSEQ. | Predecessor |
| 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