Install any skill in seconds. Free to start, no credit card required.
Get Started Free →vibeeval/gradient-methods
Problem-solving strategies for gradient methods in optimization
Passed 22 of 22 test cases with the skill, and 21 of 22 without it.
1 fixed21 passed either way0 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
How can I compute the symbolic gradient of x^2 + y^2 with respect to variables x and y using command-line tools?
| Checked | Without skill | With skill |
|---|---|---|
| Executes sympy_compute.py diff with --var option specifying variables | Missed | Passed |
The instructions your model reads when the skill loads.
Use this skill when working on gradient-methods problems in optimization.
Basic Gradient Descent
Step Size Selection
| Method | Approach |
|---|---|
| Fixed | alpha constant (requires tuning) |
| Backtracking | Armijo condition: f(x - alphagrad) <= f(x) - calpha* |
| Exact line search | minimize f(x - alpha*grad) over alpha |
| Adaptive | Adam, RMSprop (ML applications) |
Accelerated Methods
scipy.optimize.minimize(f, x0, method='CG') - conjugate gradientNewton's Method
scipy.optimize.minimize(f, x0, method='BFGS')Convergence Diagnostics
sympy_compute.py diff "f" --var x for gradienttest cases passed, vs 21 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.