Hammad Jutt 1abed5f0ed
Add params field to Project type (#1801)
* Add params field to Project type

This will allow SourceCred instances to override the default alpha and interval decay parameters by adding an optional "params" field in their project.json file. If they don't include any of the fields, it will just fallback to use the default params.

Test Plan: Add params field in project.json file and see if the resulting SourceCred instance correctly picks up the custom alpha value.

* Rename params field in project to timelineCredParams

Makes the field more descriptive and allows it to be nullable

Test Plan: Ensure all usages of Project type are updated to use timelineCredParams field instead of params

* Update Snapshots

Update snapshots for new project version file

Test Plan: Ensure sharness tests pass in CI
2020-06-04 17:23:06 -07:00
..