/opt/hostedtoolcache/Python/3.12.16/x64/lib/python3.12/site-packages/fastapi/testclient.py:1: StarletteDeprecationWarning: Using `httpx` with `starlette.testclient` is deprecated; install `httpx2` instead. from starlette.testclient import TestClient as TestClient # noqa chunks=7298 fastapi=0.165.0 httpx=0.29.0 mode=off n=2000 median_ms=5.932 p95_ms=7.531 mean_ms=5.631 mode=ids n=2000 median_ms=6.038 p95_ms=7.615 mean_ms=5.735 log_bytes=1105187 bytes_per_line=553 mode=text n=2000 median_ms=6.085 p95_ms=7.909 mean_ms=5.909 log_bytes=3715785 bytes_per_line=1858 overhead ids vs off: median +0.106 ms, mean +0.103 ms overhead text vs off: median +0.153 ms, mean +0.278 ms --- log analysis (requests_ids.jsonl) --- rows 2000 fields: ['index_version', 'latency_ms', 'outcome', 'query_len', 'query_sha1', 'request_id', 'retrieval', 'route', 'stages_ms', 'status', 'ts'] outcomes {'refused_low_score': 107, 'answered': 1893} refusal rate 0.053 top1 score refused_low_score: median 0.00 min 0.00 max 7.48 top1 score answered: median 16.98 min 8.36 max 39.69 retrieve_ms p50 2.382 p95 3.976 p99 4.112 max 23.578 retrieve share of request latency (median of ratio): 0.86 top-1 docs among answered: [('deployment_docker.md', 227), ('how-to_custom-docs-ui-assets.md', 121), ('features.md', 119), ('tutorial_security_oauth2-jwt.md', 114), ('tutorial_query-param-models.md', 106)] distinct refused queries 2 top repeated: [('bd449c2387', 55), ('a4458002dc', 52)] distinct queries overall 23 --- unanswerable queries by outcome (from log, hash->known text) --- Prometheus histogram buckets {'refused_low_score': 55} Selenium browser automation {'refused_low_score': 52} Terraform module for kubernetes {'answered': 65} best pasta recipe {'answered': 54} How do I boil an egg {'answered': 49} gRPC streaming with protobuf {'answered': 48} How do tides work {'answered': 56} Who won the football world cup {'answered': 60} unanswerable requests 439 answered anyway 332 0.756