Class: Woods::Evaluation::Evaluator::QueryResult

Inherits:
Struct
  • Object
show all
Defined in:
lib/woods/evaluation/evaluator.rb

Overview

Result for a single evaluation query.

Instance Attribute Summary collapse

Instance Attribute Details

#expected_unitsObject

Returns the value of attribute expected_units

Returns:

  • (Object)

    the current value of expected_units



20
21
22
# File 'lib/woods/evaluation/evaluator.rb', line 20

def expected_units
  @expected_units
end

#queryObject

Returns the value of attribute query

Returns:

  • (Object)

    the current value of query



20
21
22
# File 'lib/woods/evaluation/evaluator.rb', line 20

def query
  @query
end

#retrieved_unitsObject

Returns the value of attribute retrieved_units

Returns:

  • (Object)

    the current value of retrieved_units



20
21
22
# File 'lib/woods/evaluation/evaluator.rb', line 20

def retrieved_units
  @retrieved_units
end

#scoresObject

Returns the value of attribute scores

Returns:

  • (Object)

    the current value of scores



20
21
22
# File 'lib/woods/evaluation/evaluator.rb', line 20

def scores
  @scores
end

#tokens_usedObject

Returns the value of attribute tokens_used

Returns:

  • (Object)

    the current value of tokens_used



20
21
22
# File 'lib/woods/evaluation/evaluator.rb', line 20

def tokens_used
  @tokens_used
end