cyberosa commited on
Commit
1f29ed0
·
1 Parent(s): 2a71201

daily data update

Browse files
active_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:113d798b36a7d1ff66049e15c4e6fafbb811f29d856f5780953e04ffe88b1331
3
- size 81877
 
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:2669920e7001bd8166df31baf3314c7198f76835ac4d8925e7d593ab85f1ea40
3
- size 9256405
 
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:4e6c9cfa735cb750423d037489d76d1758ffcdb9186f71761bb62928c1ae02ac
3
- size 130046
 
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:9f2d89f6dc3fd695cb46daf978d70951d3c1356e196272a90ba2d4950dc6a301
3
- size 86893
 
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:9550339e0cdb68b99d155308f5758e1454b1e88b69887a405cc2846fa1844cf8
3
- size 2586171
 
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:95c996d29028d2770c482a548e94411f1fb646c1f3b2f801213f226f1c38e6e6
3
- size 10364
 
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:4466b0eb6fa3a17b1d16e9f4f931f2eb7bbf97af7f500619831021f95abe0f33
3
- size 11847
 
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:2e1ee6685d03654badb4c773da1dd03b544f79e52d35889ac47980c74e24328d
3
- size 8684461
 
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-18")
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
- # update_service_map()
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:02e1b0a7a78847c58293a9e4216c3a45850ca9930705e4b0e9b9eb510cccd5be
3
- size 199972
 
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.11188218812107,61386,2025-01-18 00:03:50,2025-03-18 00:27:00
3
- claude-prediction-online,63.318462689462166,36089,2025-01-18 00:01:35,2025-03-18 02:34:25
4
- prediction-offline,53.14219571909922,165012,2025-01-18 00:00:15,2025-03-18 17:45:50
5
- prediction-offline-sme,52.17786760990399,9895,2025-01-18 00:10:50,2025-03-18 00:34:45
6
- prediction-online,46.170033670033675,4752,2025-01-18 08:19:45,2025-03-17 19:36:35
7
- prediction-online-sme,44.466600199401796,3009,2025-01-18 08:52:05,2025-03-17 18:16:35
8
- prediction-request-rag,48.458149779735685,454,2025-01-18 12:04:20,2025-03-17 18:49:05
9
- prediction-request-rag-claude,50.0,396,2025-01-18 11:07:00,2025-03-17 19:20:40
10
- prediction-request-reasoning,48.97235371807619,67387,2025-01-18 08:00:20,2025-03-17 19:47:50
11
- prediction-request-reasoning-claude,64.95327102803739,428,2025-01-18 10:36:15,2025-03-17 13:14:10
12
- prediction-url-cot-claude,52.24609375,1024,2025-01-18 01:02:40,2025-03-17 22:08:35
13
- superforcaster,57.50788643533124,9510,2025-01-18 00:45:10,2025-03-18 19:35:25
 
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:7e967c992fc7e5cf353c565f1c5a5f3161ec4cc6c5b875dc3801765783c99ec8
3
- size 942546
 
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:93da009d5274c55d72a43f2fe36dd561926976c56b58b16fcbf96b6c05e8497e
3
- size 57953
 
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:5c780d1e9b7fe21fd7f53d7f02c05377e4917e41965abdf281ba47071a91730c
3
- size 11446
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1371322dda362cedf83685aedac447eabaa90ddab7aa33b07fc720964aff5749
3
+ size 11047