Skip to content

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

Open
Mat001 wants to merge 2 commits intomasterfrom
ai/mat001/FSSDK-12368-legacy-holdout-cleanup
Open

[AI-FSSDK] [FSSDK-12368] Remove legacy flag-level holdout fields#604
Mat001 wants to merge 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>
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