Skip to content

Commit efca916

Browse files
committed
FIXED Path issues
This repo had similar path problems with its spec files. The same fix seems to work.
1 parent 5adfe55 commit efca916

5 files changed

Lines changed: 48 additions & 41 deletions

‎examples/outer_loop_test_bkt.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414
},
1515
"set_params" : {
16-
"HTML": "tutors/FractionArithmetic/fraction_arithmetic.html",
16+
"HTML": "./tutors/FractionArithmetic/fraction_arithmetic.html",
1717
},
1818
"batch_train": [
1919
{
@@ -57,19 +57,19 @@
5757
"concatenate" : [
5858
{"glob" :
5959
{"key" : "question_file",
60-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AD*",
60+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AD*",
6161
"obj_template" : {"kc_list" : ["AD check_convert","AD den3","AD num3","AD den4","AD num4","AD den5","AD num5","AD done"]}
6262
}
6363
},
6464
{"glob" :
6565
{"key" : "question_file",
66-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AS*",
66+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AS*",
6767
"obj_template" : {"kc_list" : ["AS den5","AS num5","AS done",]}
6868
}
6969
},
7070
{"glob" :
7171
{"key" : "question_file",
72-
"pattern": "tutors/FractionArithmetic/mass_production_brds/M*",
72+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/M*",
7373
"obj_template" : {"kc_list" : ["M den5","M num5","M done"]}
7474
}
7575
}

‎examples/outer_loop_test_dkt.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"when_learner": "decisiontree"
1111
}
1212
},
13-
"HTML": "tutors/FractionArithmetic/fraction_arithmetic.html",
13+
"HTML": "./tutors/FractionArithmetic/fraction_arithmetic.html",
1414
"abs_qf_paths": true
1515
},
1616
"training_set1": [
@@ -36,19 +36,19 @@
3636
"concatenate" : [
3737
{"glob" :
3838
{"key" : "question_file",
39-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AD*",
39+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AD*",
4040
"obj_template" : {"kc_list" : ["AD check_convert","AD den3","AD num3","AD den4","AD num4","AD den5","AD num5","AD done"]}
4141
}
4242
},
4343
{"glob" :
4444
{"key" : "question_file",
45-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AS*",
45+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AS*",
4646
"obj_template" : {"kc_list" : ["AS den5","AS num5","AS done"]}
4747
}
4848
},
4949
{"glob" :
5050
{"key" : "question_file",
51-
"pattern": "tutors/FractionArithmetic/mass_production_brds/M*",
51+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/M*",
5252
"obj_template" : {"kc_list" : ["M den5","M num5","M done"]}
5353
}
5454
}

‎examples/outer_loop_test_random.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515

1616
"set_params" : {
17-
"HTML": "tutors/FractionArithmetic/fraction_arithmetic.html"
17+
"HTML": "./tutors/FractionArithmetic/fraction_arithmetic.html"
1818
},
1919

2020
"batch_train": [
@@ -26,7 +26,7 @@
2626
"problem_set": {
2727
"glob" :
2828
{"key" : "question_file",
29-
"pattern": "tutors/FractionArithmetic/mass_production_brds/*.brd"
29+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/*.brd"
3030
}
3131
}
3232
}
Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,38 @@
11
{
2-
"set_params" : {
3-
"agent" : {
4-
"agent_type": "WhereWhenHowNoFoa",
5-
"stay_active": true,
6-
"dont_save": true,
7-
"function_set" : "fraction arith",
8-
"feature_set" : "fraction arith",
9-
"args": {
10-
"when_learner": "decisiontree"
11-
}
12-
},
13-
"HTML": "tutors/FractionArithmetic/fraction_arithmetic.html",
14-
"abs_qf_paths": true
15-
},
16-
"training_set1": [
2+
"set_params":
173
{
18-
"agent_name": "Random Controller",
19-
"repetitions" : 1,
20-
"outer_loop_controller" : {
21-
"type" : "Random",
22-
"problem_set": {
23-
"glob" :
24-
{"key" : "question_file",
25-
"pattern": "tutors/FractionArithmetic/mass_production_brds/*"
4+
"agent":
5+
{
6+
"agent_type": "WhereWhenHowNoFoa",
7+
"stay_active": true,
8+
"dont_save": true,
9+
"function_set": "fraction arith",
10+
"feature_set": "fraction arith",
11+
"args":
12+
{
13+
"when_learner": "decisiontree"
14+
}
15+
},
16+
"HTML": "./tutors/FractionArithmetic/fraction_arithmetic.html",
17+
"abs_qf_paths": true
18+
},
19+
"training_set1":
20+
[
21+
{
22+
"agent_name": "Random Controller",
23+
"repetitions": 1,
24+
"outer_loop_controller":
25+
{
26+
"type": "Random",
27+
"problem_set":
28+
{
29+
"glob":
30+
{
31+
"key": "question_file",
32+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/*"
33+
}
34+
}
2635
}
2736
}
28-
}
29-
}
30-
]
31-
}
37+
]
38+
}

‎examples/outer_loop_test_streak.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515

1616
"set_params" : {
17-
"HTML": "tutors/FractionArithmetic/fraction_arithmetic.html"
17+
"HTML": "./tutors/FractionArithmetic/fraction_arithmetic.html"
1818
},
1919

2020
"batch_train": [
@@ -45,19 +45,19 @@
4545
"concatenate" : [
4646
{"glob" :
4747
{"key" : "question_file",
48-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AD*",
48+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AD*",
4949
"obj_template" : {"kc_list" : ["AD check_convert","AD den3","AD num3","AD den4","AD num4","AD den5","AD num5","AD done"]}
5050
}
5151
},
5252
{"glob" :
5353
{"key" : "question_file",
54-
"pattern": "tutors/FractionArithmetic/mass_production_brds/AS*",
54+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/AS*",
5555
"obj_template" : {"kc_list" : ["AD check_convert", "AS den5","AS num5","AS done",]}
5656
}
5757
},
5858
{"glob" :
5959
{"key" : "question_file",
60-
"pattern": "tutors/FractionArithmetic/mass_production_brds/M*",
60+
"pattern": "./tutors/FractionArithmetic/mass_production_brds/M*",
6161
"obj_template" : {"kc_list" : ["AD check_convert", "M den5","M num5","M done"]}
6262
}
6363
}

0 commit comments

Comments
 (0)