ResolverMatch. repr () doesn't handle functools.partial() nicely. Description
ResolverMatch. repr () doesn't handle functools.partial() nicely. Description: a task in Lego-RL-SWE-Bench-Verified (Harbor dataset). When a partial function is passed as the view, the repr shows the func argument as functools.partial which isn't very helpful, especially as it doesn't reveal the…
The task
When a partial function is passed as the view, the __repr__ shows the func argument as functools.partial which isn't very helpful, especially as it doesn't reveal the underlying function or arguments provided. Because a partial function also has arguments provided up front, we need to handle those specially so that…
Part of Lego-X/Lego-RL-SWE-Bench-Verified.