Skip to content

Conversation

@mgarrard
Copy link
Contributor

Summary: To align with our standards of only using serializationmixin inheritance in ax objects that are comprised of basic properties (ie not composed of other ax objects), this diff removes the serialization mixin inheritance from TransitionCriteria and better leverages custom encoders/decoders instead.

Differential Revision: D90802656

Differential Revision: D80128678
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 20, 2026
@meta-codesync
Copy link

meta-codesync bot commented Jan 20, 2026

@mgarrard has exported this pull request. If you are a Meta employee, you can view the originating Diff in D90802656.

Summary:
Pull Request resolved: facebook#4785

To align with our standards of only using serializationmixin inheritance in ax objects that are comprised of basic properties (ie not composed of other ax objects), this diff removes the serialization mixin inheritance from TransitionCriteria and better leverages custom encoders/decoders instead.

Differential Revision: D90802656
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 98.13953% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.70%. Comparing base (bf0c104) to head (7fbfd33).

Files with missing lines Patch % Lines
ax/generation_strategy/generation_node.py 95.12% 2 Missing ⚠️
ax/storage/sqa_store/decoder.py 81.81% 2 Missing ⚠️
ax/generation_strategy/generation_strategy.py 97.50% 1 Missing ⚠️
ax/storage/json_store/decoder.py 90.00% 1 Missing ⚠️
ax/storage/json_store/encoders.py 66.66% 1 Missing ⚠️
ax/utils/testing/modeling_stubs.py 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4785      +/-   ##
==========================================
- Coverage   96.71%   96.70%   -0.01%     
==========================================
  Files         587      587              
  Lines       61311    61264      -47     
==========================================
- Hits        59295    59244      -51     
- Misses       2016     2020       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

mgarrard added a commit to mgarrard/Ax that referenced this pull request Jan 21, 2026
Summary:

To align with our standards of only using serializationmixin inheritance in ax objects that are comprised of basic properties (ie not composed of other ax objects), this diff removes the serialization mixin inheritance from TransitionCriteria and better leverages custom encoders/decoders instead.

Reviewed By: saitcakmak

Differential Revision: D90802656
mgarrard added a commit to mgarrard/Ax that referenced this pull request Jan 21, 2026
Summary:

To align with our standards of only using serializationmixin inheritance in ax objects that are comprised of basic properties (ie not composed of other ax objects), this diff removes the serialization mixin inheritance from TransitionCriteria and better leverages custom encoders/decoders instead.

Reviewed By: saitcakmak

Differential Revision: D90802656
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants