-
Notifications
You must be signed in to change notification settings - Fork 26
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: continue_on_num_success/continue_on_success_ratio key error #226
Conversation
WalkthroughWalkthroughIn the file Changes
Sequence Diagram(s) (Beta)sequenceDiagram
participant User
participant caly_evo_step.py
participant Function1
participant Function2
User ->> caly_evo_step.py: Run function with run_config
caly_evo_step.py ->> caly_evo_step.py: Create no_slice_run_config
caly_evo_step.py ->> Function1: Call with no_slice_run_config
Function1 -->> caly_evo_step.py: Return result
caly_evo_step.py ->> Function2: Call with no_slice_run_config
Function2 -->> caly_evo_step.py: Return result
caly_evo_step.py -->> User: Return final result
Recent review detailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Additional context usedRuff
Additional comments not posted (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (2)
dpgen2/superop/caly_evo_step.py (2)
Line range hint
6-6
: Remove unused imports to clean up the code.- from pathlib import Path - from typing import Set - from dflow import OutputParameter, Workflow, argo_len, argo_range, argo_sequence, download_artifact, upload_artifact - from dflow.python import OPIO, Artifact, OPIOSign - from dpgen2.constants import calypso_index_patternAlso applies to: 11-11, 20-20, 24-24, 25-25, 26-26, 27-27, 28-28, 30-30, 34-34, 35-35, 36-36, 42-42
Line range hint
144-144
: Local variableprep_template_config
is assigned but never used.- prep_template_config = prep_config.pop("template_config")
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #226 +/- ##
=======================================
Coverage 84.40% 84.41%
=======================================
Files 95 95
Lines 5246 5249 +3
=======================================
+ Hits 4428 4431 +3
Misses 818 818 ☔ View full report in Codecov by Sentry. |
Summary by CodeRabbit