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:
@@ -35,10 +35,10 @@ func _run() -> void:
|
||||
_expect(exceeded == [&"custom"], "budget violation emits its exact metric once")
|
||||
|
||||
profiler.record_simulation_tick(3_000, 1)
|
||||
profiler.record_simulation_tick(11_000, 4)
|
||||
profiler.record_simulation_tick(11_000, 3)
|
||||
_expect(profiler.get_report(&"simulation_x1")[&"limit_us"] == 4_000, "x1 uses the MVP average budget")
|
||||
_expect(profiler.get_report(&"simulation_x4")[&"limit_us"] == 12_000, "x4 uses the MVP P95 budget")
|
||||
_expect(not profiler.get_report(&"simulation_x4")[&"budget_exceeded"], "x4 sample within budget passes")
|
||||
_expect(profiler.get_report(&"simulation_x3")[&"limit_us"] == 12_000, "x3 uses the MVP P95 budget")
|
||||
_expect(not profiler.get_report(&"simulation_x3")[&"budget_exceeded"], "x3 sample within budget passes")
|
||||
profiler.record_sample(&"path_query", 2_001)
|
||||
_expect(profiler.get_report(&"path_query")[&"budget_exceeded"], "path P95 enforces two milliseconds")
|
||||
|
||||
@@ -63,10 +63,10 @@ func _run() -> void:
|
||||
)
|
||||
_expect(not clock.get_performance_reports().is_empty(), "Kernel exposes read-only performance reports")
|
||||
clock.reset(1, 6, 0)
|
||||
clock.set_speed(4)
|
||||
clock.set_speed(3)
|
||||
var accelerated_ticks = clock.process_real_delta(clock.REAL_SECONDS_PER_GAME_MINUTE)
|
||||
_expect(accelerated_ticks == 4, "x4 process frame advances the expected four game-minute ticks")
|
||||
_expect(clock.performance_budget.get_report(&"simulation_x4")[&"lifetime_sample_count"] == 1, "x4 performance measures the aggregate frame once rather than four isolated ticks")
|
||||
_expect(accelerated_ticks == 3, "x3 process frame advances the expected three game-minute ticks")
|
||||
_expect(clock.performance_budget.get_report(&"simulation_x3")[&"lifetime_sample_count"] == 1, "x3 performance measures the aggregate frame once rather than three isolated ticks")
|
||||
_expect(clock.performance_budget.get_report(&"main_thread_stall")[&"lifetime_sample_count"] == 1, "active simulation frames feed the main-thread stall budget")
|
||||
clock.free()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user