The dataset of "GNN-CONTEXT: A GNN-based Code Context Prediction Approach for Software Development Tasks"
<p>This research dataset accompanies our paper "GNN-CONTEXT: A GNN-based Code Context Prediction Approach for Software Development Task".<br>The dataset comprises 3,879 code context models along with their corresponding source code, extracted from three Java open source projects: Mylyn, Platform, and PDE.</p> <p>Each code context model directory contains two essential files:</p> <p>1. code_context_model.xml<br> This XML file encapsulates the code context model's metadata within a <code_context_model> wrapper, including commit ID, start datetime of the first edit event, and end datetime of the last edit event. The file structure is as follows:<br> - <graph> components represent connected components in the code context model.<br> - Each <graph> consists of <vertices> and <edges>.<br> - <vertex> attributes:<br> - id: Unique identifier within the <graph><br> - ref_id: Reference to its source code in my_java_codes<br> - kind: Vertex type (class, function, or variable)<br> - label: Declared name in the source code<br> - stereotype: Vertex stereotype derived from JStereoCode<br> - <edge> attributes:<br> - start: Source vertex ID<br> - end: Destination vertex ID<br> - label: Edge type (declares, calls, inherits, or implements)<br>2. my_java_codes.csv<br> This CSV file contains two columns:<br> - id: Composite of the code context model's directory index and the vertex's ref_id<br> - code: Corresponding source code for the code element</p>
ShareScore
16/100
Overall dataset sharing score
Score breakdown
These five areas show where the dataset supports — or may limit — practical reuse.
- Stewardship
- 4
- Harmonization
- 4
- Access
- 8
- Reuse readiness
- 0
- Engagement
- 0
Dataset details
- Repository
- zenodo
- Published
- August 10, 2024
- License
- cc-by-4.0
- DOI
- 10.5281/zenodo.13293382
Scored with release 0.9.0
ScienceDex for faculty
Your academic CV and NIH biosketch
Make your CV in your school's format and your NIH biosketch from it, then download both as Word files.