{
  "run_id": "ShivSupane--fliprate-claude-haiku-5-5-1793108006656786519",
  "date": "2026-10-27T13:37:07.179068+00:00",
  "repo": "ShivSupane/fliprate",
  "kind": "repo",
  "source": "https://github.com/ShivSupane/fliprate",
  "commit": "ae17e4fa24643d86f506128207595b60b8187b03",
  "model": "claude-haiku-5-5",
  "model_version": "claude-haiku-5-5",
  "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
  "pass": true,
  "outcome": "pass",
  "time_to_working_s": 184.12997488899998,
  "total_s": 220.52219891548157,
  "steps": [
    "cd <guest-path> && pwd && ls -la && git status 2>&1 | head -3; id -u; python3 --version; cat README.md 2>/dev/null | head -150",
    "cd <guest-path> && tail -c +7000 README.md | sed 's/\\\\x0d//g' | head -220",
    "cd <guest-path> && ls -la .coldpass examples scripts tests src/fliprate 2>&1; sed -n 1,80p pyproject.toml",
    "mkdir -p <guest-path> && python3 -m venv <guest-path> && <guest-path> install -q --upgrade pip 2>&1 | tail -3; echo rc=$?",
    "cd <guest-path> && <guest-path> install -e \".[dev,api,sklearn]\" 2>&1 | tail -5; echo rc=${PIPESTATUS[0]}",
    "cd /tmp && F=<guest-path>; $F normalize \"mala product avadlaaa nhi\"; echo rc=$?; $F gate \"mala product avadlaaa nahi\"; echo rc=$?",
    "cd <guest-path> && ls .github/workflows && sed 's/\\r//' .github/workflows/*.yml | grep -n \"run:\" ; grep -n \"@app\\.\\(get\\|post\\)\" src/fliprate/api.py; grep -n \"def \\|add_parser\" src/fliprate/cli.py | head -60",
    "cd <guest-path> && sed 's/\\r//' .github/workflows/ci.yml | sed -n 40,80p; sed 's/\\r//' src/fliprate/api.py | sed -n 100,130p",
    "cd <guest-path> && timeout 900 <guest-path> -m pytest -q 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}",
    "cd <guest-path> && grep -c 'x0d' README.md; grep -n 'fliprate normalize \"mala product avadlaaa nhi\"' README.md | cat -A | cut -c1-200; grep -n 'Unstable, but the built-in normalizer fixes it' README.md | cut -c1-200; grep -n 'fliprate gate \"mala' README.md | cut -c1-120; <guest-path> perturb \"delivery nahi aaya\" | head -8; echo rc=$?",
    "cd <guest-path> && ls data; grep -rniE \"cron|schedul|webhook|--once|--now|while True\" src/fliprate | head; cd /tmp && <guest-path> <guest-path> 2>&1 | tail -15; echo rc=${PIPESTATUS[0]}",
    "cd <guest-path> && sed -n 1,30p src/fliprate/events.py; grep -n \"def \\|argv\" src/fliprate/cli.py | sed -n 1,12p",
    "cd <guest-path> && cat > probe.json <<'EOF'\n{\"kind\":\"cli\",\"argv\":[\"<guest-path>\",\"normalize\",\"mala product avadlaaa nhi\"],\"cwd\":\"<guest-path>\",\"expected_text\":\"mala product avadla nahi\"}\nEOF\ncat > claims.json <<'EOF'\n[{\"kind\":\"claim\",\"claim\":\"Clean messy text directly with the normalize command\",\"source\":\"fliprate normalize \\\"mala product avadlaaa nhi\\\"\",\"input\":\"mala product avadlaaa nhi\",\"expected\":\"mala product avadla nahi\",\"probe_kind\":\"cli\",\"argv\":[\"<guest-path>\",\"normalize\",\"mala product avadlaaa nhi\"],\"expected_text\":\"mala product avadla nahi\",\"cwd\":\"<guest-path>\"},\n{\"kind\":\"claim\",\"claim\":\"Gate decision TRANSFORM means unstable but fixed by the built-in normalizer\",\"source\":\"| **TRANSFORM** | Unstable, but the built-in normalizer fixes it.\",\"input\":\"mala product avadlaaa nahi\",\"expected\":\"TRANSFORM: Stable after approved normalization\",\"probe_kind\":\"cli\",\"argv\":[\"<guest-path>\",\"gate\",\"mala product avadlaaa nahi\"],\"expected_text\":\"TRANSFORM: Stable after approved normalization\",\"cwd\":\"<guest-path>\"}]\nEOF\ncat > examples.json <<'EOF'\n[{\"kind\":\"example\",\"claim\":\"Basic usage example runs the library quick-check, normalization and audit flow\",\"source\":\"examples/01_basic_usage.py (docs/QUICKSTART.md Python API)\",\"input\":\"examples/01_basic_usage.py with no arguments\",\"expected\":\"prints a clean text, safe prediction and audit report\",\"argv\":[\"<guest-path>\",\"<guest-path>\"],\"cwd\":\"/tmp\",\"expected_text\":\"Clean: 'Mala product avadla nahi!'\"}]\nEOF\ncat > cycles.json <<'EOF'\n{\"detected\":false,\"reason\":\"Inspected README (CLI, API, production deployment sections), CI workflow, pyproject entry points and src/fliprate. No cron, scheduler, --once/--now, or webhook trigger exists. The only while True loop (src/fliprate/events.py drain) is a generator consumer, not a product cycle. FastAPI jobs are request-driven.\",\"checks\":[]}\nEOF\nfor f in probe.json claims.json examples.json cycles.json; do <guest-path> -I -c \"import json,sys;json.load(open(sys.argv[1]));print('ok',sys.argv[1])\" $f; done",
    "cd <guest-path> && <env-var>=<guest-path> python3 -I <guest-path> --validate --replay 2>&1 | tail -60; echo rc=${PIPESTATUS[0]}",
    "cd <guest-path> && cat > report.json <<'EOF'\n{\"outcome\":\"working\",\"fault_owner\":null,\"operation\":\"Install FlipRate from source and run the CLI quality tools (normalize, gate) plus the documented Python quick-start example\",\"operation_scope\":\"Ubuntu guest, Python 3.12.3 (README requires >=3.9), venv at <guest-path>, extras dev,api,sklearn; no Hugging Face/torch model, no browser, no credentials needed\",\"steps\":[\"python3 -m venv <guest-path> && pip install --upgrade pip\",\"pip install -e \\\".[dev,api,sklearn]\\\" (From source section, in workspace)\",\"fliprate normalize \\\"mala product avadlaaa nhi\\\" (CLI section)\",\"fliprate gate \\\"mala product avadlaaa nahi\\\" (CLI section)\",\"python -m pytest -q (CI workflow, 407 passed)\",\"python examples/01_basic_usage.py (Quick start / examples)\"],\"deviations\":[\"Installed extras .[dev,api,sklearn] instead of .[dev,api,hf,sklearn] to skip the large torch/transformers download; the hf-backed model claims were not exercised.\",\"Used a dedicated venv at <guest-path> with the absolute fliprate path instead of a global pip install, as the task requires absolute venv paths.\",\"Workspace was not a git checkout; no git init was needed because the pinned source was already present and pip install used the local tree.\"],\"stuck_step\":null,\"main_blocker\":null,\"plain_failure\":null,\"suggested_fix\":\"None required for this run. Optional: the README text contains CRLF line endings and the Docker/Production sections were not executed.\"}\nEOF\n<guest-path> -I -c \"import json;d=json.load(open('report.json'));print(d['outcome'],d['fault_owner'])\"; ls -la <guest-path>"
  ],
  "stuck_step": null,
  "error_excerpt": null,
  "what_it_did": "Install FlipRate from source and run the CLI quality tools (normalize, gate) plus the documented Python quick-start example",
  "suggested_fix": null,
  "tokens_in": 373192,
  "tokens_out": 9285,
  "cost_usd": 0.01482021,
  "usage_complete": true,
  "checks": [
    {
      "check": "operation",
      "status": "PASS",
      "details": {
        "working": true,
        "argv": [
          "<guest-path>",
          "normalize",
          "mala product avadlaaa nhi"
        ],
        "kind": "cli",
        "returncode": 0,
        "stdout": "mala product avadla nahi\n  avadlaaa -> avadla\n  nhi -> nahi",
        "stderr": "",
        "needs_credentials": false,
        "needs_browser": false,
        "scope": "product operation"
      }
    }
  ],
  "safety": {
    "version": "z2x-1",
    "rules_version": "z2x-1",
    "summary": "No problems traced to this repository code in these checks.",
    "expected": "Reviewed as expected for a test run: attempted writes that failed, so nothing was written.",
    "findings": [],
    "context": [],
    "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."
    ],
    "static": {
      "dependency_note": "OSV scanned supported lockfiles; unpinned dependencies and unsupported formats are outside this check."
    },
    "evidence_url": "/safety/?run=ShivSupane--fliprate-claude-haiku-5-5-1793108006656786519",
    "evidence_file": "/data/safety/ShivSupane--fliprate-claude-haiku-5-5-1793108006656786519.json.gz"
  },
  "agent_execution": "native_agent",
  "agent_runtime": "claude-code",
  "agent_runtime_version": "2.1.310 (Claude Code)",
  "tool_transport": "mcp-assigned-vm",
  "platform": "linux",
  "reasoning": "low",
  "service_tier": null,
  "resources": {
    "cpus": 2,
    "memory_mib": 4096,
    "disk_mib": 32768
  },
  "native_tool_calls": 15,
  "native_bundle": null,
  "architecture": null,
  "backend": "hyperv",
  "platform_details": {
    "backend": "hyperv",
    "os": "linux"
  },
  "platform_conflicts": null,
  "sandbox_source": null,
  "source_pin": {
    "commit": "ae17e4fa24643d86f506128207595b60b8187b03",
    "url": "https://github.com/ShivSupane/fliprate"
  },
  "purpose": "initial",
  "profile": {
    "model": "claude-haiku-5-5",
    "reasoning": "low"
  },
  "fault": {
    "owner": null,
    "status": "resolved",
    "reason": null
  },
  "fix_id": null,
  "verifies_run_id": null,
  "hosting": null,
  "operation_scope": "product operation",
  "tool_calls": 15,
  "guest_setup": null,
  "runtime": null,
  "runtime_version": null,
  "runtime_revision": null,
  "source_revision": null,
  "evidence_version": null,
  "failure_origin": null,
  "evidence_strength": "readme_checked",
  "works": "yes",
  "install_s": null,
  "first_use_s": null,
  "mcp": "none",
  "needs": [],
  "needs_which": null,
  "agent_interface": [
    "cli"
  ],
  "license": "MIT",
  "repo_url": "https://github.com/ShivSupane/fliprate",
  "cost_to_try": "free",
  "hardware": null,
  "what_failed": null,
  "local_or_hosted": "local",
  "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, API, production deployment sections), CI workflow, pyproject entry points and src/fliprate. No cron, scheduler, --once/--now, or webhook trigger exists. The only while True loop (src/fliprate/events.py drain) is a generator consumer, not a product cycle. FastAPI jobs are request-driven.",
      "evidence": "Inspected README (CLI, API, production deployment sections), CI workflow, pyproject entry points and src/fliprate. No cron, scheduler, --once/--now, or webhook trigger exists. The only while True loop (src/fliprate/events.py drain) is a generator consumer, not a product cycle. FastAPI jobs are request-driven.",
      "command": ""
    }
  ],
  "claims": [
    {
      "kind": "claim",
      "claim": "Clean messy text directly with the normalize command",
      "source": "fliprate normalize \"mala product avadlaaa nhi\"",
      "input": "mala product avadlaaa nhi",
      "expected": "mala product avadla nahi",
      "command": "<guest-path> normalize 'mala product avadlaaa nhi'",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: mala product avadla nahi",
      "evidence": "mala product avadla nahi\n  avadlaaa -> avadla\n  nhi -> nahi\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    },
    {
      "kind": "claim",
      "claim": "Gate decision TRANSFORM means unstable but fixed by the built-in normalizer",
      "source": "| **TRANSFORM** | Unstable, but the built-in normalizer fixes it.",
      "input": "mala product avadlaaa nahi",
      "expected": "TRANSFORM: Stable after approved normalization",
      "command": "<guest-path> gate 'mala product avadlaaa nahi'",
      "verdict": "yes",
      "outcome": "Real input produced the expected result: TRANSFORM: Stable after approved normalization",
      "evidence": "TRANSFORM: Stable after approved normalization\nprediction='product_feedback' raw_stability=0.625 normalized_stability=1.0\n  flipped on: mala produkt avdla nahi\n  flipped on: mala prodct avdla nahee\n  flipped on: mala produuuct avadlaaa nahi\n",
      "returncode": 0,
      "source_checked": true,
      "source_file": "README.md"
    }
  ],
  "claims_note": null,
  "example_checks": [
    {
      "kind": "example",
      "claim": "Basic usage example runs the library quick-check, normalization and audit flow",
      "source": "examples/01_basic_usage.py (docs/QUICKSTART.md Python API)",
      "input": "examples/01_basic_usage.py with no arguments",
      "command": "<guest-path> <guest-path>",
      "evidence": "on: Prediction is stable across safe variants\n\nMessy: 'Mala product avadlaaa nhiii!!!'\nClean: 'Mala product avadla nahi!'\n\nSafe prediction on 'ye delivery nhi aayi': negative\n\nAuditing model on dataset...\nMessages: 4 | safe variants tested: 12\nAccuracy on originals:      75.0%  (macro-F1 0.78)\nAccuracy on safe variants:  75.0%  (macro-F1 0.78)\nAccuracy drop:              +0.0%  95% CI [+0.0%, +0.0%]\nFlip rate:                  0.0%  95% CI [0.0%, 0.0%]\nMost fragile change type:   spelling (flip rate 0.0%)\nNote: flip rate shows instability, not correctness. A model can flip to the right answer.",
      "deferred": false,
      "expected": "prints a clean text, safe prediction and audit report",
      "returncode": 0,
      "verdict": "yes",
      "outcome": "command completed successfully"
    }
  ],
  "does_what_it_says": "yes",
  "maintenance": {
    "last_commit_at": "2026-10-27T13:31:52Z",
    "commits_90d": 48,
    "merged_prs_90d": 6,
    "open_issues": 0,
    "open_prs": 0,
    "reply_share": null,
    "reply_threads": 0,
    "median_reply_hours": null,
    "last_release_at": "2026-10-27T13:33:23Z",
    "archived": false,
    "verdict": "maintained",
    "note": "actively maintained: last commit 0 days ago; 48 commits and 6 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-10-27"
  },
  "maintenance_verdict": "maintained",
  "maintenance_note": "actively maintained: last commit 0 days ago; 48 commits and 6 merged PRs in 90 days; 0 open issues, 0 open PRs; latest release 2026-10-27",
  "maintained": "active",
  "maintained_note": "last commit 0 days ago",
  "last_commit_at": "2026-10-27T13:33:23Z",
  "last_release_at": "2026-10-27T13:33:23Z",
  "open_issues": null,
  "answered_issues": null,
  "platforms_claimed": [
    "linux"
  ],
  "topic": "data",
  "agent_interfaces": [
    {
      "interface": "cli",
      "evidence": "independent checker",
      "observed": true,
      "operation_checked": true
    }
  ],
  "agent_interfaces_note": "README metadata is a discovery hint, not pinned documentation proof. Observed interfaces were exercised in this run. An empty list means unknown.",
  "mcp_context": null,
  "tested_at": "2026-10-27T13:37:07.179068+00:00",
  "tested_commit": "ae17e4fa24643d86f506128207595b60b8187b03",
  "tested_with": {
    "agent": "claude-code",
    "agent_version": "2.1.310 (Claude Code)",
    "model": "claude-haiku-5-5",
    "model_route": "claude-haiku-5-5",
    "reasoning": "low",
    "os": "linux",
    "backend": "hyperv",
    "transport": "mcp-assigned-vm"
  },
  "setup_identity": {
    "repo": "ShivSupane/fliprate",
    "source": "https://github.com/ShivSupane/fliprate",
    "commit": "ae17e4fa24643d86f506128207595b60b8187b03",
    "source_revision": null,
    "os": "linux",
    "architecture": null,
    "backend": "hyperv",
    "model": "claude-haiku-5-5",
    "model_version": "claude-haiku-5-5",
    "agent_execution": "native_agent",
    "agent_runtime": "claude-code",
    "agent_runtime_version": "2.1.310 (Claude Code)",
    "tool_transport": "mcp-assigned-vm",
    "runtime": null,
    "runtime_version": null,
    "runtime_revision": null,
    "sandbox_source": null,
    "guest_setup": null,
    "source_pin": {
      "commit": "ae17e4fa24643d86f506128207595b60b8187b03",
      "url": "https://github.com/ShivSupane/fliprate"
    },
    "platform_details": {
      "os": "linux",
      "backend": "hyperv"
    },
    "platform_conflicts": null,
    "reasoning": "low",
    "service_tier": null,
    "resources": {
      "cpus": 2,
      "memory_mib": 4096,
      "disk_mib": 32768
    },
    "operation": "Install FlipRate from source and run the CLI quality tools (normalize, gate) plus the documented Python quick-start example",
    "operation_scope": "product operation",
    "hosting": null,
    "kind": "repo",
    "test_version": "readme-d5b140d3c0f8b95c2dd6fe6fc381a303cacb92679582c22317d8e78b572f0cf2",
    "evidence_version": null
  },
  "other_model": null,
  "other_run_id": null,
  "models_agree": null,
  "furthest_model": null,
  "transcript_url": "/transcripts/ShivSupane--fliprate-claude-haiku-5-5-1793108006656786519.txt",
  "report_url": "/reports/ShivSupane--fliprate-claude-haiku-5-5-1793108006656786519.json"
}
