https://github.com/akondas/code-review-estimator
Estimate cost of code review using Machine Learning
https://github.com/akondas/code-review-estimator
code-review estimation machine-learning php7 regression
Last synced: 11 months ago
JSON representation
Estimate cost of code review using Machine Learning
- Host: GitHub
- URL: https://github.com/akondas/code-review-estimator
- Owner: akondas
- License: mit
- Created: 2018-06-22T18:42:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T19:21:12.000Z (almost 3 years ago)
- Last Synced: 2025-02-28T19:21:16.599Z (12 months ago)
- Topics: code-review, estimation, machine-learning, php7, regression
- Language: PHP
- Size: 43.9 KB
- Stars: 54
- Watchers: 6
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Code review estimator
Simple showcase of machine learning for code review cost estimation.
## Install
```
composer install
```
## Usage
```
bin/console list
bin/console --help
```
### Train
Store your dataset in `data/code-reviews.csv
```
> bin/console train
R2: 0.90124676557598
New model trained! 🚀
```
### Estimate Github PR
```
> bin/console estimate:github symfony/symfony/pull/27647
Fetching symfony/symfony/pull/27647 pull request data
Price for symfony/symfony/pull/27647 is: $51.36
```
### Estimate wizard (ask questions)
```
> bin/console estimate:wizard
Commits: 1
Additions: 100
Deletions: 20
Changed files: 2
Comments: 0
Review comments: 0
Price for PR is: $94.4
```
## License
PHP-ML is released under the MIT Licence. See the bundled LICENSE file for details.
## Author
Arkadiusz Kondas (@ArkadiuszKondas)