File size: 435 Bytes
32445fd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import asyncio
from env.environment import CICDDebuggerEnvironment

async def test():
    env = CICDDebuggerEnvironment()
    obs = await env.reset()

    # 🔥 APPLY CORRECT FIX
    env._state.current_config = env._state.task.expected_config

    obs, reward, done, _ = await env.step({
        "action_type": "submit_solution",
        "payload": {}
    })

    print("Reward:", reward)
    print("Done:", done)

asyncio.run(test())