Easily lost modularity through obfuscation

Original

/dataset
├── sample1
│   └── a001.dat
├── sample2
│   └── a001.dat
...
After applied transform (preprocessing, analysis, ...)

/dataset
├── sample1
│   ├── ps34t.dat
│   └── a001.dat
├── sample2
│   ├── ps34t.dat
│   └── a001.dat
...
Without expert/domain knowledge no distinction between original and derived data possible anymore.

Preserved modularity

Original

/raw_dataset
├── sample1
│   └── a001.dat
├── sample2
│   └── a001.dat
...
After applied transform (preprocessing, analysis, ...)

/derived_dataset
├── sample1
│   └── ps34t.dat
├── sample2
│   └── ps34t.dat
├── ...
└── inputs
    └── raw
        ├── sample1
        │   └── a001.dat
        ├── sample2
        │   └── a001.dat
        ...
Clearer separation of semantics, through use of pristine version of original dataset within a new, additional dataset holding the outputs.

Example modular data structure

Link precisely versioned inputs to version-controlled outputs