sourcecred/sharness
Dandelion Mané 5de027e83d
Move weights out of TimelineCredParams (#1607)
This commit moves weights out of the "parameters" to TimelineCred. This
makes sense, because the Weights are now passed to TimelineCred via the
included WeightedGraph. As such, we now have the `api/load` options
include explicit Weights that are used as overrides, rather than having
them be included in the TimelineCred parameters.

Test plan: I've manually tested this commit by:
- Changing weights in the explorer, and verifying that the `recalculate
cred` button activates as expected, and the new weights are used
correctly in the resultant distribution.
- Verifying that downloading weights form the UI still works.
- Verified that uploading weights to the UI still works.
- Verifying that passing command-line weights files still works.

Also, `yarn test` passes.
2020-01-30 16:20:31 -08:00
..
__snapshots__ Move weights out of TimelineCredParams (#1607) 2020-01-30 16:20:31 -08: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_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