Class: RobotLab::To::Evals::Score

Inherits:
Data
  • Object
show all
Defined in:
lib/robot_lab/to/evals/score.rb

Overview

The verdict an Eval returns for one iteration.

gate_ok    - floor holds? (correctness) -- must be true to commit
improved   - better than the parent commit? (the descent signal)
met_target - objective reached? (orchestrator-owned stop)
value      - the score (higher = better); nil for pure-pairwise evals
detail     - one-line human summary for logs / progress
output     - diagnostic text (gate command output, judge rationale) used
           for repair prompts and notes; nil when there is none

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject (readonly)

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def detail
  @detail
end

#gate_okObject (readonly)

Returns the value of attribute gate_ok

Returns:

  • (Object)

    the current value of gate_ok



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def gate_ok
  @gate_ok
end

#improvedObject (readonly)

Returns the value of attribute improved

Returns:

  • (Object)

    the current value of improved



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def improved
  @improved
end

#met_targetObject (readonly)

Returns the value of attribute met_target

Returns:

  • (Object)

    the current value of met_target



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def met_target
  @met_target
end

#outputObject (readonly)

Returns the value of attribute output

Returns:

  • (Object)

    the current value of output



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def output
  @output
end

#valueObject (readonly)

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



15
16
17
# File 'lib/robot_lab/to/evals/score.rb', line 15

def value
  @value
end

Instance Method Details

#gate_ok?Boolean

Returns:

  • (Boolean)


16
# File 'lib/robot_lab/to/evals/score.rb', line 16

def gate_ok?    = gate_ok

#improved?Boolean

Returns:

  • (Boolean)


17
# File 'lib/robot_lab/to/evals/score.rb', line 17

def improved?   = improved

#met_target?Boolean

Returns:

  • (Boolean)


18
# File 'lib/robot_lab/to/evals/score.rb', line 18

def met_target? = met_target