Parity: what a solver holds, read back from its native model, against the board
- minus what it declared. A solver may approximate the board, but it must say
so: any difference it did not declare is a finding.
devs = solver.deviations(job, prep) # [solvers.Deviation], by the solver's
# own rules
rb = solver.readback(job, prep) # what its native model holds (None: no
# readback)
problems = check(job.m, rb, devs) # [] when every difference was declared
Compared: every via (position, radius, the heights it spans), edge walls, copper
area per layer, the elements of each lumped part, the ports. A declared
deviation changes what is expected: a via moved to `to`, an item `dropped`, vias
`added` for it (edge walls as via rows), copper `area` added on a `layer`, a
part made of `to` elements.