Skip to content

Commit a289f95

Browse files
committed
Added R code
1 parent 61e0f8a commit a289f95

File tree

7 files changed

+368
-0
lines changed

7 files changed

+368
-0
lines changed

R/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.RData
2+
.Rhistory

R/Ideas.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
Chart ideas
2+
===============
3+
- Histogram of Contrib Amount
4+
- Scatter Contrib vs. Sybil score
5+
- Unclaimed from Round 8
6+
- Scatter plot of sybil score vs. time
7+
- Time vs. amount per sender (a lot of sends in not a person)
8+
- Heat maps are interesting
9+
- Distribution is important
10+
- Mean is appearantly important
11+
- Category (by function) comparison for smart contracts
12+
13+
- latest data https://github.com/gitcoinco/gitcoin_cadcad_model/blob/main/data/2020-03-18/2021-03-18-round9-contributions.csv.xz
14+
15+
- From the Payout Contract there were:
16+
17+
- 1 Finalized calls
18+
- 364 PayoutAdded calls
19+
- 1 Transfer In
20+
- 1 Funded calls
21+
- 167 Transfer Outs
22+
- 167 PayoutClaimed calls
23+
24+
- Function calls per contract
25+
26+
- Calculated estimate after each donation vs. actual
27+
28+
- Auditing
29+
30+
- Add up all donations from grant files and see if it adds to the total in the contract files
31+
32+
- Add the pre-round 4 contracts
33+
34+
- We did reconcilations of the PayoutAdded / PayoutClaimed and compared that against the smart contract. We could have called that a reconcilation and allow the user to download.

R/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
## R
2+
3+
This is a collection of 'R' code for analyizing the data found in the [./data folder](../data/README.md).

R/Untitled.Rmd

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "TrueBlocks Exploration of GitCoin Data"
3+
output: html_notebook
4+
---
5+
6+
We used TrueBlocks to extract as much publically available information from
7+
the GitCoin ecosystem as we could in an effort to explore just how open
8+
open shared ledgers are. All data was aquired either from the GitCoin
9+
public APIs or the from on-chain data.
10+
11+
This is a growing document. Please add to it via GitHub Pull Requests
12+
13+
```{r}
14+
require(tidyverse)
15+
l <- c(1,2,3)
16+
plot(l)
17+
```
18+
19+
---
20+
This is some more shit
21+
---
22+

R/Untitled.nb.html

Lines changed: 300 additions & 0 deletions
Large diffs are not rendered by default.

R/explore.R

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
require(tidyverse)
2+

R/ideas.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Total number of addresses
2+
3+
Total number of uniq addresses
4+
5+
Distribution of the number of times an address appears

0 commit comments

Comments
 (0)