Skip to main content

Tests — NV2 Engine

Full automated test results for NV2 Engine, collected during the QA sweep on 2026-08-13 (Linux, Rust 1.97, Node 22, Python 3). Scroll down — the counters count up, the bars fill in and every row animates as it enters the viewport. Use ▶ Replay animation to run it again.

All tests pass
Rust voxel engine — 98/98 unit tests green, NaN-hardened AI, Phase-2 features (model sharing, datasets, player preferences).
0
passed
0
failed
0
total
Suite: cargo test (+ release benchmark)Duration: ~16 signored: 1
AI / ML modules0
ai_generator (18), memplp (10), online_trainer (2), vegetation (3), biomes (1)
Gameplay0
interaction (19), crafting (6), inventory (13)
World & terrain0
block (7), world (6)
Shell / misc0
commands incl. /ai_* (6), assets (1)
Renderer0
camera (3), mesh (2), texture_registry (1)

🔎 Quality gates

Performance benchmark (release)vegetation head ~1.44 M pred/s · training ~0.96 M samples/s
`unsafe` blocks in the whole codebase0
⚠️Clippy (--all-targets)43 warnings, 0 errors (pre-existing style nits)

📝 Notes

  • NaN checkpoint corruption fixed this sweep: gradient clipping, sanitise-on-save, tolerant load (null → 0.0).
  • Phase-2 features: /ai_export, /ai_import (nv2-model-bundle), /ai_dataset, /ai_stats (player preferences).
Full report on GitHubNV2 Engine · TEST_REPORT.md

Reproduce

cd Core
cargo test
cargo test --release qa_benchmark_report -- --ignored --nocapture