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

SyntheticRunner: @property decorator missing for def run_metadata_report_keys() #2011

Closed
ClaasRostock opened this issue Nov 22, 2023 · 2 comments

Comments

@ClaasRostock
Copy link

module: ax.runners.synthetic
class: SyntheticRunner
method: run_metadata_report_keys()

-> this methods overwrites a property of base class Runner. However, it does not declare the method as a property, though the base class does.

I expect that following test should fail until resolved (at least this is how I got aware of it in my local installation)
module: ax.core.tests.test_experiment
test: test_WarmStartFromOldExperiment() -> line 889 should fail

Best regards

Claas

@Balandat
Copy link
Contributor

Hmm good catch, I'll put up a fix.

Looks like we subclass the runner in the test and actually define this as a property so this is while the test doesn't fail: https://github.com/facebook/Ax/blob/main/ax/core/tests/test_experiment.py#L61-L64

cc @bernardbeckerman as this was introduced in #1869

Balandat added a commit to Balandat/Ax that referenced this issue Nov 22, 2023
facebook-github-bot pushed a commit that referenced this issue Nov 22, 2023
…#2012)

Summary:
Fixes the issue flagged in #2011

Pull Request resolved: #2012

Reviewed By: bernardbeckerman

Differential Revision: D51527890

Pulled By: Balandat

fbshipit-source-id: 4338d0237261b2ab51410e17422d0505bcc29e2f
@bernardbeckerman
Copy link
Contributor

Thanks! Closing this out.

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

No branches or pull requests

3 participants