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 actual treatment (TRT01A), age (AGE), baseline height (HEIGHTBL) and the date and time of first exposure (TRTSDT, TRTSDTM) into ADSL from a SAS transport file, each value as the stored data means it.

Input: one spec.yaml reading input/adsl_raw.xpt, a version 5 SAS transport file with one subject-level record per subject, as SAS writes it: text padded with blanks in the Windows-1252 encoding, numbers as IBM floating-point values, and dates and times as SAS numeric dates and datetimes.

Variables:

  • TRT01A is the actual treatment; missing when the subject was never treated, which the file stores as blanks.
  • AGE is the age in whole years.
  • HEIGHTBL is the baseline height in centimetres, as stored; missing when not measured.
  • TRTSDT and TRTSDTM are the date, and the date and time, of first exposure; missing when the subject was never treated.

Note: text loses only the blanks that pad it on the right, and text of blanks alone is missing. A stored number reads as a floating-point number unless the spec narrows it: AGE to a whole number, and TRTSDT and TRTSDTM, which the file counts in days and in seconds from 1 January 1960, to a date and to a date and time. A SAS missing value reads as missing, and the display formats the file carries decide nothing.

Inputs

Under review
1 source file

No preview available; inspect the fixture files in the benchmark source.

Expected output

Under review
3 expected rows

expected/adsl.csv

Edit
3 rows
expected/adsl.csv
STUDYIDUSUBJIDTRT01AAGEHEIGHTBLTRTSDTTRTSDTM
PILOT7Drug A24172.52025-03-042025-03-04T09:15:00
PILOT7Placebo67—2025-03-052025-03-05T14:02:37
PILOT7—52165.2——
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 ADSL_RAW.STUDYID.Predecessor
ADSLUSUBJIDUnique Subject IdentifiercharacterCopy value from ADSL_RAW.USUBJID.Predecessor
ADSLTRT01AActual Treatment for Period 01characterCopy value from ADSL_RAW.TRT01A.Predecessor
ADSLAGEAgenumericCopy value from ADSL_RAW.AGE.Predecessor
ADSLHEIGHTBLBaseline Height (cm)numericCopy value from ADSL_RAW.HEIGHTBL.Predecessor
ADSLTRTSDTDate of First Exposure to TreatmentnumericISO 8601Copy value from ADSL_RAW.TRTSDT.Predecessor
ADSLTRTSDTMDatetime of First Exposure to TreatmentnumericISO 8601Copy value from ADSL_RAW.TRTSDTM.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