kicad2ems.core.reuse

A solver's result kept for a run done again (R-D20): beside the run's other
outputs, <name>_<solver>.result.npz (its S) and .result.json (its key, ports,
reference impedances, time, info, comment). A later run in the same output
folder takes it in place of a solve when its key is the same:

    the board every solver gets (<name>_board.json, as this run wrote it), the
    frequencies, every setting but the output ones (CORE's group 'output', and
    which solvers run), the solver's name and its check line (its version and
    where it is), and a digest of the stack's code that is loaded (kicad2ems,
    the solver packages, their engines): a change to any of them solves again.

--no-reuse solves every solver again. A result that cannot be read is no result
(the solver runs).
kicad2ems.core.reuse.code_digest()[source]
A digest of the stack's packages loaded now: their Python files and
compiled cores.
kicad2ems.core.reuse.keep(run, name, k, r)[source]
Solver `name`'s Result r kept under key k for the next run.
kicad2ems.core.reuse.key(run, name)[source]
The key of solver `name`'s result in this run, or None where the run's
board was not written.
kicad2ems.core.reuse.load(run, name, k)[source]
The Result kept for solver `name` under key k, or None.