예제 #1
0
파일: run.py 프로젝트: darius/icfp09
def run(scenario):
    p = scenarios.make_problem(scenario) #, watching=True)
    p.make_osf()
    print 'Scenario %d score: %6.2f' % (scenario, p.get_score())
예제 #2
0
파일: review.py 프로젝트: darius/icfp09
def review(osf_filename):
    team_id, scenario, frames = osf.load(open(osf_filename, 'rb'))
    p = scenarios.make_problem(scenario, watching=True)
    p.review(frames)