MCPcopy Index your code
hub / github.com/idank/explainshell / _pick

Function _pick

tools/loadtest.py:63–64  ·  view source on GitHub ↗
(pool: list[str], rng: random.Random)

Source from the content-addressed store, hash-verified

61
62
63def _pick(pool: list[str], rng: random.Random) -> str:
64 return rng.choice(pool)
65
66
67# --- command templates ------------------------------------------------------

Callers 5

gen_amass_cmdFunction · 0.85
gen_git_clone_cmdFunction · 0.85
gen_log_processing_cmdFunction · 0.85
gen_perl_cleanup_cmdFunction · 0.85
gen_hardlink_cmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected