[Embedding] Loaded 500 cached embeddings
[Embedding] Using Gradio API: https://iotacluster-embedding-model.hf.space/gradio_api/call/embed_dense
[Embedding] Dimension: 768

=== SETUP: Indexing files ===
[Embedding] Batch embedding 4 texts with 10 workers...
  Indexed: utils.py

=== TEST 1: summarize_context ===
  [PASS] summarize_context brief works
  [PASS] brief summary contains file name
  [PASS] brief summary counts chunks
  [PASS] summarize_context normal works
  [PASS] normal has code_flow
  [PASS] summarize_context detailed works
  [PASS] detailed has chunks list
  [PASS] detailed chunks have content

=== TEST 2: usage_report ===
  read_file_context status: auto_indexed
  [PASS] usage_report has sessions
  [PASS] usage_report shows indexed files
  [PASS] usage_report shows most accessed
  [PASS] access count is recorded

=== TEST 3: performance_profile ===
  [PASS] performance_profile works
  [PASS] profile tracks indexing
  [PASS] profile tracks search
  [PASS] profile tracks retrieval
  [PASS] latencies are recorded

=== TEST 4: invalidate_cache ===
  [PASS] invalidate_cache scope='file' works
  [PASS] file removed from index
[Embedding] Batch embedding 4 texts with 10 workers...
  [PASS] invalidate_cache scope='all' works
  [PASS] total cache reset

=== TEST 5: snapshots (mock/check) ===
  Snapshot result: error - Snapshot failed. Is .gitmem initialized? (Requires gitmem DAG backend)
  [PASS] create_snapshot call successful (even if error response)

============================================================
  RESULTS: 22 passed, 0 failed
============================================================
