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)
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