Skip to content

Commit

Permalink
refactor: add funding splits
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu committed Sep 30, 2024
1 parent 83906e4 commit bf1fef5
Show file tree
Hide file tree
Showing 12 changed files with 92 additions and 11 deletions.
16 changes: 8 additions & 8 deletions DRIP_LIST_FUNDING_SPLITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ content.elimu.eth,oers.content.elimu.eth,10
| Project | Manager | Funding Split CSV |
| --- | --- | --- |
| [crowdsource](https://github.com/elimu-ai/crowdsource) | `content.elimu.eth` | |
| [webapp](https://github.com/elimu-ai/webapp) | `content.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/webapp/blob/main/FUNDING_SPLITS.csv) |
| [webapp](https://github.com/elimu-ai/webapp) | `content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/github_webapp/FUNDING_SPLITS.csv) |
| Hindi Language 🏏🐯 | `hin.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-HIN/FUNDING_SPLITS.csv) |
| Tagalog Language 🏝️🦎 | `tgl.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-TGL/FUNDING_SPLITS.csv) |
| English Language 🍔🏈 | `eng.content.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-content/lang-ENG/FUNDING_SPLITS.csv) |
Expand Down Expand Up @@ -113,13 +113,13 @@ distribution.elimu.eth,tgl.distribution.elimu.eth,10

| Project | Manager | Funding Split CSV |
| --- | --- | --- |
| [analytics](https://github.com/elimu-ai/analytics) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/analytics/blob/main/FUNDING_SPLITS.csv) |
| [appstore](https://github.com/elimu-ai/appstore) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/appstore/blob/main/FUNDING_SPLITS.csv) |
| [launcher](https://github.com/elimu-ai/launcher) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/launcher/blob/main/FUNDING_SPLITS.csv) |
| [ml-authentication](https://github.com/elimu-ai/ml-authentication) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/ml-authentication/blob/main/FUNDING_SPLITS.csv) |
| [start-guide](https://github.com/elimu-ai/start-guide) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/start-guide/blob/main/FUNDING_SPLITS.csv) |
| [website](https://github.com/elimu-ai/website) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/website/blob/main/FUNDING_SPLITS.csv) |
| [web3-sponsors](https://github.com/elimu-ai/web3-sponsors) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](https://github.com/elimu-ai/web3-sponsors/blob/main/FUNDING_SPLITS.csv) |
| [analytics](https://github.com/elimu-ai/analytics) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_analytics/FUNDING_SPLITS.csv) |
| [appstore](https://github.com/elimu-ai/appstore) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv) |
| [launcher](https://github.com/elimu-ai/launcher) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_launcher/FUNDING_SPLITS.csv) |
| [ml-authentication](https://github.com/elimu-ai/ml-authentication) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_ml-authentication/FUNDING_SPLITS.csv) |
| [start-guide](https://github.com/elimu-ai/start-guide) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_start-guide/FUNDING_SPLITS.csv) |
| [web3-sponsors](https://github.com/elimu-ai/web3-sponsors) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_web3-sponsors/FUNDING_SPLITS.csv) |
| [website](https://github.com/elimu-ai/website) | `distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/github_website/FUNDING_SPLITS.csv) |
| Hindi Language 🏏🐯 | `hin.distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/lang-HIN/FUNDING_SPLITS.csv) |
| Tagalog Language 🏝️🦎 | `tgl.distribution.elimu.eth` | [`FUNDING_SPLITS.csv`](./funding-splits-distribution/lang-TGL/FUNDING_SPLITS.csv) |

Expand Down
2 changes: 2 additions & 0 deletions funding-splits-content/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

> Drip List funding splits for Content Creation 🎶🎙️
See [`../DRIP_LIST_FUNDING_SPLITS.md#content`](../DRIP_LIST_FUNDING_SPLITS.md#content)

## Install Dependencies

```bash
Expand Down
21 changes: 21 additions & 0 deletions funding-splits-content/github_webapp/FUNDING_SPLITS.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
ethereum_address,github_username,impact_percentage
0x5D388Ec24Cc2C0C77458338696aa63AFB706A7b1,nya-elimu,44.79
0xd46Cc93E3eE6a4fb532D9B48E95be7eD8f8f1DA0,jo-elimu,39.46
0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,4.29
0x3965d420cde24fe00f742cb31257ca90e04556a7,tomaszsmy,0.96
0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.91
0x513DceE2929a6e0CD115fb65Ec926d6569d98aff,venkatesh2k3,0.79
0x5367a6d4F5991327Bb20466684790e394bE000dE,Shubham-Vishwakarma,0.62
0x4709ebf314c6492d57f4c6d4f57357d5b2bb074e,vrudas,0.60
0x0000000000000000000000000000000000000000,aschworer,0.59
0x0000000000000000000000000000000000000000,SnehaHS65,0.48
0x6321286F9B73f427C72e1f9F1bC6b3d25eF06605,hhio618,0.46
0x0000000000000000000000000000000000000000,urosht,0.46
0x0000000000000000000000000000000000000000,alexander-kuruvilla,0.45
0x22d83d2681c8F04877b60F907D8288f011b314F8,Souvik-Cyclic,0.43
0x78888390AA08D9A25f3BDB8A1B35351D7c7F8a12,Bender-22,0.38
0x914dBEe36BcAb63B2D15fAED08839Be43797b421,watr-sheep,0.31
0x0000000000000000000000000000000000000000,eymaal,0.29
0x0000000000000000000000000000000000000000,jpatel3,0.28
0x38c19Bc91fC35f8bCAd07F177cC2F11098B1F3ff,vuriaval,0.28
0x0000000000000000000000000000000000000000,Keerthi4308,0.28
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,54.65
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,39.73
0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,1.58
0x0000000000000000000000000000000000000000,jpascoe32fb,1.56
0x0000000000000000000000000000000000000000,Eunoia1729,1.43
0xc6AC0D6AbD1bbB371Db2B3Ef7cbc9fC972C700A6,bikash,0.51
0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,0.39
0xea4529D359A6aA73515cDa46896b2a51D48e6D46,Alin-GFR,0.15
11 changes: 11 additions & 0 deletions funding-splits-distribution/github_appstore/FUNDING_SPLITS.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,57.43
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,10.66
0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,3.04
0x9D8dC28E9d9C4C5a387A858182edF9ab8B90F565,tuancoltech,2.15
0xb7bCEbD47E00cED9Caf7430A16EBFAc8Ec074380,arvind-1,0.83
0x0000000000000000000000000000000000000000,bojanvu23,0.51
0x0000000000000000000000000000000000000000,bvalbo,0.32
0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,0.25
0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.11
0x0000000000000000000000000000000000000000,bojanvuCT,0.04
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,48.19
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,29.41
0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,19.92
0xc6AC0D6AbD1bbB371Db2B3Ef7cbc9fC972C700A6,bikash,1.31
0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,0.61
0x819e4F5E912abb36c8f6c03790e7508e03cc37a3,UmenR,0.55
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,58.24
0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,26.60
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,8.83
0xCc661d7f89795C908D10f4C297525474DF757eE1,schaemik,3.66
0x14E9535A9004fb4b12d2233CBf1739A654bA51a4,adrygll2,1.85
0x0000000000000000000000000000000000000000,AdrianoCelentano,0.60
0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,0.13
0x0000000000000000000000000000000000000000,waffle-iron,0.09
0x0000000000000000000000000000000000000000,jperez2534,0.01
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ethereum_address,github_username,impact_percentage
0x1f1319c79F1496357781691a22B1f37dAC9D844F,gscdev,49.58
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,33.84
0x48Ac1399035bcCE8C7996D8C60E014b9373B3962,sladomic,8.33
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,8.13
0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,0.13
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,66.65
0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,16.61
0x78888390AA08D9A25f3BDB8A1B35351D7c7F8a12,Bender-22,12.80
0x0000000000000000000000000000000000000000,netlify,2.29
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,1.64
6 changes: 6 additions & 0 deletions funding-splits-distribution/github_website/FUNDING_SPLITS.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
ethereum_address,github_username,impact_percentage
0x1D5878059679eFFA13ec0Dc2C894e008307050bc,jo-elimu,58.52
0xEF836b1b90E42c8c69F3cEf628eB10983C10E792,nya-elimu,31.01
0x0000000000000000000000000000000000000000,netlify,5.50
0x342FaeB14127A79735144bbdC772AbB6b1bBe343,coderabbitai,3.25
0x4709ebf314c6492d57f4c6d4f57357d5b2bb074e,vrudas,1.72
7 changes: 5 additions & 2 deletions split-events/charts/generate-charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def format_ethereum_address(row):
'launcher',
'ml-authentication',
'start-guide',
'website',
'web3-sponsors',
'website',
]
for repo in repos:
print()
Expand All @@ -70,7 +70,7 @@ def format_ethereum_address(row):
csv_path = f'../csvs/splits_{repo}.csv'
print('csv_path:', csv_path)
if not os.path.isfile(csv_path):
print('\033[93m' + 'File not found' + '\033[0m')
print('\033[93m' + 'File not found. Skipping.' + '\033[0m')
continue

splits_csv = pandas.read_csv(csv_path)
Expand Down Expand Up @@ -106,3 +106,6 @@ def format_ethereum_address(row):
plt.legend(loc='center left', bbox_to_anchor=(1, 0.5))
plt.tight_layout()
plt.savefig(f'splits_{repo}.png')

print()
print('Chart generation completed')
2 changes: 1 addition & 1 deletion split-events/csvs/query-repo-events.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ async function query() {
'launcher',
'ml-authentication',
'start-guide',
'website',
'web3-sponsors',
'website',
]
for (const repo of repos) {
console.log()
Expand Down

0 comments on commit bf1fef5

Please sign in to comment.