Record original-alignment implementation and traceability checkpoint
Capture current source, content data, tests, asset licenses, and original-specification traceability. Original implementation remains incomplete. The accepted matching UI generation passed 154 suites and 12,253 checks, with eight rendered staff-contract screens reviewed. Latest native Windows and full-original acceptance remain outstanding.
This commit is contained in:
@@ -32,14 +32,14 @@ func _populate(path: PathService) -> void:
|
||||
func _test_occupancy_lifecycle() -> void:
|
||||
var path := _path()
|
||||
_populate(path)
|
||||
_expect(path.get_current_density(ORIGIN) == 3 and is_equal_approx(path.get_speed_multiplier(ORIGIN), 1.0 / 3.0), "all three floor actors initially contribute to congestion")
|
||||
_expect(path.get_current_density(ORIGIN) == 3 and is_equal_approx(path.get_speed_multiplier(ORIGIN), 0.5), "all three floor actors contribute to the specified half-speed congestion")
|
||||
_queue(path, &"guest:a", &"ride.a")
|
||||
_expect(path.get_current_density(ORIGIN) == 3 and path.get_transit_actor_ids().is_empty(), "queued passengers still occupy the floor")
|
||||
var before := path.create_snapshot()
|
||||
var graph_before := path.graph_revision
|
||||
var boarded := path.dequeue_elevator_boarding(&"lift", 0, 11, 1)
|
||||
_expect(boarded.size() == 1 and path.get_transit_actor_ids() == [&"guest:a"], "boarding derives transit occupancy from the existing Path owner")
|
||||
_expect(path.get_current_density(ORIGIN) == 2 and is_equal_approx(path.get_speed_multiplier(ORIGIN), 0.5), "a boarded passenger no longer slows the remaining floor actors")
|
||||
_expect(path.get_current_density(ORIGIN) == 2 and is_equal_approx(path.get_speed_multiplier(ORIGIN), 0.5), "boarding removes the passenger from density; the two remaining actors still move at half speed")
|
||||
_expect(path.get_actor_projected_cell(&"guest:a") == ORIGIN and path.create_snapshot()[&"actor_progress"] == before[&"actor_progress"], "boarding retains logical origin and progress records")
|
||||
_expect(path.graph_revision == graph_before and path.traffic_revision > before[&"traffic_revision"], "boarding changes traffic costs without changing structural topology")
|
||||
var stable := path.create_snapshot()
|
||||
|
||||
Reference in New Issue
Block a user