Residency snapshot on a default-constructed orchestrator

Tests › tests/unit/inference/residency_test.cpp

absent Not in the packaged run: no test report names it.

What this test is for

Why it exists

The test says nothing about why.

tests/unit/inference/residency_test.cpp:33 · its file's page

What it checks (8)

  1. REQUIRE(j.is_object()) observes residency_snapshot_json via j
  2. REQUIRE(j.contains("residency")) observes residency_snapshot_json via j
  3. REQUIRE(j["residency"].is_array()) observes residency_snapshot_json via j
  4. REQUIRE(j["residency"].empty()) observes residency_snapshot_json via j
  5. REQUIRE(j["vram_budget_bytes"].get<size_t>() == 0u) observes residency_snapshot_json via j
  6. REQUIRE(j["vram_total_bytes"].get<size_t>() == 0u) observes residency_snapshot_json via j
  7. REQUIRE(j["vram_headroom_bytes"].get<size_t>() == 0u) observes residency_snapshot_json via j
  8. REQUIRE(j["backend"].get<std::string>() == "unknown") observes residency_snapshot_json via j

Where the product reaches it

No product flow reaches this code: no product entry point's flow calls any of the functions this test calls.

Call flow

Residency snapshot on a default-constructed orchestrator→residency_snapshot_json→REQUIRE

What it reaches

Each row runs from this test, through the calls it makes, to the code a requirement names. If that code breaks, the test's checks are what should catch it. Reaching is not proving: a check only proves what it observes. No mutation records were given, so these rows say what the test REACHES.

Residency snapshot on a default-constructed orchestrator · 8 checksresidency_snapshot_jsonestimate_footprint_bytesREQ-INFER-019 · inferred
Also reaches 1 requirement

Its run touches their code; that is reach, not proof.