|
Download README.md from nothingisenough/Solidity_Code_Graph_Codearena: direct link, hf CLI and curl.
- Browser
- Download file 1.18 kB
-
https://huggingface.co/datasets/nothingisenough/Solidity_Code_Graph_Codearena/resolve/main/README.md
- Command line
-
hf download hf://datasets/nothingisenough/Solidity_Code_Graph_Codearena/README.md
-
curl -L -o README.md https://huggingface.co/datasets/nothingisenough/Solidity_Code_Graph_Codearena/resolve/main/README.md
1.18 kB
| task_categories: | |
| - graph-ml | |
| - text-generation | |
| tags: | |
| - code | |
| size_categories: | |
| - 10K<n<100K | |
| Here is a 100 repositories from [Codearena](https://code4rena.com/audits) parsed as graph of functions with different types of relationships: Parent Contracts, High-Level Calls, Internal Calls, Library Calls, Low-Level Calls. | |
| Dataset can be used for tasks like code clone detection (similar bugs search), code reconstruction with context pruning. Dataset is ready to be used in GNN. | |
| You can see usage of dataset as RAG at [github](https://github.com/YouOnlyLive1ce/bug_search) | |
| # Structure | |
| auditits_info.json <-main file for easy paths navigantion | |
| /processed repositories | |
| /repository1 | |
| /file1 | |
| /function1(node) <- contains code, relationships(edges) with other functions | |
| /function2 | |
| /file2 | |
| /function3 | |
| /function4 | |
| /repository2 | |
| ... | |
| /reports | |
| /repository1 | |
| /vulnerability1-code.txt <-actual code with bug | |
| /vulneralbility1-explain.txt <-human explanation | |
| ... | |
| ... |