def METHOD_NAME(record, querydata):
    Fs = ( (0, 1, 2, 3),
           (2, 3),
           (0,),
           (1,) )
    mus = (1, 5, 0, 1)
    taus = ( (0, 7, 0, 1),
             (1, 2),
             (1,),
             (1,) )
    masks = [ checkSame(rcol, qcol) for rcol, qcol in zip(record, querydata) ]
    F_scores = []
    for F, tau, mu in zip(Fs, taus, mus):
        mults = (multConstToPtxt(column, t) for column, t in zip((masks[i] for i in F), tau))
        theSum = reduce(addTwoPtxts, mults)
        theSum = addTwoPtxts(theSum, [ [mu] for _ in masks[0] ])
        F_scores.append(theSum)
    return reduce(multTwoPtxts, F_scores)