How hosseinkshvrz/apachejit works
ApacheJIT is both a released just-in-time defect-prediction dataset and its replication workflow. The workflow searches GitHub for issue-fixing commits, mines bug-inducing links and clean commits, links and filters candidates, then assembles labeled commit-metric datasets. The README documents notebook stages and their order, but notebook source was not sampled; those relationships are shown as documented rather than inferred from code. The graph also includes token management and GumTree-based filtering as internal capabilities.
Main entry points: collector.py Issue search · gitminer.py Commit miner · gumtree.py Change filter · notebooks Candidate filtering
Components 13
Commit Collection
- Issue search
src/collector.py - API token manager
src/git_token.py
Defect Mining
- Commit miner
src/gitminer.py - Issue-commit linking
notebooks - Intermediate data
data
Candidate Filtering
- Change filter
src/gumtree.py - Candidate filtering
notebooks
Dataset Outputs
- Dataset construction
notebooks - JIT datasets
dataset
Other components
- Dataset researcher
- GitHub API
- Apache repositories
- GumTree executable
Connections 16
- Dataset researcher → Issue search: starts search
readme.md - Issue search → API token manager: manages limits
src/collector.py - Issue search → GitHub API: searches commits
src/collector.py - Issue search → Intermediate data: writes matches
src/collector.py - Dataset researcher → Commit miner: runs mining
readme.md - Commit miner → Apache repositories: mines commits
src/gitminer.py - Commit miner → Intermediate data: writes links and clean commits
src/gitminer.py - Dataset researcher → Issue-commit linking: links reports
readme.md - Issue-commit linking → Candidate filtering: filters candidates
readme.md - Candidate filtering → Change filter: applies change filters
readme.md - Change filter → Apache repositories: reads commit changes
src/gumtree.py - Change filter → GumTree executable: runs differencing
src/gumtree.py - Candidate filtering → Dataset construction: passes remaining candidates
readme.md - Dataset construction → Intermediate data: combines clean commits
readme.md - Dataset construction → JIT datasets: builds labeled metrics
readme.md - Dataset researcher → JIT datasets: uses for prediction
readme.md