fix: correct TKG node_type/edge_type mismatches in scan.rs and tkg.rs
Mismatches fixed (builder vs query layer): - 'text_region' -> 'text_trace' (3 locations: scan.rs count + tkg.rs LIP_SYNC query + tkg.rs LIP_SYNC node ID lookup) - 'yolo_object' -> 'object' (2 queries in scan.rs) - 'FACE_TO_FACE' -> CO_OCCURS_WITH + JOIN with tkg_nodes (2 queries in scan.rs, so face_face_edges correctly counts only face-track pairs) - 'HAND_OBJECT' -> 'hand_object' (2 queries in scan.rs) Impact: ingestion_status and file stats endpoints now return accurate counts; LIP_SYNC edges now resolve their target text nodes.
This commit is contained in:
@@ -9,8 +9,8 @@ use axum::{
|
||||
use serde::{Deserialize, Serialize};
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::core::db::PostgresDb;
|
||||
use crate::core::db::schema::t;
|
||||
use crate::core::db::PostgresDb;
|
||||
|
||||
pub fn trace_agent_routes() -> Router<crate::api::types::AppState> {
|
||||
Router::new()
|
||||
|
||||
Reference in New Issue
Block a user