Skip to content

Instantly share code, notes, and snippets.

@MoSal
Last active February 9, 2017 16:54
Show Gist options
  • Save MoSal/af06191b4802f4223433f20b57bca01f to your computer and use it in GitHub Desktop.
Save MoSal/af06191b4802f4223433f20b57bca01f to your computer and use it in GitHub Desktop.
nom vs. peg (using cargo-esr)
$ cargo esr -c nom
-------------------------------------------------
Crate Score Details
-------------------------------------------------
self.has_desc | 1 * 5.000 | +5.000
self.has_license | 1 * 5.000 | +5.000
self.has_docs | 1 * 15.000 | +15.000
self.activity_span_in_months.powf(0.5) | 4.928 * 6.000 | +29.571
self.releases | 41 * 0.750 | +30.750
self.non_yanked_releases | 41 * 0.750 | +30.750
self.last_2_non_yanked_releases_downloads / 2 | 4454 * 0.001 | +4.454
self.dependants | 100 * 0.500 | +50.000
self.hard_dependants | 99 * 0.750 | +74.250
self.dependants_on_current_versions | 46 * 0.750 | +34.500
self.dependants_from_non_owners | 100 * 2.500 | +250.000
self.months_since_last_release.powf(1.5) | 0.282 * -2.000 | -0.564
self.empty_or_all_yanked | 0 * -5000.000 | 0.000
Crate Score: 528.711 (+529.275 / -0.564)
-------------------------------------------------
Repo Score Details
-------------------------------------------------
self.subscribers | 36 * 0.500 | +18.000
self.contributors_up_to_100 | 76 * 3.000 | +228.000
self.commits_from_upto_100_contributors | 1177 * 0.100 | +117.700
self.secondary_contribution_pct | 23 * 5.000 | +115.000
self.push_span_in_months.powf(0.5) | 5.149 * 5.000 | +25.746
self.merged_pull_requests_in_last_100 | 63 * 2.000 | +126.000
self.months_since_last_pr_merged.powf(1.5) | 0.286 * -1.000 | -0.286
self.months_since_last_issue_closed.powf(1.5) | 0.017 * -1.000 | -0.017
self.months_since_last_push.powf(1.5) | 0.002 * -4.000 | -0.010
Repo Score : 630.134 (+630.446 / -0.312)
$ cargo esr -c peg
-------------------------------------------------
Crate Score Details
-------------------------------------------------
self.has_desc | 1 * 5.000 | +5.000
self.has_license | 1 * 5.000 | +5.000
self.has_docs | 1 * 15.000 | +15.000
self.activity_span_in_months.powf(0.5) | 5.115 * 6.000 | +30.692
self.releases | 36 * 0.750 | +27.000
self.non_yanked_releases | 36 * 0.750 | +27.000
self.last_2_non_yanked_releases_downloads / 2 | 224 * 0.001 | +0.224
self.dependants | 6 * 0.500 | +3.000
self.hard_dependants | 6 * 0.750 | +4.500
self.dependants_on_current_versions | 2 * 0.750 | +1.500
self.dependants_from_non_owners | 5 * 2.500 | +12.500
self.months_since_last_release.powf(1.5) | 0.209 * -2.000 | -0.418
self.empty_or_all_yanked | 0 * -5000.000 | 0.000
Crate Score: 130.997 (+131.416 / -0.418)
-------------------------------------------------
Repo Score Details
-------------------------------------------------
self.subscribers | 15 * 0.500 | +7.500
self.contributors_up_to_100 | 29 * 3.000 | +87.000
self.commits_from_upto_100_contributors | 351 * 0.100 | +35.100
self.secondary_contribution_pct | 21 * 5.000 | +105.000
self.push_span_in_months.powf(0.5) | 6.427 * 5.000 | +32.136
self.merged_pull_requests_in_last_100 | 54 * 2.000 | +108.000
self.months_since_last_pr_merged.powf(1.5) | 0.382 * -1.000 | -0.382
self.months_since_last_issue_closed.powf(1.5) | 0.382 * -1.000 | -0.382
self.months_since_last_push.powf(1.5) | 0.209 * -4.000 | -0.837
Repo Score : 373.134 (+374.736 / -1.601)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment