another option here is to use `get` to provide a default value if the key isn't set:
```
scores.get('criterion_name', []).append(part.option.points)
```