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

Implement new parameter setting config style #393

Closed

Conversation

JasonKChow
Copy link
Contributor

Summary:
To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Differential Revision: D63679916

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 1, 2024
@facebook-github-bot
Copy link
Contributor

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

@facebook-github-bot
Copy link
Contributor

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 1, 2024
Summary:
Pull Request resolved: facebookresearch#393

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 1, 2024
Summary:
Pull Request resolved: facebookresearch#393

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 10, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 10, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 10, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 12, 2024
Summary:
Pull Request resolved: facebookresearch#393

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 14, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 14, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 14, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 14, 2024
Summary:
Pull Request resolved: facebookresearch#393

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 15, 2024
Summary:
Pull Request resolved: facebookresearch#393

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Differential Revision: D63679916
JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 18, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 18, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

Differential Revision: D63679916
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

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

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

JasonKChow added a commit to JasonKChow/aepsych that referenced this pull request Oct 18, 2024
Summary:

To support more granular parameter settings in the future, we need to change the config style to be able to separately handle settings for each parameter.

Currently the only setting for each parameter are the lower and upper bounds, but we also implement parameter types here (which currently does nothing).

This is technically not a breaking change. Even though we have changed all documentation to match the new style, it is possible to define parameter bounds the old way. This will throw a warning however as this causes all parameter-specific bounds to be ignored.

Old tests in test_config.py are also modified to match the new style unless specifically testing for these changes. Other tests not in test_config.py are left unchanged (this was the case for the previous major config change where experiment was a section).

Reviewed By: crasanders

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

This pull request has been merged in 3c88868.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants