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

Fix trial_as_task for pending points #3222

Closed

Conversation

danielcohenlive
Copy link

Summary:

The Change

If trial indices are not in the level dict, we set TRIAL_PARAM to the max in level_dict, which is the max observed trial index. We may choose to replace this with the target trial in a follow up.

We then have to ensure the trial_index is not set to something it shouldn't be in TrialAsTask.untransform_observation_features() and ChoiceToNumericChoice.untransform_observation_features(), which seem to be from generated points and come out as floats. I'm less certain about why this is. There may be another error in the modeling stack, but in the meantime it would block candidate generation.

The Promlem

Reviewed By: lena-kashtelyan

Differential Revision: D67766937

Summary:
## The Change
If trial indices are not in the level dict, we set TRIAL_PARAM to the max in level_dict, which is the max observed trial index.  We may choose to replace this with the target trial in a follow up.

We then have to ensure the trial_index is not set to something it shouldn't be in `TrialAsTask.untransform_observation_features()` and `ChoiceToNumericChoice.untransform_observation_features()`, which seem to be from generated points and come out as floats.  I'm less certain about why this is.  There may be another error in the modeling stack, but in the meantime it would block candidate generation.

## The Promlem

Reviewed By: lena-kashtelyan

Differential Revision: D67766937
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Jan 3, 2025
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

This pull request has been merged in f26f931.

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.

2 participants