Spaces:
Sleeping
Sleeping
File size: 1,170 Bytes
1649450 bcb87ef 1649450 5ff55bb 1649450 5ff55bb 1649450 bcb87ef 1649450 bcb87ef 1649450 bcb87ef 1649450 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | name: code_review_env
version: 1.0.0
description: Code review environment with 5 tasks, multi-turn interaction, and code fix proposal
author: yuvraj gupta
license: MIT
tasks:
- id: easy
description: Add a helpful comment about missing null check
- id: medium
description: Suggest using enumerate for efficiency
- id: hard
description: Point out division by zero risk with empty list
- id: harder
description: Identify race condition in multithreaded counter
- id: hardest
description: Detect potential deadlock in lock ordering
observation_space:
type: object
properties:
pr_title:
type: string
pr_description:
type: string
code_snippet:
type: string
comments:
type: array
items:
type: string
test_results:
type: string
step:
type: integer
done:
type: boolean
action_space:
type: object
properties:
action_type:
type: string
enum:
- write_comment
- skip
- done
- ask_question
- propose_fix
comment_text:
type: string
question:
type: string
fix_code:
type: string |