MCPcopy Create free account
hub / github.com/idank/explainshell / opt_key

Function opt_key

tools/experiments/eval_size_routing.py:63–64  ·  view source on GitHub ↗
(o: Option)

Source from the content-addressed store, hash-verified

61
62
63def opt_key(o: Option) -> tuple:
64 return (tuple(sorted(o.short)), tuple(sorted(o.long)))
65
66
67def diff_options(left_opts: list[Option], right_opts: list[Option]) -> dict[str, Any]:

Callers 1

diff_optionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected