Skip to content

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

Merged
esrakartalOpt 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#395
esrakartalOpt 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 included_flags and excluded_flags from Holdout model and simplify holdout handling to treat all holdouts as global.

Changes

  • Removed included_flags and excluded_flags from Holdout schema
  • Removed global_holdouts, included_holdouts_map, excluded_holdouts_map
  • Simplified holdout initialization to single holdout_map
  • Updated decision_service to use simplified holdout_map
  • Removed 13 legacy-specific test cases
  • Updated test fixtures to remove legacy fields

Testing

  • ✅ All 1020 tests pass
  • ✅ Verification: grep for included_flags|excluded_flags returns 0 results
  • ✅ Net reduction: 315 lines (349 deletions, 34 additions)

Quality Metrics

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

Related

🤖 Generated with Claude Code

Remove deprecated included_flags and excluded_flags from Holdout model
and simplify holdout handling to treat all holdouts as global.

- Removed included_flags and excluded_flags from Holdout schema
- Removed global_holdouts, included_holdouts_map, excluded_holdouts_map
- Simplified holdout initialization to single holdout_map
- Updated decision_service to use simplified holdout_map
- Removed 13 legacy-specific test cases
- Updated test fixtures to remove legacy fields

All 1020 tests pass. Verification: grep for included_flags|excluded_flags returns 0 results.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@esrakartalOpt esrakartalOpt left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@esrakartalOpt esrakartalOpt merged commit dfe97ee into master Apr 23, 2026
9 of 10 checks passed
@esrakartalOpt esrakartalOpt deleted the ai/mat001/FSSDK-12368-legacy-holdout-cleanup branch April 23, 2026 19:52
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