Skip to content

[Feature]: system-check command creates hard-coded data folder #89

@iamyifan

Description

@iamyifan

Is your feature request related to a problem? Please describe.

synthetic-data-kit system-check command always creates a hard-coded folder name data (including subfolders parsed, generated, curated, final) every time.

Notice that

# cli.py, line 29
# Create app context
ctx = AppContext()

will always call _ensure_data_dirs to automatically create a folder data and its 4 subfolders,

# core/context.py, line 22
# Ensure data directories exist
self._ensure_data_dirs()

which is not necessary for a system checking functionality.

Ideally, system-check command can take -c <config_path> as a param, and check whether the specified parsed, generated, curated, final folders exist.

Describe the solution you'd like

Add -c <config_path> param for system-check CLI command to only check the specified folder names and paths by users.

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions