Skip to content

[AI-FSSDK] [FSSDK-12418] Remove experiment type validation from config parsing#627

Open
FarhanAnjum-opti wants to merge 1 commit intomasterfrom
ai/farhananjum-opti/FSSDK-12418-remove-type-validation
Open

[AI-FSSDK] [FSSDK-12418] Remove experiment type validation from config parsing#627
FarhanAnjum-opti wants to merge 1 commit intomasterfrom
ai/farhananjum-opti/FSSDK-12418-remove-type-validation

Conversation

@FarhanAnjum-opti
Copy link
Copy Markdown
Contributor

@FarhanAnjum-opti FarhanAnjum-opti commented Apr 2, 2026

Summary

Adds experiment type field to the Experiment model for forward compatibility. Previously, the type field was not decoded from the datafile, so unknown types were silently discarded. Now the type field is stored as an optional string, accepting any value without validation.

Changes

  • Added optional type field to the Experiment struct (accepts any string value)
  • Updated CodingKeys and Equatable to include the type field
  • Added tests verifying unknown, known, and nil experiment types are all accepted

Jira Ticket

FSSDK-12418

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.

1 participant