cyberosa commited on
Commit
e0ef18b
·
1 Parent(s): b6b1f39

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:4cce72220ffb7a01231ef212108a74a7b015bd4d9b6ec558aa5500888d30b7ed
3
- size 23849830
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3810b7e09f1ddb30cf12c0868bd6f737fc9b7d0d844052e74b8bd294efd2725d
3
+ size 23482212
all_trades_profitability.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:35e87eec011a28f476ae1d059355f80c333e4c48512a9da608095f8bfc8ddf5e
3
- size 7998499
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4520236ff3f0b7ecc6cd7ee74b4d2e5d21e24bfec5828e9d850a5e15f761f7a
3
+ size 8407003
closed_market_metrics.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d487eb9bbee4d1655b9cdd73348ae19918298131fc49f8f14dbca87f083d5789
3
- size 130198
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62703a57373671e5d8cd855c92407fe894a7eb9d6be458f18caed6665d9a9aef
3
+ size 130661
closed_markets_div.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a0683e0f2629fd53aa869cebfa6db43e6a945f065b68d298dbd3d8f7dd0745f7
3
- size 79917
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ee4230677a5b647e398cb38c9061e119ab6479ad75e668732bd42faabe9194e1
3
+ size 80654
daily_info.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:da73457d04b2151608feb90f781a6dc09f9ebb32c6d61641f3f4dadac6981283
3
- size 2410524
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:843316717dc8aac6830b89d01e0a1fa89594d818058fa2272dfdfaad58579995
3
+ size 3171820
daily_mech_requests.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5f585187fe4a0d78f0888c33cfcb855466c8bd37d1995dfc29c2c5f086635dcf
3
- size 10665
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c8612d437ba494953fc57ed0080242061ee6a5f02215043503bfb0292c0b0c54
3
+ size 10595
error_by_markets.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5a16a4ffdd1c0db12ae8cf27e9a8441d1aa32a3836c8abb94ed3d20eb22f9530
3
- size 11119
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ebbcedcfdde2bc889e722f0883697691b8a5ab9260529694674a6c9e3ddaf5f5
3
+ size 11264
errors_by_mech.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:aaceae38f7686cc13d9b039bab2a456db4bb5ad7416f608d9ce1b2dc11fef632
3
- size 6034
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:059084c94660dce071c54ae79c98ee2c225bba270d5e849a0608ad943db2c7f9
3
+ size 6039
invalid_trades.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f984311f27e4ed2f6cee82ac12f7978e905c27471b874acd4b5996783031ff74
3
- size 151136
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e80c7ec207f89fd008c41b95c60e014db297f9286ca3bdb5f308c3579f127727
3
+ size 150690
latest_result_DAA_Pearl.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:5b0e6855dc16bbd2e3a8fa0494265053fdb213afd9455232feeedd4e16793796
3
- size 5068
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e1e0d7302667fa54a3b3b54a70c841f9d3ae842ff1692eedce85583313bbd525
3
+ size 5073
latest_result_DAA_QS.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2c756e265448cf0a398c622efa0c15fcb67fc6022259250767bcec8d513fda8
3
- size 5431
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b41b440f2e99aa383cb5c32b892128e3a135e46a3621dddb52fed7a2792b0767
3
+ size 5436
pearl_agents.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:fe911782dd174eac5d1ab2fbf573b9b495d0b090921fed1d9a8f2c94def2ab8c
3
- size 45615
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:64d9d05edaecf2e8c1fafdd623a51c29b8dab7a3f69dc2fa970c75c44395d06b
3
+ size 45643
retention_activity.parquet.gz CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:040881fbed0c32d62ee4a048138cad24c7a3c2b8344b65ab251edb46c4ef5c2f
3
- size 6798199
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54412c26973dafd4c33da2bf03bac614bdddf9d77281eeeb589120f631b91a83
3
+ size 6651896
scripts/daa.py CHANGED
@@ -192,8 +192,8 @@ def get_latest_result_from_DAA_QS(dune_client: DuneClient):
192
  )
193
  try:
194
  # Add error handling and sanitize headers
195
- # query_result = dune_client.run_query_dataframe(query=query)
196
- query_result = dune_client.get_latest_result_dataframe(5193717)
197
  print(f"DAA QS query result = {query_result.head()}")
198
  return query_result
199
  except UnicodeEncodeError:
@@ -209,8 +209,8 @@ def get_latest_result_from_DAA_Pearl(dune_client: DuneClient):
209
  query = QueryBase(
210
  query_id=5193539,
211
  )
212
- # query_result = dune_client.run_query_dataframe(query=query)
213
- query_result = dune_client.get_latest_result_dataframe(5193539)
214
  print(f"DAA Pearl query result = {query_result.head()}")
215
  return query_result
216
 
@@ -220,8 +220,8 @@ def get_the_list_of_pearl_agents(dune_client: DuneClient):
220
  query = QueryBase(
221
  query_id=5194206,
222
  )
223
- # query_result = dune_client.run_query_dataframe(query=query)
224
- query_result = dune_client.get_latest_result_dataframe(5194206)
225
  print(f"Pearl agents query result = {query_result.head()}")
226
  # keep only the columns: safe_address, service_id, service_owner
227
  query_result = query_result[["safe_address", "serviceId", "service_owner"]]
 
192
  )
193
  try:
194
  # Add error handling and sanitize headers
195
+ query_result = dune_client.run_query_dataframe(query=query)
196
+ # query_result = dune_client.get_latest_result_dataframe(5193717)
197
  print(f"DAA QS query result = {query_result.head()}")
198
  return query_result
199
  except UnicodeEncodeError:
 
209
  query = QueryBase(
210
  query_id=5193539,
211
  )
212
+ query_result = dune_client.run_query_dataframe(query=query)
213
+ # query_result = dune_client.get_latest_result_dataframe(5193539)
214
  print(f"DAA Pearl query result = {query_result.head()}")
215
  return query_result
216
 
 
220
  query = QueryBase(
221
  query_id=5194206,
222
  )
223
+ query_result = dune_client.run_query_dataframe(query=query)
224
+ # query_result = dune_client.get_latest_result_dataframe(5194206)
225
  print(f"Pearl agents query result = {query_result.head()}")
226
  # keep only the columns: safe_address, service_id, service_owner
227
  query_result = query_result[["safe_address", "serviceId", "service_owner"]]
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-03-25")
140
  clean_old_data_from_json_files()
141
  except Exception as e:
142
  print("Error cleaning the oldest information from parquet files")
@@ -145,7 +145,7 @@ def only_new_weekly_analysis():
145
  compute_tools_based_datasets()
146
  # move to tmp folder the new generated files
147
  move_files()
148
- # prepare_daa_data()
149
  logging.info("Weekly analysis files generated and saved")
150
 
151
 
 
136
 
137
  save_historical_data()
138
  try:
139
+ clean_old_data_from_parquet_files("2025-03-28")
140
  clean_old_data_from_json_files()
141
  except Exception as e:
142
  print("Error cleaning the oldest information from parquet files")
 
145
  compute_tools_based_datasets()
146
  # move to tmp folder the new generated files
147
  move_files()
148
+ prepare_daa_data()
149
  logging.info("Weekly analysis files generated and saved")
150
 
151
 
service_map.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:ad95609126ba5462ce679b2480ebd5987e2b91f0ce3080c3656a8305de63abda
3
- size 139480
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:437c98297ce16c5827c34c5a2b4b5a8697740817d55c57489a1b9fdac53f5be1
3
+ size 140164
tools_accuracy.csv CHANGED
@@ -1,13 +1,13 @@
1
  tool,tool_accuracy,total_requests,min,max
2
- claude-prediction-offline,73.746312684365789,300,2025-05-25 10:30:10,2025-05-28 17:10:50
3
- claude-prediction-online,74.41176470588236,300,2025-05-25 00:00:15,2025-05-28 18:47:35
4
- prediction-offline,74.6268656716418,300,2025-05-25 00:00:30,2025-05-28 23:44:15
5
- prediction-offline-sme,74.85207100591716,300,2025-05-25 00:13:15,2025-05-28 19:01:20
6
- prediction-online,75.07418397626113,300,2025-05-25 07:33:20,2025-05-28 23:43:40
7
- prediction-online-sme,74.30340557275542,300,2025-05-25 07:05:50,2025-05-28 23:26:15
8
- prediction-request-rag,79.09967845659164,300,2025-05-25 14:16:25,2025-05-28 15:37:10
9
- prediction-request-rag-claude,76.03550295857988,300,2025-05-25 13:21:55,2025-05-28 13:30:50
10
- prediction-request-reasoning,76.42585551330798,300,2025-05-25 07:14:15,2025-05-28 23:44:45
11
- prediction-request-reasoning-claude,78.93175074183977,300,2025-05-25 13:48:00,2025-05-28 12:25:10
12
- prediction-url-cot-claude,72.86135693215339,300,2025-05-25 00:12:40,2025-05-28 15:21:20
13
- superforcaster,76.38036809815951,300,2025-05-25 00:00:20,2025-05-28 19:47:45
 
1
  tool,tool_accuracy,total_requests,min,max
2
+ claude-prediction-offline,58.76707339282462,54910,2025-03-28 08:16:20,2025-05-28 03:56:15
3
+ claude-prediction-online,61.63179618559636,28104,2025-03-28 00:00:50,2025-05-21 18:47:35
4
+ prediction-offline,55.29988158774213,294733,2025-03-28 00:00:10,2025-05-29 00:30:20
5
+ prediction-offline-sme,55.62106918238994,2544,2025-03-28 07:16:30,2025-05-28 01:49:45
6
+ prediction-online,48.407544836116266,12936,2025-03-28 07:07:05,2025-05-28 22:06:20
7
+ prediction-online-sme,48.463187991422444,6995,2025-03-28 07:32:15,2025-05-28 23:17:15
8
+ prediction-request-rag,48.03921568627451,204,2025-03-28 08:40:25,2025-05-20 15:37:10
9
+ prediction-request-rag-claude,49.074074074074076,216,2025-03-28 08:48:25,2025-05-20 13:30:50
10
+ prediction-request-reasoning,52.34733873685331,112766,2025-03-28 07:14:45,2025-05-28 23:01:25
11
+ prediction-request-reasoning-claude,64.60674157303372,178,2025-03-28 15:23:25,2025-05-20 12:25:10
12
+ prediction-url-cot-claude,57.27636849132176,749,2025-03-28 07:13:15,2025-05-20 15:21:20
13
+ superforcaster,53.32753079807178,14936,2025-03-28 00:20:00,2025-05-28 18:42:15
unknown_traders.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:c0326692f98cb66f81861d03770a00f175c0f74cb92701c82fad2c83b08b6c24
3
- size 1175134
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5130943066687f17b6c8e416f3ea9351f9623b948cbe465e1d937d37a436513b
3
+ size 1170909
weekly_mech_calls.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7118650f729d6680445582d1df748fe3905564e7b940802a5ad382c6c4752553
3
- size 55053
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:687714f0df09edb51166d4f5e32655aed17f628348e3ab830e5565af32aaccf8
3
+ size 56008
winning_df.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:d4590505730313af3b1c692ce50180e62227d076af23684ad5c3663871b49e00
3
- size 11208
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fbfac0c07e7c2737d338e481c567cffdb7cb8c9e48b291ebfa4a2cc4550a7c0a
3
+ size 11562