HF RL Explorer

shrinkuser fails to replace the home directory with ~

shrinkuser fails to replace the home directory with ~: a task in repo2rlenv-swe-smith (Harbor dataset). boltons.pathutils.shrinkuser is supposed to replace the leading home-directory portion of a path with ~ (or a caller-supplied token). When given exactly the home directory path, it returns the…

The task

`boltons.pathutils.shrinkuser` is supposed to replace the leading home-directory portion of a path with `~` (or a caller-supplied token). When given exactly the home directory path, it returns the raw absolute path unchanged instead of `~`.

Part of FineEnvs/repo2rlenv-swe-smith.