def p_comp_for1(p):
    target = p[2]
    set_context(target, Store, p)
    p[0] = [ast.comprehension(target=target, iter=p[4], ifs=[])]
Here the passed arguments should be already checked, y_pred is array of 0 and 1
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_comp_for1--crossover with--dataset/ETHPy150Open anaderi/lhcb_trigger_ml/hep_ml/metrics.py/compute_sb