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

Remove _check_previous_required_observation method #1999

Closed
wants to merge 2 commits into from

Conversation

mgarrard
Copy link
Contributor

Summary: This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Differential Revision: D51420534

@facebook-github-bot facebook-github-bot added CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported labels Nov 17, 2023
@facebook-github-bot
Copy link
Contributor

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 18, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

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

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

@codecov-commenter
Copy link

codecov-commenter commented Nov 18, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (66dd7df) 94.50% compared to head (3be9a63) 94.47%.

❗ Current head 3be9a63 differs from pull request most recent head 69fa2f7. Consider uploading reports for the commit 69fa2f7 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1999      +/-   ##
==========================================
- Coverage   94.50%   94.47%   -0.04%     
==========================================
  Files         460      460              
  Lines       44333    44334       +1     
==========================================
- Hits        41898    41883      -15     
- Misses       2435     2451      +16     

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 18, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 27, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 27, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

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

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

mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
mgarrard pushed a commit to mgarrard/Ax that referenced this pull request Nov 28, 2023
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

Differential Revision: D51420534
Mia Garrard added 2 commits November 28, 2023 13:49
…ategy (facebook#2002)

Summary:

This diff removes the last uses of num_remaining_trials_until_max_parallelism(), num_trials, num_can_complete, and enforce_num_trials from the GenerationStrategy file. This can be done bc we can compute all the necessary info on GenerationNode now. And, since we want GenerationStrategy to accept GenerationNodes and GenerationSteps we cannot have any leftover calls from the GenerationStep level.

Reviewed By: lena-kashtelyan

Differential Revision: D51172395
Summary:

This method is redundant and checks for a state that we should never reach. In the process of updating to GenerationNode based GS, maintaining this method would entail keeping track of previous nodes. The tech debt of doing so outweighs the potential reward of keeping the function. Also I think since use_update has been deprecated this function is also less relevant.

Reviewed By: lena-kashtelyan

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

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 14a5615.

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

Successfully merging this pull request may close these issues.

3 participants