MCPcopy Index your code
hub / github.com/dask/dask / test_determinism_through_dask_values

Function test_determinism_through_dask_values

dask/array/tests/test_random.py:68–73  ·  view source on GitHub ↗
(generator_class)

Source from the content-addressed store, hash-verified

66
67
68def test_determinism_through_dask_values(generator_class):
69 samples_1 = generator_class(42).normal(size=1000, chunks=10)
70 samples_2 = generator_class(42).normal(size=1000, chunks=10)
71
72 assert set(samples_1.dask) == set(samples_2.dask)
73 assert_eq(samples_1, samples_2)
74
75
76def test_generator_consistent_names(generator_class):

Callers

nothing calls this directly

Calls 4

assert_eqFunction · 0.90
generator_classFunction · 0.85
setClass · 0.85
normalMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…