madhanavel-dev/openenv-code-review-agent
0
title: Code Review OpenEnv Environment emoji: ๐ง colorFrom: blue colorTo: purple sdk: docker app_port: 7860 ---
Code Review OpenEnv Environment
Description
This project simulates a real-world code review task where an AI agent analyzes code and identifies bugs or security issues.
Tasks
The environment includes three tasks:
- Easy โ detect syntax errors
- Medium โ detect SQL injection vulnerability
- Hard โ detect hardcoded password security issue
Observation Space
The agent receives a code snippet that must be reviewed.
Action Space
The agent outputs a text review comment describing issues in the code.
Reward Function
Reward is based on correctness of the review.
Score range:
0.0 โ incorrect 0.5 โ partially correct 1.0 โ correct identification
Running the Project
Install dependencies:
pip install -r requirements.txt