TrajectoryRepositoryPath
TrajectoryRepositoryPath(actions: bytes, segments: tuple[TrajectoryRepositorySegment, ...], priority: float = 0.0, archive_eligible: bool = True) -> NoneCanonical trajectory retained in the repository.
Paths are always stored flat: a midpoint episode that continues a stored route is recorded as one new path containing the route prefix plus the new segments, with the prefix's snapshot bytes objects shared with the parent path by reference. No parent lineage is retained, so a path is freed as soon as its own references are released.
Methods
from_state_dict
from_state_dict(state: dict[str, Any]) -> TrajectoryRepositoryPathto_state_dict
to_state_dict() -> dict[str, Any]Values
actions
actions: bytesarchive_eligible
archive_eligible: bool = TrueWhether this path may be offered to the best-route archive, live or on restore. A bare mid-route tail (a per-action-restart episode that could not be prefix-stitched) is stored for its cells but must never become "the best route" -- as a shorter win it would out-rank the full seed and re-anchor the curriculum mid-cavern, which is exactly what happened on the 2026-08-13 restart before this flag existed.
priority
priority: float = 0.0Route-level ranking score computed once at record time; a win is a huge value here.
segments
segments: tuple[TrajectoryRepositorySegment, ...]