cyberosa commited on
Commit ·
1f29ed0
1
Parent(s): 2a71201
daily data update
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
- retention_activity.parquet.gz +2 -2
- scripts/mech_request_utils.py +1 -0
- scripts/pull_data.py +1 -1
- scripts/staking.py +5 -5
- 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:4954551bbfe9f069d7505e6ba42489aedd14ab6b6f3dd968c4ffcb7d88eb4f42
|
| 3 |
+
size 81280
|
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:a527f3641af577f4fd4e40270c7eb1a5ebe12a76a1759d149e165f6251baf37d
|
| 3 |
+
size 9022916
|
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:0d0cd171aafb01b8253236ae3295d9658f7152621d40bda80d688911cd0317f6
|
| 3 |
+
size 129782
|
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:2f5d50ea1071fab0c33bc6a3c1f5d4d9eb8e6fa5d81d549871a90cbc50d1b404
|
| 3 |
+
size 86984
|
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:2481ad3b2f09ebd379e187ef3812ca1d4ce26e7b19e3870867274aea1e297b17
|
| 3 |
+
size 2475527
|
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:bb2e14e0943728eb5150c4fc5051878e11a43f43f1186b2c4b308f3704ee31ad
|
| 3 |
+
size 10386
|
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:f9dcba5cb03ad5891c0b5b36aa70c9de8a5306147a82c2e7e6766cb857aab2ed
|
| 3 |
+
size 11406
|
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:2c99840d57f264c1c12848471f1aaf6d3a0d7b3a4969b106feaeaadc8be03c73
|
| 3 |
+
size 8626552
|
scripts/mech_request_utils.py
CHANGED
|
@@ -42,6 +42,7 @@ from web3_utils import (
|
|
| 42 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 43 |
from utils import (
|
| 44 |
ROOT_DIR,
|
|
|
|
| 45 |
JSON_DATA_DIR,
|
| 46 |
MECH_SUBGRAPH_URL,
|
| 47 |
SUBGRAPH_API_KEY,
|
|
|
|
| 42 |
from concurrent.futures import ThreadPoolExecutor, as_completed
|
| 43 |
from utils import (
|
| 44 |
ROOT_DIR,
|
| 45 |
+
TMP_DIR,
|
| 46 |
JSON_DATA_DIR,
|
| 47 |
MECH_SUBGRAPH_URL,
|
| 48 |
SUBGRAPH_API_KEY,
|
scripts/pull_data.py
CHANGED
|
@@ -135,7 +135,7 @@ def only_new_weekly_analysis():
|
|
| 135 |
|
| 136 |
save_historical_data()
|
| 137 |
try:
|
| 138 |
-
clean_old_data_from_parquet_files("2025-01-
|
| 139 |
except Exception as e:
|
| 140 |
print("Error cleaning the oldest information from parquet files")
|
| 141 |
print(f"reason = {e}")
|
|
|
|
| 135 |
|
| 136 |
save_historical_data()
|
| 137 |
try:
|
| 138 |
+
clean_old_data_from_parquet_files("2025-01-20")
|
| 139 |
except Exception as e:
|
| 140 |
print("Error cleaning the oldest information from parquet files")
|
| 141 |
print(f"reason = {e}")
|
scripts/staking.py
CHANGED
|
@@ -299,11 +299,11 @@ def check_service_map():
|
|
| 299 |
|
| 300 |
if __name__ == "__main__":
|
| 301 |
# create_service_map()
|
| 302 |
-
trades_df = pd.read_parquet(JSON_DATA_DIR / "all_trades_df.parquet")
|
| 303 |
-
trades_df = trades_df.loc[trades_df["is_invalid"] == False]
|
| 304 |
|
| 305 |
-
trades_df = label_trades_by_staking(trades_df=trades_df)
|
| 306 |
-
print(trades_df.staking.value_counts())
|
| 307 |
# trades_df.to_parquet(TMP_DIR / "result_staking.parquet", index=False)
|
| 308 |
# generate_retention_activity_file()
|
| 309 |
# a_list = [
|
|
@@ -311,5 +311,5 @@ if __name__ == "__main__":
|
|
| 311 |
# "0x0845f4ad01a2f41da618848c7a9e56b64377965e",
|
| 312 |
# ]
|
| 313 |
# check_list_addresses(address_list=a_list)
|
| 314 |
-
|
| 315 |
# check_service_map()
|
|
|
|
| 299 |
|
| 300 |
if __name__ == "__main__":
|
| 301 |
# create_service_map()
|
| 302 |
+
# trades_df = pd.read_parquet(JSON_DATA_DIR / "all_trades_df.parquet")
|
| 303 |
+
# trades_df = trades_df.loc[trades_df["is_invalid"] == False]
|
| 304 |
|
| 305 |
+
# trades_df = label_trades_by_staking(trades_df=trades_df)
|
| 306 |
+
# print(trades_df.staking.value_counts())
|
| 307 |
# trades_df.to_parquet(TMP_DIR / "result_staking.parquet", index=False)
|
| 308 |
# generate_retention_activity_file()
|
| 309 |
# a_list = [
|
|
|
|
| 311 |
# "0x0845f4ad01a2f41da618848c7a9e56b64377965e",
|
| 312 |
# ]
|
| 313 |
# check_list_addresses(address_list=a_list)
|
| 314 |
+
update_service_map(start=2)
|
| 315 |
# check_service_map()
|
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:811db7dc74d6126b61cb1aec61fa6ea34f006a1866797777805f7a004ed1d427
|
| 3 |
+
size 197383
|
tools_accuracy.csv
CHANGED
|
@@ -1,13 +1,13 @@
|
|
| 1 |
tool,tool_accuracy,total_requests,min,max
|
| 2 |
-
claude-prediction-offline,62.
|
| 3 |
-
claude-prediction-online,
|
| 4 |
-
prediction-offline,
|
| 5 |
-
prediction-offline-sme,
|
| 6 |
-
prediction-online,
|
| 7 |
-
prediction-online-sme,
|
| 8 |
-
prediction-request-rag,
|
| 9 |
-
prediction-request-rag-claude,50.0,
|
| 10 |
-
prediction-request-reasoning,48.
|
| 11 |
-
prediction-request-reasoning-claude,
|
| 12 |
-
prediction-url-cot-claude,
|
| 13 |
-
superforcaster,
|
|
|
|
| 1 |
tool,tool_accuracy,total_requests,min,max
|
| 2 |
+
claude-prediction-offline,62.78688247332014,59127,2025-01-20 00:21:45,2025-03-19 22:53:45
|
| 3 |
+
claude-prediction-online,64.0346364883402,34992,2025-01-20 00:05:00,2025-03-20 01:49:25
|
| 4 |
+
prediction-offline,52.85051044604747,160252,2025-01-20 00:00:35,2025-03-20 19:46:25
|
| 5 |
+
prediction-offline-sme,51.737532808398946,9525,2025-01-20 00:04:05,2025-03-19 22:19:35
|
| 6 |
+
prediction-online,45.32849829351536,4688,2025-01-20 08:16:55,2025-03-19 18:13:35
|
| 7 |
+
prediction-online-sme,43.79407616361072,2836,2025-01-20 10:14:25,2025-03-19 18:09:05
|
| 8 |
+
prediction-request-rag,46.47201946472019,411,2025-01-20 14:52:35,2025-03-19 17:19:20
|
| 9 |
+
prediction-request-rag-claude,50.0,382,2025-01-20 10:45:45,2025-03-19 15:45:45
|
| 10 |
+
prediction-request-reasoning,48.8685556867375,60984,2025-01-20 08:19:15,2025-03-19 18:16:50
|
| 11 |
+
prediction-request-reasoning-claude,68.06282722513089,382,2025-01-20 12:22:05,2025-03-19 17:14:15
|
| 12 |
+
prediction-url-cot-claude,53.519668737060044,966,2025-01-20 02:03:40,2025-03-20 01:20:50
|
| 13 |
+
superforcaster,56.772887136310345,9383,2025-01-20 00:19:20,2025-03-21 05:25:30
|
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:0066ca6c95ca9f7170a6838de7a105931f325472f6b094b18a65d2782e4568d6
|
| 3 |
+
size 973103
|
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:9bcf12fd2abcb5a17b9b0ccdce99f0c3d1171db59ecc0d9fde2a8c5f6f0c65e6
|
| 3 |
+
size 56570
|
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:1371322dda362cedf83685aedac447eabaa90ddab7aa33b07fc720964aff5749
|
| 3 |
+
size 11047
|