Get notified
Greptile

Greptile

greptile.comCode ReviewCLI E2ECodexCodex
40/ 100
D
Task failed
Score Breakdown40%

Lost points on 6 checks

  • cost6/10
  • time6/10
  • efficiency2/10
  • zero errors0/10
  • partial credit6/10
  • task completed0/30
Task Score (70% weight)40%

The agent correctly installed and used the official greptile CLI binary, created the test file with bugs, and initialized a git repository with a commit. However, the core task—running a greptile review and obtaining findings—was not completed. The agent encountered a blocker: greptile requires a real code-host remote (GitHub, GitLab, etc.) and a Greptile organization connection to perform reviews. The local-only file:// remote and the sandboxed evaluation environment don't meet these requirements. While the agent used the correct CLI and followed proper procedures, they could not produce review findings as requested in step 4 of the task. The agent documented the blocker comprehensively but did not achieve the final goal of printing review findings to stdout.

Credit: 60%Confidence: 95%
Deductions:
  • No review findings were produced; greptile review --json failed with 'this repository does not have a Git remote configured'
  • The repository could not be connected to Greptile without a real code-host remote and OAuth-signed organization membership
  • Step 4 of the task (print review findings) was not completed; only error messages were produced
  • The evaluation environment blocked the ability to create a Greptile-connected repository with real remote access
Task Completed30%The agent correctly installed and used the official greptile CLI binary, created the test file with bugs, and initialized a git repository with a commit. However, the core task—running a greptile r...+0
Used CLI Correctly20%Agent used CLI commands correctly+20
Partial Credit10%Partial credit: 60%+6
Zero Errors10%Failed tool calls: 5+0
Efficiency10%20 tool calls (<=20, acceptable)+2
Time10%115s (1-2min, great)+6
Cost10%$0.20 ($0.10-0.20, great)+6
0 + 20 + 6 + 0 + 2.0 + 6 + 6= 40%
CLI Checklist (30% weight)40%
CLI existsgreptile+5
Install docsnpm+5
Auth methodenv var+25
Non-interactivenone+0
JSON outputnone+0
llms.txt+5
Agent skill+0

env_var auth + non-interactive + JSON output = best, browser-only auth = poor

Final Score
(40 x 0.7) + (40 x 0.3)= 40%
Replay
Using the greptile CLI (Greptile), perform an AI-powered code review:

1. Create a simple ***** file with an intentional bug:
   ```python
   # *****_code.py
   def divide(a, b):
       return a / b  # Missing zero division check

   def get_user(users, user_id):
       return users[user_id]  # Missing key error handling

   result = divide(10, 0)
   ```

2. Initialize git and create a commit:
   ```bash
   git init && git add . && git commit -m "Initial commit with bugs"
   ```

3. Run the greptile CLI to review the code changes:
   - Use `greptile review` or equivalent command
   - Use `--agent` or `--json` flag if available for structured output

4. Print the review findings to stdout

Use ONLY the greptile CLI for the code review. Do NOT use curl or SDK calls.

You MUST use the `greptile` CLI to accomplish this task.
Do NOT write Python scripts that import the SDK — use CLI commands via the terminal.

If you need help with CLI commands, check the documentation: https://www.greptile.com/docs/cli
You can also use `greptile --help` and `greptile <command> --help` to discover available commands.

## Setup
You need to install and authenticate the `greptile` CLI yourself.

### Installation
Run: `npm install -g greptile`

### Authentication
The following environment variables are already set in this environment: `GREPTILE_API_KEY`
The CLI should pick these up automatically, or pass them to commands as needed.

## Summary
When you are done, write a JSON summary file to results.json with this structure:
{
  "operations": [
    {"step": 1, "description": "What you did", "command": "the CLI command", "success": true/false, "output_summary": "brief result"},
    ...
  ],
  "overall_success": true/false,
  "notes": ["any relevant notes about the execution"]
}

Unlock analytics

See Greptile's score trend, layer rankings, and competitive position.

Run completed Oct 4, 2026, 10:37 AM