Commit a2aa0dc
test(eliza): Fix keyword ranking test to match Python solution behavior
When both "i" and "always" keywords have no explicit rank (default 0),
the keyword that appears first in the input should be matched first.
This matches Python's stable sort behavior in the original solution.
Changed test expectation from "always" to "i" for input "i always do that"
since "i" appears before "always" in the sentence.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <[email protected]>1 parent a8f98e4 commit a2aa0dc
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| |||
0 commit comments