Review ask

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

Lifecycle: draftEditUnder review
What this benchmark means
README.md

Public entries: Python and R. Passing coverage requires an installed inventory.

Goal: carry each subject's collected age (AGE) into the ADSL analysis dataset, keeping values outside the expected range of 18 to 100 for later data review.

Input: collected demographics, one record per subject, carrying age.

Variables:

  • AGE: the subject's age in years as collected. A value below 18 or above 100 stays in the dataset as collected, and a missing age stays missing; neither case stops the run.

Note: an age outside 18 to 100 does not stop the run: every subject keeps its record, and the run report (adsl-violations.csv) records the review. Each of its rows names the dataset (ARTIFACT), what kind of item it describes (KIND), where the spec states that item (SPEC_PATH) and its subject (NAME): the run and its outcome (OUTCOME), the demographics read, the subjects built, each output column with its missing values and longest text, and the age check. The check's row gives the column checked (TARGET), the rule it applies (RULE), how serious a failure is (SEVERITY), the failure (CONDITION), how many subjects failed out of how many were checked (COUNT, TOTAL), every subject that failed (KEYS) and the remaining facts (DETAILS); the check carries no label of its own (ID).

Inputs

Under review
1 source file

input/dm.csv

Edit
8 rows
input/dm.csv
STUDYIDUSUBJIDAGE
YAMAA-0134
YAMAA-0118
YAMAA-01100
YAMAA-0117
YAMAA-01101
YAMAA-01214
YAMAA-01—
YAMAA-0157

Expected output

Under review
15 expected rows

expected/adsl-violations.csv

Edit
7 rows
expected/adsl-violations.csv
ARTIFACTKINDSPEC_PATHNAMEIDTARGETRULESEVERITYOUTCOMECONDITIONCOUNTTOTALKEYSDETAILS
adsl.csvrunoutput—————succeeded—8——{}
adsl.csvinputinput.DMDM——————8——{"bytes":221,"path":"input/dm.csv","profile":"csv"}
adsl.csvrowsbaseDM——————88—{}
adsl.csvcolumncolumns.STUDYIDSTUDYID——————08—{"max_length":8}
adsl.csvcolumncolumns.USUBJIDUSUBJID——————08—{"max_length":12}
adsl.csvcolumncolumns.AGEAGE——————18—{}
adsl.csvcheckcolumns.AGE.verifications[0].rangerange—AGECHECK-7warningviolatedrange_failed38[{"STUDYID":"YAMAA-01","USUBJID":"YAMAA-01-104"},{"STUDYID":"YAMAA-01","USUBJID":"YAMAA-01-105"},{"STUDYID":"YAMAA-01","USUBJID":"YAMAA-01-106"}]{"column":"AGE"}

expected/adsl.csv

Edit
8 rows
expected/adsl.csv
STUDYIDUSUBJIDAGE
YAMAA-0134
YAMAA-0118
YAMAA-01100
YAMAA-0117
YAMAA-01101
YAMAA-01214
YAMAA-01—
YAMAA-0157
Shaded columns are derived— = missing value

Human review and assessment

Your review

2 questions and your comments · View benchmark discussions

Mapping spec

Generated from the benchmark YAML; do not edit by hand

Dataset NameVariable NameVariable LabelTypeCodelist/Controlled TermsCoreComputational MethodOrigin
ADSLSTUDYIDStudy IdentifiercharacterCopy value from DM.STUDYID.Predecessor
ADSLUSUBJIDUnique Subject IdentifiercharacterCopy value from DM.USUBJID.Predecessor
ADSLAGEAgenumericCopy value from DM.AGE.Predecessor
VersionDateAuthorDescriptionReviewerSign-off
1.72026-10-20yamaa docs buildRead 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.62026-10-17yamaa docs buildDescribe collected date parts written as ISO 8601 date text and times of day counted in seconds since midnight
1.52026-10-17yamaa docs buildName 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.42026-10-15yamaa docs buildState datetime precision codes through the hour and minute, and complete only the time parts a collected datetime lacks
1.32026-09-29yamaa docs buildShow study codelist names, external dictionaries, and ISO 8601 formats in variable rows; list the document's codelist values and metadata
1.22026-09-29yamaa docs buildClassify ADaM copies from a declared input as Predecessor and recodes as Derived, and SDTM recodes of locally derived columns as Derived
1.12026-09-29yamaa docs buildResolve lookups into the donor record they select, and give every derivation shape a plain-language rule instead of its raw YAML
1.0yamaa docs buildInitial generation from spec.yaml

yamaa code

Public calls generated from benchmark.yaml; results must match the expected output

R

Edit
3 lines
library(yamaa)yamaa_spec("spec.yaml")$run()$output

Python

Edit
3 lines
import yamaayamaa.spec("spec.yaml").run().output