Dandelion Mané cb1d612f1f
Add the CredResult module (#1830)
This module has a concise and clean type for storing all the output data
from running SourceCred, including:
- The graph
- The weights
- The cred scores and flows
- The interval timing info
- The plugins used
- The parameters used

We also have a method `compute` which computes one of these given the
weighted graph, parameters, and plugins. It's all quite clean and
simple. I feel good about thsi API.

Test plan:
The main `compute` function is only sanity checked via flow and unit
testing, which is appropriate since it's a pure-piping function with
little than can go wrong. I've also added JSON serialization; this is
tested with round trip testing.
2020-06-01 17:47:20 -07:00
..
2020-05-07 20:25:52 -07:00
2020-05-11 19:02:08 -06:00
2020-05-08 15:31:29 +02:00