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

Support initialising AskTellOptimizer with extended datasets #849

Merged
merged 3 commits into from
Jun 2, 2024

Conversation

uri-granta
Copy link
Collaborator

@uri-granta uri-granta commented May 31, 2024

Related issue(s)/PRs:

Summary

Another use case for track_data=False: being able to initialise a new AskTellOptimizer using the state saved after ask was called but before the datasets were updated. The acquisition state is already updated correctly due to filter_dataset. This fix adds the dataset length to the AskTellOptimiserState so that the local_data_ixs can also be updated automatically.

Fully backwards compatible: yes

PR checklist

  • The quality checks are all passing
  • The bug case / new feature is covered by tests
  • Any new features are well-documented (in docstrings or notebooks)

Copy link
Collaborator

@avullo avullo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@uri-granta uri-granta marked this pull request as ready for review June 2, 2024 09:40
@uri-granta uri-granta merged commit 1636b5d into develop Jun 2, 2024
12 checks passed
@uri-granta uri-granta deleted the uri/local_data_len branch June 2, 2024 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants