Skip to main content

rate.yml

Controls the maintenance difficulty scoring coefficients. The difficulty is computed and cached in data/mods.db:

Codacy base score = Codacy score (0 is treated as 0.1)

Architecture coefficient = Σ(values matched in rate.yml) ÷ total declared architectures
Version bonus (per MC version) = loader multiplier × (Σ status values across that version's loaders ÷ loader count)
loader multiplier: 1 loader = 1; multiple loaders = multi_loader_multiplier
Version coefficient = 1 + Σ(version bonus across all MC versions)

Final difficulty = (Codacy base score + Architecture coefficient) × Version coefficient

Full Example

version:
All: 0.075 # Fully supported
Partly: 0.05 # Partial support
BugFix: 0.025 # Bug fixes only
Planned: 0.04 # Planned

architecture:
Fabric-Loom: 0.5
ModDevGradle: 0.5
Architectury-Loom: 2
Stonecutter: 0.8

multi_loader_multiplier: 1.2

Field Reference

version

Bonus per support status, applied per MC version × loader combination.

StatusDefaultMeaning
All0.075Fully supported
Partly0.05Partial support
BugFix0.025Bug fixes only
Planned0.04Planned but not released

architecture

Coefficient per architecture. If a mod declares several architectures, the coefficients of those found in rate.yml are summed and divided by the total number of declared architectures (unmatched entries count as 0).

ArchitectureDefaultDescription
Fabric-Loom0.5Standard Fabric build
ModDevGradle0.5Standard NeoForge build
Architectury-Loom2Multi-platform build (higher complexity)
Stonecutter0.8Multi-version build tool

multi_loader_multiplier

Multiplier used when a single MC version supports more than one loader. Default 1.2.

Calculation Example

A mod with:

  • Codacy score: 1.5
  • One architecture: Architectury-Loom (coefficient 2.0 → architecture coefficient = 2.0)
  • One MC version supporting 3 loaders, all marked All

Version bonus for that version:

  • status total = 0.075 × 3 = 0.225
  • ÷ 3 loaders = 0.075
  • × multi_loader_multiplier 1.2 = 0.09

Final difficulty:

(1.5 + 2.0) × (1 + 0.09) = 3.5 × 1.09 ≈ 3.8