luulinh90s commited on
Commit
1f7d8d6
Β·
1 Parent(s): 38fa440
This view is limited to 50 files because it contains too many changes. Β  See raw diff
Files changed (50) hide show
  1. app.py +5 -5
  2. {visualizations β†’ htmls_POS}/FN/test-1000.html +0 -0
  3. {visualizations β†’ htmls_POS}/FN/test-1035.html +0 -0
  4. {visualizations β†’ htmls_POS}/FN/test-1040.html +0 -0
  5. {visualizations β†’ htmls_POS}/FN/test-1070.html +0 -0
  6. {visualizations β†’ htmls_POS}/FN/test-1090.html +0 -0
  7. {visualizations β†’ htmls_POS}/FN/test-1098.html +0 -0
  8. {visualizations β†’ htmls_POS}/FN/test-1197.html +0 -0
  9. {visualizations β†’ htmls_POS}/FN/test-1205.html +0 -0
  10. {visualizations β†’ htmls_POS}/FN/test-1218.html +0 -0
  11. {visualizations β†’ htmls_POS}/FN/test-1221.html +0 -0
  12. {visualizations β†’ htmls_POS}/FN/test-124.html +0 -0
  13. {visualizations β†’ htmls_POS}/FN/test-1300.html +0 -0
  14. {visualizations β†’ htmls_POS}/FN/test-1466.html +0 -0
  15. {visualizations β†’ htmls_POS}/FN/test-1470.html +0 -0
  16. {visualizations β†’ htmls_POS}/FN/test-1506.html +0 -0
  17. {visualizations β†’ htmls_POS}/FN/test-1516.html +0 -0
  18. {visualizations β†’ htmls_POS}/FN/test-1561.html +0 -0
  19. {visualizations β†’ htmls_POS}/FN/test-1568.html +0 -0
  20. {visualizations β†’ htmls_POS}/FN/test-1588.html +0 -0
  21. {visualizations β†’ htmls_POS}/FN/test-163.html +0 -0
  22. {visualizations β†’ htmls_POS}/FN/test-164.html +0 -0
  23. {visualizations β†’ htmls_POS}/FN/test-1648.html +0 -0
  24. {visualizations β†’ htmls_POS}/FN/test-1859.html +0 -0
  25. {visualizations β†’ htmls_POS}/FN/test-1860.html +0 -0
  26. {visualizations β†’ htmls_POS}/FN/test-189.html +0 -0
  27. {visualizations β†’ htmls_POS}/FN/test-1915.html +0 -0
  28. {visualizations β†’ htmls_POS}/FN/test-1952.html +0 -0
  29. {visualizations β†’ htmls_POS}/FN/test-1977.html +0 -0
  30. {visualizations β†’ htmls_POS}/FN/test-2006.html +0 -0
  31. {visualizations β†’ htmls_POS}/FN/test-217.html +0 -0
  32. {visualizations β†’ htmls_POS}/FN/test-236.html +0 -0
  33. {visualizations β†’ htmls_POS}/FN/test-247.html +0 -0
  34. {visualizations β†’ htmls_POS}/FN/test-285.html +0 -0
  35. {visualizations β†’ htmls_POS}/FN/test-287.html +0 -0
  36. {visualizations β†’ htmls_POS}/FN/test-313.html +0 -0
  37. {visualizations β†’ htmls_POS}/FN/test-322.html +0 -0
  38. {visualizations β†’ htmls_POS}/FN/test-340.html +0 -0
  39. {visualizations β†’ htmls_POS}/FN/test-393.html +0 -0
  40. {visualizations β†’ htmls_POS}/FN/test-435.html +0 -0
  41. {visualizations β†’ htmls_POS}/FN/test-436.html +0 -0
  42. {visualizations β†’ htmls_POS}/FN/test-437.html +0 -0
  43. {visualizations β†’ htmls_POS}/FN/test-440.html +0 -0
  44. {visualizations β†’ htmls_POS}/FN/test-445.html +0 -0
  45. {visualizations β†’ htmls_POS}/FN/test-500.html +0 -0
  46. {visualizations β†’ htmls_POS}/FN/test-51.html +0 -0
  47. {visualizations β†’ htmls_POS}/FN/test-552.html +0 -0
  48. {visualizations β†’ htmls_POS}/FN/test-584.html +0 -0
  49. {visualizations β†’ htmls_POS}/FN/test-643.html +0 -0
  50. {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": "visualizations/TP",
23
- "TN": "visualizations/TN",
24
- "FP": "visualizations/FP",
25
- "FN": "visualizations/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 = 'visualizations'
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