Skip to content

Conversation

Cesar-Cardoso
Copy link
Contributor

Summary: Client API to expose SS updates. Wrappers for experiment.add_parameters_to_search_space and experiment.disable_parameters_in_search_space.

Differential Revision: D80633169

Summary:

Add two properties to `Parameter`:
1. `backfill_value` - used for parameters added to experiments that already have run trials. Specifies the backfill value to use for trials that have already run.
2. `default_value` - used for parameters disabled in experiments that already have run trials. Specified the default value to use in modeling for future trials.

Reviewed By: lena-kashtelyan

Differential Revision: D79260975
Summary:

In `Experiment` add two methods `add_parameters_to_search_space` and `disable_parameters_in_search_space`.

In `Adapter._process_and_transform_data` check if the experiment's search space has been updated and update the adapter's search space and model space. Use `backfill_values` for `FillMissingParameters` transform.

In `GenerationNode._determine_fixed_features_from_node` check for any disabled parameters. Add their `default_value` as fixed features.

Reviewed By: lena-kashtelyan

Differential Revision: D79263457
Summary:

Fix remaining Pyre errors in experiment.py

Reviewed By: mpolson64, lena-kashtelyan

Differential Revision: D80579073
Summary: Client API to expose SS updates. Wrappers for `experiment.add_parameters_to_search_space` and `experiment.disable_parameters_in_search_space`.

Differential Revision: D80633169
@meta-cla meta-cla bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Aug 29, 2025
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D80633169

@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 96.87500% with 8 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.12%. Comparing base (d001cd8) to head (2b3a21e).

Files with missing lines Patch % Lines
ax/core/experiment.py 91.42% 3 Missing ⚠️
ax/core/parameter.py 89.28% 3 Missing ⚠️
ax/core/search_space.py 93.10% 2 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff            @@
##             main    #4228    +/-   ##
========================================
  Coverage   96.12%   96.12%            
========================================
  Files         566      566            
  Lines       57556    57783   +227     
========================================
+ Hits        55324    55544   +220     
- Misses       2232     2239     +7     

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants