cdisc-org / cdisc-org/cdisc-rules-engine

Data files processing appears to read recursively on data path provided and its sub-folders, v0.15

Open
#1,641 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
113
Forks
43
Avg merge
14h 51m
Merged PRs (30d)
14

Description

### Standard

CDISC SDTM/SDTMIG

### Reference Rule ID(s)

Not rule specific

### Conformance Rule ID(s) (if published in CORE)

CORE-

### JIRA Ticket

_No response_

### CLI Command Used (if applicable)

python3 core.py validate -s SDTMIG -v 3.4 -dv 2.1 -dxp .../tempv/data/define.xml -vx y -d .../tempv/data --filetype json -o .../tempv/data/val_reports/bash_coreval_examples_sdtm_json_mhungria_SDTMIGv3.4_2026-02-26 --output-format JSON --output-format XLSX -l info -p verbose_output

### Rule YAML

```YAML
Authorities:
- Organization:
Standards:
- Name:
References:
- Citations:
- Cited Guidance:
Document:
Item:
Section:
Origin:
Rule Identifier:
Id:
Version:
Version:
Version:
Check:
all:
- name:
operator:
value:
Core:
Id:
Status:
Version: '1'
Description:
Executability: Fully Executable
Match Datasets:
- Keys:
-
Name:
Operations:
- id:
operator:
Outcome:
Message:
Output Variables:
-
Rule Type:
Scope:
Sensitivity:
```

### Attach any sample test data file(s)

Dataset-JSON v1.1 published SDTM package (https://github.com/cdisc-org/DataExchange-DatasetJson/tree/master/examples/sdtm), copied to a temp folder that has sub-folders.

### Attach any output report and/or log file(s)

Output shows dataset rows from files read recursively from sub-folders / output previously created, plus issues for those datasets:

35
filename "DM"
label "Demographics"
**path ".../tempv/data"**
modification_date "2025-10-26T11:43:15"
size_kb 7.985
length 18
**36**
filename ""
label ""
**path "…/tempv/data_/val_reports_"**
modification_date ""
size_kb 2.045
length

...

Image

### Expected output

Clean output just processing datasets read from the cli command -d provided, not from sub-folders.

### Any Additional Information

I selected the standard as SDTM/SDTMIG as I tested with it; however, I think the issue is regardless of the standard selected.

Note: Executed on a linux box; however, I think the issue is a general issue, not specific to a given environment.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.