cyberosa commited on
Commit
b6b1f39
·
1 Parent(s): aed26cb

new accuracy file and updated gitignore

Browse files
.gitignore CHANGED
@@ -23,6 +23,7 @@ sdist/
23
  var/
24
  tmp/
25
  wheels/
 
26
  share/python-wheels/
27
  *.egg-info/
28
  .installed.cfg
 
23
  var/
24
  tmp/
25
  wheels/
26
+ predict_services.csv
27
  share/python-wheels/
28
  *.egg-info/
29
  .installed.cfg
scripts/update_tools_accuracy.py CHANGED
@@ -112,10 +112,17 @@ def compute_tools_accuracy():
112
  print(acc_data.head())
113
 
114
  # save the data into IPFS
 
 
 
 
 
115
  client = ipfshttpclient.connect(IPFS_SERVER)
116
  result = client.add(ROOT_DIR / ACCURACY_FILENAME)
117
  print(f"HASH of the tools accuracy file: {result['Hash']}")
 
118
 
119
 
120
  if __name__ == "__main__":
121
- compute_tools_accuracy()
 
 
112
  print(acc_data.head())
113
 
114
  # save the data into IPFS
115
+ push_csv_file_to_ipfs()
116
+
117
+
118
+ def push_csv_file_to_ipfs():
119
+ """Push the tools accuracy CSV file to IPFS."""
120
  client = ipfshttpclient.connect(IPFS_SERVER)
121
  result = client.add(ROOT_DIR / ACCURACY_FILENAME)
122
  print(f"HASH of the tools accuracy file: {result['Hash']}")
123
+ return result["Hash"]
124
 
125
 
126
  if __name__ == "__main__":
127
+ # compute_tools_accuracy()
128
+ push_csv_file_to_ipfs()
tools_accuracy.csv CHANGED
@@ -1,13 +1,13 @@
1
  tool,tool_accuracy,total_requests,min,max
2
- claude-prediction-offline,59.16516670952259,58335,2025-03-25 10:30:10,2025-05-20 17:10:50
3
- claude-prediction-online,61.720900918831056,30147,2025-03-25 00:00:15,2025-05-21 18:47:35
4
- prediction-offline,55.82833030292635,291490,2025-03-25 00:00:30,2025-05-25 23:44:15
5
- prediction-offline-sme,54.373795761079,2595,2025-03-25 00:13:15,2025-05-23 19:01:20
6
- prediction-online,47.90489642184557,12744,2025-03-25 07:33:20,2025-05-25 23:43:40
7
- prediction-online-sme,48.47560975609756,6560,2025-03-25 07:03:50,2025-05-25 23:26:15
8
- prediction-request-rag,46.60633484162896,221,2025-03-25 14:16:25,2025-05-20 15:37:10
9
- prediction-request-rag-claude,49.31506849315068,219,2025-03-25 13:21:55,2025-05-20 13:30:50
10
- prediction-request-reasoning,52.45239827515837,112706,2025-03-25 07:14:15,2025-05-25 23:44:45
11
- prediction-request-reasoning-claude,65.4054054054054,185,2025-03-25 13:48:00,2025-05-20 12:25:10
12
- prediction-url-cot-claude,57.590966122961106,797,2025-03-25 00:12:40,2025-05-20 15:21:20
13
- superforcaster,53.096715800362034,15468,2025-03-25 00:00:20,2025-05-25 19:47:45
 
1
  tool,tool_accuracy,total_requests,min,max
2
+ claude-prediction-offline,73.746312684365789,300,2025-05-25 10:30:10,2025-05-28 17:10:50
3
+ claude-prediction-online,74.41176470588236,300,2025-05-25 00:00:15,2025-05-28 18:47:35
4
+ prediction-offline,74.6268656716418,300,2025-05-25 00:00:30,2025-05-28 23:44:15
5
+ prediction-offline-sme,74.85207100591716,300,2025-05-25 00:13:15,2025-05-28 19:01:20
6
+ prediction-online,75.07418397626113,300,2025-05-25 07:33:20,2025-05-28 23:43:40
7
+ prediction-online-sme,74.30340557275542,300,2025-05-25 07:05:50,2025-05-28 23:26:15
8
+ prediction-request-rag,79.09967845659164,300,2025-05-25 14:16:25,2025-05-28 15:37:10
9
+ prediction-request-rag-claude,76.03550295857988,300,2025-05-25 13:21:55,2025-05-28 13:30:50
10
+ prediction-request-reasoning,76.42585551330798,300,2025-05-25 07:14:15,2025-05-28 23:44:45
11
+ prediction-request-reasoning-claude,78.93175074183977,300,2025-05-25 13:48:00,2025-05-28 12:25:10
12
+ prediction-url-cot-claude,72.86135693215339,300,2025-05-25 00:12:40,2025-05-28 15:21:20
13
+ superforcaster,76.38036809815951,300,2025-05-25 00:00:20,2025-05-28 19:47:45