Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/codecombat/codecombat
/ tierFromLevel
Method
tierFromLevel
app/models/User.js:395–399 ·
view source on GitHub ↗
(level)
Source
from the content-addressed store, hash-verified
393
}
394
395
static tierFromLevel (level) {
396
// TODO: math
397
// For now, just eyeball it.
398
return
tiersByLevel[Math.min(level, tiersByLevel.length - 1)]
399
}
400
401
static levelForTier (tier) {
402
// TODO: math
Callers
1
tier
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected