Commit e2bba55
fix(cli): write correct dict format for --task in run command (#24)
WAA's run.py expects test config as {domain: [task_ids...]} dict, but
--task wrote a bare JSON array [task_id] causing TypeError when run.py
indexes by domain string key.
Now looks up the task's domain from test_all.json inside the container
and writes the correct {domain: [task_id]} format.
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent 0f5820a commit e2bba55
1 file changed
Lines changed: 15 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2136 | 2136 | | |
2137 | 2137 | | |
2138 | 2138 | | |
| 2139 | + | |
| 2140 | + | |
2139 | 2141 | | |
2140 | | - | |
2141 | | - | |
2142 | | - | |
2143 | | - | |
2144 | | - | |
| 2142 | + | |
| 2143 | + | |
| 2144 | + | |
| 2145 | + | |
| 2146 | + | |
| 2147 | + | |
| 2148 | + | |
| 2149 | + | |
| 2150 | + | |
| 2151 | + | |
| 2152 | + | |
| 2153 | + | |
| 2154 | + | |
2145 | 2155 | | |
2146 | 2156 | | |
2147 | 2157 | | |
| |||
0 commit comments