num required args always returns 0 for functions with parameters
num required args always returns 0 for functions with parameters: a task in repo2rlenv-swe-smith (Harbor dataset). num required args incorrectly returns 0 for functions that have one or more required positional parameters. The function should return the count of parameters that have no default…
The task
`num_required_args` incorrectly returns `0` for functions that have one or more required positional parameters. The function should return the count of parameters that have no default value and are not `*args`/`**kwargs`, but it is instead returning `0` regardless of the actual signature.
Part of FineEnvs/repo2rlenv-swe-smith.