Changes between Version 6 and Version 7 of BackendUtilities


Ignore:
Timestamp:
Sep 2, 2011, 8:50:41 PM (13 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BackendUtilities

    v6 v7  
    3131Returns ERR_OPENDIR if the directory is not there
    3232(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 credit
    42  * if N==2, return min of claimed credits
    43  * if N>2, toss out high and low claimed credit, and return the average of the rest.
    44