# plba-v2-find-tests-workflow-runtime-factory-negative

- source_file: /Users/alex/Dev_projects_v2/ai driven app process/v2/agent/tests/pipeline_setup_v2/cases/suite_02_pipeline/full_chain_plba_code_subintents_v2.yaml
- runner: agent_runtime
- mode: full_chain
- passed: True

## Query
Где тесты для WorkflowRuntimeFactory?

## Actual
{
  "intent": "CODE_QA",
  "sub_intent": "FIND_TESTS",
  "graph_id": "CodeQAGraph",
  "conversation_mode": "START",
  "rag_count": 24,
  "llm_answer": "Insufficient evidence for a confident answer. No test candidates found.",
  "answer_mode": "degraded",
  "path_scope": [],
  "symbol_candidates": [
    "WorkflowRuntimeFactory"
  ],
  "layers": [
    "C1_SYMBOL_CATALOG",
    "C2_DEPENDENCY_GRAPH",
    "C0_SOURCE_CHUNKS"
  ]
}

## Steps
[
  {
    "step": "router",
    "status": "completed",
    "timings_ms": {
      "router": 0
    },
    "output": {
      "intent": "CODE_QA",
      "sub_intent": "FIND_TESTS",
      "graph_id": "CodeQAGraph",
      "conversation_mode": "START"
    }
  },
  {
    "step": "retrieval",
    "status": "completed",
    "timings_ms": {
      "retrieval": 74
    },
    "output": {
      "rag_count": 24,
      "answer_path_rag_count": 24,
      "resolved_symbol_status": "resolved",
      "resolved_symbol": "WorkflowRuntimeFactory",
      "requested_layers": [
        "C1_SYMBOL_CATALOG",
        "C2_DEPENDENCY_GRAPH",
        "C0_SOURCE_CHUNKS"
      ]
    },
    "diagnostics": {
      "executed_layers": [
        "C1_SYMBOL_CATALOG",
        "C2_DEPENDENCY_GRAPH",
        "C0_SOURCE_CHUNKS"
      ],
      "retrieval_mode_by_layer": {
        "C1_SYMBOL_CATALOG": "vector",
        "C2_DEPENDENCY_GRAPH": "vector",
        "C0_SOURCE_CHUNKS": "vector"
      },
      "top_k_by_layer": {
        "C1_SYMBOL_CATALOG": 8,
        "C2_DEPENDENCY_GRAPH": 6,
        "C0_SOURCE_CHUNKS": 10
      },
      "filters_by_layer": {
        "C1_SYMBOL_CATALOG": {
          "path_scope": []
        },
        "C2_DEPENDENCY_GRAPH": {
          "path_scope": []
        },
        "C0_SOURCE_CHUNKS": {
          "path_scope": []
        }
      },
      "fallback": {
        "used": false,
        "reason": null
      },
      "retrieval_by_layer_ms": {
        "C1_SYMBOL_CATALOG": 27,
        "C2_DEPENDENCY_GRAPH": 29,
        "C0_SOURCE_CHUNKS": 17
      }
    }
  },
  {
    "step": "pre_evidence_gate",
    "status": "blocked",
    "timings_ms": {
      "pre_evidence_gate": 0
    },
    "output": {
      "passed": false,
      "failure_reasons": [
        "tests_not_found"
      ],
      "degraded_message": "Insufficient evidence for a confident answer. No test candidates found."
    }
  },
  {
    "step": "llm",
    "status": "skipped",
    "output": {
      "reason": "policy_short_circuit",
      "answer_mode": "degraded"
    }
  },
  {
    "step": "post_evidence_gate",
    "status": "skipped",
    "output": {
      "reason": "no_draft_answer"
    }
  }
]

## Diagnostics
{
  "intent_correct": null,
  "target_found": true,
  "layers_used": [
    "C1_SYMBOL_CATALOG",
    "C2_DEPENDENCY_GRAPH",
    "C0_SOURCE_CHUNKS"
  ],
  "retrieval_sufficient": false,
  "answer_mode": "degraded",
  "router_result": {
    "intent": "CODE_QA",
    "graph_id": "CodeQAGraph",
    "conversation_mode": "START",
    "retrieval_profile": "code",
    "sub_intent": "FIND_TESTS",
    "path_scope": [],
    "layers": [
      "C1_SYMBOL_CATALOG",
      "C2_DEPENDENCY_GRAPH",
      "C0_SOURCE_CHUNKS"
    ],
    "symbol_resolution_status": "resolved"
  },
  "retrieval_request": {
    "rag_session_id": "7d11da21-faa0-4cea-aede-aeabe069164c",
    "query": "Где тесты для WorkflowRuntimeFactory?",
    "sub_intent": "FIND_TESTS",
    "path_scope": [],
    "requested_layers": [
      "C1_SYMBOL_CATALOG",
      "C2_DEPENDENCY_GRAPH",
      "C0_SOURCE_CHUNKS"
    ]
  },
  "per_layer_outcome": [
    {
      "layer_id": "C1_SYMBOL_CATALOG",
      "hit_count": 8,
      "empty": false,
      "fallback_used": false
    },
    {
      "layer_id": "C2_DEPENDENCY_GRAPH",
      "hit_count": 6,
      "empty": false,
      "fallback_used": false
    },
    {
      "layer_id": "C0_SOURCE_CHUNKS",
      "hit_count": 10,
      "empty": false,
      "fallback_used": false
    }
  ],
  "empty_layers": [],
  "evidence_gate_decision": {
    "sufficient": false,
    "failure_reasons": [
      "tests_not_found"
    ],
    "evidence_count": 24
  },
  "failure_reasons": [
    "tests_not_found"
  ],
  "timings_ms": {
    "router": 0,
    "retrieval": 74,
    "pre_evidence_gate": 0
  }
}

## Mismatches
- none