Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combine experiment and gs fields into AnalysisBase #3137

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

danielcohenlive
Copy link

Summary:
AnalysisBase will have optional _experiment and _generation_strategy fields, with getter and setter properties, as well as the standard_generation_strategy prop from Scheduler. Scheduler and AxClient will inherit these from it.

The naming is less than optimal with AnalysisBase holding the experiment and GS.

This is otherwise a no-op change designed to reduce pyre errors.

Differential Revision: D66712036

@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Dec 3, 2024
@facebook-github-bot
Copy link
Contributor

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

danielcohenlive pushed a commit to danielcohenlive/Ax-1 that referenced this pull request Dec 3, 2024
Summary:

AnalysisBase will have optional `_experiment` and `_generation_strategy` fields, with getter and setter properties, as well as the `standard_generation_strategy` prop from `Scheduler`.  `Scheduler` and `AxClient` will inherit these from it.

The naming is less than optimal with AnalysisBase holding the experiment and GS.

This is otherwise a no-op change designed to reduce pyre errors.

Differential Revision: D66712036
@facebook-github-bot
Copy link
Contributor

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

@codecov-commenter
Copy link

codecov-commenter commented Dec 3, 2024

Codecov Report

Attention: Patch coverage is 98.63014% with 1 line in your changes missing coverage. Please review.

Project coverage is 95.78%. Comparing base (e0ff0b4) to head (8eb3e55).

Files with missing lines Patch % Lines
ax/service/utils/analysis_base.py 97.82% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3137   +/-   ##
=======================================
  Coverage   95.78%   95.78%           
=======================================
  Files         498      499    +1     
  Lines       50518    50536   +18     
=======================================
+ Hits        48388    48406   +18     
  Misses       2130     2130           

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

danielcohenlive pushed a commit to danielcohenlive/Ax-1 that referenced this pull request Dec 5, 2024
Summary:

AnalysisBase will have optional `_experiment` and `_generation_strategy` fields, with getter and setter properties, as well as the `standard_generation_strategy` prop from `Scheduler`.  `Scheduler` and `AxClient` will inherit these from it.

The naming is less than optimal with AnalysisBase holding the experiment and GS.

This is otherwise a no-op change designed to reduce pyre errors.

Differential Revision: D66712036
@facebook-github-bot
Copy link
Contributor

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

Daniel Cohen added 2 commits December 5, 2024 13:51
Summary:

This will allow us to also use clients to generate analyses.

Reviewed By: jelena-markovic

Differential Revision: D66706329
Summary:

AnalysisBase will have optional `_experiment` and `_generation_strategy` fields, with getter and setter properties, as well as the `standard_generation_strategy` prop from `Scheduler`.  `Scheduler` and `AxClient` will inherit these from it.

The naming is less than optimal with AnalysisBase holding the experiment and GS.

This is otherwise a no-op change designed to reduce pyre errors.

Differential Revision: D66712036
@facebook-github-bot
Copy link
Contributor

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

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