cyberosa commited on
Commit
d954b1b
·
1 Parent(s): b1f5e34

updating daily data

Browse files
active_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:070a058d36c39393ea0862ad238e77f0f9422339ff288d1a15456fee03b99804
3
- size 22457796
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fe9281c09502a4d5310765ab3973e0cc61c3fd624e4c7bb12bac1cd82f40b71
3
+ size 22502970
all_trades_profitability.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:323cdbe23ab443e6f5389e31ebac278934097ebf25e2b3f62a2220b45ed474c3
3
- size 9551491
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0adaf0a9f57d4e3313cad0aa97a50950a3b6cf91e27fddca794071882559439b
3
+ size 9987094
closed_market_metrics.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a88fe42286d02bdbaf5be18d600db9430cc9885e6b444dd93156187f496657fa
3
- size 128811
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:df4ebaa9d11f70523e8bb55c417078f5a5919663bdfa4b55f9f1873032a0b78f
3
+ size 123395
closed_markets_div.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f8990a97c9ed109e3d0fcac6390b87057107f52b29fd6021d814e614d404cce3
3
- size 81124
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:70cc353611986aa8b00ed66c915cf3fa8c7514ba510cc644ee2054acec0072b1
3
+ size 83619
daily_info.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:27890d318c8dfdbcc402fb3a90652d72642cf08f66c56fde623e806483f5b5d4
3
- size 3761295
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0bcc2e23ef552ba6e35fb80a450f2ef929f4564cae84e62922cf46d69f009732
3
+ size 3671245
daily_mech_requests.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bb4b1be56c51a371aba86161f8a5805d20d551996f7b7f656c30c89c3c16896c
3
- size 10366
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1981f430053a4f6288a3241c379675dbf315bf56b063fd08eb4d59dcf3247c1f
3
+ size 10374
error_by_markets.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1ab34475acc2a6d3cd664f68b80915dd7cb941c0d909a3f872b2bab087e1d6b7
3
- size 11148
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ad1d3ba07eb3c3470fa95c0660d79d785c370f76f05dd7df81f67aea69a0e873
3
+ size 11217
errors_by_mech.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f6a002ba1ea11c135eb14f8b046be29c01b266a3d269df8f5a1b26c818c8be2a
3
- size 6096
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aafd4867c30927e6ec96cb978b6278bd85bde86e6462eb51b577955ad8b42901
3
+ size 6097
invalid_trades.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e80c7ec207f89fd008c41b95c60e014db297f9286ca3bdb5f308c3579f127727
3
- size 150690
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1cb1b49f5fbbc3c433060bc47a4f2b833918e494febf116d1d5be1b9f7e9182a
3
+ size 165696
latest_result_DAA_Pearl.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:0dc7435a63548a8c3f6de6addf9081eb83573d8b6ab1a458e46a9dc7e3c75ac1
3
- size 5095
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a934f4463aecfc8b4f653472ebb266b19af08f87c50613a7e103e276594be68d
3
+ size 5123
latest_result_DAA_QS.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:75202fda394e6a2feb62e47d1c7d1f099f545726e505733829de4838fe09d66d
3
- size 5468
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bdeae3a6540724f3bd9945377cfd4be0c33a5648b2170299de903c12c955ac15
3
+ size 5551
pearl_agents.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:64d9d05edaecf2e8c1fafdd623a51c29b8dab7a3f69dc2fa970c75c44395d06b
3
- size 45643
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4f938cd9638d5c265e7dad8bac4753f35854a953bb5be9058e30d4609d51c670
3
+ size 45999
retention_activity.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:632fe7e77e2865ee161043181d49675df53733e9d3823cc41fc74f4cda431759
3
- size 6181836
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f3b1ba5e65ef81d618d60f1e2c62aef7d0cd4e051f94b45df718305976f656c
3
+ size 6147365
scripts/cloud_storage.py CHANGED
@@ -96,12 +96,13 @@ if __name__ == "__main__":
96
  # filename = args.param_1
97
 
98
  client = initialize_client()
 
99
  # load_historical_file(client, filename)
100
  # process_historical_files(client)
101
  # checking files at the cloud storage
102
- files = ["data_delivers_22_04_2024.csv", "data_tools_22_04_2024.csv"]
103
- for old_file in files:
104
- # download_file(client=client, filename=tools_file)
105
- load_historical_file(
106
- client=client, filename=old_file, extra_folder=APRIL_FOLDER
107
- )
 
96
  # filename = args.param_1
97
 
98
  client = initialize_client()
99
+ download_file(client, "all_trades_profitability_20250103_162106.parquet")
100
  # load_historical_file(client, filename)
101
  # process_historical_files(client)
102
  # checking files at the cloud storage
103
+ # files = ["data_delivers_22_04_2024.csv", "data_tools_22_04_2024.csv"]
104
+ # for old_file in files:
105
+ # # download_file(client=client, filename=tools_file)
106
+ # load_historical_file(
107
+ # client=client, filename=old_file, extra_folder=APRIL_FOLDER
108
+ # )
scripts/pull_data.py CHANGED
@@ -136,7 +136,7 @@ def only_new_weekly_analysis():
136
 
137
  save_historical_data()
138
  try:
139
- clean_old_data_from_parquet_files("2025-04-02")
140
  clean_old_data_from_json_files()
141
  except Exception as e:
142
  print("Error cleaning the oldest information from parquet files")
 
136
 
137
  save_historical_data()
138
  try:
139
+ clean_old_data_from_parquet_files("2025-04-03")
140
  clean_old_data_from_json_files()
141
  except Exception as e:
142
  print("Error cleaning the oldest information from parquet files")
scripts/update_tools_accuracy.py CHANGED
@@ -167,8 +167,10 @@ def compute_tools_accuracy():
167
  print("Computing tool accuracy information")
168
  # Check if the file exists
169
  acc_data = old_acc_data = None
170
- if os.path.exists(ROOT_DIR / ACCURACY_FILENAME):
171
- acc_data = pd.read_csv(ROOT_DIR / ACCURACY_FILENAME)
 
 
172
  if os.path.exists(ROOT_DIR / "old_tools_accuracy.csv"):
173
  old_acc_data = pd.read_csv(ROOT_DIR / "old_tools_accuracy.csv")
174
  old_acc_data, new_acc_data = update_tools_accuracy(
 
167
  print("Computing tool accuracy information")
168
  # Check if the file exists
169
  acc_data = old_acc_data = None
170
+ # if os.path.exists(ROOT_DIR / ACCURACY_FILENAME):
171
+ # acc_data = pd.read_csv(ROOT_DIR / ACCURACY_FILENAME)
172
+ if os.path.exists(ROOT_DIR / "new_tools_accuracy.csv"):
173
+ acc_data = pd.read_csv(ROOT_DIR / "new_tools_accuracy.csv")
174
  if os.path.exists(ROOT_DIR / "old_tools_accuracy.csv"):
175
  old_acc_data = pd.read_csv(ROOT_DIR / "old_tools_accuracy.csv")
176
  old_acc_data, new_acc_data = update_tools_accuracy(
service_map.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9b187e246786db5358984a3bbb7d32a694194bd482a40d03c64b983fd579fe2e
3
- size 141405
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2fcf42ff0ccb1b5bc03d4acdfa62b57fbc0fb836b6de203ab3997a5cb1c74176
3
+ size 141804
tools_accuracy.csv CHANGED
@@ -1,13 +1,13 @@
1
  tool,tool_accuracy,total_requests,min,max
2
- claude-prediction-offline,58.16137739988474,98911,2025-04-02 05:16:45,2025-05-28 03:56:15
3
- claude-prediction-online,60.45149131432317,48816,2025-04-02 00:01:00,2025-05-21 18:47:35
4
- prediction-offline,57.25305077475218,515197,2025-04-02 00:00:05,2025-06-02 23:38:25
5
- prediction-offline-sme,56.91160809371672,4695,2025-04-02 00:57:25,2025-06-01 07:02:00
6
- prediction-online,48.791164658634536,24900,2025-04-02 07:32:50,2025-06-02 23:10:05
7
- prediction-online-sme,49.207660533233195,13315,2025-04-02 07:33:25,2025-06-02 22:36:55
8
- prediction-request-rag,44.9438202247191,356,2025-04-02 14:01:55,2025-05-20 15:37:10
9
- prediction-request-rag-claude,49.13151364764268,403,2025-04-02 12:05:10,2025-05-27 18:42:00
10
- prediction-request-reasoning,52.46685168054271,220524,2025-04-02 07:03:25,2025-06-02 23:19:40
11
- prediction-request-reasoning-claude,62.76923076923077,325,2025-04-02 12:25:50,2025-05-28 09:25:40
12
- prediction-url-cot-claude,57.18562874251497,1336,2025-04-02 05:46:40,2025-05-20 15:21:20
13
- superforcaster,53.940940576011656,27430,2025-04-02 00:02:10,2025-06-02 21:40:15
 
1
  tool,tool_accuracy,total_requests,min,max
2
+ claude-prediction-offline,58.11654125683762,194695,2025-04-02 05:16:45,2025-05-28 03:56:15
3
+ claude-prediction-online,60.49156425744636,96020,2025-04-02 00:01:00,2025-05-21 18:47:35
4
+ prediction-offline,57.90977857722443,1085751,2025-04-02 00:00:05,2025-06-02 23:59:50
5
+ prediction-offline-sme,57.38102775139812,9477,2025-04-02 00:57:25,2025-06-02 18:49:35
6
+ prediction-online,49.34838437655717,52178,2025-04-02 07:32:50,2025-06-02 23:59:45
7
+ prediction-online-sme,49.936244270599985,29017,2025-04-02 07:33:25,2025-06-02 23:28:40
8
+ prediction-request-rag,45.454545454545446,704,2025-04-02 14:01:55,2025-05-20 15:37:10
9
+ prediction-request-rag-claude,48.81693648816937,803,2025-04-02 12:05:10,2025-05-27 18:42:00
10
+ prediction-request-reasoning,52.66544481217284,455046,2025-04-02 07:03:25,2025-06-02 23:59:55
11
+ prediction-request-reasoning-claude,62.442040185471406,647,2025-04-02 12:25:50,2025-05-28 09:25:40
12
+ prediction-url-cot-claude,57.034220532319395,2630,2025-04-02 05:46:40,2025-05-20 15:21:20
13
+ superforcaster,54.32407911449828,55110,2025-04-02 00:02:10,2025-06-02 23:11:05
unknown_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:65eadab251e5050583115ad7deb8d09ed1e424551c033738ad1d2763937331b5
3
- size 1250859
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f76ed7a04efa157c0b527de6db9b9d4f9699096102d84ca3c39a8962b1cbb875
3
+ size 1304050
weekly_mech_calls.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:25ff82da88b37de6ae30dcf51b2798c80f68edacc4293250207e4879e0c0033d
3
- size 55804
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06927e67b71ee88d135a8a5693cda6e203322b2115c0d761ad5e893f3d1b8bc2
3
+ size 55530
winning_df.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d565bced2212ccf612d920667ab0871ef0ecc8f3606fa6973514a4f486d9ef5b
3
- size 11218
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:139f7f27a4a54e96dd67783ca013e39317b6cbb7650ffb464839cfe780e48e53
3
+ size 11318