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

Function gen_bot_cmd

tools/loadtest.py:150–152  ·  view source on GitHub ↗

Pick one of the bot templates uniformly at random and generate a cmd.

(rng: random.Random)

Source from the content-addressed store, hash-verified

148
149
150def gen_bot_cmd(rng: random.Random) -> str:
151 """Pick one of the bot templates uniformly at random and generate a cmd."""
152 return rng.choice(BOT_TEMPLATES)(rng)
153
154
155SIMPLE_CMDS = [

Callers 3

_fire_oneFunction · 0.85
_slow_readerFunction · 0.85
run_profileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected