File size: 462 Bytes
8526d60 dfaee1d 8526d60 a81f633 |
1 2 3 4 5 6 7 8 9 10 |
---
license: apache-2.0
---
Based on tomekkorbak/codeparrot-clean-train-v2-pep8. We create a combined score based on codeparrot data. All open source non-GPL code.
Score is computed as follows:
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1 + 0.5*(1-dat['avg_score'])) if avg_score exists
- min(1.0, int(dat['copies'])/20 + dat['ratio']/10 + dat['alpha_frac']* 0.1) otherwise
- avg_score is the pep8 score, lower meaning better. |