Skip to content

[AI-FSSDK] [FSSDK-12368] Remove legacy flag-level holdout fields#604

Merged
jaeopt merged 2 commits intomasterfrom
ai/mat001/FSSDK-12368-legacy-holdout-cleanup
Apr 23, 2026
Merged

[AI-FSSDK] [FSSDK-12368] Remove legacy flag-level holdout fields#604
jaeopt merged 2 commits intomasterfrom
ai/mat001/FSSDK-12368-legacy-holdout-cleanup

Conversation

@Mat001
Copy link
Copy Markdown
Contributor

@Mat001 Mat001 commented Apr 21, 2026

Summary

Remove deprecated includedFlags and excludedFlags from Holdout model and simplify HoldoutConfig to treat all holdouts as global.

Changes

  • Removed includedFlags and excludedFlags fields from Holdout
  • Removed getIncludedFlags() and getExcludedFlags() methods
  • Updated all 4 JSON parsers (GSON, Jackson, org.json, json-simple)
  • Simplified HoldoutConfig logic (reduced from ~165 to ~85 lines)
  • Removed 2 test methods testing deleted functionality
  • Updated test JSON files and test utils

Testing

  • ✅ All tests pass
  • ✅ Verification: grep for includedFlags|excludedFlags returns 0 results
  • ✅ Net reduction: 355 lines (404 deletions, 49 additions)

Quality Metrics

  • Iterations: 1/5 (AI-driven quality loop)
  • Tests: PASS (0 failures)
  • Review: APPROVED (0 critical issues, 0 warnings)

Related

🤖 Generated with Claude Code

Remove deprecated includedFlags and excludedFlags from Holdout model
and simplify HoldoutConfig to treat all holdouts as global.

- Removed includedFlags and excludedFlags fields from Holdout
- Removed getIncludedFlags() and getExcludedFlags() methods
- Updated all 4 JSON parsers (GSON, Jackson, org.json, json-simple)
- Simplified HoldoutConfig logic (reduced from ~165 to ~85 lines)
- Removed 2 test methods testing deleted functionality
- Updated test JSON files and test utils

Verification: grep for includedFlags|excludedFlags returns 0 results
Net reduction: 355 lines (404 deletions, 49 additions)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@Mat001 Mat001 requested a review from jaeopt April 22, 2026 16:05
Copy link
Copy Markdown
Contributor

@jaeopt jaeopt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - tests fixed

@jaeopt jaeopt merged commit 7828df1 into master Apr 23, 2026
28 of 30 checks passed
@jaeopt jaeopt deleted the ai/mat001/FSSDK-12368-legacy-holdout-cleanup branch April 23, 2026 16:11
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