Skip to main content

Module test_problems

Module test_problems 

Source
Expand description

Standard decoding test problems

A small curated set of decoding problems used by the standard decoder test harness. The library carries no policy about which problems each decoder should solve correctly — that is up to each caller (integration tests, CLI) to specify.

Structs§

StandardTestProblem
One standard test problem: a hypergraph plus a list of syndrome inputs.
TestCase
A single syndrome input for a standard problem.

Functions§

case_id
Format the identifier of a (problem, case) pair as "problem/case".
standard_test_problems
Return the standard list of decoding problems exercised by the harness.