[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-01-26 16:41:22 +00:00
parent 9115df2895
commit 2be7442dd5
9 changed files with 26 additions and 48 deletions

View file

@ -34,8 +34,7 @@ class OptimizerEvaluator:
categories=DiscreteScale(["yes", "no"]),
explanation=False,
)
.prompt(
"""
.prompt("""
You are an expert code validator specializing in PyTorch optimizers.
Your task is to determine if the provided optimizer code is completely valid and error-free.
@ -57,8 +56,7 @@ class OptimizerEvaluator:
- "no" if ANY criterion fails or there are ANY potential issues
Be extremely strict in your evaluation.
"""
)
""")
.via("xai/grok-3-latest", retries=2)
)