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

Function exportList

app/views/editor/verifier/i18nVerifierView.js:53–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 },
52 computed: {
53 exportList () {
54 return _(this.problems).filter(p => {
55 return (p[this.messageOrHint].length > 0) &&
56 (this.percentDifference(p) < this.completeThreshold) &&
57 ((p.count / this.totalCount) >= (this.countThreshold / 100))
58 })
59 .uniq(p => p.trimmed)
60 .value()
61 },
62 problems () {
63 return _.sortBy(_.flatten(Object.values(this.problemsByLevel), true), p => -p.count)
64 },

Callers

nothing calls this directly

Calls 1

filterMethod · 0.80

Tested by

no test coverage detected