{
  "build": "5",
  "branch": "main",
  "commit": "5701e9a8",
  "date": "",
  "rust_version": "rustc 1.99.1 (58cf8f9c3 2026-10-13)",
  "crate": "mid-ecs-ffi",
  "summary": {
    "total": 683,
    "passed": 683,
    "failed": 0,
    "ignored": 0,
    "duration_s": 0.11
  },
  "suites": [
    {
      "name": "mid-ecs [ffi unit tests]",
      "passed": 103,
      "failed": 0,
      "ignored": 0,
      "duration_s": 0.11,
      "tests": [
        {
          "name": "ffi::tests::a_queue_applied_to_a_world_that_does_not_know_the_component_is_a_no_op_not_a_panic",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::a_spawned_entity_is_a_reservation_that_leaves_other_spans_valid",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::a_component_listed_twice_does_not_duplicate_rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::added_and_changed_rows_match_the_typed_queries_step_by_step",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::all_terms_intersect_and_rule_out_archetypes_lacking_a_component",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::any_terms_union_and_a_member_the_archetype_lacks_counts_as_false",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::archetypes_with_static_component_on_unregistered_id_is_zero_not_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::archetypes_with_static_component_query_then_fill_through_the_c_surface",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::bogus_packed_entity_is_safe_and_reads_as_not_alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_fixture_scripted_sequence_matches_what_test_c_asserts",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::bulk_mut_query_writes_are_visible_to_the_c_changed_rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_rows_buffer_idiom",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_rows_null_world_is_a_null_pointer_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_rows_not_found_and_zero_row_cases",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_rows_stay_aligned_with_entity_ids_after_a_swap_remove",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_rows_survive_migration_into_another_archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::change_tick_functions_round_trip_and_handle_null",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_apply_null_buffer_is_too_small_with_spawns_and_fine_without",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_apply_writes_only_the_spawned_prefix_of_a_roomy_buffer",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_apply_returns_the_entities_a_direct_spawn_would_have_made",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_clear_drops_pending_unrun_and_a_second_apply_is_empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_apply_with_a_too_small_buffer_applies_nothing_and_a_retry_works",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_new_free_round_trips_and_free_null_is_a_no_op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_despawn_of_a_stale_handle_spares_the_entity_that_reused_the_slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_despawn_runs_at_apply_and_dead_or_bogus_values_are_a_no_op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_null_arguments_are_safe_everywhere",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::component_raw_span_and_entity_ids_on_never_registered_id_is_not_found",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::commands_spawn_applies_only_at_apply_and_returns_the_entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::component_entity_ids_buffer_too_small_is_a_real_error_not_a_partial_fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::component_raw_span_and_entity_ids_correlate_through_the_c_surface",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::component_raw_span_null_pointer_cases",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::component_status_maps_every_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::despawn_already_dead_returns_not_alive_not_panic",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::errors_are_reported_before_anything_is_written",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::free_null_is_a_safe_no_op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::every_enumerated_archetype_resolves_including_zero_row_intermediates",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::ffi_enumeration_matches_the_typed_filtered_queries",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::insert_attaches_a_missing_component_stamped_added_and_changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::insert_statuses_and_nothing_inserted_on_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::insert_many_attaches_a_bundle_in_one_call_stamped_added_and_changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::lookup_ffi_component_id_on_null_world_or_name_is_invalid_sentinel",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::lookup_ffi_component_id_on_unregistered_name_is_invalid_sentinel",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::insert_many_statuses_are_all_or_nothing_and_change_nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::insert_onto_a_stale_handle_is_not_alive_and_never_reaches_the_slot_reuser",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::lookup_ffi_component_id_resolves_a_registered_name",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::lookup_ffi_static_component_id_uses_an_independent_namespace_from_sparse_shell",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::matching_static_buffer_idiom",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::matching_static_enumerates_the_expected_archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::matching_static_any_of_matches_the_typed_or_filter",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::matching_static_bogus_and_contradictory_ids_are_empty_not_errors",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::matching_static_null_pointer_cases",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::null_world_functions_return_safe_defaults_not_crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::query_since_follows_the_buffer_conventions",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_bundle_statuses_queue_nothing_and_misses_at_apply_are_whole_no_ops",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_bundles_apply_in_order_and_validate_when_queued",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_insert_statuses_and_nothing_queued_on_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_inserts_apply_in_order_onto_spawned_and_existing_entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_inserts_that_no_longer_apply_are_no_ops_at_apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_removes_that_no_longer_apply_are_no_ops_at_apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::raw_span_mut_and_the_read_only_span_point_at_the_same_memory",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::raw_span_mut_statuses_and_nothing_stamped_on_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::queued_remove_applies_in_order_with_inserts_and_validates_when_queued",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::raw_span_mut_writes_land_and_stamp_exactly_the_acquired_column",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::refused_and_no_op_removals_record_nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::removal_queries_distinguish_untracked_unknown_and_null",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::remove_detaches_a_component_and_leaves_everything_else_intact",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::removals_are_recorded_from_every_c_removal_path_and_match_the_rust_view",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::removal_tracking_is_per_component_idempotent_and_keeps_the_id_spaces_apart",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::remove_from_a_stale_handle_is_not_alive_and_never_reaches_the_slot_reuser",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::remove_many_detaches_a_bundle_and_is_all_or_nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::removed_since_follows_the_buffer_conventions",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::remove_statuses_and_nothing_removed_on_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::removed_since_windows_by_last_run_and_reports_each_removal_of_a_reused_entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_functions_null_and_unknown_id_cases",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_added_and_changed_since_follow_writes_from_c",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_lookup_resolves_registered_names_and_rejects_the_rest",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_remove_then_span_and_second_remove",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_span_reads_the_inserted_value_and_is_empty_for_an_absent_one",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_write_size_mismatch_changes_nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_write_updates_in_place_and_the_old_span_sees_it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::resource_write_inserts_an_absent_resource",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::row_mut_errors_come_in_order_and_touch_nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::row_mut_fires_no_component_hook",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::row_mut_hands_out_one_writable_row_and_stamps_only_it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::row_mut_never_reaches_the_new_occupant_of_a_reused_slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::since_changed_includes_inserts_and_mutations_but_added_only_inserts",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::since_added_finds_new_entities_across_archetypes_with_aligned_rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::sparse_shell_removals_are_tracked_apart_from_the_archetype_core",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::spawn_despawn_is_alive_round_trip_through_ffi",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::stale_packed_entity_after_reuse_correctly_reads_as_not_alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::static_component_raw_span_and_entity_ids_correlate_through_the_c_surface",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::static_component_raw_span_and_entity_ids_on_never_registered_id_is_not_found",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::structural_lists_compose_with_the_change_terms",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::the_all_and_any_groups_combine",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::the_window_follows_last_run_and_zero_sees_everything",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::world_new_free_round_trips",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::trim_and_clear_drop_entries_but_keep_components_tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::world_row_mut_reports_the_documented_error_variants",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::write_copies_a_value_in_and_stamps_exactly_that_row",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::write_statuses_and_nothing_written_or_stamped_on_an_error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::write_to_a_dead_or_stale_entity_is_not_alive_and_never_reaches_the_slot_reuser",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::row_mut_stamps_exactly_what_get_static_mut_stamps",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "ffi::tests::the_c_query_matches_the_typed_rust_queries_over_a_random_history",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        }
      ]
    },
    {
      "name": "C smoke test (libmid_ecs.so)",
      "passed": 288,
      "failed": 0,
      "ignored": 0,
      "duration_s": 0.0,
      "tests": [
        {
          "name": "world_new returns non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh world has zero entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "freshly spawned entity is alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 1 after one spawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two spawns return distinct packed entity values",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 2 after two spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn of a live entity returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawned entity is no longer alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count drops to 1 after despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "e2 is untouched by e1's despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawning an already-dead entity returns MID_ECS_NOT_ALIVE, not OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the stale packed e1 value must not read as alive after slot reuse",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "e3 (the entity that reused the slot) is alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a bogus packed u64 reads as not alive, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawning a bogus packed u64 returns MID_ECS_NOT_ALIVE, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawn on NULL world returns 0, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "is_alive on NULL world returns false, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count on NULL world returns 0, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn on NULL world returns MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "looking up an unregistered name returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "lookup on NULL world returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "lookup with NULL name returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "test_fixture_world_new returns non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "FfiHealth resolves to a real component_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_raw_span on a real registered id returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_raw_span sees both fixture entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "span.stride matches the real C struct size",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw component bytes match the fixture's real Rust-side values, read through a real C struct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_entity_ids query mode reports the real count",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_entity_ids fills exactly 2 real entity ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the packed entity ids read back from C are real, live entities in this world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two correlated entity ids are distinct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small non-null buffer returns MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "FfiHealthStatic resolves to a real component_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "both fixture entities share exactly one archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "archetypes_with_static_component fills exactly 1 real archetype id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_raw_span on a real (archetype_id, component_id) pair returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_raw_span sees both fixture entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Archetype Core raw bytes match the fixture's real Rust-side values",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_entity_ids fills exactly 2 real entity ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the Archetype Core correlated entity ids are real, live entities in this world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span on a never-registered id is MID_ECS_NOT_FOUND, even on a populated world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static raw_span with a never-registered component_id is MID_ECS_NOT_FOUND, even for a real archetype_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the filter fixture's three component names all resolve",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health}: 4 archetypes (one zero-row), 3 rows, hp 1+2+3, every raw_span OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} without {FlagA}: only e1's row, plus the zero-row {FlagB, Health}",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health, FlagA}: e2 and e3, hp 2+3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health, FlagA} without {FlagB}: e2 only",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} without {FlagA, FlagB}: e1 only",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} any_of {FlagA, FlagB}: 3 archetypes (the zero-row {FlagB, Health} has FlagB in its signature too), e2 and e3's rows, hp 2+3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an empty any_of list (non-NULL pointer, zero length) is still 'no constraint'",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three-component query, with {Health, FlagA, FlagB}: one archetype, e3's row, hp 3 / FlagA 30 / FlagB 300 in step",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Option<FlagA> / Has<FlagB> over {Health}: raw_span OK = present, NOT_FOUND = absent; 2 rows with FlagA (20+30), 1 without, 1 with FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three empty lists (NULL, 0) match every archetype, the empty one included",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL id list with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL any_of_ids with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a never-registered id in with_ids matches nothing, and is not an error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_of naming only a never-registered id matches nothing, even though with_ids alone would",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "both resource names resolve to distinct resource ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered resource name is MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_raw_span on FfiTime is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span is one element of the registered size",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture's inserted value reads back through C memory",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a registered but not inserted resource is MID_ECS_OK with count 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a resource_id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_write of a correctly sized value is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the write updated the value in place (same address)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span taken before the write sees the new value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a wrong-sized write is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "and it changed nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing a registered but not inserted resource inserts it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted resource reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing an id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL bytes with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_remove of an inserted resource is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "after remove the span is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removing it again is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an inserted resource is added and changed since tick 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a registered but not inserted resource is neither",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a change in the same tick as last_run is not reported",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing an absent resource adds it; the other resource is untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "replacing a value is a change, not an addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "reading through a span is not a change",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a removed resource is neither added nor changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed and written again is a new addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a resource_id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a refused write stamps nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change fixture: FfiHealthStatic resolves",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change fixture: exactly one archetype holds Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fixture leaves the change tick at 2",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change_tick on a NULL world is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "increment_change_tick on a NULL world is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL buffer queries the added-row count: 3 for a fresh tracker",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh tracker: added rows are 0, 1, 2 in ascending order",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh tracker: all three rows are also changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "after last_run = change_tick, nothing is added or changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "increment_change_tick returns the new tick, 3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture's scripted mutation runs",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "added since last_run: only the new entity, row 3 (a mutation is not an addition)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "changed since last_run: the mutated row 1 and the new row 3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span now has 4 elements",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the changed rows point at hp 22 and hp 4 in the span",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the same rows resolve to live entities through entity_ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the scripted mutation only runs once",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered component id is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unknown archetype id is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture mutation on a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write fixture: FfiHealthStatic / FfiFlagA / FfiFlagB resolve",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write fixture: two archetypes hold Health ({Health} and {Health, FlagA})",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two archetypes told apart by row count (2 and 1)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "before any write, nothing is changed since last_run",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut on {Health}: a writable span of 2 rows, stride 4",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writes through the writable span show in the read-only span (same memory): hp 101 and 103",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut stamps the whole acquired column changed (rows 0, 1) and no other archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "...as changed, not added",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity ids for the two archetypes: one entity and two entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: copy hp 222 into the {Health, FlagA} entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the written value reads back as 222 and the other archetype is untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write stamps exactly that one row changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a component registered read-only is MID_ECS_NOT_WRITABLE, for both raw_span_mut and write",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut: unregistered id, unknown archetype, signature lacking the component: MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: an alive entity without the component, or an unregistered id, is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: a length other than the type's size (3, 5, or NULL with 0) is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: a bogus entity value is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL world, NULL out-span, or NULL bytes with a length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "none of the failed calls changed a value or stamped a row",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write to a despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert fixture: the second Health entity's hp reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "before any insert, no archetype holds FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: FlagB 41 is attached to an entity that had none, and reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted value is stamped both added and changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the entity's existing Health moved with it, intact and not re-stamped",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert of a component the entity already has is MID_ECS_ALREADY_PRESENT and the first value stays",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a read-only component is MID_ECS_NOT_WRITABLE, an unregistered id MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a length other than the type's size (3, 5, or NULL with 0) is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a bogus or despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: NULL world, or NULL bytes with a length, is MID_ECS_NULL_POINTER and e2 still has no FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: two spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: inserts onto spawn slots 1 and 0 and onto an existing entity are queued (5 commands)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing has touched the world before apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: the spawned entities got FlagB 10 and 20 (by slot), the existing one 99, and the queue is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued insert errors (not writable, unknown id, wrong length, no such spawn slot) queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued insert: NULL commands, world or bytes is MID_ECS_NULL_POINTER and queues nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert of a component the entity already has is a no-op when applied (hp unchanged)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert onto an entity despawned before apply is a no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: the other two entities' hp read back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: the entity's Health is gone and the entity is still alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the survivors are intact, and a removal stamps nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: an entity without the component, or an unregistered id, is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: exactly one entity holds the read-only FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a read-only component is MID_ECS_NOT_WRITABLE even on the entity that has it, and stays",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a bogus or despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a NULL world is MID_ECS_NULL_POINTER and nothing is removed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: a removal and an insert are recorded, and nothing has happened yet",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: e2 lost its Health and gained FlagB 5, in queue order",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued remove errors (read-only, unknown id, NULL) queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued removal of a component the entity no longer has is a no-op when applied",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued removal from an entity despawned before apply is a no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "bundle fixture: one entity holds the read-only FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "bundle fixture: an entity with Health, and its hp",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: Health 7 and FlagB 8 are attached to a bare entity in one call",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted bundle's values are stamped both added and changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: an entity that already has Health is MID_ECS_ALREADY_PRESENT and gets no FlagB either",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: read-only, unknown id, wrong length, repeat, dead entity: each its own status, and nothing attached",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: NULL world / list / bytes is MID_ECS_NULL_POINTER; an empty list is OK and changes nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: an entity that lacks FlagB loses nothing, not even the Health it has",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: read-only in the list, unknown id, repeat, dead entity: each its own status, and nothing removed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: NULL world / list is MID_ECS_NULL_POINTER; an empty list is OK and changes nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: both components are gone in one call and the entity is still alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: two spawns, bundles onto both slots, and a bundle then a removal on an existing entity (6 commands)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing has touched the world before apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: slot 0 got Health 10 + FlagB 11, slot 1 got FlagB 21, and bare2 ended with FlagB 31 only (insert then remove, in order)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued bundle errors (read-only, unknown id, length, repeat, no such spawn slot) queue nothing, and empty lists queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued bundles: NULL commands, world or list is MID_ECS_NULL_POINTER and queues nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued bundle insert onto an entity that has one already, and a queued bundle removal from one that lacks one, are whole no-ops when applied",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "commands_new returns a non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a fresh queue is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three spawns queue with MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a despawn queues with MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "len counts every command, spawn_count only the spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing happens to the world until apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply with a buffer smaller than the spawn count is MID_ECS_BUFFER_TOO_SMALL",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small apply applied nothing: world, queue and buffer are untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL buffer with spawns waiting is MID_ECS_BUFFER_TOO_SMALL",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL buffer is never written through, whatever capacity is claimed for it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply returns the number of spawned entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the spawned prefix of the buffer is written",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all three returned entities are alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the returned entities are distinct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the queued despawn ran and the untouched entity survived",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 4 after apply (keep + 3 spawned)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the queue is empty after apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a second apply with nothing queued returns 0, and a NULL buffer is fine",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn the first spawned entity directly",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the slot-reusing entity has a different packed value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued despawn of the stale handle applies cleanly",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the stale despawn did not kill the entity that reused the slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a bogus packed value queues and runs as a no-op, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "clear empties the queue",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a cleared spawn never runs",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "len and spawn_count on a NULL queue are 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawn, despawn and clear on a NULL queue are MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply with a NULL queue or a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "freeing a NULL queue is a safe no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "row_mut fixture: one {Health} archetype and one {Health, FlagA} archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two plain entities, one flagged",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "row_mut hands out one writable Health slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the row row_mut handed out is Changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a mutation is not an addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the slot is the row's slot in the read-only span, holding the written value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut over-reports: both {Health} rows are Changed after it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a dead handle is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an id never registered is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a read-only component is MID_ECS_NOT_WRITABLE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an alive entity without the component is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "read-only is decided before absence",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "*out_span is untouched by every error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world or out_span is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "span of the flagged archetype before the spawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a spawned id is real at once",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawning an empty entity does not move another archetype's span",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert on the reserved id applies and the value is there",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a reservation is not a queued spawn: nothing takes it back but despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "filter fixture: one {Health} archetype and one {Health, FlagA} archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two entities hold only Health, one holds Health and FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a tracker that has just read the tick sees no changed Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write Health on two entities in different archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL buffer queries the count: two changed rows across two archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two rows are in different archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the rows name the two written entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "each row indexes the archetype's span at the written value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with FlagA: only the flagged entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "without FlagA: only the plain entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_changed [Health, FlagA]: FlagA did not change, so no row (and the {Health} archetype lacks it)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_changed [Health, FlagA]: the changed Health qualifies both rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_changed [FlagA] alone: nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert FlagB on the second plain entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_added [FlagB]: the entity it was inserted on",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_added [Health]: a write is not an addition, and a migration does not re-add",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_added [FlagB] + any_changed [Health] is one group: three rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run = the current tick: nothing is newer",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run 0 sees every Health row",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "no change term at all is MID_ECS_INVALID_ARGUMENT",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered id in a change list is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unknown id in the structural with list just matches nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL list pointer with a length, a NULL world and a NULL filter are MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removal fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removals of Health are not tracked to begin with",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an untracked component's removal count is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed_since on an untracked component is MID_ECS_NOT_TRACKED, not an empty list",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "track_removals starts recording Health removals",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking twice is fine",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking needs only a valid id, not a writable component",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracked and nothing removed yet: 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove Health from the first entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed_since reports exactly that entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "losing a component does not despawn the entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn the second entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a despawn records its components too, oldest first",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a refused removal (the entity no longer has Health) records nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing was removed after the current tick",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove Health from the third entity, a tick later",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the removal after rm_t1 is reported",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run 0 reports all three",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "trim_removals drops the old entries and keeps the component tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an id this world never issued is MID_ECS_NOT_FOUND, for all four functions",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture has two entities with the Sparse-Shell Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking the Archetype-Core component does not track the Sparse-Shell one",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Sparse-Shell removed_since is MID_ECS_NOT_TRACKED until tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "track the Sparse-Shell component too",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn one fixture entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the Sparse-Shell removal is recorded by the despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "and so is the Archetype-Core one",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Sparse-Shell count, NOT_FOUND and NULL world behave like the Archetype-Core ones",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "clear_removals empties every log and keeps both components tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "still recording after a clear",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "program ran to completion",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        }
      ]
    },
    {
      "name": "C smoke test (libmid_ecs.a)",
      "passed": 288,
      "failed": 0,
      "ignored": 0,
      "duration_s": 0.0,
      "tests": [
        {
          "name": "world_new returns non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh world has zero entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "freshly spawned entity is alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 1 after one spawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two spawns return distinct packed entity values",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 2 after two spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn of a live entity returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawned entity is no longer alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count drops to 1 after despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "e2 is untouched by e1's despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawning an already-dead entity returns MID_ECS_NOT_ALIVE, not OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the stale packed e1 value must not read as alive after slot reuse",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "e3 (the entity that reused the slot) is alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a bogus packed u64 reads as not alive, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawning a bogus packed u64 returns MID_ECS_NOT_ALIVE, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawn on NULL world returns 0, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "is_alive on NULL world returns false, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count on NULL world returns 0, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn on NULL world returns MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "looking up an unregistered name returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "lookup on NULL world returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "lookup with NULL name returns MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "test_fixture_world_new returns non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "FfiHealth resolves to a real component_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_raw_span on a real registered id returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_raw_span sees both fixture entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "span.stride matches the real C struct size",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw component bytes match the fixture's real Rust-side values, read through a real C struct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_entity_ids query mode reports the real count",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "component_entity_ids fills exactly 2 real entity ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the packed entity ids read back from C are real, live entities in this world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two correlated entity ids are distinct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small non-null buffer returns MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "FfiHealthStatic resolves to a real component_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "both fixture entities share exactly one archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "archetypes_with_static_component fills exactly 1 real archetype id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_raw_span on a real (archetype_id, component_id) pair returns MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_raw_span sees both fixture entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Archetype Core raw bytes match the fixture's real Rust-side values",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static_component_entity_ids fills exactly 2 real entity ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the Archetype Core correlated entity ids are real, live entities in this world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span on a never-registered id is MID_ECS_NOT_FOUND, even on a populated world",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "static raw_span with a never-registered component_id is MID_ECS_NOT_FOUND, even for a real archetype_id",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the filter fixture's three component names all resolve",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health}: 4 archetypes (one zero-row), 3 rows, hp 1+2+3, every raw_span OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} without {FlagA}: only e1's row, plus the zero-row {FlagB, Health}",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health, FlagA}: e2 and e3, hp 2+3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health, FlagA} without {FlagB}: e2 only",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} without {FlagA, FlagB}: e1 only",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with {Health} any_of {FlagA, FlagB}: 3 archetypes (the zero-row {FlagB, Health} has FlagB in its signature too), e2 and e3's rows, hp 2+3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an empty any_of list (non-NULL pointer, zero length) is still 'no constraint'",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three-component query, with {Health, FlagA, FlagB}: one archetype, e3's row, hp 3 / FlagA 30 / FlagB 300 in step",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Option<FlagA> / Has<FlagB> over {Health}: raw_span OK = present, NOT_FOUND = absent; 2 rows with FlagA (20+30), 1 without, 1 with FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three empty lists (NULL, 0) match every archetype, the empty one included",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL id list with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL any_of_ids with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a never-registered id in with_ids matches nothing, and is not an error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_of naming only a never-registered id matches nothing, even though with_ids alone would",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "both resource names resolve to distinct resource ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered resource name is MID_ECS_INVALID_ID",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_raw_span on FfiTime is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span is one element of the registered size",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture's inserted value reads back through C memory",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a registered but not inserted resource is MID_ECS_OK with count 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a resource_id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_write of a correctly sized value is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the write updated the value in place (same address)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span taken before the write sees the new value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a wrong-sized write is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "and it changed nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing a registered but not inserted resource inserts it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted resource reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing an id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL bytes with a non-zero length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "resource_remove of an inserted resource is MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "after remove the span is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removing it again is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an inserted resource is added and changed since tick 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a registered but not inserted resource is neither",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a change in the same tick as last_run is not reported",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writing an absent resource adds it; the other resource is untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "replacing a value is a change, not an addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "reading through a span is not a change",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a removed resource is neither added nor changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed and written again is a new addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a resource_id that was never issued is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a refused write stamps nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change fixture: FfiHealthStatic resolves",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change fixture: exactly one archetype holds Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fixture leaves the change tick at 2",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "change_tick on a NULL world is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "increment_change_tick on a NULL world is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL buffer queries the added-row count: 3 for a fresh tracker",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh tracker: added rows are 0, 1, 2 in ascending order",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "fresh tracker: all three rows are also changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "after last_run = change_tick, nothing is added or changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "increment_change_tick returns the new tick, 3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture's scripted mutation runs",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "added since last_run: only the new entity, row 3 (a mutation is not an addition)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "changed since last_run: the mutated row 1 and the new row 3",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the span now has 4 elements",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the changed rows point at hp 22 and hp 4 in the span",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the same rows resolve to live entities through entity_ids",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the scripted mutation only runs once",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered component id is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unknown archetype id is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture mutation on a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write fixture: FfiHealthStatic / FfiFlagA / FfiFlagB resolve",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write fixture: two archetypes hold Health ({Health} and {Health, FlagA})",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two archetypes told apart by row count (2 and 1)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "before any write, nothing is changed since last_run",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut on {Health}: a writable span of 2 rows, stride 4",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "writes through the writable span show in the read-only span (same memory): hp 101 and 103",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut stamps the whole acquired column changed (rows 0, 1) and no other archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "...as changed, not added",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity ids for the two archetypes: one entity and two entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: copy hp 222 into the {Health, FlagA} entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the written value reads back as 222 and the other archetype is untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write stamps exactly that one row changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a component registered read-only is MID_ECS_NOT_WRITABLE, for both raw_span_mut and write",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut: unregistered id, unknown archetype, signature lacking the component: MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: an alive entity without the component, or an unregistered id, is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: a length other than the type's size (3, 5, or NULL with 0) is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write: a bogus entity value is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL world, NULL out-span, or NULL bytes with a length is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "none of the failed calls changed a value or stamped a row",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write to a despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert fixture: the second Health entity's hp reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "before any insert, no archetype holds FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: FlagB 41 is attached to an entity that had none, and reads back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted value is stamped both added and changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the entity's existing Health moved with it, intact and not re-stamped",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert of a component the entity already has is MID_ECS_ALREADY_PRESENT and the first value stays",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a read-only component is MID_ECS_NOT_WRITABLE, an unregistered id MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a length other than the type's size (3, 5, or NULL with 0) is MID_ECS_SIZE_MISMATCH",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: a bogus or despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert: NULL world, or NULL bytes with a length, is MID_ECS_NULL_POINTER and e2 still has no FlagB",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: two spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: inserts onto spawn slots 1 and 0 and onto an existing entity are queued (5 commands)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing has touched the world before apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: the spawned entities got FlagB 10 and 20 (by slot), the existing one 99, and the queue is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued insert errors (not writable, unknown id, wrong length, no such spawn slot) queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued insert: NULL commands, world or bytes is MID_ECS_NULL_POINTER and queues nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert of a component the entity already has is a no-op when applied (hp unchanged)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert onto an entity despawned before apply is a no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: the other two entities' hp read back",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: the entity's Health is gone and the entity is still alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the survivors are intact, and a removal stamps nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: an entity without the component, or an unregistered id, is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove fixture: exactly one entity holds the read-only FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a read-only component is MID_ECS_NOT_WRITABLE even on the entity that has it, and stays",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a bogus or despawned entity is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove: a NULL world is MID_ECS_NULL_POINTER and nothing is removed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: a removal and an insert are recorded, and nothing has happened yet",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: e2 lost its Health and gained FlagB 5, in queue order",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued remove errors (read-only, unknown id, NULL) queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued removal of a component the entity no longer has is a no-op when applied",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued removal from an entity despawned before apply is a no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "bundle fixture: one entity holds the read-only FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "bundle fixture: an entity with Health, and its hp",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: Health 7 and FlagB 8 are attached to a bare entity in one call",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the inserted bundle's values are stamped both added and changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: an entity that already has Health is MID_ECS_ALREADY_PRESENT and gets no FlagB either",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: read-only, unknown id, wrong length, repeat, dead entity: each its own status, and nothing attached",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert_many: NULL world / list / bytes is MID_ECS_NULL_POINTER; an empty list is OK and changes nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: an entity that lacks FlagB loses nothing, not even the Health it has",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: read-only in the list, unknown id, repeat, dead entity: each its own status, and nothing removed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: NULL world / list is MID_ECS_NULL_POINTER; an empty list is OK and changes nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove_many: both components are gone in one call and the entity is still alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queue: two spawns, bundles onto both slots, and a bundle then a removal on an existing entity (6 commands)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing has touched the world before apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply: slot 0 got Health 10 + FlagB 11, slot 1 got FlagB 21, and bare2 ended with FlagB 31 only (insert then remove, in order)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued bundle errors (read-only, unknown id, length, repeat, no such spawn slot) queue nothing, and empty lists queue nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "queued bundles: NULL commands, world or list is MID_ECS_NULL_POINTER and queues nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued bundle insert onto an entity that has one already, and a queued bundle removal from one that lacks one, are whole no-ops when applied",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "commands_new returns a non-null handle",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a fresh queue is empty",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "three spawns queue with MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a despawn queues with MID_ECS_OK",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "len counts every command, spawn_count only the spawns",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing happens to the world until apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply with a buffer smaller than the spawn count is MID_ECS_BUFFER_TOO_SMALL",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small apply applied nothing: world, queue and buffer are untouched",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL buffer with spawns waiting is MID_ECS_BUFFER_TOO_SMALL",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL buffer is never written through, whatever capacity is claimed for it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply returns the number of spawned entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the spawned prefix of the buffer is written",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all three returned entities are alive",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the returned entities are distinct",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the queued despawn ran and the untouched entity survived",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "entity_count is 4 after apply (keep + 3 spawned)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the queue is empty after apply",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a second apply with nothing queued returns 0, and a NULL buffer is fine",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn the first spawned entity directly",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the slot-reusing entity has a different packed value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued despawn of the stale handle applies cleanly",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the stale despawn did not kill the entity that reused the slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a bogus packed value queues and runs as a no-op, not a crash",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "clear empties the queue",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a cleared spawn never runs",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "len and spawn_count on a NULL queue are 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawn, despawn and clear on a NULL queue are MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "apply with a NULL queue or a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "freeing a NULL queue is a safe no-op",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "row_mut fixture: one {Health} archetype and one {Health, FlagA} archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two plain entities, one flagged",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "row_mut hands out one writable Health slot",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the row row_mut handed out is Changed",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a mutation is not an addition",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the slot is the row's slot in the read-only span, holding the written value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "raw_span_mut over-reports: both {Health} rows are Changed after it",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a dead handle is MID_ECS_NOT_ALIVE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an id never registered is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a read-only component is MID_ECS_NOT_WRITABLE",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an alive entity without the component is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "read-only is decided before absence",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "*out_span is untouched by every error",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world or out_span is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "span of the flagged archetype before the spawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a spawned id is real at once",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "spawning an empty entity does not move another archetype's span",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a queued insert on the reserved id applies and the value is there",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a reservation is not a queued spawn: nothing takes it back but despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "filter fixture: one {Health} archetype and one {Health, FlagA} archetype",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "two entities hold only Health, one holds Health and FlagA",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a tracker that has just read the tick sees no changed Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "write Health on two entities in different archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "NULL buffer queries the count: two changed rows across two archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the two rows are in different archetypes",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the rows name the two written entities",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "each row indexes the archetype's span at the written value",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "with FlagA: only the flagged entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "without FlagA: only the plain entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_changed [Health, FlagA]: FlagA did not change, so no row (and the {Health} archetype lacks it)",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_changed [Health, FlagA]: the changed Health qualifies both rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_changed [FlagA] alone: nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "insert FlagB on the second plain entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_added [FlagB]: the entity it was inserted on",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "all_added [Health]: a write is not an addition, and a migration does not re-add",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "any_added [FlagB] + any_changed [Health] is one group: three rows",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run = the current tick: nothing is newer",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run 0 sees every Health row",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "no change term at all is MID_ECS_INVALID_ARGUMENT",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unregistered id in a change list is MID_ECS_NOT_FOUND",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an unknown id in the structural with list just matches nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL list pointer with a length, a NULL world and a NULL filter are MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removal fixture: three entities hold Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removals of Health are not tracked to begin with",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an untracked component's removal count is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed_since on an untracked component is MID_ECS_NOT_TRACKED, not an empty list",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "track_removals starts recording Health removals",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking twice is fine",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking needs only a valid id, not a writable component",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracked and nothing removed yet: 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove Health from the first entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "removed_since reports exactly that entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "losing a component does not despawn the entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn the second entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a despawn records its components too, oldest first",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a refused removal (the entity no longer has Health) records nothing",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "nothing was removed after the current tick",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "remove Health from the third entity, a tick later",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "only the removal after rm_t1 is reported",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "last_run 0 reports all three",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a too-small buffer is MID_ECS_BUFFER_TOO_SMALL, not a partial fill",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "trim_removals drops the old entries and keeps the component tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "an id this world never issued is MID_ECS_NOT_FOUND, for all four functions",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "a NULL world is MID_ECS_NULL_POINTER",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the fixture has two entities with the Sparse-Shell Health",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "tracking the Archetype-Core component does not track the Sparse-Shell one",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Sparse-Shell removed_since is MID_ECS_NOT_TRACKED until tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "track the Sparse-Shell component too",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "despawn one fixture entity",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "the Sparse-Shell removal is recorded by the despawn",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "and so is the Archetype-Core one",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "Sparse-Shell count, NOT_FOUND and NULL world behave like the Archetype-Core ones",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "clear_removals empties every log and keeps both components tracked",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "still recording after a clear",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "program ran to completion",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        }
      ]
    },
    {
      "name": "C smoke test under valgrind",
      "passed": 4,
      "failed": 0,
      "ignored": 0,
      "duration_s": 0.0,
      "tests": [
        {
          "name": "valgrind ran and printed an error summary",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "no memory errors",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "no definitely-lost heap blocks",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        },
        {
          "name": "test program exit status is 0",
          "status": "passed",
          "duration_ms": 0,
          "output": ""
        }
      ]
    }
  ]
}