Files

2506 lines
72 KiB
JSON

{
"directed": false,
"multigraph": false,
"graph": {},
"nodes": [
{
"label": "dashboard.py",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L1",
"_origin": "ast",
"id": "dashboard_dashboard",
"community": 1,
"norm_label": "dashboard.py"
},
{
"label": "fetch_state()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L10",
"_origin": "ast",
"id": "dashboard_dashboard_fetch_state",
"community": 1,
"norm_label": "fetch_state()"
},
{
"label": "broadcast_loop()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L17",
"_origin": "ast",
"id": "dashboard_dashboard_broadcast_loop",
"community": 1,
"norm_label": "broadcast_loop()"
},
{
"label": "dashboard()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L308",
"_origin": "ast",
"id": "dashboard_dashboard_dashboard",
"community": 1,
"norm_label": "dashboard()"
},
{
"label": "api_state()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L311",
"_origin": "ast",
"id": "dashboard_dashboard_api_state",
"community": 1,
"norm_label": "api_state()"
},
{
"label": "api_scatter()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L314",
"_origin": "ast",
"id": "dashboard_dashboard_api_scatter",
"community": 1,
"norm_label": "api_scatter()"
},
{
"label": "api_performance()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L324",
"_origin": "ast",
"id": "dashboard_dashboard_api_performance",
"community": 1,
"norm_label": "api_performance()"
},
{
"label": "api_timeseries()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L334",
"_origin": "ast",
"id": "dashboard_dashboard_api_timeseries",
"community": 1,
"norm_label": "api_timeseries()"
},
{
"label": "api_stream()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L343",
"_origin": "ast",
"id": "dashboard_dashboard_api_stream",
"community": 1,
"norm_label": "api_stream()"
},
{
"label": "health()",
"file_type": "code",
"source_file": "dashboard/dashboard.py",
"source_location": "L359",
"_origin": "ast",
"id": "dashboard_dashboard_health",
"community": 1,
"norm_label": "health()"
},
{
"label": "SyslogAI Harness Dashboard \u2014 Modern Design.",
"file_type": "rationale",
"source_file": "dashboard/dashboard.py",
"source_location": "L1",
"_origin": "ast",
"id": "dashboard_dashboard_rationale_1",
"community": 1,
"norm_label": "syslogai harness dashboard \u2014 modern design."
},
{
"label": "maintenance.sh",
"file_type": "code",
"source_file": "maintenance.sh",
"source_location": "L1",
"metadata": {
"language": "bash",
"kind": "file"
},
"_origin": "ast",
"id": "maintenance",
"community": 8,
"norm_label": "maintenance.sh"
},
{
"label": "maintenance.sh script",
"file_type": "code",
"source_file": "maintenance.sh",
"source_location": "L1",
"metadata": {
"language": "bash",
"kind": "bash_entrypoint"
},
"_origin": "ast",
"id": "maintenance_sh__entry",
"community": 8,
"norm_label": "maintenance.sh script"
},
{
"label": "queue-service.py",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L1",
"_origin": "ast",
"id": "queue_service_queue_service",
"community": 2,
"norm_label": "queue-service.py"
},
{
"label": "get_redis()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L35",
"_origin": "ast",
"id": "queue_service_queue_service_get_redis",
"community": 2,
"norm_label": "get_redis()"
},
{
"label": "get_queue_depth()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L43",
"_origin": "ast",
"id": "queue_service_queue_service_get_queue_depth",
"community": 2,
"norm_label": "get_queue_depth()"
},
{
"label": "check_gpu_health()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L50",
"_origin": "ast",
"id": "queue_service_queue_service_check_gpu_health",
"community": 2,
"norm_label": "check_gpu_health()"
},
{
"label": "health()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L61",
"_origin": "ast",
"id": "queue_service_queue_service_health",
"community": 2,
"norm_label": "health()"
},
{
"label": "enqueue()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L67",
"_origin": "ast",
"id": "queue_service_queue_service_enqueue",
"community": 2,
"norm_label": "enqueue()"
},
{
"label": "status()",
"file_type": "code",
"source_file": "queue-service/queue-service.py",
"source_location": "L99",
"_origin": "ast",
"id": "queue_service_queue_service_status",
"community": 2,
"norm_label": "status()"
},
{
"label": "Nginx upstream health probe. Returns 200 if service is alive.",
"file_type": "rationale",
"source_file": "queue-service/queue-service.py",
"source_location": "L62",
"_origin": "ast",
"id": "queue_service_queue_service_rationale_62",
"community": 2,
"norm_label": "nginx upstream health probe. returns 200 if service is alive."
},
{
"label": "Fallback endpoint \u2014 Nginx calls this when all GPU upstreams are down.",
"file_type": "rationale",
"source_file": "queue-service/queue-service.py",
"source_location": "L68",
"_origin": "ast",
"id": "queue_service_queue_service_rationale_68",
"community": 2,
"norm_label": "fallback endpoint \u2014 nginx calls this when all gpu upstreams are down."
},
{
"label": "GET queue depth + circuit breaker state + GPU health.",
"file_type": "rationale",
"source_file": "queue-service/queue-service.py",
"source_location": "L100",
"_origin": "ast",
"id": "queue_service_queue_service_rationale_100",
"community": 2,
"norm_label": "get queue depth + circuit breaker state + gpu health."
},
{
"label": "http_patch.py",
"file_type": "code",
"source_file": "router/http_patch.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_http_patch",
"community": 13,
"norm_label": "http_patch.py"
},
{
"label": "route_v2.py",
"file_type": "code",
"source_file": "router/route_v2.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_route_v2",
"community": 0,
"norm_label": "route_v2.py"
},
{
"label": "route()",
"file_type": "code",
"source_file": "router/route_v2.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_route_v2_route",
"community": 0,
"norm_label": "route()"
},
{
"label": "route_v3.py",
"file_type": "code",
"source_file": "router/route_v3.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_route_v3",
"community": 0,
"norm_label": "route_v3.py"
},
{
"label": "route()",
"file_type": "code",
"source_file": "router/route_v3.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_route_v3_route",
"community": 0,
"norm_label": "route()"
},
{
"label": "moe_spillover()",
"file_type": "code",
"source_file": "router/route_v3.py",
"source_location": "L80",
"_origin": "ast",
"id": "router_route_v3_moe_spillover",
"community": 0,
"norm_label": "moe_spillover()"
},
{
"label": "Spill 40% of MoE-first traffic to Dense to prevent Strix Halo overheating. O",
"file_type": "rationale",
"source_file": "router/route_v3.py",
"source_location": "L81",
"_origin": "ast",
"id": "router_route_v3_rationale_81",
"community": 0,
"norm_label": "spill 40% of moe-first traffic to dense to prevent strix halo overheating. o"
},
{
"label": "router.py",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L1",
"_origin": "ast",
"id": "router_router",
"community": 4,
"norm_label": "router.py"
},
{
"label": "check_rate_limit()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L71",
"_origin": "ast",
"id": "router_router_check_rate_limit",
"community": 7,
"norm_label": "check_rate_limit()"
},
{
"label": "get_redis()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L94",
"_origin": "ast",
"id": "router_router_get_redis",
"community": 5,
"norm_label": "get_redis()"
},
{
"label": "counter_audit_loop()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L115",
"_origin": "ast",
"id": "router_router_counter_audit_loop",
"community": 9,
"norm_label": "counter_audit_loop()"
},
{
"label": "gpu_active_count()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L140",
"_origin": "ast",
"id": "router_router_gpu_active_count",
"community": 6,
"norm_label": "gpu_active_count()"
},
{
"label": "gpu_incr()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L146",
"_origin": "ast",
"id": "router_router_gpu_incr",
"community": 5,
"norm_label": "gpu_incr()"
},
{
"label": "gpu_decr()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L149",
"_origin": "ast",
"id": "router_router_gpu_decr",
"community": 5,
"norm_label": "gpu_decr()"
},
{
"label": "check_gpu_health()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L155",
"_origin": "ast",
"id": "router_router_check_gpu_health",
"community": 6,
"norm_label": "check_gpu_health()"
},
{
"label": "available_models()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L177",
"_origin": "ast",
"id": "router_router_available_models",
"community": 0,
"norm_label": "available_models()"
},
{
"label": "estimate_tokens()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L179",
"_origin": "ast",
"id": "router_router_estimate_tokens",
"community": 0,
"norm_label": "estimate_tokens()"
},
{
"label": "store_perf_record()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L183",
"_origin": "ast",
"id": "router_router_store_perf_record",
"community": 7,
"norm_label": "store_perf_record()"
},
{
"label": "is_gpu_busy()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L215",
"_origin": "ast",
"id": "router_router_is_gpu_busy",
"community": 0,
"norm_label": "is_gpu_busy()"
},
{
"label": "gpu_health_score()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L224",
"_origin": "ast",
"id": "router_router_gpu_health_score",
"community": 6,
"norm_label": "gpu_health_score()"
},
{
"label": "select_best_gpu()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L238",
"_origin": "ast",
"id": "router_router_select_best_gpu",
"community": 0,
"norm_label": "select_best_gpu()"
},
{
"label": "is_circuit_tripped()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L281",
"_origin": "ast",
"id": "router_router_is_circuit_tripped",
"community": 5,
"norm_label": "is_circuit_tripped()"
},
{
"label": "trip_circuit()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L287",
"_origin": "ast",
"id": "router_router_trip_circuit",
"community": 11,
"norm_label": "trip_circuit()"
},
{
"label": "half_open_probe()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L296",
"_origin": "ast",
"id": "router_router_half_open_probe",
"community": 5,
"norm_label": "half_open_probe()"
},
{
"label": "route()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L305",
"_origin": "ast",
"id": "router_router_route",
"community": 0,
"norm_label": "route()"
},
{
"label": "moe_spillover()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L385",
"_origin": "ast",
"id": "router_router_moe_spillover",
"community": 0,
"norm_label": "moe_spillover()"
},
{
"label": "clean_unicode()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L398",
"_origin": "ast",
"id": "router_router_clean_unicode",
"community": 7,
"norm_label": "clean_unicode()"
},
{
"label": "clean_response()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L406",
"_origin": "ast",
"id": "router_router_clean_response",
"community": 7,
"norm_label": "clean_response()"
},
{
"label": "get_metrics()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L412",
"_origin": "ast",
"id": "router_router_get_metrics",
"community": 4,
"norm_label": "get_metrics()"
},
{
"label": "bcast()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L430",
"_origin": "ast",
"id": "router_router_bcast",
"community": 4,
"norm_label": "bcast()"
},
{
"label": "chat()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L442",
"_origin": "ast",
"id": "router_router_chat",
"community": 7,
"norm_label": "chat()"
},
{
"label": "performance()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L618",
"_origin": "ast",
"id": "router_router_performance",
"community": 5,
"norm_label": "performance()"
},
{
"label": "scatter()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L735",
"_origin": "ast",
"id": "router_router_scatter",
"community": 12,
"norm_label": "scatter()"
},
{
"label": "models()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L765",
"_origin": "ast",
"id": "router_router_models",
"community": 4,
"norm_label": "models()"
},
{
"label": "health()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L770",
"_origin": "ast",
"id": "router_router_health",
"community": 6,
"norm_label": "health()"
},
{
"label": "metrics()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L780",
"_origin": "ast",
"id": "router_router_metrics",
"community": 4,
"norm_label": "metrics()"
},
{
"label": "metrics_timeseries()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L783",
"_origin": "ast",
"id": "router_router_metrics_timeseries",
"community": 4,
"norm_label": "metrics_timeseries()"
},
{
"label": "metrics_circuit_breaker()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L810",
"_origin": "ast",
"id": "router_router_metrics_circuit_breaker",
"community": 4,
"norm_label": "metrics_circuit_breaker()"
},
{
"label": "metrics_gpu_health()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L827",
"_origin": "ast",
"id": "router_router_metrics_gpu_health",
"community": 6,
"norm_label": "metrics_gpu_health()"
},
{
"label": "metrics_latency()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L858",
"_origin": "ast",
"id": "router_router_metrics_latency",
"community": 10,
"norm_label": "metrics_latency()"
},
{
"label": "stream()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L875",
"_origin": "ast",
"id": "router_router_stream",
"community": 4,
"norm_label": "stream()"
},
{
"label": "_admin_auth()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L894",
"_origin": "ast",
"id": "router_router_admin_auth",
"community": 3,
"norm_label": "_admin_auth()"
},
{
"label": "admin_keys()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L904",
"_origin": "ast",
"id": "router_router_admin_keys",
"community": 3,
"norm_label": "admin_keys()"
},
{
"label": "admin_deprecation_summary()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L927",
"_origin": "ast",
"id": "router_router_admin_deprecation_summary",
"community": 3,
"norm_label": "admin_deprecation_summary()"
},
{
"label": "admin_generate_key()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L949",
"_origin": "ast",
"id": "router_router_admin_generate_key",
"community": 3,
"norm_label": "admin_generate_key()"
},
{
"label": "admin_revoke_key()",
"file_type": "code",
"source_file": "router/router.py",
"source_location": "L977",
"_origin": "ast",
"id": "router_router_admin_revoke_key",
"community": 3,
"norm_label": "admin_revoke_key()"
},
{
"label": "Token bucket rate limiter using Redis. Returns (allowed, retry_after_or_remainin",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L72",
"_origin": "ast",
"id": "router_router_rationale_72",
"community": 7,
"norm_label": "token bucket rate limiter using redis. returns (allowed, retry_after_or_remainin"
},
{
"label": "Every 30s, check GPU slots and reset counters if all slots idle.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L116",
"_origin": "ast",
"id": "router_router_rationale_116",
"community": 9,
"norm_label": "every 30s, check gpu slots and reset counters if all slots idle."
},
{
"label": "Get number of in-flight requests for a GPU.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L141",
"_origin": "ast",
"id": "router_router_rationale_141",
"community": 6,
"norm_label": "get number of in-flight requests for a gpu."
},
{
"label": "Estimate token count from messages. Uses JSON length / 3.5 (closer to real token",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L180",
"_origin": "ast",
"id": "router_router_rationale_180",
"community": 0,
"norm_label": "estimate token count from messages. uses json length / 3.5 (closer to real token"
},
{
"label": "Store detailed performance record in Redis for analytics.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L184",
"_origin": "ast",
"id": "router_router_rationale_184",
"community": 7,
"norm_label": "store detailed performance record in redis for analytics."
},
{
"label": "Check if GPU is at or near max concurrent capacity.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L216",
"_origin": "ast",
"id": "router_router_rationale_216",
"community": 0,
"norm_label": "check if gpu is at or near max concurrent capacity."
},
{
"label": "Score a GPU based on VRAM, temperature, and load. Lower = better.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L225",
"_origin": "ast",
"id": "router_router_rationale_225",
"community": 6,
"norm_label": "score a gpu based on vram, temperature, and load. lower = better."
},
{
"label": "Pick best GPU, spreading agents across GPUs to prevent hotspots.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L239",
"_origin": "ast",
"id": "router_router_rationale_239",
"community": 0,
"norm_label": "pick best gpu, spreading agents across gpus to prevent hotspots."
},
{
"label": "Check if a GPU host is currently blacklisted.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L282",
"_origin": "ast",
"id": "router_router_rationale_282",
"community": 5,
"norm_label": "check if a gpu host is currently blacklisted."
},
{
"label": "Blacklist a GPU host for a specified duration.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L288",
"_origin": "ast",
"id": "router_router_rationale_288",
"community": 11,
"norm_label": "blacklist a gpu host for a specified duration."
},
{
"label": "Check if a GPU host can be un-blacklisted.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L297",
"_origin": "ast",
"id": "router_router_rationale_297",
"community": 5,
"norm_label": "check if a gpu host can be un-blacklisted."
},
{
"label": "Spill 40% of MoE-first traffic to Dense to prevent Strix Halo overheating. O",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L386",
"_origin": "ast",
"id": "router_router_rationale_386",
"community": 0,
"norm_label": "spill 40% of moe-first traffic to dense to prevent strix halo overheating. o"
},
{
"label": "Per-request performance analytics with percentiles per model/reason/agent.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L619",
"_origin": "ast",
"id": "router_router_rationale_619",
"community": 5,
"norm_label": "per-request performance analytics with percentiles per model/reason/agent."
},
{
"label": "Return individual data points for scatter plots (prompt_tokens vs latency).",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L736",
"_origin": "ast",
"id": "router_router_rationale_736",
"community": 12,
"norm_label": "return individual data points for scatter plots (prompt_tokens vs latency)."
},
{
"label": "Expose circuit breaker status per model. Phase 1.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L811",
"_origin": "ast",
"id": "router_router_rationale_811",
"community": 4,
"norm_label": "expose circuit breaker status per model. phase 1."
},
{
"label": "Live GPU health scores + circuit breaker + KPIs.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L828",
"_origin": "ast",
"id": "router_router_rationale_828",
"community": 6,
"norm_label": "live gpu health scores + circuit breaker + kpis."
},
{
"label": "Lightweight latency summary for dashboard KPIs.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L859",
"_origin": "ast",
"id": "router_router_rationale_859",
"community": 10,
"norm_label": "lightweight latency summary for dashboard kpis."
},
{
"label": "Require admin key for management endpoints.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L895",
"_origin": "ast",
"id": "router_router_rationale_895",
"community": 3,
"norm_label": "require admin key for management endpoints."
},
{
"label": "List all API keys (masked) with agent, tier, and deprecation status.",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L905",
"_origin": "ast",
"id": "router_router_rationale_905",
"community": 3,
"norm_label": "list all api keys (masked) with agent, tier, and deprecation status."
},
{
"label": "Summary of deprecated key usage (from Redis logs, if available).",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L928",
"_origin": "ast",
"id": "router_router_rationale_928",
"community": 3,
"norm_label": "summary of deprecated key usage (from redis logs, if available)."
},
{
"label": "Generate a new API key for an agent. Body: {\"agent\": \"Name\", \"tier\": \"enterprise",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L950",
"_origin": "ast",
"id": "router_router_rationale_950",
"community": 3,
"norm_label": "generate a new api key for an agent. body: {\"agent\": \"name\", \"tier\": \"enterprise"
},
{
"label": "Revoke a deprecated key. Body: {\"agent\": \"Name\"} or {\"key_prefix\": \"sk-xxxx\"}",
"file_type": "rationale",
"source_file": "router/router.py",
"source_location": "L978",
"_origin": "ast",
"id": "router_router_rationale_978",
"community": 3,
"norm_label": "revoke a deprecated key. body: {\"agent\": \"name\"} or {\"key_prefix\": \"sk-xxxx\"}"
}
],
"links": [
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L324",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_api_performance",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L314",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_api_scatter",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L311",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_api_state",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L343",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_api_stream",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L334",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_api_timeseries",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L17",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_broadcast_loop",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L308",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_dashboard",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L10",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_fetch_state",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L359",
"weight": 1.0,
"source": "dashboard_dashboard",
"target": "dashboard_dashboard_health",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L1",
"weight": 1.0,
"source": "dashboard_dashboard_rationale_1",
"target": "dashboard_dashboard",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L311",
"weight": 1.0,
"source": "dashboard_dashboard_api_state",
"target": "dashboard_dashboard_fetch_state",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "dashboard/dashboard.py",
"source_location": "L20",
"weight": 1.0,
"source": "dashboard_dashboard_broadcast_loop",
"target": "dashboard_dashboard_fetch_state",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "maintenance.sh",
"source_location": "L1",
"weight": 1.0,
"source": "maintenance",
"target": "maintenance_sh__entry",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L50",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L67",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_enqueue",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L43",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_get_queue_depth",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L35",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_get_redis",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L61",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_health",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L99",
"weight": 1.0,
"source": "queue_service_queue_service",
"target": "queue_service_queue_service_status",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L69",
"weight": 1.0,
"source": "queue_service_queue_service_enqueue",
"target": "queue_service_queue_service_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L101",
"weight": 1.0,
"source": "queue_service_queue_service_status",
"target": "queue_service_queue_service_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L73",
"weight": 1.0,
"source": "queue_service_queue_service_enqueue",
"target": "queue_service_queue_service_get_queue_depth",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L102",
"weight": 1.0,
"source": "queue_service_queue_service_status",
"target": "queue_service_queue_service_get_queue_depth",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L107",
"weight": 1.0,
"source": "queue_service_queue_service_status",
"target": "queue_service_queue_service_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L62",
"weight": 1.0,
"source": "queue_service_queue_service_rationale_62",
"target": "queue_service_queue_service_health",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L68",
"weight": 1.0,
"source": "queue_service_queue_service_rationale_68",
"target": "queue_service_queue_service_enqueue",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "queue-service/queue-service.py",
"source_location": "L100",
"weight": 1.0,
"source": "queue_service_queue_service_rationale_100",
"target": "queue_service_queue_service_status",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/route_v2.py",
"source_location": "L1",
"weight": 1.0,
"source": "router_route_v2",
"target": "router_route_v2_route",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v2.py",
"source_location": "L7",
"weight": 1.0,
"source": "router_route_v2_route",
"target": "router_router_available_models"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v2.py",
"source_location": "L2",
"weight": 1.0,
"source": "router_route_v2_route",
"target": "router_router_estimate_tokens"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v2.py",
"source_location": "L9",
"weight": 1.0,
"source": "router_route_v2_route",
"target": "router_router_is_gpu_busy"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v2.py",
"source_location": "L32",
"weight": 1.0,
"source": "router_route_v2_route",
"target": "router_router_select_best_gpu"
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/route_v3.py",
"source_location": "L80",
"weight": 1.0,
"source": "router_route_v3",
"target": "router_route_v3_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/route_v3.py",
"source_location": "L1",
"weight": 1.0,
"source": "router_route_v3",
"target": "router_route_v3_route",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/route_v3.py",
"source_location": "L63",
"weight": 1.0,
"source": "router_route_v3_route",
"target": "router_route_v3_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v3.py",
"source_location": "L7",
"weight": 1.0,
"source": "router_route_v3_route",
"target": "router_router_available_models"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v3.py",
"source_location": "L2",
"weight": 1.0,
"source": "router_route_v3_route",
"target": "router_router_estimate_tokens"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v3.py",
"source_location": "L9",
"weight": 1.0,
"source": "router_route_v3_route",
"target": "router_router_is_gpu_busy"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v3.py",
"source_location": "L32",
"weight": 1.0,
"source": "router_route_v3_route",
"target": "router_router_select_best_gpu"
},
{
"relation": "calls",
"context": "call",
"confidence": "INFERRED",
"confidence_score": 0.8,
"source_file": "router/route_v3.py",
"source_location": "L86",
"weight": 1.0,
"source": "router_route_v3_moe_spillover",
"target": "router_router_is_gpu_busy"
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/route_v3.py",
"source_location": "L81",
"weight": 1.0,
"source": "router_route_v3_rationale_81",
"target": "router_route_v3_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L894",
"weight": 1.0,
"source": "router_router",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L927",
"weight": 1.0,
"source": "router_router",
"target": "router_router_admin_deprecation_summary",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L949",
"weight": 1.0,
"source": "router_router",
"target": "router_router_admin_generate_key",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L904",
"weight": 1.0,
"source": "router_router",
"target": "router_router_admin_keys",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L977",
"weight": 1.0,
"source": "router_router",
"target": "router_router_admin_revoke_key",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L177",
"weight": 1.0,
"source": "router_router",
"target": "router_router_available_models",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L430",
"weight": 1.0,
"source": "router_router",
"target": "router_router_bcast",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L442",
"weight": 1.0,
"source": "router_router",
"target": "router_router_chat",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L155",
"weight": 1.0,
"source": "router_router",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L71",
"weight": 1.0,
"source": "router_router",
"target": "router_router_check_rate_limit",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L406",
"weight": 1.0,
"source": "router_router",
"target": "router_router_clean_response",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L398",
"weight": 1.0,
"source": "router_router",
"target": "router_router_clean_unicode",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L115",
"weight": 1.0,
"source": "router_router",
"target": "router_router_counter_audit_loop",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L179",
"weight": 1.0,
"source": "router_router",
"target": "router_router_estimate_tokens",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L412",
"weight": 1.0,
"source": "router_router",
"target": "router_router_get_metrics",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L94",
"weight": 1.0,
"source": "router_router",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L140",
"weight": 1.0,
"source": "router_router",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L149",
"weight": 1.0,
"source": "router_router",
"target": "router_router_gpu_decr",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L224",
"weight": 1.0,
"source": "router_router",
"target": "router_router_gpu_health_score",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L146",
"weight": 1.0,
"source": "router_router",
"target": "router_router_gpu_incr",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L296",
"weight": 1.0,
"source": "router_router",
"target": "router_router_half_open_probe",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L770",
"weight": 1.0,
"source": "router_router",
"target": "router_router_health",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L281",
"weight": 1.0,
"source": "router_router",
"target": "router_router_is_circuit_tripped",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L215",
"weight": 1.0,
"source": "router_router",
"target": "router_router_is_gpu_busy",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L780",
"weight": 1.0,
"source": "router_router",
"target": "router_router_metrics",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L810",
"weight": 1.0,
"source": "router_router",
"target": "router_router_metrics_circuit_breaker",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L827",
"weight": 1.0,
"source": "router_router",
"target": "router_router_metrics_gpu_health",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L858",
"weight": 1.0,
"source": "router_router",
"target": "router_router_metrics_latency",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L783",
"weight": 1.0,
"source": "router_router",
"target": "router_router_metrics_timeseries",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L765",
"weight": 1.0,
"source": "router_router",
"target": "router_router_models",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L385",
"weight": 1.0,
"source": "router_router",
"target": "router_router_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L618",
"weight": 1.0,
"source": "router_router",
"target": "router_router_performance",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L305",
"weight": 1.0,
"source": "router_router",
"target": "router_router_route",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L735",
"weight": 1.0,
"source": "router_router",
"target": "router_router_scatter",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L238",
"weight": 1.0,
"source": "router_router",
"target": "router_router_select_best_gpu",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L183",
"weight": 1.0,
"source": "router_router",
"target": "router_router_store_perf_record",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L875",
"weight": 1.0,
"source": "router_router",
"target": "router_router_stream",
"confidence_score": 1.0
},
{
"relation": "contains",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L287",
"weight": 1.0,
"source": "router_router",
"target": "router_router_trip_circuit",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L464",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_check_rate_limit",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L73",
"weight": 1.0,
"source": "router_router_check_rate_limit",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L72",
"weight": 1.0,
"source": "router_router_rationale_72",
"target": "router_router_check_rate_limit",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L119",
"weight": 1.0,
"source": "router_router_counter_audit_loop",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L150",
"weight": 1.0,
"source": "router_router_gpu_decr",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L147",
"weight": 1.0,
"source": "router_router_gpu_incr",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L298",
"weight": 1.0,
"source": "router_router_half_open_probe",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L283",
"weight": 1.0,
"source": "router_router_is_circuit_tripped",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L620",
"weight": 1.0,
"source": "router_router_performance",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L737",
"weight": 1.0,
"source": "router_router_scatter",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L185",
"weight": 1.0,
"source": "router_router_store_perf_record",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L289",
"weight": 1.0,
"source": "router_router_trip_circuit",
"target": "router_router_get_redis",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L116",
"weight": 1.0,
"source": "router_router_rationale_116",
"target": "router_router_counter_audit_loop",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L514",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L416",
"weight": 1.0,
"source": "router_router_get_metrics",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L231",
"weight": 1.0,
"source": "router_router_gpu_health_score",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L774",
"weight": 1.0,
"source": "router_router_health",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L217",
"weight": 1.0,
"source": "router_router_is_gpu_busy",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L833",
"weight": 1.0,
"source": "router_router_metrics_gpu_health",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L141",
"weight": 1.0,
"source": "router_router_rationale_141",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L268",
"weight": 1.0,
"source": "router_router_select_best_gpu",
"target": "router_router_gpu_active_count",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L512",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_gpu_incr",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L530",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_gpu_decr",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L177",
"weight": 1.0,
"source": "router_router_available_models",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L415",
"weight": 1.0,
"source": "router_router_get_metrics",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L226",
"weight": 1.0,
"source": "router_router_gpu_health_score",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L773",
"weight": 1.0,
"source": "router_router_health",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L831",
"weight": 1.0,
"source": "router_router_metrics_gpu_health",
"target": "router_router_check_gpu_health",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L777",
"weight": 1.0,
"source": "router_router_health",
"target": "router_router_available_models",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L312",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_available_models",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L482",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_estimate_tokens",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L180",
"weight": 1.0,
"source": "router_router_rationale_180",
"target": "router_router_estimate_tokens",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L306",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_estimate_tokens",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L564",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_store_perf_record",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L184",
"weight": 1.0,
"source": "router_router_rationale_184",
"target": "router_router_store_perf_record",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L391",
"weight": 1.0,
"source": "router_router_moe_spillover",
"target": "router_router_is_gpu_busy",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L216",
"weight": 1.0,
"source": "router_router_rationale_216",
"target": "router_router_is_gpu_busy",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L314",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_is_gpu_busy",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L253",
"weight": 1.0,
"source": "router_router_select_best_gpu",
"target": "router_router_is_gpu_busy",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L832",
"weight": 1.0,
"source": "router_router_metrics_gpu_health",
"target": "router_router_gpu_health_score",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L225",
"weight": 1.0,
"source": "router_router_rationale_225",
"target": "router_router_gpu_health_score",
"confidence_score": 1.0
},
{
"relation": "indirect_call",
"context": "argument",
"confidence": "INFERRED",
"source_file": "router/router.py",
"source_location": "L250",
"weight": 1.0,
"source": "router_router_select_best_gpu",
"target": "router_router_gpu_health_score",
"confidence_score": 0.5
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L239",
"weight": 1.0,
"source": "router_router_rationale_239",
"target": "router_router_select_best_gpu",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L337",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_select_best_gpu",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L282",
"weight": 1.0,
"source": "router_router_rationale_282",
"target": "router_router_is_circuit_tripped",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L312",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_is_circuit_tripped",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L534",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_trip_circuit",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L288",
"weight": 1.0,
"source": "router_router_rationale_288",
"target": "router_router_trip_circuit",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L297",
"weight": 1.0,
"source": "router_router_rationale_297",
"target": "router_router_half_open_probe",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L487",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_route",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L368",
"weight": 1.0,
"source": "router_router_route",
"target": "router_router_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L386",
"weight": 1.0,
"source": "router_router_rationale_386",
"target": "router_router_moe_spillover",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L543",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_clean_unicode",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L409",
"weight": 1.0,
"source": "router_router_clean_response",
"target": "router_router_clean_unicode",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L582",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_clean_response",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L431",
"weight": 1.0,
"source": "router_router_bcast",
"target": "router_router_get_metrics",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L780",
"weight": 1.0,
"source": "router_router_metrics",
"target": "router_router_get_metrics",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L570",
"weight": 1.0,
"source": "router_router_chat",
"target": "router_router_bcast",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L619",
"weight": 1.0,
"source": "router_router_rationale_619",
"target": "router_router_performance",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L736",
"weight": 1.0,
"source": "router_router_rationale_736",
"target": "router_router_scatter",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L811",
"weight": 1.0,
"source": "router_router_rationale_811",
"target": "router_router_metrics_circuit_breaker",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L828",
"weight": 1.0,
"source": "router_router_rationale_828",
"target": "router_router_metrics_gpu_health",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L859",
"weight": 1.0,
"source": "router_router_rationale_859",
"target": "router_router_metrics_latency",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L929",
"weight": 1.0,
"source": "router_router_admin_deprecation_summary",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L951",
"weight": 1.0,
"source": "router_router_admin_generate_key",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L906",
"weight": 1.0,
"source": "router_router_admin_keys",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "calls",
"context": "call",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L979",
"weight": 1.0,
"source": "router_router_admin_revoke_key",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L895",
"weight": 1.0,
"source": "router_router_rationale_895",
"target": "router_router_admin_auth",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L905",
"weight": 1.0,
"source": "router_router_rationale_905",
"target": "router_router_admin_keys",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L928",
"weight": 1.0,
"source": "router_router_rationale_928",
"target": "router_router_admin_deprecation_summary",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L950",
"weight": 1.0,
"source": "router_router_rationale_950",
"target": "router_router_admin_generate_key",
"confidence_score": 1.0
},
{
"relation": "rationale_for",
"confidence": "EXTRACTED",
"source_file": "router/router.py",
"source_location": "L978",
"weight": 1.0,
"source": "router_router_rationale_978",
"target": "router_router_admin_revoke_key",
"confidence_score": 1.0
}
],
"hyperedges": [],
"built_at_commit": "492a4fe68bd2507d2d3dfc154976a221a850551a"
}