def output(part):

    solution = ''

    start = time.clock()
    try:
        solution = solve_it(load_input_data(part.input_file))
    except Exception, e:
        print 'the solve_it(input_data) method from solver.py raised an exception'
        print 'try testing it with python ./solver.py before running this submission script'
        print 'exception message:'
        print e
        print ''
        return 'Local Exception =('
    end = time.clock()

    if not isinstance(solution, str):
        print 'Warning: the submitted solution was not ASCII and will be converted.  Some information may be lost.'
        print 'Orginal: '
        print solution
        solution = solution.encode('ascii', 'ignore')

    print 'Submitting: '
    print solution

    return solution.strip() + '\n' + str(end - start)
Use student code to compute the output for test cases.
dataset/ETHPy150Open discreteoptimization/setcover/submit.py/output