Skip to main content

qc.pipeline.fake_sources

qc.pipeline.fake_sources(pids, n=150, seed=0)

n insertions drawn at random (without replacement, with seed) from pids, all the insertions of the release, sorted: the sources of the planted problems. The draw ignores every label, so the sources are a random sample of the release.