MCPcopy Create free account
hub / github.com/It4innovations/hyperqueue / groups

Function groups

tests/test_resources.py:565–569  ·  view source on GitHub ↗
(job_id)

Source from the content-addressed store, hash-verified

563
564
565def groups(job_id):
566 with open(default_task_output(job_id)) as f:
567 data = [int(x) // 10 for x in f.read().rstrip().split(",")]
568 c = collections.Counter(data)
569 return sorted(c.values())
570
571
572def test_tight_vs_compact_policy(hq_env: HqEnv):

Callers 2

Calls 3

default_task_outputFunction · 0.85
valuesMethod · 0.80
splitMethod · 0.45

Tested by

no test coverage detected