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:
@@ -28,7 +28,7 @@ const FULL_TARGET := {
|
||||
"unfinished_logistics": 200,
|
||||
"active_events": 50,
|
||||
"minutes": 1_440,
|
||||
"speed": 4,
|
||||
"speed": 3,
|
||||
}
|
||||
|
||||
const SMOKE_TARGET := {
|
||||
@@ -40,7 +40,7 @@ const SMOKE_TARGET := {
|
||||
"unfinished_logistics": 20,
|
||||
"active_events": 5,
|
||||
"minutes": 1_440,
|
||||
"speed": 4,
|
||||
"speed": 3,
|
||||
}
|
||||
|
||||
const STALE_BACKLOG_LIMIT_MINUTES := 120
|
||||
@@ -144,14 +144,14 @@ func run(tier: StringName = &"smoke") -> Dictionary:
|
||||
var simulation_duration_us := Time.get_ticks_usec() - simulation_started
|
||||
# Feed raw path samples after timing the simulation. PerformanceBudget returns
|
||||
# a full percentile report per record, so doing this inside each path callback
|
||||
# would make the profiler itself dominate the x4 measurement.
|
||||
# would make the profiler itself dominate the x3 measurement.
|
||||
for duration_us: int in _path_duration_samples:
|
||||
profiler.record_sample(&"path_query", duration_us)
|
||||
|
||||
report["simulation"] = {
|
||||
"requested_minutes": int(target["minutes"]),
|
||||
"completed_minutes": completed_minutes,
|
||||
"x4_frames": int(ceil(float(completed_minutes) / 4.0)),
|
||||
"x3_frames": int(ceil(float(completed_minutes) / 3.0)),
|
||||
"duration_ms": simulation_duration_us / 1_000.0,
|
||||
"game_minutes_per_real_second": (
|
||||
float(completed_minutes) * 1_000_000.0 / float(maxi(simulation_duration_us, 1))
|
||||
@@ -816,10 +816,10 @@ func _run_validations(
|
||||
_add_validation(validations, &"path_queries_reachable", _path_query_failures == 0, {"failures": _path_query_failures})
|
||||
|
||||
_validate_snapshot_round_trips(validations, services, cells)
|
||||
var x4_report: Dictionary = profiler.get_report(&"simulation_x4")
|
||||
var x3_report: Dictionary = profiler.get_report(&"simulation_x3")
|
||||
var path_report: Dictionary = profiler.get_report(&"path_query")
|
||||
var stall_report: Dictionary = profiler.get_report(&"main_thread_stall")
|
||||
_add_validation(validations, &"simulation_x4_budget", not bool(x4_report[&"budget_exceeded"]), _primitive_dictionary(x4_report))
|
||||
_add_validation(validations, &"simulation_x3_budget", not bool(x3_report[&"budget_exceeded"]), _primitive_dictionary(x3_report))
|
||||
_add_validation(validations, &"path_query_budget", not bool(path_report[&"budget_exceeded"]), _primitive_dictionary(path_report))
|
||||
_add_validation(validations, &"main_thread_stall_budget", not bool(stall_report[&"budget_exceeded"]), _primitive_dictionary(stall_report))
|
||||
|
||||
@@ -906,7 +906,7 @@ func _count_terminal_logistics() -> int:
|
||||
|
||||
func _performance_report(profiler: Variant) -> Dictionary:
|
||||
return {
|
||||
"simulation_x4": _primitive_dictionary(profiler.get_report(&"simulation_x4")),
|
||||
"simulation_x3": _primitive_dictionary(profiler.get_report(&"simulation_x3")),
|
||||
"path_query": _primitive_dictionary(profiler.get_report(&"path_query")),
|
||||
"main_thread_stall": _primitive_dictionary(profiler.get_report(&"main_thread_stall")),
|
||||
"domain_timings_per_game_minute": {
|
||||
|
||||
Reference in New Issue
Block a user