luulinh90s
commited on
Commit
Β·
1f7d8d6
1
Parent(s):
38fa440
update
Browse filesThis view is limited to 50 files because it contains too many changes. Β
See raw diff
- app.py +5 -5
- {visualizations β htmls_POS}/FN/test-1000.html +0 -0
- {visualizations β htmls_POS}/FN/test-1035.html +0 -0
- {visualizations β htmls_POS}/FN/test-1040.html +0 -0
- {visualizations β htmls_POS}/FN/test-1070.html +0 -0
- {visualizations β htmls_POS}/FN/test-1090.html +0 -0
- {visualizations β htmls_POS}/FN/test-1098.html +0 -0
- {visualizations β htmls_POS}/FN/test-1197.html +0 -0
- {visualizations β htmls_POS}/FN/test-1205.html +0 -0
- {visualizations β htmls_POS}/FN/test-1218.html +0 -0
- {visualizations β htmls_POS}/FN/test-1221.html +0 -0
- {visualizations β htmls_POS}/FN/test-124.html +0 -0
- {visualizations β htmls_POS}/FN/test-1300.html +0 -0
- {visualizations β htmls_POS}/FN/test-1466.html +0 -0
- {visualizations β htmls_POS}/FN/test-1470.html +0 -0
- {visualizations β htmls_POS}/FN/test-1506.html +0 -0
- {visualizations β htmls_POS}/FN/test-1516.html +0 -0
- {visualizations β htmls_POS}/FN/test-1561.html +0 -0
- {visualizations β htmls_POS}/FN/test-1568.html +0 -0
- {visualizations β htmls_POS}/FN/test-1588.html +0 -0
- {visualizations β htmls_POS}/FN/test-163.html +0 -0
- {visualizations β htmls_POS}/FN/test-164.html +0 -0
- {visualizations β htmls_POS}/FN/test-1648.html +0 -0
- {visualizations β htmls_POS}/FN/test-1859.html +0 -0
- {visualizations β htmls_POS}/FN/test-1860.html +0 -0
- {visualizations β htmls_POS}/FN/test-189.html +0 -0
- {visualizations β htmls_POS}/FN/test-1915.html +0 -0
- {visualizations β htmls_POS}/FN/test-1952.html +0 -0
- {visualizations β htmls_POS}/FN/test-1977.html +0 -0
- {visualizations β htmls_POS}/FN/test-2006.html +0 -0
- {visualizations β htmls_POS}/FN/test-217.html +0 -0
- {visualizations β htmls_POS}/FN/test-236.html +0 -0
- {visualizations β htmls_POS}/FN/test-247.html +0 -0
- {visualizations β htmls_POS}/FN/test-285.html +0 -0
- {visualizations β htmls_POS}/FN/test-287.html +0 -0
- {visualizations β htmls_POS}/FN/test-313.html +0 -0
- {visualizations β htmls_POS}/FN/test-322.html +0 -0
- {visualizations β htmls_POS}/FN/test-340.html +0 -0
- {visualizations β htmls_POS}/FN/test-393.html +0 -0
- {visualizations β htmls_POS}/FN/test-435.html +0 -0
- {visualizations β htmls_POS}/FN/test-436.html +0 -0
- {visualizations β htmls_POS}/FN/test-437.html +0 -0
- {visualizations β htmls_POS}/FN/test-440.html +0 -0
- {visualizations β htmls_POS}/FN/test-445.html +0 -0
- {visualizations β htmls_POS}/FN/test-500.html +0 -0
- {visualizations β htmls_POS}/FN/test-51.html +0 -0
- {visualizations β htmls_POS}/FN/test-552.html +0 -0
- {visualizations β htmls_POS}/FN/test-584.html +0 -0
- {visualizations β htmls_POS}/FN/test-643.html +0 -0
- {visualizations β htmls_POS}/FN/test-663.html +0 -0
app.py
CHANGED
@@ -19,10 +19,10 @@ app.config['SECRET_KEY'] = 'supersecretkey' # Change this to a random secret ke
|
|
19 |
|
20 |
# Directories for visualizations
|
21 |
VISUALIZATION_DIRS_PLAN_OF_SQLS = {
|
22 |
-
"TP": "
|
23 |
-
"TN": "
|
24 |
-
"FP": "
|
25 |
-
"FN": "
|
26 |
}
|
27 |
|
28 |
VISUALIZATION_DIRS_CHAIN_OF_TABLE = {
|
@@ -143,7 +143,7 @@ def experiment(username):
|
|
143 |
if method == "Chain-of-Table":
|
144 |
vis_dir = 'htmls_COT'
|
145 |
else:
|
146 |
-
vis_dir = '
|
147 |
|
148 |
# Determine the correct visualization directory based on the category
|
149 |
for category, dir_path in (VISUALIZATION_DIRS_CHAIN_OF_TABLE if method == "Chain-of-Table" else VISUALIZATION_DIRS_PLAN_OF_SQLS).items():
|
|
|
19 |
|
20 |
# Directories for visualizations
|
21 |
VISUALIZATION_DIRS_PLAN_OF_SQLS = {
|
22 |
+
"TP": "htmls_POS/TP",
|
23 |
+
"TN": "htmls_POS/TN",
|
24 |
+
"FP": "htmls_POS/FP",
|
25 |
+
"FN": "htmls_POS/FN"
|
26 |
}
|
27 |
|
28 |
VISUALIZATION_DIRS_CHAIN_OF_TABLE = {
|
|
|
143 |
if method == "Chain-of-Table":
|
144 |
vis_dir = 'htmls_COT'
|
145 |
else:
|
146 |
+
vis_dir = 'htmls_POS'
|
147 |
|
148 |
# Determine the correct visualization directory based on the category
|
149 |
for category, dir_path in (VISUALIZATION_DIRS_CHAIN_OF_TABLE if method == "Chain-of-Table" else VISUALIZATION_DIRS_PLAN_OF_SQLS).items():
|
{visualizations β htmls_POS}/FN/test-1000.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1035.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1040.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1070.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1090.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1098.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1197.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1205.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1218.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1221.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-124.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1300.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1466.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1470.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1506.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1516.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1561.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1568.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1588.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-163.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-164.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1648.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1859.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1860.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-189.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1915.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1952.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-1977.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-2006.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-217.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-236.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-247.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-285.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-287.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-313.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-322.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-340.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-393.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-435.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-436.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-437.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-440.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-445.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-500.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-51.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-552.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-584.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-643.html
RENAMED
File without changes
|
{visualizations β htmls_POS}/FN/test-663.html
RENAMED
File without changes
|