MCPcopy Index your code
hub / github.com/SourceCode-AI/aura / score_github_stars

Method score_github_stars

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

Source from the content-addressed store, hash-verified

391 return self.Value(dependencies, normalized, "Reverse dependencies", explanation)
392
393 def score_github_stars(self) -> Union[Value, NA]:
394 if self.github is None:
395 return self.NA("GitHub stars")
396
397 stars = self.github.repo["stargazers_count"]
398 normalized = log_scale(stars)
399 explanation = f"{stars} (+{normalized})"
400 return self.Value(stars, normalized, "GitHub stars", explanation)
401
402 def score_github_forks(self) -> Union[Value, NA]:
403 if self.github is None:

Callers 1

get_score_entriesMethod · 0.95

Calls 1

log_scaleFunction · 0.85

Tested by

no test coverage detected