{
  "evidence_type": "Findoc synthetic search regression record",
  "tested_at": "2026-10-09T11:00:35+09:00",
  "execution": {
    "cwd": "app/src-tauri",
    "command": "cargo test --offline --locked --test golden_queries",
    "test_path": "tests/golden_queries.rs",
    "exit_status": 0,
    "summary": {
      "passed": 13,
      "failed": 0,
      "ignored": 0,
      "measured": 0,
      "filtered_out": 0,
      "duration_seconds": 17.8
    }
  },
  "source_reference": {
    "git_head": "e9a66adf07bed0370db2d37dd5dc12322ea15e75",
    "working_tree_dirty": true,
    "scope": "Selected search implementation, test and build inputs; not a full source snapshot.",
    "selected_file_sha256": {
      "app/src-tauri/tests/golden_queries.rs": "5d394eebdc684a6568a83d5f671c5d378f902a0170c5bbac7cd09d0ba756fc42",
      "app/src-tauri/src/search/tantivy_engine.rs": "5de9fd3d501e098949282b693038350a999f3debb4c683984baa0c3f4ad721c3",
      "app/src-tauri/src/util/text_normalize.rs": "cf775845f1acf8f1152d9bfb4217ee7de3e337b512e49f26ae35c4efc89612a5",
      "app/src-tauri/Cargo.toml": "7af2b3e411037c21fb710533963919d07f73e7e10b2217e9c53b7374a7c89f6a",
      "app/src-tauri/Cargo.lock": "a6e5cd25ef2b32a4ec1e2112695cbd6f24405bab1e402e68964ca16bc0c8cbe4"
    }
  },
  "tests": [
    {"name": "gq01_nfd_content_matches_nfc_query", "status": "passed", "assertion_scope": "NFD content matches an NFC query and normalization converges."},
    {"name": "gq02_nfc_content_matches_nfc_query", "status": "passed", "assertion_scope": "NFC content matches an NFC query."},
    {"name": "gq03_extension_filter_uppercase", "status": "passed", "assertion_scope": "An uppercase extension filter matches the stored lowercase extension and excludes another extension."},
    {"name": "gq04_extension_filter_mixed_case", "status": "passed", "assertion_scope": "A mixed-case extension filter matches the stored lowercase extension and excludes another extension."},
    {"name": "gq05_path_prefix_boundary_no_false_positive", "status": "passed", "assertion_scope": "A path prefix does not match a similarly named sibling prefix."},
    {"name": "gq06_path_prefix_matches_subtree", "status": "passed", "assertion_scope": "A path prefix includes direct and nested paths while excluding another path."},
    {"name": "gq07_mixed_korean_english_query", "status": "passed", "assertion_scope": "Korean and English query terms match synthetic mixed-language content."},
    {"name": "gq08_case_insensitive_content_match", "status": "passed", "assertion_scope": "A lowercase query matches uppercase synthetic content."},
    {"name": "gq09_nfd_filename_matches_nfc_query", "status": "passed", "assertion_scope": "An NFD filename matches an NFC query."},
    {"name": "gq10_zwsp_in_content_matches_normal_query", "status": "passed", "assertion_scope": "Content containing a zero-width space matches a normal query after normalization."},
    {"name": "gq11_proximity_slop_matches_within_distance", "status": "passed", "assertion_scope": "A proximity query within the configured distance matches, while an exact-adjacent query does not."},
    {"name": "gq12_filter_only_browse_recent_first", "status": "passed", "assertion_scope": "A filter-only browse returns the selected extension in recent-first order; an empty query without a filter is empty."},
    {"name": "gq13_unbalanced_quote_does_not_fail_search", "status": "passed", "assertion_scope": "A query with an unbalanced quote returns through the search path instead of failing parsing."}
  ],
  "synthetic_examples": [
    {"case": "Unicode content normalization", "input": {"content": "NFD form of 유지관리 보고서", "query": "유지관리"}, "expected_assertion": "The synthetic document is matched, and NFD and NFC normalize to the same text."},
    {"case": "Extension filter case handling", "input": {"documents": ["report.pdf", "memo.txt"], "query": "보고서", "extension_filter": "PDF"}, "expected_assertion": "The synthetic PDF is included and the synthetic TXT document is excluded."},
    {"case": "Path prefix boundary", "input": {"paths": ["/data/report.txt", "/database/schema.txt"], "query": "경계", "path_prefix": "/data"}, "expected_assertion": "The similarly named /database path is excluded from the /data prefix filter."},
    {"case": "Unbalanced quote handling", "input": {"content": "예산 보고서 초안", "query": "보고서\""}, "expected_assertion": "The search path succeeds and matches the synthetic document after quote handling."}
  ],
  "limitations": [
    "This record is a self-run test result; source access is required to repeat the command.",
    "The suite injects synthetic document metadata and content directly; it does not parse user files or PDFs.",
    "It does not cover parser integration, GUI behavior, user outcomes, or Claude API behavior.",
    "Codex was used to run the recorded command; this record does not establish model quality.",
    "The recorded duration is test-runner elapsed time, not a latency benchmark."
  ]
}
