Skip to content

Commit

Permalink
reduce logging in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
epugh committed Feb 11, 2025
1 parent 9450afd commit 114cb46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/javascript_scorer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def score docs, best_docs, scorer_code
@context.eval("bestDocs = #{best_docs.to_json};")

result = @context.eval(scorer_code)
puts "the result is #{result}"
# puts "the result is #{result}"
raise ScoreError, result['error'] if result.is_a?(Hash) && result['error']

smart_round(result)
Expand Down

0 comments on commit 114cb46

Please sign in to comment.