---
# System prepended metadata

title: Edge and Node Data Analysis Challenge

---

# Edge and Node Data Analysis Challenge

## Overview

Edge and Node (E&N) is the team behind [The Graph](https://thegraph.com/), a decentralized indexing and querying protocol for public blockchain data. To show off how your would contribute to such a protocol, your challenge, should you choose to accept it is to analyze a dataset produced from another decentralized protocol, the automated market maker [Uniswap](https://uniswap.org/). To make things interesting, the dataset was created using The Graph!

## Dataset
The dataset you will be interacting with is the [Uniswap V2 Subgraph](https://thegraph.com/explorer/subgraph/uniswap/uniswap-v2).

There is additional documentation for this API, created by the Uniswap team, [here](https://uniswap.org/docs/v2/API/entities/).

For convenience, we've put together an ObservableHQ [notebook](https://observablehq.com/@zerim/uniswap-historical-trades) to make downloading historical data as a CSV easier. This is so you can spend more time on data analysis and less time on data engineering, but feel free to fork and modify the notebook to query for different entities or time ranges if you're feeling motivated.

## Challenges

1. **[Estimated Time: ~2-3 hrs]** Let's say the Uniswap team asks you to identify "weird" trades, in case they are an indication of a problem in the protocol. How would you define a "weird" trade. What are the past "weird" trades that occured? (Hint: a trade is a "Swap" entity in their subgraph API). Show your work in a way that a future teammate could follow your train of thought and extend your analysis.
2. **[Estimate Time: ~1 hr]** Let's say the Uniswap team asks you to identify success metrics for the protocol. Given you're domain knowledge of the protocol, how would you define these success metrics, using the available data in the subgraph? Write down a plan (bullets/outline is okay) for how you might identify the drivers of the success metrics you've defined. Feel free to include drivers that are exogenous to the protocol.

## Instructions
1. You will have 1 week to complete this challenge uppon receiving it.
2. Let me know via email to confirm receipt of the challenge and that you have started it.
3. Feel free to email me if you have any questions about the dataset or the prompt.