class

Crowbar::SessionItem

Inherits JSON::Serializable < Reference < Object

Serializable record representing a single generated mutant in a session lifecycle. Retains full provenance, seed coordinates, diff metrics, and reward state.

Constructors

new(iteration : Int32, size : Int32, diff_count : Int32, mutators : Array(String), steps : Array(TransformationStep), seed : UInt64, seek_offset : Int64, reward : Float64 | Nil = nil, file_path : String | Nil = nil, timestamp : Time = Time.utc)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

diff_count
Source
diff_count=(diff_count : Int32)
Source
file_path
Source
file_path=(file_path : String | Nil)
Source
iteration
Source
iteration=(iteration : Int32)
Source
mutators
Source
mutators=(mutators : Array(String))
Source
positive_reward?
Source
reward
Source
reward=(reward : Float64 | Nil)
Source
rewarded?
Source
seed
Source
seed=(seed : UInt64)
Source
seek_offset
Source
seek_offset=(seek_offset : Int64)
Source
size
Source
size=(size : Int32)
Source
steps
Source
steps=(steps : Array(TransformationStep))
Source
timestamp
Source
timestamp=(timestamp : Time)
Source