Changes between Version 6 and Version 7 of BackendUtilities
- Timestamp:
- Sep 2, 2011, 8:50:41 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BackendUtilities
v6 v7 31 31 Returns ERR_OPENDIR if the directory is not there 32 32 (this is generally a recoverable error, like NFS mount failure). 33 34 35 {{{36 double median_mean_credit(vector<RESULT> const& results);37 }}}38 39 Given a vector of N correct results, computes a canonical credit as follows:40 41 * if N==1, return that result's claimed credit42 * if N==2, return min of claimed credits43 * if N>2, toss out high and low claimed credit, and return the average of the rest.44