loubnabnl HF staff commited on
Commit
4c0620c
1 Parent(s): 91d44ed

update namespace for tests

Browse files
Files changed (1) hide show
  1. tests.py +1 -1
tests.py CHANGED
@@ -6,7 +6,7 @@ solution_sample2 = json.load(open("test_examples/solutions_problem_2.json", "r")
6
  single_solutions = [solution_sample1[:1], solution_sample2[:1]]
7
  multiple_solutions = [solution_sample1[:3], solution_sample2[:3]]
8
 
9
- metric = load("loubnabnl/apps_metric")
10
  result_1 = metric.compute(predictions=single_solutions, level="all")
11
  result_2 = metric.compute(predictions=multiple_solutions, level="all", k_list=[1, 2, 3])
12
 
 
6
  single_solutions = [solution_sample1[:1], solution_sample2[:1]]
7
  multiple_solutions = [solution_sample1[:3], solution_sample2[:3]]
8
 
9
+ metric = load("codeparrot/apps_metric")
10
  result_1 = metric.compute(predictions=single_solutions, level="all")
11
  result_2 = metric.compute(predictions=multiple_solutions, level="all", k_list=[1, 2, 3])
12