Ax
Ax copied to clipboard
Abstract away a `FuncEnum` (will use it in `best_model_selector.ReductionCriterion` and `NodeInputConstructors`)
Summary: Add a base class for any "enums of callables" that will actually play well with storage and provide a consistent and safe way to implement such enums.
Differential Revision: D63914989
This pull request was exported from Phabricator. Differential Revision: D63914989
Codecov Report
Attention: Patch coverage is 92.59259% with 2 lines in your changes missing coverage. Please review.
Project coverage is 95.67%. Comparing base (
f2d86de) to head (a10a07b).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| ax/utils/common/func_enum.py | 84.61% | 2 Missing :warning: |
Additional details and impacted files
@@ Coverage Diff @@
## main #2887 +/- ##
==========================================
- Coverage 95.67% 95.67% -0.01%
==========================================
Files 502 504 +2
Lines 49511 49538 +27
==========================================
+ Hits 47369 47394 +25
- Misses 2142 2144 +2
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request was exported from Phabricator. Differential Revision: D63914989
This pull request was exported from Phabricator. Differential Revision: D63914989
This pull request was exported from Phabricator. Differential Revision: D63914989
This pull request has been merged in facebook/Ax@afa9a1145024edd6e16b6fecce909c95137baccd.