Method: ScoringStrategies#identity
- Defined in:
- lib/base/scoring_strategies.rb
#identity(ranking, item) ⇒ Object
7 8 9 |
# File 'lib/base/scoring_strategies.rb', line 7 def identity(ranking, item) ranking[item] # Use the score you got (ex flog score of 20 is not bad even if it is the top one in project) end |