{
  "schema_version": 1,
  "run_id": "kavishkakalhara1--ragpick-gpt-6-luna-1795171890547559434",
  "date": "2026-11-20T10:59:33.780262+00:00",
  "repo": "kavishkakalhara1/ragpick",
  "model": "gpt-6-luna",
  "kind": "repo",
  "mcp": "none",
  "commit": "bb9f092a48b6504a246d68befcf9f551d31a35c3",
  "outcome": "pass",
  "time_to_working_s": 435.9081499650056,
  "install_s": 128.111,
  "first_use_s": 119.626,
  "stuck_step": null,
  "what_failed": null,
  "suggested_fix": null,
  "what_it_did": "README offline RAG quickstart: initialize naive config, ingest examples/data, query for password reset; also ran the documented Python quickstart and recommend/eval commands.",
  "needs": [],
  "needs_which": null,
  "missing": null,
  "claims": [
    {
      "kind": "claim",
      "claim": "Pick the right RAG architecture for your system, define it as code, and prove it works on your data.",
      "source": "**Pick the right RAG architecture for your system, define it as code, and prove it works on your data.**",
      "input": "examples/quickstart.py",
      "expected": "Offline sample pipeline recommends hybrid, ingests documents and returns cited answers with group access control.",
      "command": "<guest-path> examples/quickstart.py",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Recommended blueprint: hybrid",
      "evidence": "Recommended blueprint: hybrid\n  - Keyword-heavy queries (product codes, legal terms, IDs) need exact matching: BM25 catches terms that embeddings blur, and Reciprocal Rank Fusion combines both rankings.\n  - Citations: contexts are numbered in the prompt and [n] markers are mapped back to chunk IDs in `Answer.citations`.\n  - Access control: chunks with `allowed_groups` metadata are filtered inside the 'memory' store and BM25 before ranking, so restricted text never reaches the LLM.\n\nIngested 9 documents (10 chunks)\n\nQ: What does error E-1042 mean?  (groups=None)\nA: E-1042: Low battery. [1] The ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "upport escalate an E-3301 ticket to Tier 2?  (groups=None)\nA: E-3301: Temperature sensor fault. [1] The warranty covers manufacturing defects and hardware failures, including sensor faults (error E-3301). [2]\n   citations: ['error-codes.md#0', 'warranty-and-returns.md#0']\n\nQ: When should support escalate an E-3301 ticket to Tier 2?  (groups=['support'])\nA: Escalate a ticket to Tier 2 when a customer reports error E-3301 twice within 30 days, or when a replacement unit shows the same fault. [1] E-3301: Temperature sensor fault. [2]\n   citations: ['internal-escalation.md#0', 'error-codes.md#0']\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Recommend. Describe your requirements and get a blueprint plus the reasons for it, the alternatives, and warnings.",
      "source": "- **Recommend.** Describe your requirements and get a blueprint plus the reasons for it,\n  the alternatives, and warnings.",
      "input": "examples/hybrid.yaml",
      "expected": "Blueprint hybrid recommendation with reasons and alternatives.",
      "command": "<guest-path> recommend --config examples/hybrid.yaml",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Blueprint: hybrid",
      "evidence": "…Blueprint: hybrid                                                            │\n│                                                                              │\n│ Why                                                                          │\n│   • Keyword-heavy queries (product codes, legal terms, IDs) need exact       │\n│ matching: BM25 catches terms that embeddings blur, and Reciprocal Rank       │\n│ Fusion combines both rankings.                                               │\n│   • Citations: contexts are numbered in the prompt and [n] markers are       │\n│ mapped back to chunk IDs in `Answ",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "s` metadata are filtered       │\n│ inside the 'memory' store and BM25 before ranking, so restricted text never  │\n│ reaches the LLM.                                                             │\n│                                                                              │\n│ Alternatives                                                                 │\n│   • naive                                                                    │\n│   • hybrid + cross_encoder reranker for higher precision (ragpick[rerank])   │\n╰──────────────────────────────────────────────────────────────────────────────╯\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Build. The pipeline is a validated `rag.yaml` (architecture as code), with document-level access control built in.",
      "source": "- **Build.** The pipeline is a validated `rag.yaml` (architecture as code), with\n  document-level **access control** built in.",
      "input": "Create the naive offline config",
      "expected": "Wrote rag.yaml for the naive blueprint",
      "command": "<guest-path> init --blueprint naive --yes",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: Wrote rag.yaml (blueprint naive, provider fake)",
      "evidence": "…Wrote rag.yaml (blueprint naive, provider fake)\n  Then: ragpick ingest ./docs && ragpick query \"your question\"\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "✓ Wrote rag.yaml (blueprint naive, provider fake)\n  Then: ragpick ingest ./docs && ragpick query \"your question\"\n",
      "stderr": "",
      "output_truncated": false,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Evaluate. Compare blueprints on your own questions: hit rate, MRR, faithfulness, latency and cost, side by side.",
      "source": "- **Evaluate.** Compare blueprints on your own questions: hit rate, MRR, faithfulness,\n  latency and cost, side by side.",
      "input": "examples/eval.jsonl",
      "expected": "Side-by-side hit rate metrics for naive and hybrid.",
      "command": "<guest-path> eval examples/eval.jsonl --config examples/naive.yaml --config examples/hybrid.yaml",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: hit_rate@k",
      "evidence": "…hit_rate@k       │   0.929 │    1.000 │\n│ mrr              │   0.774 │    0.893 │\n│ precision@k      │   0.357 │    0.381 │\n│ faithfulness     │     n/a │      n/a │\n│ answer_relevance │     n/a │      n/a │\n│ latency_p50_ms   │     1.2 │      1.9 │\n│ latency_p95_ms   │     4.3 │      8.9 │\n│ total_tokens     │    9464 │     9660 │\n│ est_cost_usd     │ $0.0000 │  $0.0000 │\n│ errors           │       0 │        0 │\n└──────────────────┴─────────┴──────────┘\n14 questions · k = 3 · best value per metric in green\n",
      "hardware_prerequisite": null,
      "returncode": 0,
      "stdout": "┃ Metric           ┃ (naive) ┃ (hybrid) ┃\n┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩\n│ hit_rate@k       │   0.929 │    1.000 │\n│ mrr              │   0.774 │    0.893 │\n│ precision@k      │   0.357 │    0.381 │\n│ faithfulness     │     n/a │      n/a │\n│ answer_relevance │     n/a │      n/a │\n│ latency_p50_ms   │     1.2 │      1.9 │\n│ latency_p95_ms   │     4.3 │      8.9 │\n│ total_tokens     │    9464 │     9660 │\n│ est_cost_usd     │ $0.0000 │  $0.0000 │\n│ errors           │       0 │        0 │\n└──────────────────┴─────────┴──────────┘\n14 questions · k = 3 · best value per metric in green\n",
      "stderr": "",
      "output_truncated": true,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "example_checks": [
    {
      "kind": "example",
      "claim": "60-second quickstart (offline, no API key)",
      "source": "README.md, 60-second quickstart (offline, no API key), commands: ragpick init --blueprint naive --yes; ragpick ingest examples/data; ragpick query \"How do I reset my password?\"",
      "input": "How do I reset my password?",
      "command": "<guest-path> query 'How do I reset my password?'",
      "evidence": "╭─────────────────────────────────── Answer ───────────────────────────────────╮\n│ On the sign-in screen of the Lumen app, tap \"Forgot password\" and enter the  │\n│ email address on your account. [1] You will receive a reset link that is     │\n│ valid for 30 minutes. [1]                                                    │\n╰──────────────────────────────────────────────────────────────────────────────╯\nCitations: account-and-password.md#0\n12 ms · 972 prompt + 43 completion tokens",
      "deferred": false,
      "expected": "Grounded answer and citation from sample data.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "╭─────────────────────────────────── Answer ───────────────────────────────────╮\n│ On the sign-in screen of the Lumen app, tap \"Forgot password\" and enter the  │\n│ email address on your account. [1] You will receive a reset link that is     │\n│ valid for 30 minutes. [1]                                                    │\n╰──────────────────────────────────────────────────────────────────────────────╯\nCitations: account-and-password.md#0\n12 ms · 972 prompt + 43 completion tokens\n",
      "stderr": "",
      "output_truncated": false,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "README blueprint recommendation",
      "source": "README.md: Ask which architecture fits, then compare two blueprints on a question set: ragpick recommend --config examples/hybrid.yaml",
      "input": "examples/hybrid.yaml",
      "command": "<guest-path> recommend --config examples/hybrid.yaml",
      "evidence": "ps` metadata are filtered       │\n│ inside the 'memory' store and BM25 before ranking, so restricted text never  │\n│ reaches the LLM.                                                             │\n│                                                                              │\n│ Alternatives                                                                 │\n│   • naive                                                                    │\n│   • hybrid + cross_encoder reranker for higher precision (ragpick[rerank])   │\n╰──────────────────────────────────────────────────────────────────────────────╯",
      "deferred": false,
      "expected": "Blueprint hybrid recommendation with rationale and alternatives.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "s` metadata are filtered       │\n│ inside the 'memory' store and BM25 before ranking, so restricted text never  │\n│ reaches the LLM.                                                             │\n│                                                                              │\n│ Alternatives                                                                 │\n│   • naive                                                                    │\n│   • hybrid + cross_encoder reranker for higher precision (ragpick[rerank])   │\n╰──────────────────────────────────────────────────────────────────────────────╯\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "README compare blueprints",
      "source": "README.md: ragpick eval examples/eval.jsonl --config examples/naive.yaml --config examples/hybrid.yaml",
      "input": "examples/eval.jsonl",
      "command": "<guest-path> eval examples/eval.jsonl --config examples/naive.yaml --config examples/hybrid.yaml",
      "evidence": "\n┃ Metric           ┃ (naive) ┃ (hybrid) ┃\n┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩\n│ hit_rate@k       │   0.929 │    1.000 │\n│ mrr              │   0.774 │    0.893 │\n│ precision@k      │   0.357 │    0.381 │\n│ faithfulness     │     n/a │      n/a │\n│ answer_relevance │     n/a │      n/a │\n│ latency_p50_ms   │     1.1 │      1.6 │\n│ latency_p95_ms   │     4.0 │      7.0 │\n│ total_tokens     │    9464 │     9660 │\n│ est_cost_usd     │ $0.0000 │  $0.0000 │\n│ errors           │       0 │        0 │\n└──────────────────┴─────────┴──────────┘\n14 questions · k = 3 · best value per metric in green",
      "deferred": false,
      "expected": "Evaluation results for naive and hybrid.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "┃ Metric           ┃ (naive) ┃ (hybrid) ┃\n┡━━━━━━━━━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━┩\n│ hit_rate@k       │   0.929 │    1.000 │\n│ mrr              │   0.774 │    0.893 │\n│ precision@k      │   0.357 │    0.381 │\n│ faithfulness     │     n/a │      n/a │\n│ answer_relevance │     n/a │      n/a │\n│ latency_p50_ms   │     1.1 │      1.6 │\n│ latency_p95_ms   │     4.0 │      7.0 │\n│ total_tokens     │    9464 │     9660 │\n│ est_cost_usd     │ $0.0000 │  $0.0000 │\n│ errors           │       0 │        0 │\n└──────────────────┴─────────┴──────────┘\n14 questions · k = 3 · best value per metric in green\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    },
    {
      "kind": "example",
      "claim": "Run the README offline quickstart Python example",
      "source": "examples/quickstart.py module docstring: Run from the repository root: python examples/quickstart.py",
      "input": "examples/data",
      "command": "<guest-path> examples/quickstart.py",
      "evidence": "support escalate an E-3301 ticket to Tier 2?  (groups=None)\nA: E-3301: Temperature sensor fault. [1] The warranty covers manufacturing defects and hardware failures, including sensor faults (error E-3301). [2]\n   citations: ['error-codes.md#0', 'warranty-and-returns.md#0']\n\nQ: When should support escalate an E-3301 ticket to Tier 2?  (groups=['support'])\nA: Escalate a ticket to Tier 2 when a customer reports error E-3301 twice within 30 days, or when a replacement unit shows the same fault. [1] E-3301: Temperature sensor fault. [2]\n   citations: ['internal-escalation.md#0', 'error-codes.md#0']",
      "deferred": false,
      "expected": "Recommendation, ingestion and cited query answers for authorized groups.",
      "hardware_prerequisite": null,
      "returncode": 0,
      "native_crash": false,
      "stdout": "upport escalate an E-3301 ticket to Tier 2?  (groups=None)\nA: E-3301: Temperature sensor fault. [1] The warranty covers manufacturing defects and hardware failures, including sensor faults (error E-3301). [2]\n   citations: ['error-codes.md#0', 'warranty-and-returns.md#0']\n\nQ: When should support escalate an E-3301 ticket to Tier 2?  (groups=['support'])\nA: Escalate a ticket to Tier 2 when a customer reports error E-3301 twice within 30 days, or when a replacement unit shows the same fault. [1] E-3301: Temperature sensor fault. [2]\n   citations: ['internal-escalation.md#0', 'error-codes.md#0']\n",
      "stderr": "",
      "output_truncated": true,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "cycle_checks": [
    {
      "kind": "cycle",
      "claim": "Scheduled or looping main behavior",
      "source": "repository entry points",
      "input": "source inspection",
      "expected": "identify the product trigger",
      "verdict": "yes",
      "outcome": "Inspected README CLI entrypoints, src/ragpick/cli.py and src/ragpick/server.py. The product has command-driven ingest/query/eval and an HTTP serving command, but no product cron, scheduled loop, webhook trigger, --once or --now cycle. CI push/PR schedules are not a product cycle.",
      "evidence": "Inspected README CLI entrypoints, src/ragpick/cli.py and src/ragpick/server.py. The product has command-driven ingest/query/eval and an HTTP serving command, but no product cron, scheduled loop, webhook trigger, --once or --now cycle. CI push/PR schedules are not a product cycle.",
      "command": ""
    }
  ],
  "maintenance": {
    "archived": false,
    "ci_commit": "bb9f092a48b6504a246d68befcf9f551d31a35c3",
    "ci_read_at": "2026-11-20T10:36:08Z",
    "ci_state": "FAILURE",
    "commits_90d": 9,
    "last_commit_at": "2026-11-20T10:31:14Z",
    "last_release_at": null,
    "median_reply_hours": null,
    "merged_prs_90d": 0,
    "note": "actively maintained: last commit 0 days ago; 9 commits and 0 merged PRs in 90 days; 0 open issues, 0 open PRs; no releases",
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "verdict": "maintained"
  },
  "dependencies": [
    "Python 3.12.3",
    "pip",
    "ragpick project dependencies installed in .venv"
  ],
  "local_or_hosted": "local",
  "readme_deviations": [],
  "safety": {
    "version": "z2x-1",
    "summary": "Nothing suspicious seen in this run.",
    "limitations": [
      "A short run cannot establish that code is safe.",
      "Connections show IP addresses; proxies can hide the final hostname.",
      "Tracing covers dispatched commands and their children, not the whole OS; guest root can interfere with tracing."
    ]
  },
  "observed": {
    "traced": true,
    "trace_truncated": false,
    "network_rule": true,
    "unsorted_contacts": false,
    "protocols_recorded": false,
    "lookups_recorded": true,
    "unsorted_blocked_ports": [],
    "contacts": [],
    "contacts_not_listed": 0,
    "lookups": [
      {
        "owner": "installer",
        "programs": [
          "git-remote-https"
        ],
        "names": [
          "github.com"
        ]
      },
      {
        "owner": "installer",
        "programs": [
          "python"
        ],
        "names": [
          "files.pythonhosted.org",
          "pypi.org"
        ]
      }
    ],
    "credential_reads": [],
    "outside_writes": 0,
    "download_and_run_lines": 0,
    "malware_advisories": [],
    "vulnerabilities": [],
    "secrets": 1,
    "secrets_in_tests": 1,
    "download_lines_in_tests": 0,
    "dependency_versions": 0,
    "scanned": {
      "secrets": true,
      "dependencies": true,
      "source": true
    },
    "capped_kinds": [],
    "findings_capped": false,
    "malware_checked": true,
    "scan_skips": {},
    "compiled": {
      "counts": {},
      "paths": []
    },
    "installed": {
      "packages": 29,
      "malicious": []
    },
    "installed_inventory": true,
    "installed_partial": false
  },
  "platform": "linux",
  "test_version": "readme-03b65652cf264ca845291865a65636c3df8b61470a082c3591bbc5319a5df252",
  "touched": {
    "evidence_file": "touched.json.gz",
    "linked_files": [
      "agent-events.jsonl.gz",
      "command-output.jsonl.gz"
    ],
    "network": {
      "canary_checked": true,
      "canary_sent": false,
      "canary_sent_to": [],
      "hosts": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "package_registries": [
        "files.pythonhosted.org",
        "pypi.org"
      ],
      "private_address_attempts": 0,
      "recorded": true,
      "repo_hosts": [],
      "unattributed": [],
      "hosts_withheld": 3
    },
    "secret_files": {
      "opened_by_agent": [],
      "opened_by_other": [],
      "opened_by_repo": [],
      "planted": [
        "~/.env",
        "~/.ssh/id_ed25519",
        "~/.aws/credentials",
        "~/.config/gh/hosts.yml"
      ],
      "recorded": true
    },
    "version": 1
  },
  "evidence_strength": "readme_checked"
}
