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 the visit number (AVISITN), the standardized result (AVAL), the collected result as written (AVALC) and the date and time of measurement (ADTM) into ADVS from a vital signs file in Dataset-JSON's newline-delimited form.

Input: one spec.yaml reading input/vs.ndjson, a Clinical Data Interchange Standards Consortium (CDISC) Dataset-JSON 1.1 file whose first line describes the dataset and whose every later line is one record. Each column states its own data type.

Variables:

  • AVISITN is the visit number, which the file stores as a floating-point number and the study reads as a whole number.
  • AVAL is the result in standard units; missing when not measured.
  • AVALC is the collected result exactly as the file writes it, trailing zeros included; missing when not measured.
  • ADTM is the date and time of the measurement; missing when not measured.

Note: a value takes the type its column states unless the study narrows it: a floating-point visit number is accepted as a whole number only when it is exactly whole, and a decimal can be kept as the text the sender wrote rather than read as a number. Dates and times are read from their ISO 8601 text, a time to the minute gaining zero seconds, and a null is missing.

Inputs

Under review
1 source file

input/vs.ndjson

Edit
{"datasetJSONCreationDateTime": "2026-09-30T10:15:00", "datasetJSONVersion": "1.1.0", "fileOID": "www.example.org/PILOT7/VS", "sourceSystem": {"name": "Example EDC", "version": "5.1"}, "studyOID": "PILOT7", "metaDataVersionOID": "MDV.1", "itemGroupOID": "IG.VS", "records": 4, "name": "VS", "label": "Vital Signs", "columns": [{"itemOID": "IT.VS.STUDYID", "name": "STUDYID", "label": "Study Identifier", "dataType": "string", "length": 6, "keySequence": 1}, {"itemOID": "IT.VS.USUBJID", "name": "USUBJID", "label": "Unique Subject Identifier", "dataType": "string", "length": 6, "keySequence": 2}, {"itemOID": "IT.VS.VSTESTCD", "name": "VSTESTCD", "label": "Vital Signs Test Short Name", "dataType": "string", "length": 8, "keySequence": 3}, {"itemOID": "IT.VS.VISITNUM", "name": "VISITNUM", "label": "Visit Number", "dataType": "double", "keySequence": 4}, {"itemOID": "IT.VS.VSORRES", "name": "VSORRES", "label": "Result or Finding in Original Units", "dataType": "decimal"}, {"itemOID": "IT.VS.VSSTRESN", "name": "VSSTRESN", "label": "Numeric Result/Finding in Standard Units", "dataType": "double"}, {"itemOID": "IT.VS.VSDTC", "name": "VSDTC", "label": "Date/Time of Measurements", "dataType": "datetime"}]}
["PILOT7", "P7-741", "SYSBP", 1, "120.0", 120, "2025-03-04T09:20"]
["PILOT7", "P7-741", "SYSBP", 2, "118.50", 118.5, "2025-03-18T09:05:30"]
["PILOT7", "P7-742", "WEIGHT", 1, "70.00", 70, "2025-03-05T14:10"]
["PILOT7", "P7-742", "WEIGHT", 2, null, null, null]

Expected output

Under review
4 expected rows

expected/advs.csv

Edit
4 rows
expected/advs.csv
STUDYIDUSUBJIDPARAMCDAVISITNAVALAVALCADTM
PILOT7SYSBP1120120.02025-03-04T09:20:00
PILOT7SYSBP2118.5118.502025-03-18T09:05:30
PILOT7WEIGHT17070.002025-03-05T14:10:00
PILOT7WEIGHT2———
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
ADVSSTUDYIDStudy IdentifiercharacterCopy value from VS.STUDYID.Predecessor
ADVSUSUBJIDUnique Subject IdentifiercharacterCopy value from VS.USUBJID.Predecessor
ADVSPARAMCDParameter CodecharacterCopy value from VS.VSTESTCD.Predecessor
ADVSAVISITNAnalysis Visit (N)numericCopy value from VS.VISITNUM.Predecessor
ADVSAVALAnalysis ValuenumericCopy value from VS.VSSTRESN.Predecessor
ADVSAVALCAnalysis Value (C)characterCopy value from VS.VSORRES.Predecessor
ADVSADTMAnalysis DatetimenumericISO 8601Copy value from VS.VSDTC.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