MCPcopy Create free account
hub / github.com/codecombat/codecombat / problemFrequency

Function problemFrequency

app/views/editor/verifier/i18nVerifierView.js:107–109  ·  view source on GitHub ↗
(problem)

Source from the content-addressed store, hash-verified

105 },
106 methods: {
107 problemFrequency (problem) {
108 return problem.count / this.problemCountByLevel[problem.levelSlug]
109 },
110 loadCampaigns: co.wrap(function * () {
111 this.campaigns = yield api.campaigns.getAll({ project: 'levels' })
112 this.selectedCampaign = _.find(this.campaigns, c => c.name === 'Dungeon')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected