Skip to content

Fix column select experiment/Refactor input and output columns#369

Merged
cristian-tamblay merged 5 commits into
developfrom
fix/split-step-experiment
Nov 4, 2025
Merged

Fix column select experiment/Refactor input and output columns#369
cristian-tamblay merged 5 commits into
developfrom
fix/split-step-experiment

Conversation

@Irozuku
Copy link
Copy Markdown
Collaborator

@Irozuku Irozuku commented Nov 3, 2025

This pull request updates how input and output columns are handled throughout the experiment creation workflow, switching from using column indices (numbers) to using column names (strings). This change affects both backend and frontend code, improving clarity and reducing errors related to column indexing. The update includes changes to API schemas, validation logic, experiment creation, and React component props.

Backend changes:

  • The ExperimentParams and ColumnsValidationParams schemas now expect lists of column names (List[str]) instead of indices (List[int]).
  • Validation and experiment creation logic in experiments.py now works directly with column names, removing the need to map indices to names and updating the out-of-range check accordingly.

State initialization and management:

  • When a new dataset is selected, input and output columns are reset to empty arrays to ensure the correct state for subsequent steps.

@cristian-tamblay cristian-tamblay merged commit c8fcc88 into develop Nov 4, 2025
30 of 31 checks passed
@cristian-tamblay cristian-tamblay deleted the fix/split-step-experiment branch November 4, 2025 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants