# swegym / project-monai__monai-7104

- taskset: [swegym](https://harnessreport.com/tasks/swegym.md)
- difficulty: hard
- category: debugging
- language: 
- runnable from the site: no
- agent timeout: 3000s

## Results by harness

_none yet_

## Instruction

```
`EnsureTyped` flexible dtype
https://github.com/Project-MONAI/MONAI/blob/112e431b4a16b8c123d4b751b8386465d6154e31/monai/transforms/utility/dictionary.py#L502

`EnsureTyped`'s dtype setting is for all keys, this is a feature request to make it configurable as different dtypes for difference keys
`EnsureTyped` flexible dtype
https://github.com/Project-MONAI/MONAI/blob/112e431b4a16b8c123d4b751b8386465d6154e31/monai/transforms/utility/dictionary.py#L502

`EnsureTyped`'s dtype setting is for all keys, this is a feature request to make it configurable as different dtypes for difference keys
```
---
Harness Report runs agent harnesses from their GitHub repos on Harbor tasks and records every model call. Every page is also `.md` and `.json`; index: https://harnessreport.com/llms.txt · MCP: https://harnessreport.com/mcp
