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: eval_method cannot catch run factor error #260

Merged
merged 4 commits into from
Sep 14, 2024
Merged

Conversation

qew21
Copy link
Collaborator

@qew21 qew21 commented Sep 12, 2024

abort subsequent evaluators for invalid gen_df

Description

Motivation and Context

How Has This Been Tested?

  • Pass the test by running: pytest qlib/tests/test_all_pipeline.py under upper directory of qlib.
  • If you are adding a new feature, test on your own test scripts.

Screenshots of Test Results (if appropriate):

  1. Pipeline test:
  2. Your own tests:

Types of changes

  • Fix bugs
  • Add new feature
  • Update documentation

📚 Documentation preview 📚: https://RDAgent--260.org.readthedocs.build/en/260/

abort subsequent evaluators for invalid gen_df
@qew21 qew21 changed the title Update eval_method.py fix: eval_method cannot catch run factor error Sep 12, 2024
@qew21 qew21 marked this pull request as ready for review September 13, 2024 03:50
code = {"factor.py": factor_data["gt_code"]}
gt.inject_code(**code)
gt.execute()
Copy link
Contributor

Choose a reason for hiding this comment

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

why do we have to remove the execute?

@you-n-g you-n-g merged commit 2aaab31 into main Sep 14, 2024
6 of 7 checks passed
@you-n-g you-n-g deleted the benchmark-patch-1 branch September 14, 2024 09:47
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.

2 participants