Eishaan commited on
Commit
2cccbf9
·
1 Parent(s): 6bb57d8

Fix: max_steps consistency + all pre-submit fixes

Browse files
Files changed (1) hide show
  1. server/app.py +4 -4
server/app.py CHANGED
@@ -107,19 +107,19 @@ async def list_tasks() -> Dict[str, Any]:
107
  "name": "column-restructure",
108
  "description": "Merge first_name and last_name into a single full_name column without data loss",
109
  "difficulty": "easy",
110
- "max_steps": 15,
111
  },
112
  {
113
  "name": "table-normalization",
114
  "description": "Decompose a flat purchases table into normalized customers and orders tables with FK",
115
  "difficulty": "medium",
116
- "max_steps": 15,
117
  },
118
  {
119
  "name": "cascade-migration",
120
  "description": "Multi-table FK cascade with type coercion, NULL handling, and orphan audit logging",
121
  "difficulty": "hard",
122
- "max_steps": 15,
123
  },
124
  ],
125
  "action_schema": {
@@ -154,7 +154,7 @@ async def grade_task(
154
  "initial_score": max(0.0, min(1.0, obs.migration_progress)),
155
  "grader_functional": True,
156
  "reward_range": [0.0, 1.0],
157
- "max_steps": 15,
158
  }
159
  env.close()
160
  except Exception as e:
 
107
  "name": "column-restructure",
108
  "description": "Merge first_name and last_name into a single full_name column without data loss",
109
  "difficulty": "easy",
110
+ "max_steps": 20,
111
  },
112
  {
113
  "name": "table-normalization",
114
  "description": "Decompose a flat purchases table into normalized customers and orders tables with FK",
115
  "difficulty": "medium",
116
+ "max_steps": 20,
117
  },
118
  {
119
  "name": "cascade-migration",
120
  "description": "Multi-table FK cascade with type coercion, NULL handling, and orphan audit logging",
121
  "difficulty": "hard",
122
+ "max_steps": 20,
123
  },
124
  ],
125
  "action_schema": {
 
154
  "initial_score": max(0.0, min(1.0, obs.migration_progress)),
155
  "grader_functional": True,
156
  "reward_range": [0.0, 1.0],
157
+ "max_steps": 20,
158
  }
159
  env.close()
160
  except Exception as e: