cyberosa commited on
Commit ·
d954b1b
1
Parent(s): b1f5e34
updating daily data
Browse files- active_traders.parquet +2 -2
- all_trades_profitability.parquet.gz +2 -2
- closed_market_metrics.parquet +2 -2
- closed_markets_div.parquet +2 -2
- daily_info.parquet +2 -2
- daily_mech_requests.parquet +2 -2
- error_by_markets.parquet +2 -2
- errors_by_mech.parquet +2 -2
- invalid_trades.parquet +2 -2
- latest_result_DAA_Pearl.parquet +2 -2
- latest_result_DAA_QS.parquet +2 -2
- pearl_agents.parquet +2 -2
- retention_activity.parquet.gz +2 -2
- scripts/cloud_storage.py +7 -6
- scripts/pull_data.py +1 -1
- scripts/update_tools_accuracy.py +4 -2
- service_map.pkl +2 -2
- tools_accuracy.csv +12 -12
- unknown_traders.parquet +2 -2
- weekly_mech_calls.parquet +2 -2
- winning_df.parquet +2 -2
active_traders.parquet
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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 |
-
|
| 105 |
-
|
| 106 |
-
|
| 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-
|
| 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 |
-
|
|
|
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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.
|
| 3 |
-
claude-prediction-online,60.
|
| 4 |
-
prediction-offline,57.
|
| 5 |
-
prediction-offline-sme,
|
| 6 |
-
prediction-online,
|
| 7 |
-
prediction-online-sme,49.
|
| 8 |
-
prediction-request-rag,
|
| 9 |
-
prediction-request-rag-claude,
|
| 10 |
-
prediction-request-reasoning,52.
|
| 11 |
-
prediction-request-reasoning-claude,62.
|
| 12 |
-
prediction-url-cot-claude,57.
|
| 13 |
-
superforcaster,
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 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:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:139f7f27a4a54e96dd67783ca013e39317b6cbb7650ffb464839cfe780e48e53
|
| 3 |
+
size 11318
|