Skip to content

entrius/gittensor

Repository files navigation

Gittensor Logo

Gittensor

Gittensor aims to accelerate the development of open source software (OSS) and enable OSS developers to be rewarded for meaningful work. We incentivize open source contributions.

Socials


At a Glance

  • Miners: Provide a fine-grained Github personal access token (PAT) and create pull requests (PRs) to recognized repositories.
  • Validators: Utilize miner PATs to authenticate account ownership and search recognized repositories for successfully merged miner PRs

Miners

See full guide here

Validators

See full guide here

Scoring & Rewards

Important Structures

  • Master Repositories & Weights

A list of repositories pulled from github that have been deemed valid for scoring. They each have an associated weight based on factors like: forks, commits, contributors, stars, etc.

NOTE: this list will be dynamic. It will see various audits, additions, deletions, weight changes, and shuffles as the subnet matures.

NOTE: don’t be afraid to provide recommendations for your favorite open source repositories and the team will review it as a possible addition. A repo is more likely to be included if: they provide contributing guidelines, are active/community driven, provide value/have users

  • Programming Language Weights

A list of major file types/extensions, mostly related to programming languages, but also plenty of markdown, documentation, and other common files are included. Each extension has a weight for scoring. If the extension has a language full name then it code in those languages will be evaluated using token-based scoring.

NOTE: this list will also be dynamic. Additions, and weight changes will occur as the subnet matures.

  • Token Weights

Weights assigned to AST (Abstract Syntax Tree) node types for token-based scoring, including structural elements (functions, classes) and leaf tokens (identifiers, literals), enabling semantic evaluation of code changes.

Scoring

See full guide here

Collaborative emissions scaling

Adopted from bitcast, subnet 93, collaborative emissions scaling has the network ‘unlock’ emissions as more miners join and earn a score. Miners will benefit by experiencing individual and cumulative network growth. Two major values affecting the total emissions unlocked rate are:

  • Total lines changed within the last 90 days (PR_LOOKBACK_DAYS)
  • Total merged pull requests within the last 90 days
  • Total unique repositories contributed to within the last 90 days

As total lines changed and total unique repositories increases, the percentage of total available emissions increases. Whatever is not released is recycled.

The rate of emissions unlocked will be monitored and adjusted as the subnet matures to ensure fair distribution of alpha.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 16