CarmineOptions / derisk-research

MIT License
4 stars 14 forks source link

ODHack: Analyze liquidators #110

Open lukaspetrasek opened 1 month ago

lukaspetrasek commented 1 month ago

"Analyze the behavior of liquidators.

Steps: 1) Load a sample of events from the Google Storage for each of the following protocols: "zklend", "nostra_alpha", "nostra_mainnet", "hashstack_v0", and "hashstack_v1". You can find the sample e.g. for zkLend here: https://storage.googleapis.com/derisk-persistent-state/zklend_data/events_sample.parquet. To obtain the sample for other protocols, just change the folder in the address, e.g. https://storage.googleapis.com/derisk-persistent-state/nostra_alpha_data/events_sample.parquet for Nostra Alpha. Write the loading part in a way that the source can be easily changed from the Google Storage to a local database. 2) Identify only liquidation events. Use Starkscan to explore their structure. For example, this is one of zkLend's liquidation events. 3) Identify the amounts of debt tokens liquidated. 4) Visualize the behavior of all liquidators found in the sample in a Jupyter notebook. You should use the visualizations to answer the following questions:

petersdt commented 1 month ago

hi @lukaspetrasek can i work on this it will take me 2 working days.

james001-c commented 1 month ago

hi @lukaspetrasek I can handle this work. I'll import the necessary libraries to work with including pandas, seaborn and json, pymongo and other. Steps to actualize the the analysis

  1. I'll write a script to load a sample of events from Google Storage. This script will be modular to easily switch between Google Storage and a local database.
  2. I'll ensure the script can also connect to and load data from a local database.
  3. Then I will perform initial exploratory data analysis (EDA) to understand the structure and content of the dataset.
  4. For visualizations I'll use Bar charts, histograms, or pie charts to answer key questions. I can also do additional visualizations based on further hypotheses. By the end of the two days, I will provide a comprehensive analysis of liquidators' behavior, including detailed visualizations and insights drawn from the data.
martinvibes commented 1 month ago

hey @lukaspetrasek can I participate in this

lukaspetrasek commented 1 month ago

Hi, assigning @james001-c , because this task is not simple and they provided a better description of the approach.

@james001-c Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. Since this task is quite complex, we can even schedule an introductory call. What is you TG handler please? 🙏🏼

Consider joining our TG group. See also our contributor guidelines.

james001-c commented 1 month ago

Hi, assigning @james001-c , because this task is not simple and they provided a better description of the approach.

@james001-c Let me know if everything is clear and whether you'll be working on the issue. If you have any questions, please ask here. Since this task is quite complex, we can even schedule an introductory call. What is you TG handler please? 🙏🏼

Consider joining our TG group. See also our contributor guidelines.

@lukaspetrasek kindly reassign me this task my touchscreen mistakenly unassigned me. Thanks my TG handle is: James Nolson

Making a draft PR soon

I joined the TG group already

lukaspetrasek commented 1 month ago

Hi @james001-c , do you plan to finish the task?

lukaspetrasek commented 4 weeks ago

Hi @james001-c , unassigning you, because it looks like you've stopped working on this.

adrianvrj commented 4 weeks ago

Hi @lukaspetrasek can I work on this? It will probably take 3-4 working days!

What I am planning to do is the following:

james001-c commented 4 weeks ago

hi @lukaspetrasek i am still working on this currently and am making a pr soon to implement request made on the previous PR and address the questions updated above. would really appreciate it if am reassigned it will take me 40hrs from now to make a PR if am reassigned.

ManvithaMolakala commented 4 weeks ago

Hi @lukaspetrasek, I'd like to take this task based on our discussion on TG.

lukaspetrasek commented 4 weeks ago

Hi guys , we've already agreed with @ManvithaMolakala before via TG. She will take this task now 😉