Changing the default scoring values
Until leagues score under their own settings, every fixture is scored under the Classic default,
internal/settings/classic.json.
See League settings for what each part does.
- Edit the values in
classic.json. Points are integer hundredths. - Run
make test.settings.Classic()panics at start-up, and the tests fail, if the document is invalid. - Run
openfanta recompute --reason "goal 3.5".
The changed document has a new hash, so the recompute adds a run under the new hash. Runs under the old hash stay in the history. The API serves the runs of the current default.