{
  "model_label": "last40-wd01",
  "n": 98,
  "passes_shown": [
    {
      "id": "gfr-01-0012",
      "family": "find_exact_name",
      "pass": true,
      "exact_command": true,
      "request": "Walk depot and return sorted relative paths for regular files named package.json.",
      "model": "find 'depot' -type f -name 'package.json' -print | sort"
    },
    {
      "id": "gfr-01-0152",
      "family": "find_iname",
      "pass": true,
      "exact_command": false,
      "request": "Recursively search lab for regular files named Makefile, case-insensitive.",
      "model": "find 'lab' -type f -iname 'makefile' -print | sort",
      "gold": "find 'lab' -type f -iname 'Makefile' -print | sort"
    },
    {
      "id": "gfr-02-0018",
      "family": "find_name_patterns_with_pruning",
      "pass": true,
      "request": "Sorted regular files under ops notes matching *postmortem*.md or *incident*.md. Skip site, _site, dist.",
      "model": "find 'ops notes' \\( -type d \\( -name 'site' -o -name '_site' -o -name 'dist' \\) -prune \\) -o -type f \\( -iname '*postmortem*.md' -o -iname '*incident*.md' \\) -print | sort"
    },
    {
      "id": "gfr-03-0258",
      "family": "find_newest_macos",
      "pass": true,
      "request": "On macOS, return only the newest file path under harbor.",
      "model": "find 'harbor' -type f -exec stat -f '%m %N' {} + | sort -rn | head -n 1 | cut -d ' ' -f 2-"
    },
    {
      "id": "gfr-04-0034",
      "family": "find_nul_safe_content",
      "pass": true,
      "request": "Markdown files under orchard/notes that contain the literal TODO.",
      "model": "find 'orchard/notes' -type f -name '*.md' -print0 | while IFS= read -r -d '' file; do if grep -qF -- 'TODO' \"$file\"; then printf '%s\\n' \"$file\"; fi; done | sort"
    },
    {
      "id": "gfr-05-0053",
      "family": "rg_literal_glob_exclude",
      "pass": true,
      "request": "Search TSX files under console app for the literal text useQuery(.",
      "model": "rg -n -F -g '*.tsx' -g '!**/node_modules/**' -- 'useQuery(' 'console app' | sort"
    },
    {
      "id": "gfr-07-0097",
      "family": "jq_json_filter",
      "pass": true,
      "request": "From amber snapshots/list.json, print the path of each record where latest is true.",
      "model": "jq -r '.snapshots[] | select(.latest == true) | .path' 'amber snapshots/list.json' | sort"
    },
    {
      "id": "gfr-07-0254",
      "family": "sed_line_excerpt",
      "pass": true,
      "request": "Show lines 2 to 4 inclusive of atlas logs/app start.log.",
      "model": "sed -n '2,4p' 'atlas logs/app start.log'"
    }
  ],
  "misses": [
    {
      "id": "gfr-04-0287",
      "family": "rg_files_candidates",
      "failure_reason": "exit_mismatch",
      "request": "Hidden YAML under runtime. Skip .git and node_modules.",
      "model": "rg --files 'runtime' --hidden | rg --glob '*.yaml' --glob '*.yml' --glob '!**/.git/**' --glob '!**/node_modules/**' | sort",
      "gold": "rg --files --hidden 'runtime' --glob '*.yaml' --glob '!**/.git/**' --glob '!**/node_modules/**' | sort",
      "note": "Piped a second rg instead of putting --hidden and --glob on one rg --files."
    },
    {
      "id": "gfr-04-0361",
      "family": "rg_files_candidates",
      "failure_reason": "exit_mismatch",
      "request": "Kotlin files under ktsrc. If there are no Kotlin sources outside build, print nothing.",
      "model": "rg --files 'ktsrc' --glob '*.kt' | sort",
      "gold": "rg --files 'ktsrc' --glob '*.kt' --glob '!**/build/**' | sort"
    },
    {
      "id": "gfr-06-0073",
      "family": "rg_regex_hidden_exclude",
      "failure_reason": "stdout_mismatch",
      "request": "Whole word FLUSH_SYNC under storage, including hidden files.",
      "model": "rg -n --hidden --glob '!**/.git/**' --glob '!**/node_modules/**' 'FLUSH_SYNC' 'storage' | sort",
      "gold": "rg -n --hidden --glob '!**/.git/**' --glob '!**/node_modules/**' '\\bFLUSH_SYNC\\b' 'storage' | sort"
    },
    {
      "id": "gfr-07-0118",
      "family": "jq_json_filter",
      "failure_reason": "stdout_mismatch",
      "request": "From tag board/items.json, print path of records whose tags include ship.",
      "model": "jq -r '.items[] | select(.tags == [\"ship\"]) | .path' 'tag board/items.json' | sort",
      "gold": "jq -r '.items[] | select(.tags | index(\"ship\") != null) | .path' 'tag board/items.json' | sort"
    },
    {
      "id": "gfr-08-0135",
      "family": "rg_count",
      "failure_reason": "exit_mismatch",
      "request": "Search lantern YAML for enable_cache or disable_cache and emit per-file counts.",
      "model": "rg -c -F --glob '*.yaml' --glob '!**/dist/**' -- 'enable_cache|disable_cache' 'lantern' | sort",
      "gold": "rg -c --glob '*.yaml' --glob '*.yml' --glob '!**/dist/**' '(enable|disable)_cache' 'lantern' | sort"
    },
    {
      "id": "gfr-08-0200",
      "family": "find_directories",
      "failure_reason": "stdout_mismatch",
      "request": "List folders named test, Tests, or TEST below cedar.",
      "model": "find 'cedar' -type d \\( -name 'test' -o -name 'Tests' -o -name 'TEST' \\) -print | sort",
      "gold": "find 'cedar' -type d -iname 'test' -print | sort"
    }
  ]
}
