Skip to main content

Score Model v2

Score v2 provides predictable routing signals based on freshness, reliability, consistency, and usage.

Inputs

  • Freshness (0..1)
  • Reliability/Uptime (0..1)
  • Consistency (0..1)
  • Usage (0..1)
  • Penalty multiplier (0..1)

Formula

score = clamp01(
wF*freshness + wR*reliability + wC*consistency + wU*usage
) * penaltyMultiplier

Default weights:

  • wF = 0.35
  • wR = 0.25
  • wC = 0.20
  • wU = 0.20

On-chain representation

Scores are stored as scoreScaled where:

scoreScaled = floor(score * 1_000_000)

The on-chain modelId for v2 is bytes32("score_v2").

Trust tiers

  • Tier B SHOULD be capped (example cap: 700,000).
  • Gateways MAY apply routing penalties for Tier B.

Routing score

Gateways compute a routing score based on on-chain score, freshness penalties, and tier penalties. Routing does not change the canonical on-chain score.

Disclaimers

Scores are routing signals only and may change. No guarantees. Not investment advice.