Scoring
Global Score Editor Documentation
This screen allows you you edit all global scores. Global scores are a score that can be reused elsewhere in the system. Scores are calcuated when the control is filled out and if the control has a spec, if the spec passes
Disabling a score will turn off that score, and anything using that score will no longer be scored by the system (System will behave as if a score was never assigned).
A common use for these is to setup Major, Minor scores for a control that are then tallied up for total score for a QC form.
To Add a new score, click on the "Add new", then fill out a name, and formula (this can be as simple as a number or complex mathematical formula) for the score, then click the save button.
Formulas
Enter any valid math expression here. You can use the name of a control to get the value of a control, or prefix it with score_ to get the score of the control. Formulas can be as simple as a fixed number (useful for control or spec scores)
Keywords
- value: Current value of the control. Only valid on scores attached to controls
- all: An array of all score values on the form
Example
80-Qty*score_temperature
This makes the score equal to 80 minus the Qty control value times the temperature controls score.
Example 2
50-sum(all)
This makes the score equal to 50 minus the total of all of the scores on the page
Example 3
1 / value
This makes the controls score equal to 1 over the controls value
Further Help
See the MathJS documentation for complete documentation on the various mathematical functions supported by the system.