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)
Sourcenew(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
diff_count
Sourcefile_path
Sourceiteration
Sourcemutators
Sourcepositive_reward?
Sourcereward
Sourcerewarded?
Sourceseed
Sourceseek_offset
Sourcesize
Sourcesteps
Sourcetimestamp
Source