Skip to content

About

GenieRust replay progress: a fixed 5,604-match reference and a growing corpus

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

60 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Genie Replay Lab

Open the progress dashboard

Reproducible progress measurements for GenieRust, an independent reimplementation of the Age of Empires II: Definitive Edition engine.

Fixed baseline

  • Core 500: the default view, with immutable recording IDs and SHA256 hashes chosen for engine-feature and failure coverage.
  • Additional 500: a disjoint fixed extension. Combined 1,000 contains both sets and is tested for ordinary engine revisions.
  • Full corpus: all recordings scheduled in a large-corpus snapshot. This tab appears only for larger runs.
  • Reference: members of the original frozen 5,604 recordings, available alongside Full corpus on large-corpus snapshots. Ordinary baseline snapshots show only the three fixed cohort tabs.

The core runs before the additional set, with shorter last failures first inside each bucket. Both core and combined completion request early publication. Membership stays fixed as the engine improves, including cases that become successful. The feature-focused sample is a stable comparison baseline; its success rate must not be extrapolated to the full corpus.

The initial reference targets full internal build 158041, public game version 101.103.26969.0, using matching game data. Every run identifies its upstream engine commit, diagnostic instrumentation, toolchain, architecture, data fingerprints and replay hashes.

Snapshot history retains the newest 30 distinct engine revision and build profile pairs, with the historical baseline pinned separately. Repeated runs as the corpus grows replace that revision's representative instead of pushing older revisions out. A completed snapshot remains available alongside an unfinished or failed retry of the same revision. Historical large-corpus checkpoints and explicit one-off sweeps are pinned separately; a one-off and a baseline on the same engine remain individually selectable.

One-off full-corpus sweeps

A manually requested sweep can measure the original 5,604 recordings first, then the rest of a frozen 13,787-recording catalog. Every case directly uses a 300-second replay deadline, 10-second simulation-update watchdog, and at most 16 workers with adaptive memory admission. There is no timeout retry pass. The panel shows both stage counts and limits; completion does not start another run. This does not restore periodic full-corpus testing.

All retained measurements have exact-version JSON endpoints. Imported baselines and large-corpus sweeps, including one-off sweeps, are exact-only. Ordinary retained snapshots support descendant resolution within the retained regular-test window; historical baselines do not extend that window back through archival commits.

Automatic single-pass policy

Ordinary revisions use the fixed 500 + 500 baseline with up to 16 workers, 300 seconds per replay, and a 10-second simulation-update watchdog, directly on the first attempt. There is no timeout retry pass. Saved outcomes, including timeouts, survive recovery. The core finishes before the additional bucket starts; shorter previous failures stay first within each bucket. Older runs retain their original policies and comparisons flag changes to the measurement limits.

The local HTTP/LAN preview verifies report checksums with bundled MIT-licensed js-sha256 1.0.0 when native Web Crypto is unavailable. HTTPS and localhost continue using native hashing.

What is measured

Recordings start from their saved headers. The simulation stops at its first reported unsupported condition, differing recorded checkpoint, resource limit or recording end. The dashboard shows ticks reached, progress distributions, first blockers and changes on identical reference recordings.

Completed recordings with matching usable checkpoints are separate from recordings without checkpoints. These checkpoints contain partial state checksums; matching them does not establish complete equality of every simulation field or tick. Ignored commands, parse errors, multiple chapters, timeouts and process failures remain visible.

Changes between engine snapshots

Changes since the previous snapshot lists every measured replay whose progress or stopping diagnostics changed. Each row shows ticks reached and checkpoints passed before and now, signed deltas, and both stopping reasons. Expand a reason for all reported conditions or checkpoint categories; Progress details also shows changed failure ticks, last matching checkpoint ticks, ignored command counts and recording-length metadata.

The comparison uses the most recently completed test of a different engine commit before the selected run started. Explicit one-off sweeps prefer the previous large-corpus test, and identify changed timeout/measurement policies. Recordings are paired by identical SHA256 hashes. Newly added or ambiguous recordings and tests still pending are counted separately. Runtime-only differences and diagnostic list ordering do not count as changes. Gains and losses across ticks, matching checkpoints and EOF status are classified as advanced, regressed or mixed; changed recording lengths are labelled separately. Differences in build profile, architecture, game data, instrumentation or resource limits are identified where known.

Use the fixed or growing corpus tabs, search by match ID or stopping reason, filter regressions or EOF transitions, and sort by tick or checkpoint gains/losses. Download changes JSON provides the full list for the selected run. Active runs update as more results arrive. A missing earlier retained report is reported explicitly, without substituting an unrelated baseline.

Refresh consistency

The page keeps the latest results it has already received when a cache returns an older update. Each report is verified against the version named by its publication before replacing the displayed data. Mixed versions and temporary missing responses keep the last verified results visible and are retried. Manual historical selections and genuine changes between engine runs still work normally.

Execution time

The dashboard shows total run wall time, plus average and median time per replay in the selected corpus. Wall time includes build, pauses and retries. Replay averages use the final stored attempt, with current-run measurements separate from cached or historical timings. Missing timers are excluded.

Each recording has a Time to stop value such as 12.2s, including parsing and simulation until its first failure or EOF. Select Slowest first (elapsed time) to find expensive recordings. Shared session startup is excluded; historical and fallback process timers can include startup. Full result JSON retains precise runtime_seconds, identifies runtime_source, and includes timing summaries.

Histogram controls

Progress histograms show separate outcome bars in a fixed order, with a shared baseline. Use Count scale to switch between logarithmic and linear counts, and Chart outcome to inspect one outcome on its own. Log mode uses log10(count + 1) to include zero. Hover or keyboard-focus a bucket for its exact outcome counts and total. The selected scale and outcome apply to both progress and tick histograms.

Checkpoint mismatch categories

The dashboard distinguishes object positions, combined resources, live object counts, actions/unit AI and the other recorded checks. The category overview counts affected recordings; selecting a category filters the table. Expand a mismatch to see the affected players, zero-based checkpoint words, and recorded versus simulated values. A recording can fail several checks. These aggregate checks help locate the differing state without establishing its exact cause.

The same categories appear in the stopping-summary JSON, with a checkpoint_word field. Checkpoint definitions describe each word for build 158041 and link to the engine implementation. Unknown words, other builds and older reports without details remain explicitly identified. Full report JSON retains the original numeric differences.

Full-recording command coverage

The command census reads whole recording bodies, including commands beyond the simulation's first stop. Its two percentages show coverage of distinct recorded command variants and coverage weighted by their total occurrence counts. Both follow the selected engine snapshot and fixed or growing corpus.

The default definition counts reviewed handlers only. Handler presence, including partial provides a broader measure of implemented entry points. Partial or conditional implementations, explicit unsupported branches and unknown packets remain separate. A handler does not establish successful execution, checkpoint agreement or complete support for later autonomous mechanics. The reviewed count is deliberately conservative; handlers that have not been reviewed as complete stay partial. Classification is automatically refreshed for each engine revision and when classifier rules change. Both the original and reorganized engine source layouts are supported. Unavailable assessments show a dash while retaining valid command frequency counts. The existing snapshot selector chooses the exact engine assessment; the panel identifies the game build, engine commit, benchmark profile/completion and assessment timestamp. JSON includes classifier policy and inspected-source fingerprints, separately from parser provenance.

The usage ranking includes the entire recording, with filters for unsupported, partial and unknown variants. GAME subcommands, unit-order actions, stances, remembered selections and farm construction are distinguished. After stop counts commands in strictly later updates where a comparable simulation horizon exists; it excludes the failure update itself and is unavailable when no comparable horizon exists. Unknown command packets stay in the denominator. Bodies that cannot be scanned completely are excluded and explicitly counted. Camera, chat, checkpoints and internal unit/AI updates are outside these command metrics.

Use Download census JSON for the exact run's counts, classification reasons, source links and parser provenance. The census runs separately and reuses cached recording counts as engine classifications change.

New corpus snapshots include a census assembled from the existing cache at publication time. Recordings still being scanned are labelled pending; subsequent publications fill them in. This keeps coverage visible when an unchanged engine revision gets a larger corpus run.

The original historical baseline used local diagnostic instrumentation and is labeled separately. New results are produced by a background benchmark worker and published as static JSON reports. The website does not run game code in visitors' browsers. During a run, new results are published about every five minutes; the page checks for updates every minute. Deployment and caching can add delay.

Stable JSON URLs

URL Contents
latest.json The newest benchmark run, including partial results while it is in progress.
latest-completed.json The newest completed benchmark run.
latest-running.json The newest unfinished run that is queued, building or running.
latest-simulated.json Recordings that reached the end in the newest run, including those with zero checkpoints.
latest-completed-simulated.json Recordings that reached the end in the newest completed run, including those with zero checkpoints.
latest-running-simulated.json Recordings that have reached the end within the newest unfinished run.
latest-stopping-simulation.json Ranked stopping reasons for the newest benchmark run.
latest-completed-stopping-simulation.json Ranked stopping reasons for the newest completed run.
latest-running-stopping-simulation.json Ranked stopping reasons from the newest unfinished run.
latest-command-coverage.json Full-recording command coverage and frequency ranking for the newest benchmark run.
latest-completed-command-coverage.json Command coverage for the newest completed benchmark run.
latest-running-command-coverage.json Command coverage for the newest unfinished run, when its census is available.
latest-changes.json Replay changes for the newest run versus its preceding completed engine revision.
latest-completed-changes.json Replay changes for the newest completed run.
latest-running-changes.json Changes measured so far in the newest unfinished run.
manifest.json Available runs, summaries and engine commits.

The three full-report URLs return the original per-run JSON with run, identity and rows, including recording IDs, SHA256 hashes, outcomes and checkpoint counts. They update with each publication; deployment and caching can add delay. Diagnostic pilots and superseded worker continuations are excluded. latest.json can also describe a build or setup failure, so check run.status before using its results. Completed URLs become available after the first completed run. Running URLs return HTTP 404 when the published snapshot has no unfinished run; they never fall back to completed results.

Stopping summaries contain run metadata, the source_report path and separate fixed and growing views plus core500, extension500, and combined1000 views. Each view has corpus totals, outcome counts and a reasons array sorted by affected recording count. Entries include status, the reported reason, count, percent_of_stopped and up to five example recording IDs. Checkpoint mismatches and input or execution errors are included alongside unsupported mechanics. Counts are deduplicated within each condition; one recording can report several conditions at its first stopping point, so counts can overlap. Completed recordings, including those without checkpoints, are not counted as stopped. The same summaries are also available without the .json suffix, for example /latest-stopping-simulation; the .json URLs use the JSON content type.

Simulated lists contain compact run metadata, source_report, scope, count and rows. They select every row with status == "complete" across the growing corpus; fixed identifies members of the frozen reference. Each entry includes match_id, sha256, game build, ticks reached, checkpoints_passed, total_checkpoints, the last matching checkpoint tick and ignored command count. Zero-checkpoint recordings are retained as 0/0; reaching the end does not establish verified correctness. Rows are sorted by matching checkpoint count descending, then recording ID. These lists also work without .json. An available run with no completed recordings returns count: 0 and an empty rows array.

For a reproducible reference, use run.id from either report to construct data/<run.id>.json. To identify recordings that reached the end with recorded checkpoints matching, select rows with status == "complete", total_checkpoints > 0 and checkpoints_passed == total_checkpoints. Rows without usable checkpoints remain separate, and ignored_commands_to_stop records any ignored commands.

Command-coverage responses contain run, parser and classification provenance, definitions and separate fixed and growing summaries plus core500, extension500, and combined1000 summaries. Each summary includes implemented_types_percent, implemented_occurrences_percent, the two handler_*_percent alternatives, four implementation-status counts, scan exclusions and frequency-ranked rows. Use coverage/<run.id>.json for a particular retained run. These aliases also work without .json; unavailable censuses return 404 without substituting a different run. No private per-command position lists or replay payloads are included.

Replay-change responses contain current and baseline provenance, fixed, growing, core500, extension500, and combined1000 counts, and one rows array of changed recordings. Rows include SHA256, corpus membership, before/after counters and stopping diagnostics, ticks_delta, checkpoints_delta, the change category and EOF flags. fixed on a row identifies legacy reference membership; cohorts lists its frozen baseline scopes. Missing counters have null deltas. Use changes/<run.id>.json for a particular retained run; the three aliases also work without .json. Reports without an available baseline return available: false with a reason and an empty list. Running aliases return 404 when no run is active.

Engine version JSON

Use engines/<full-40-character-engine-commit>.json for simulation step progress and stopping reasons at a specific upstream revision. Example: Scout 26969 upstream revision 348de294.

Each response includes resolution (requested and measured SHA, exact or first_tested_descendant, parent-edge distance, and the original source_report relative to the dashboard root), compact run metadata, game_build, all available corpus progress summaries, and per-recording rows. Rows retain recording IDs/hashes, reached/attempted/total ticks, progress percentage, checkpoint counters, the first stopping tick where available, and cohort membership. abort_reason_ids refers to the top-level abort_reasons[].id catalog. That catalog includes outcomes, unsupported conditions including nested freezes, checkpoint mismatches, parser/initialization errors, and other failures, with recording counts and examples. A reason can overlap another reason at the same stopping point. Reaching a tick is distinct from passing a checkpoint.

engines/index.json lists supported full commit hashes and their resolutions. Exact completed measurements take precedence (latest completed release run preferred). Otherwise the endpoint chooses a completed tested descendant that contains the requested commit, using the fewest Git parent edges, ties by earliest run creation. The fallback is explicit; it does not claim the earlier revision was measured. Sibling branches, earlier revisions, running tests, and failed builds are not substitutes. Fallback coverage is limited to known history at or after a retained ordinary measured ancestor (up to 1,000 recordings). Every retained measurement keeps its exact endpoint, while unknown/newer or out-of-window unmeasured versions have no endpoint (404). Version endpoints follow retained history and can change as exact or closer results become available. Benchmarks describe the upstream revision, not local patches in a consuming application.

Repository contents

The engine-revision trend has its own page with Core 500, Additional 500 and Combined 1,000 views, independent of the main dashboard’s selected engine snapshot. The main dashboard links to it, and build links return to the exact snapshot and cohort. It includes only completed full measurements with identical cohort membership, with one representative per engine revision and release builds preferred. Legacy-reference and run-corpus views are not blended into this series. A newer unfinished retry does not hide an eligible completed measurement. Select a chart column or table entry to open its snapshot. Every eligible revision remains displayed. Spaced test-day labels such as 25.10 replace overlapping commit labels; hover or focus a point for the full engine SHA. Advanced and regressed counts use separate colours. The outcome columns show checked completions, unsupported updates, checkpoint mismatches and all other outcomes; Other includes unchecked completions and remaining failures, with a tooltip breakdown.

Trend comparisons use compact manifest.runs[].changes.summary entries keyed by cohort, including membership_sha256, total_recordings, compared_recordings, unpaired_recordings and change-category counts. changes.baseline_sha identifies the comparison engine, and changes.warnings carries measurement caveats. These are the same scoped counts as the corresponding comparison sidecar. Missing summaries display a dash; the legacy-reference comparison counts are not substituted. Missing median ticks remain chart gaps, while a measured zero remains zero.

Dashboard changes can be checked locally with node --test tests/dashboard.test.cjs (Node.js 20 or newer). The suite covers snapshot loading, frozen cohorts, diagnostics, report verification, TPS sorting, themes and responsive chart sizing. An optional REAL_REPORT_DIRECTORY containing a report bundle's manifest.json, data, coverage and changes enables the full-report integration check. Also inspect dark and light themes at desktop and phone widths when changing layout or colours.

This repository contains the static dashboard and its report-deployment workflow. Sanitized report snapshots are available in the Benchmark report snapshots prerelease. The worker implementation is maintained separately.

Proprietary game assets, replay payloads, local configuration and credentials are not published here.

Independent community project. Not affiliated with the Age of Empires developers or publisher.

New-engine reports add structured engine_error diagnostics alongside legacy outcome/reason fields: kind, execution phase, repository-relative source location, ordered context entries and an optional cause. The recording table can filter by kind and expand details with links pinned to the measured engine commit. Legacy snapshots remain readable without invented context. Stopping summaries and versioned engine JSON distinguish kind plus fixed reason; compact version responses retain reason IDs and kinds while full occurrence context remains in the canonical resolution.source_report. Tick/checkpoint semantics and fixed cohort membership stay unchanged. Supplementary matching-build data tables are frozen and hashed with the original inputs, and input/adapter differences are disclosed in comparisons.

Links to a single progression or regression

Construct ?engine=<commit>&match=<match-id>#changes to open a particular change. Engine commits accept an unambiguous 8–40 character hexadecimal hash; a completed release measurement is preferred when that revision has several runs. For an exact testing attempt, use ?run=<run-id>&match=<match-id>#changes instead. cohort=core500, extension500, or combined1000 is optional; a linked change defaults to the combined baseline (or full corpus on legacy runs).

Example: regression for replay 429361673 on engine 50269825192e. The link isolates and highlights the change, expands progress/stopping details and scrolls to it. Clear the existing change-search field to show all changes again. Expanded progress, stopping-reason and recording diagnostic details include a small SVG permalink icon. Its link pins the exact run, engine revision, cohort and replay. Recording-result links add view=recording#recordings to reopen that replay’s diagnostics instead of its comparison. Clear the recording search to restore the full list.

The match value also accepts an .aoe2record filename containing the match ID, such as Match_429361673.aoe2record, or a known TTL recording name. URL-encode filename characters. Arbitrary filenames without a published identifier cannot be resolved. Missing/ambiguous snapshots, filenames, changes, or cohort membership are reported rather than substituting another result. Links require the corresponding snapshot to remain in retained published history.

The dashboard computes Checkpoints verified from the selected snapshot’s replay details: the sum of nonnegative integer checkpoints_passed values across the selected cohort, regardless of outcome or table filters. It counts only successful checks, excluding a failing checkpoint and the unverified simulation tail. Results without usable counters are explicitly excluded; no counts are estimated from ticks. While a run is in progress, the total covers measured results only and updates with published reports. This measures partial state-checkpoint agreement, not correctness of every simulated field.

The adjacent checkpoint change compares only already-measured replay pairs with identical recording hashes and usable checkpoint counters in both snapshots, against the same preceding completed engine revision used by the comparison table. It sums their checkpoint deltas, including unchanged pairs, and shows (+0) for no net change (also when no pairs have been measured). Pending, unpaired and missing-counter results never create a negative delta. No change value is shown when no baseline is available.

The Engine Revision Trends page also plots total verified checkpoints for each completed engine measurement and selected frozen cohort. These compact totals are backfilled from retained reports at publication time; no simulation reruns or per-revision replay downloads are needed. Unknown historical totals leave gaps, and tooltips disclose omitted counters.

The checkpoint subtitle shows the recorded checkpoints that could be verified and the percentage already verified. The denominator uses the whole selected cohort’s membership, including pending replays, reusing recorded total_checkpoints by identical replay hash from retained history. It does not shrink to the currently measured subset. If some replay totals remain unknown, the subtitle says known checkpoints and its tooltip discloses the missing counts; absent counts are not inferred from ticks or treated as zero.

Average replay TPS on the revision trend page is the arithmetic mean of each replay’s completed_ticks / runtime_seconds, matching the recording table’s per-replay TPS definition. All outcomes with finite nonnegative ticks and positive finite elapsed time are included; missing or zero timings are excluded. This gives each replay equal weight rather than weighting by its length or aggregating parallel workers. Hover shows the timed sample count. Parsing, changing stop points, build profiles, hardware and contention affect this wall-time statistic.

In What stops the simulation, the scrollable list includes every unsupported-condition reason recorded in the selected cohort’s replay details, including frozen-object reports. A replay counts once per reason, even when several players report it. Hovering or keyboard-focusing a reason temporarily filters How far games get to those exact matching replays; leaving or blurring restores the unfiltered graph. Touch users can tap a reason and tap again or clear the preview. Other charts and recording-table filters are unaffected. The preview keeps the selected count scale, bucket grouping and outcome filter; games without measurable progress are explicitly identified. The complete list becomes available after replay details load, rather than relying on the truncated summary ranking.

Failed and aborted attempts are listed under Method & provenance → Archived runs rather than the normal engine snapshot dropdown. Their exact links and diagnostic reports remain available.

Recorded Δt in Recording results shows the complete recording’s frame-weighted mean ± population standard deviation in game milliseconds, plus its minimum–maximum range. Sort by mean, standard deviation, minimum or maximum in either direction; unavailable statistics stay last. These values cover all recorded frames across every chapter, independently of where an engine stopped or how fast it ran. Complete census statistics are matched by recording SHA256, so they also apply to historical engine snapshots with identical replay bytes. Truncated or uncensused recordings show an em dash.

About

GenieRust replay progress: a fixed 5,604-match reference and a growing corpus

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages