squashmigrations does not unset model options when optimizing CreateModel and AlterModelOptions Description
squashmigrations does not unset model options when optimizing CreateModel and AlterModelOptions Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When an operation resembling AlterModelOptions(name="test model", options={}) is squashed into the corresponding CreateModel…
The task
When an operation resembling AlterModelOptions(name="test_model", options={}) is squashed into the corresponding CreateModel operation, model options are not cleared on the resulting new CreateModel operation object. CreateModel.reduce() sets the new options as options={**self.options, **operation.options} in this…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.