Skip to content

Repository statuses

Kanstantsin Kamkou edited this page Jan 14, 2017 · 53 revisions

Unknown

Some data is here. Repository is waiting for the status to be applied.

New

No data has been gathered yet. Default status of a repository.

Deleted

In case the worth value is less than 0, the repository should be physically removed from the database. In casae of 0 the repository gets this status.

Promising

An assumption

Each promoted repository is popular at the beginning by default. Also it is possible to have a number of repositories which are in trend right now. It doesn't mean that those repositories are useful. We can distinct such repos by analysing the number of stargazers (refs #127). If this difference is valuable, we can assume that the repo is dead.

Process

  1. For a mature repository, gmw downloads the list of stars/forks for one months (28 days).
  2. Split the stars report by segments (7 segments: 28/4)
  3. Calculates the variance of each segment
  • In case of high value (>= 1000), this repository has an anomaly, the segment value is replaced with a new value (last known mean value or 1)
  • Saves the value otherwise
  1. Calculates mean value of segments
  2. If it is small (less or equals 1), apply hopeless. Otherwise promising
  3. Every two months the status is changed to new. A new iteration is started.
  4. refs #127
Blockers:
Sometimes, a repo has a big number of clones.
Unfortunately we are not able to gather this number.
Though, those repositories are useful but not promising any more.

Hopeless

See the promising description.

Clone this wiki locally