MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / score_github_contributors

Method score_github_contributors

aura/package.py:411–418  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

409 return self.Value(forks, normalized, "GitHub forks", explanation)
410
411 def score_github_contributors(self) -> Union[Value, NA]:
412 if self.github is None:
413 return self.NA("GitHub contributors")
414
415 contributors = len(self.github.contributors)
416 normalized = log_scale(contributors)
417 explanation = f"{contributors} (+{normalized})"
418 return self.Value(contributors, normalized, "GitHub contributors", explanation)
419
420 def score_last_commit(self) -> Union[Value, NA]:
421 if self.github is None:

Callers 1

get_score_entriesMethod · 0.95

Calls 1

log_scaleFunction · 0.85

Tested by

no test coverage detected