Skip to content

Replace SumConstraint with ParameterConstraint#4660

Closed
mpolson64 wants to merge 3 commits into
facebook:mainfrom
mpolson64:export-D88897672
Closed

Replace SumConstraint with ParameterConstraint#4660
mpolson64 wants to merge 3 commits into
facebook:mainfrom
mpolson64:export-D88897672

Conversation

@mpolson64
Copy link
Copy Markdown
Contributor

Summary: Same as D88890559 but for SumConstraint

Differential Revision: D88897672

@meta-cla meta-cla Bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 15, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Dec 15, 2025

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

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Dec 15, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.52%. Comparing base (92e8311) to head (b5de968).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4660      +/-   ##
==========================================
- Coverage   96.53%   96.52%   -0.02%     
==========================================
  Files         567      568       +1     
  Lines       59113    58953     -160     
==========================================
- Hits        57064    56903     -161     
- Misses       2049     2050       +1     

☔ 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.

mpolson64 added a commit to mpolson64/Ax that referenced this pull request Dec 15, 2025
Summary:
Pull Request resolved: facebook#4660

Same as D88890559 but for SumConstraint

Reviewed By: saitcakmak

Differential Revision: D88897672
@mpolson64 mpolson64 force-pushed the export-D88897672 branch 2 times, most recently from 6205d26 to 701a683 Compare December 15, 2025 21:39
mpolson64 added a commit to mpolson64/Ax that referenced this pull request Dec 15, 2025
Summary:
Pull Request resolved: facebook#4660

Same as D88890559 but for SumConstraint

Reviewed By: saitcakmak

Differential Revision: D88897672
mpolson64 added a commit to mpolson64/Ax that referenced this pull request Dec 15, 2025
Summary:
Pull Request resolved: facebook#4660

Same as D88890559 but for SumConstraint

Reviewed By: saitcakmak

Differential Revision: D88897672
mpolson64 added a commit to mpolson64/Ax that referenced this pull request Dec 15, 2025
Summary:
Pull Request resolved: facebook#4660

Same as D88890559 but for SumConstraint

Reviewed By: saitcakmak

Differential Revision: D88897672
mpolson64 and others added 3 commits December 15, 2025 16:42
Summary:
Move some of the string parsing from ax/api into core Ax to allow a ParameterConstraint to be defined and constructed from its inequality string.

This will allow more flexibility in the future, but is primarily motivated by a want to store only the inequality string when saving ParameterConstraints and to eliminiate unnnecessary subclasses SumConstraint and OrderConstraint

Differential Revision: D88880607
Differential Revision: D88890559
Summary:
Pull Request resolved: facebook#4660

Same as D88890559 but for SumConstraint

Reviewed By: saitcakmak

Differential Revision: D88897672
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Dec 17, 2025

This pull request has been merged in 47a5e0c.

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 Merged meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants