IdeaCredIdeaCred

AlejandroBeldaFernandez/Calm-Data_Generator

68

CALM-Data-Generator is a comprehensive Python library for synthetic data generation with advanced features

What's novel

CALM-Data-Generator is a comprehensive Python library for synthetic data generation with advanced features

Code Analysis

10 files read · 3 rounds

A unified synthetic data generation library that wraps multiple synthesis backends (Synthcity, scvi-tools, copulae, sklearn) behind a consistent API, adds Gaussian Copula-based conditional generation, implements 14+ types of controlled drift injection with correlation-aware propagation, and provides

Strengths

The ComplexGenerator's Gaussian Copula implementation (unconditional + conditional with proper PSD correction and discrete marginal handling via randomized quantile residuals) is mathematically sound and non-trivial. The CausalEngine's differential propagation through a topologically-sorted DAG is a genuinely useful and well-designed approach to simulating realistic multi-variable drift cascades.

Weaknesses

The mixin-heavy architecture (RealGenerator inherits 7 mixins, DriftInjector inherits 5) creates a complex MRO that's hard to navigate, and the _generate_from_fitted method in RealGenerator is a 200+ line if/elif chain that would be better served by a strategy pattern. The tabular synthesis methods are largely thin wrappers around Synthcity with minimal novel logic beyond the latent differentiation and conditional generation paths.

Score Breakdown

Innovation
6 (25%)
Craft
64 (35%)
Traction
11 (15%)
Scope
66 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci+5
Tests+8
Polish+1
Releases+0
Has License+5
Code Quality+22
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+5
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+3
Early Traction+5
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+3
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

96

Contributors

1

Files

132

Active weeks

9

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

3

Forks

0

License

NOASSERTION