    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s
     Running tests/label_precision_benchmark.rs (target/debug/deps/label_precision_benchmark-37564da61aef374d)

running 1 test
label_precision_benchmark: model=gemma4-e2b:latest
label_precision_benchmark: Engine::new receives Arc<Ollama> directly (NO ArcChatProvider wrapper). fn model() should return: 'gemma4-e2b:latest'
[KREMORY_DEBUG] parse_entities_integer raw input (len=240):
{"entities":[{"entity_type_id":1,"name":"Ria"},{"entity_type_id":2,"name":"Amazon Robotics"},{"entity_type_id":2,"name":"Boston Consulting Group"},{"entity_type_id":3,"name":"Morocco"},{"entity_type_id":2,"name":"Northeastern University"}]}
[KREMORY_DEBUG end]
[KREMORY_DEBUG] parse_entities_integer raw input (len=265):
{"entities":[{"entity_type_id":1,"name":"Ria"},{"entity_type_id":2,"name":"Amazon Robotics"},{"entity_type_id":3,"name":"Boston Consulting Group"},{"entity_type_id":3,"name":"Morocco"},{"entity_type_id":3,"name":"France"},{"entity_type_id":3,"name":"South Korea"}]}
[KREMORY_DEBUG end]
[KREMORY_DEBUG] parse_entities_integer raw input (len=319):
{"entities":[{"entity_type_id":1,"name":"Ria"},{"entity_type_id":2,"name":"Amazon Robotics"},{"entity_type_id":2,"name":"Boston Consulting Group"},{"entity_type_id":3,"name":"Morocco"},{"entity_type_id":2,"name":"Northeastern University"},{"entity_type_id":3,"name":"France"},{"entity_type_id":3,"name":"South Korea"}]}
[KREMORY_DEBUG end]
  extracted: 'Amazon Robotics' (id='amazon robotics') label='Organisation'
  extracted: 'Boston Consulting Group' (id='boston consulting group') label='Organisation'
  extracted: 'France' (id='france') label='Location'
  extracted: 'Morocco' (id='morocco') label='Location'
  extracted: 'Northeastern University' (id='northeastern university') label='Organisation'
  extracted: 'Ria' (id='ria') label='Person'
  extracted: 'South Korea' (id='south korea') label='Location'
label_precision: 80.0% (8/10 ground-truth name+label pairs matched)
  0 non-canonical labels (TD-012 indicator)

── PHASE 1 DIAGNOSTIC: Metrics snapshot ──
  rql.entity.label_rejected_total: NO REJECTIONS RECORDED
  Other rql.* counters in snapshot:
    rql.entity_types.default_seed_applied [("group_id", "default")] = 1
    rql.db.insert_episode_with_group_ms [] = 0
    rql.ingest.chunk_count [] = 0
    rql.db.list_entities_count [] = 0
    rql.db.list_entities_ms [] = 0
    rql.extraction.structured_call_attempt [("schema", "EntityListIntegerId"), ("arm", "format_schema"), ("model", "gemma4-e2b:latest")] = 3
    rql.extraction.structured_call_success [("schema", "EntityListIntegerId"), ("arm", "format_schema")] = 3
    rql.extraction.stage_ms [("stage", "entities")] = 0
    rql.extraction.json_parse_ok [("path", "wrapped")] = 3
    rql.extraction.structured_call_attempt [("schema", "RelTypeList"), ("arm", "format_schema"), ("model", "gemma4-e2b:latest")] = 3
    rql.extraction.structured_call_success [("schema", "RelTypeList"), ("arm", "format_schema")] = 3
    rql.extraction.stage_ms [("stage", "relations")] = 0
    rql.extraction.json_parse_ok [] = 6
    rql.extraction.structured_call_attempt [("schema", "TripletList"), ("arm", "format_schema"), ("model", "gemma4-e2b:latest")] = 3
    rql.extraction.repair_attempt [("schema", "unknown"), ("arm", "llm_json")] = 2
    rql.extraction.structured_call_success [("schema", "TripletList"), ("arm", "format_schema")] = 3
    rql.extraction.stage_ms [("stage", "triplets")] = 0
    rql.extraction.entity_count [] = 0
    rql.extraction.fact_count [] = 0
    rql.db.insert_entity_with_group_ms [] = 0
    rql.db.set_entity_embedding_ms [] = 0
    rql.db.insert_episodic_edge_ms [] = 0
    rql.ingest.total_ms [] = 0
    rql.ingest.entity_count [] = 0
    rql.ingest.fact_count [] = 0
    rql.ingest.merge_count [] = 0
    rql.ingest.contradiction_count [] = 0
    rql.db.get_entity_ms [] = 0
── END DIAGNOSTIC ──

test label_precision_gte_0_75_on_mock_interview ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 5 filtered out; finished in 37.41s

