sourcecred/sharness
Dandelion Mané 91ca897d99
Update output format to include credOverTime (#1791)
As requested by @s-ben, we map now include cred over time for all
contributions, not just contributors. Based on discussion with @Beanow,
we made it an optional field so that we can optionally filter to save
space instead.

I was initially concerned that we wouldn't be able to compute
credOverTime for non-user nodes in CredRank, which is why I left it out.
However, informed by discussions with @mZargham, I'm less concerned
because PageRank (and thus CredRank) is a linear operator on the seed
vector. So, if we want to compute the "cred over time" for individual
contributions in CredRank, we can do so by constructing time-specific
seed vectors (which flow only to activity minting cred in the specified
interval), and the sum of contributions time-scoped cred will be equal
to the non-time-scoped cred. It's good that we'll still have the epoch
nodes for users, as that will allow us to model sponsorship cred flow
dynamics.

cc @wchargin for CredRank considerations.

Test plan: Unit tests updated, `yarn test` passes.
2020-05-15 11:12:15 -07:00
..
__snapshots__ Update output format to include credOverTime (#1791) 2020-05-15 11:12:15 -07:00
.gitignore Add a `.gitignore` for Sharness (#673) 2018-08-15 16:31:00 -07:00
Makefile Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
SHARNESS_LICENSE Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
aggregate-results.sh Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
dummy.t Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
sharness.sh Add `sharness` for shell-based testing (#597) 2018-08-06 12:56:25 -07:00
test_build_static_site.t Convert load pipeline to pass WeightedGraphs (#1605) 2020-01-30 15:42:23 -08:00
test_cli_output.t Add `sourcecred output` command (#1783) 2020-05-07 20:25:52 -07:00
test_cli_scores.t Fixup project for move of example repos 2019-07-23 02:36:28 +01:00
test_js_tests_have_top_level_describe_block_with_filename.t Disable the Git plugin 2019-07-09 19:40:17 +01:00
test_load_example_github.t Fixup project for move of example repos 2019-07-23 02:36:28 +01:00
test_no_raw_anchor_elements.t Initiatives: implement "cooked HTML" template parsing (#1478) 2020-01-07 14:15:26 +01:00