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: show a resubmission level that changes only the list of published variables and the dataset file its data definition names, inheriting every other part of the dataset's layout and of its received description from the original package.

Dataset: dm.csv, SDTM demographics. One record per subject.

Input: two spec files, read root-first:

  • spec_package.yaml carries the original package: the age, its units and the sex collected for each subject, published in subject order to dm.csv, and the dataset's description as the package received it, a special-purpose demographics dataset of one record per subject held in the SAS transport file dm.xpt;
  • spec_resubmission.yaml is the entry: it names the original package as its parent, publishes its variables without the age units, and names its dataset file dm.json. It writes nothing else.

Variables:

  • DOMAIN is always DM.
  • AGE is the subject's collected age in years.
  • SEX is the subject's collected sex.

Note: a level that changes one part of the published layout or of the received description writes that part alone, and every part it leaves out keeps its inherited value. The resubmission therefore keeps the original file name and subject order, and its data definition describes the shorter variable list with the received description and the new dataset file.

Inputs

Under review
1 source file

input/dm.csv

Edit
3 rows
input/dm.csv
STUDYIDUSUBJIDAGEAGEUSEX
PKG0171YEARSF
PKG0134YEARSM
PKG0158YEARSF

Expected output

Under review
3 expected rows

expected/define.xml

Edit
Define-XML

Define-XML 2.0.0: PKG01

Example study resubmitting its demographics dataset; PKG-01; SDTM-IG 3.4

Datasets
DatasetDescriptionClassStructurePurposeKeysDocumentationLocation
DMDemographicsSPECIAL PURPOSEOne record per subjectTabulationSTUDYID, USUBJIDdm.json

DM

DM variables
VariableLabel / DescriptionTypeLength or Display FormatControlled Terms or ISO FormatOrigin / Source / Method / Comment
DOMAINDomain Abbreviationtext2
STUDYIDStudy Identifiertext5
USUBJIDUnique Subject Identifiertext9
AGEAgeinteger3
SEXSextext1
Original source
<?xml version="1.0" encoding="UTF-8"?>
<ODM xmlns="http://www.cdisc.org/ns/odm/v1.3" xmlns:def="http://www.cdisc.org/ns/def/v2.0" xmlns:xlink="http://www.w3.org/1999/xlink" ODMVersion="1.3.2" FileType="Snapshot" FileOID="PKG01.sdtm.Define-XML_2.0" CreationDateTime="2026-10-28T00:00:00" SourceSystem="yamaa" SourceSystemVersion="1.0">
  <Study OID="STDY.PKG01">
    <GlobalVariables>
      <StudyName>PKG01</StudyName>
      <StudyDescription>Example study resubmitting its demographics dataset</StudyDescription>
      <ProtocolName>PKG-01</ProtocolName>
    </GlobalVariables>
    <MetaDataVersion OID="MDV.PKG01.sdtm" Name="PKG01 sdtm metadata" def:DefineVersion="2.0.0" def:StandardName="SDTM-IG" def:StandardVersion="3.4">
      <ItemGroupDef OID="IG.DM" Name="DM" Domain="DM" Purpose="Tabulation" SASDatasetName="DM" Repeating="No" IsReferenceData="No" def:Structure="One record per subject" def:Class="SPECIAL PURPOSE" def:ArchiveLocationID="LF.DM">
        <Description>
          <TranslatedText xml:lang="en">Demographics</TranslatedText>
        </Description>
        <ItemRef ItemOID="IT.DM.DOMAIN" OrderNumber="1" Mandatory="Yes"/>
        <ItemRef ItemOID="IT.DM.STUDYID" OrderNumber="2" Mandatory="Yes" KeySequence="1"/>
        <ItemRef ItemOID="IT.DM.USUBJID" OrderNumber="3" Mandatory="Yes" KeySequence="2"/>
        <ItemRef ItemOID="IT.DM.AGE" OrderNumber="4" Mandatory="No"/>
        <ItemRef ItemOID="IT.DM.SEX" OrderNumber="5" Mandatory="Yes"/>
        <def:leaf ID="LF.DM" xlink:href="dm.json">
          <def:title>dm.json</def:title>
        </def:leaf>
      </ItemGroupDef>
      <ItemDef OID="IT.DM.DOMAIN" Name="DOMAIN" DataType="text" Length="2" SASFieldName="DOMAIN">
        <Description>
          <TranslatedText xml:lang="en">Domain Abbreviation</TranslatedText>
        </Description>
      </ItemDef>
      <ItemDef OID="IT.DM.STUDYID" Name="STUDYID" DataType="text" Length="5" SASFieldName="STUDYID">
        <Description>
          <TranslatedText xml:lang="en">Study Identifier</TranslatedText>
        </Description>
      </ItemDef>
      <ItemDef OID="IT.DM.USUBJID" Name="USUBJID" DataType="text" Length="9" SASFieldName="USUBJID">
        <Description>
          <TranslatedText xml:lang="en">Unique Subject Identifier</TranslatedText>
        </Description>
      </ItemDef>
      <ItemDef OID="IT.DM.AGE" Name="AGE" DataType="integer" Length="3" SASFieldName="AGE">
        <Description>
          <TranslatedText xml:lang="en">Age</TranslatedText>
        </Description>
      </ItemDef>
      <ItemDef OID="IT.DM.SEX" Name="SEX" DataType="text" Length="1" SASFieldName="SEX">
        <Description>
          <TranslatedText xml:lang="en">Sex</TranslatedText>
        </Description>
      </ItemDef>
    </MetaDataVersion>
  </Study>
</ODM>

expected/dm.csv

Edit
3 rows
expected/dm.csv
DOMAINSTUDYIDUSUBJIDAGESEX
DMPKG0134M
DMPKG0158F
DMPKG0171F
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

Variable NameVariable LabelTypeLengthControlled Terms or FormatOriginCoreConversion DefinitionVariable TypeVariable OrderComments for Define
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_project("project.yaml")$spec("DM")$run()$output

Python

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