26 | | Given a set of results (at least one of which is valid) compute the credit to be granted to all of them. Normally this function simply returns median_mean_credit(wu, results). If [WorkGeneration credit is specified in the workunit], call get_credit_from_wu(wu, results). |
| 26 | Given a set of results (at least one of which is valid) compute the credit to be granted to all of them. |
| 27 | Normally this function simply returns median_mean_credit(wu, results). |
| 28 | If [WorkGeneration credit is specified in the workunit], |
| 29 | call get_credit_from_wu(wu, results). |
104 | | It will average them if the claimed credits are close together. If they aren't, then it will compare each claimed credit against that computers historical granted credit per CPU sec to see which one is claiming closer to their historical average. It will grant credit to both computers with the claimed credit that is closer to the historical value. |
105 | | This helps grant the most appropriate credit for situations where there is a computer that always claims too low or a computer that always claims too high. |
| 114 | It will average them if the claimed credits are close together. |
| 115 | If they aren't, then it will compare each claimed credit against that computer's |
| 116 | historical granted credit per CPU sec to see which one is claiming closer to their historical average. |
| 117 | It will grant credit to both computers with the claimed credit that is closer to the historical value. |
| 118 | This helps grant the most appropriate credit for situations where there is a computer |
| 119 | that always claims too low or a computer that always claims too high. |