cyberosa commited on
Commit
e1358b2
·
1 Parent(s): fc80b60

adding new weekly data and fixing issue in active traders script

Browse files
active_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8af2ea941bbf708c21137aee3d3b0e67cbc1cae231f2c3be8c0eff9f932fd96e
3
- size 126697
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ab103db04f7495e518122fb261f466baa56f7dd159119ee7f754e3fa4cf0c4d3
3
+ size 128246
all_trades_profitability.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8bbb1ebd06cd888e38b5c76395ab0ebcbd7c90e76b89b6c2aae7e6388802a1ed
3
- size 8184368
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b49eb6aeb88e843dbd347d5834f7bc28a938305400cf37b52a699d846687a136
3
+ size 8470999
closed_market_metrics.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:bf38d83e91c75da723dd284d8a46cea0db7202f8ca58a055fcde9a2868d7a751
3
- size 125187
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ed014ab85bdb71ed09c81710ee58afe494ce7db2860d1e5c45847f5c8d52f224
3
+ size 127882
closed_markets_div.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9bec804cb87993aae5b43cf6bd68f1bd568605d1ac4c67f172815baba8881bdb
3
- size 78339
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8a787805a33b83e6de236bebe6b0c33e671d87fb9cfdeeea6d90f6dedf6099d
3
+ size 79891
daily_info.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d8a3943b602836d98f5695a8fbd55f55884acfdc7a2e21986f901914e2c4184
3
- size 3064669
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a548a4345d002f38eabb509330ea6fc8a33b7967eae98a8e7e969e4b06c9c8c0
3
+ size 3092987
daily_mech_requests.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e9b3e611dab5ff47a9ddd0380d774b51d649a086258615ff134e55e38219783f
3
- size 10682
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e34c4ff06d7045a98150711447824a15686e8597d1b78ab1597c4b25e2ceed53
3
+ size 10808
error_by_markets.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:230a0de316cf593c9828846e3c21dcc356e5eb37d70c8ba06a7b0e443a1051b8
3
- size 11826
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17fb05e28ac8e13b248a4b2474ef0ada5055a3a4dd8d6dce0d5ba1ffa0feed43
3
+ size 11903
errors_by_mech.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8439978e35f7d4f130a1c51e607214cc78c924277ea901b92939a8e387c5ebc0
3
- size 5459
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1eb935b14920718a001110c7d7fb94f198ace4addf30602751baa4f91ff2fee
3
+ size 5569
invalid_trades.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:00205d6fc88a62697781ac6bf83ea9daf79dbc8228cf993424a8362647da67cf
3
- size 94533
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3411e6a921040bfa95733ec92ad226a64d250af17c8e2579f7a454492a4f3149
3
+ size 100593
retention_activity.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:34fe268e647b9abccf39e388631468f9566e269199f3c987160693c63e8313ca
3
- size 6817908
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f48220fddd7a2269d45bb7363decf160b3f1f6f1258a609cf923a41d9bbf3335
3
+ size 7054078
scripts/active_traders.py CHANGED
@@ -33,7 +33,9 @@ def compute_active_traders_dataset():
33
  tool_traders = tools_df.trader_address.unique()
34
  mapping = check_list_addresses(tool_traders)
35
  # add trader type to tools_df
36
- tools_df["trader_type"] = tools_df.trader_address.apply(lambda x: mapping[x])
 
 
37
  tools_df = tools_df[
38
  ["month_year_week", "market_creator", "trader_type", "trader_address"]
39
  ]
 
33
  tool_traders = tools_df.trader_address.unique()
34
  mapping = check_list_addresses(tool_traders)
35
  # add trader type to tools_df
36
+ tools_df["trader_type"] = tools_df.trader_address.apply(
37
+ lambda x: mapping.get(x, "unknown")
38
+ )
39
  tools_df = tools_df[
40
  ["month_year_week", "market_creator", "trader_type", "trader_address"]
41
  ]
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-02-23")
139
  clean_old_data_from_json_files()
140
  except Exception as e:
141
  print("Error cleaning the oldest information from parquet files")
 
135
 
136
  save_historical_data()
137
  try:
138
+ clean_old_data_from_parquet_files("2025-02-27")
139
  clean_old_data_from_json_files()
140
  except Exception as e:
141
  print("Error cleaning the oldest information from parquet files")
scripts/staking.py CHANGED
@@ -272,15 +272,11 @@ def check_list_addresses(address_list: list):
272
  found_key = key
273
  mapping[trader_address] = "Olas"
274
  trader_types.append("Olas")
275
- if trader_address == "0xfd2b6aa1b58a9647d485625dca27b0ebb249c043":
276
- print("Olas trader found")
277
  break
278
 
279
  if found_key == -1:
280
  mapping[trader_address] = "non_Olas"
281
  trader_types.append("non_Olas")
282
- if trader_address == "0xfd2b6aa1b58a9647d485625dca27b0ebb249c043":
283
- print("Non-Olas trader found")
284
  return mapping
285
 
286
 
 
272
  found_key = key
273
  mapping[trader_address] = "Olas"
274
  trader_types.append("Olas")
 
 
275
  break
276
 
277
  if found_key == -1:
278
  mapping[trader_address] = "non_Olas"
279
  trader_types.append("non_Olas")
 
 
280
  return mapping
281
 
282
 
service_map.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d00d465bcdd9cc7fe567cea94cb26b8ac41addb355a11e6ca30dc10b55bad126
3
- size 204076
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:007bebef8fdfca18408ac4145964b0ec06e718fc7c2745d1b419225f1afb4ebf
3
+ size 204235
tools_accuracy.csv CHANGED
@@ -1,13 +1,13 @@
1
  tool,tool_accuracy,total_requests,min,max
2
- claude-prediction-offline,61.26769281558205,72699,2025-02-23 01:26:50,2025-04-22 23:39:20
3
- claude-prediction-online,63.1319869347196,43474,2025-02-23 00:00:45,2025-04-23 00:27:00
4
- prediction-offline,55.75265963364282,314611,2025-02-23 00:00:05,2025-04-23 22:50:10
5
- prediction-offline-sme,44.27252308460194,4007,2025-02-23 00:12:10,2025-04-23 00:57:25
6
- prediction-online,44.102092435042536,8698,2025-02-23 08:10:40,2025-04-23 22:02:00
7
- prediction-online-sme,46.45200984413454,4876,2025-02-23 08:01:30,2025-04-23 23:20:25
8
- prediction-request-rag,40.74074074074074,378,2025-02-23 08:38:55,2025-04-22 14:09:05
9
- prediction-request-rag-claude,53.082191780821915,292,2025-02-23 15:04:55,2025-04-22 13:43:05
10
- prediction-request-reasoning,51.905692790711456,84405,2025-02-23 08:04:00,2025-04-23 23:26:00
11
- prediction-request-reasoning-claude,65.07936507936508,315,2025-02-23 13:40:45,2025-04-20 14:27:35
12
- prediction-url-cot-claude,63.013698630136986,1095,2025-02-23 00:29:35,2025-04-22 22:33:05
13
- superforcaster,53.32139770342017,16198,2025-02-23 00:00:55,2025-04-23 19:02:25
 
1
  tool,tool_accuracy,total_requests,min,max
2
+ claude-prediction-offline,61.978404829658786,75202,2025-02-27 00:29:25,2025-04-27 21:52:55
3
+ claude-prediction-online,64.25790093271756,44172,2025-02-27 00:32:00,2025-04-28 01:32:05
4
+ prediction-offline,55.84941750337366,323092,2025-02-27 00:01:25,2025-04-28 23:31:30
5
+ prediction-offline-sme,44.794871794871796,3900,2025-02-27 00:58:55,2025-04-27 22:49:05
6
+ prediction-online,43.458790915875895,9379,2025-02-27 08:08:30,2025-04-28 22:37:50
7
+ prediction-online-sme,46.32243684992571,5384,2025-02-27 07:58:15,2025-04-28 23:26:30
8
+ prediction-request-rag,39.19308357348703,347,2025-02-27 11:25:20,2025-04-26 17:36:30
9
+ prediction-request-rag-claude,50.17301038062284,289,2025-02-27 13:50:00,2025-04-27 11:24:25
10
+ prediction-request-reasoning,51.65085793456251,93830,2025-02-27 07:59:45,2025-04-28 23:44:40
11
+ prediction-request-reasoning-claude,65.16129032258064,310,2025-02-27 11:36:35,2025-04-27 14:42:25
12
+ prediction-url-cot-claude,61.422222222222224,1125,2025-02-27 02:18:05,2025-04-27 22:06:10
13
+ superforcaster,54.05258056699782,16508,2025-02-27 00:03:40,2025-04-28 21:23:00
unknown_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:49a2cd57ead5226d99d73a315becca9623bd56fa080f5fd48d1217d93a247d5e
3
- size 1238980
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6d23ff7e2ec05549b901688bdb2a6e259d7efa8420a8218aca8a4c2b5b078d9
3
+ size 1232249
weekly_mech_calls.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae9107155be3175e181e45a1dcac923c74fbe5b6f3624015ec9190250d495f2b
3
- size 56118
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b36a9195773d53b90970d147e5382c9af9f8e888b9cd83efa9e9b7080d37c898
3
+ size 56451
winning_df.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:2d106e91fce9c2cae0b8f1c825909fc299bc063ed1a2d1818f7e8ffefb64f3d3
3
- size 11648
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:180b3004a9a60d304efb61774de2824995ea3a51586b636a20c3ad72cd3acbfd
3
+ size 11689