Repository navigation
fix(algorithms): fold and suggest near-miss parameter names - #877
Conversation
Parameter keys now resolve like algorithm names: case and -/_ aliases (batch-size, NOISE_BAND) map to the declared name, and a close typo ends with "did you mean 'batch_size'?". Closes #876.
|
Review at Verdict: PASS
risk_gate: pending (this comment). |
|
Verdict: PASS Correctness. Design fit. Good catch in Tests/docs. These cover the alias, the collision, three typo/meant pairs across evoskill, skillopt and rrsi, the no-guess case, and the CLI end to end, including "no spec written on error". The changelog fragment is present. Non-blocking nits:
|
Closes #876
What changed
Unknown algorithm parameter names now behave like algorithm names: a key that matches exactly one declared parameter once case and
-/_are ignored resolves to it (--param batch-size=1writesbatch_size), and a remaining close typo appends; did you mean 'batch_size'?. Unrelated names likenopestill get the full list and no guess. CLI--param, specs, and MCP shareresolve_params.Verification at the tip
Tip SHA: ea77629
Ran:
Not run: