release v1: 65 held-out tasks, 78 bootstrap records, r2e_local adapter, manifest ae94c40b (part 4)
622387b verified Download heldout_pool/beetbox__confuse-d182a8c39c53/solution/patch.diff from Benjamin-eecs/openrsi-commit-runtime-assets: direct link, hf CLI and curl.
- Browser
- Download file 780 Bytes
-
https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/beetbox__confuse-d182a8c39c53/solution/patch.diff
- Command line
-
hf download hf://datasets/Benjamin-eecs/openrsi-commit-runtime-assets/heldout_pool/beetbox__confuse-d182a8c39c53/solution/patch.diff
-
curl -L -o patch.diff https://huggingface.co/datasets/Benjamin-eecs/openrsi-commit-runtime-assets/resolve/main/heldout_pool/beetbox__confuse-d182a8c39c53/solution/patch.diff
780 Bytes
| diff --git a/confuse.py b/confuse.py | |
| index eb48488..52c472b 100644 | |
| --- a/confuse.py | |
| +++ b/confuse.py | |
| def config_dirs(): | |
| if platform.system() == 'Darwin': | |
| paths.append(MAC_DIR) | |
| paths.append(UNIX_DIR_FALLBACK) | |
| + if 'XDG_CONFIG_DIRS' in os.environ: | |
| + paths.extend(os.environ['XDG_CONFIG_DIRS'].split(':')) | |
| if UNIX_DIR_VAR in os.environ: | |
| paths.append(os.environ[UNIX_DIR_VAR]) | |
| def config_dirs(): | |
| else: | |
| # Assume Unix. | |
| paths.append(UNIX_DIR_FALLBACK) | |
| + if 'XDG_CONFIG_DIRS' in os.environ: | |
| + paths.extend(os.environ['XDG_CONFIG_DIRS'].split(':')) | |
| if UNIX_DIR_VAR in os.environ: | |
| paths.append(os.environ[UNIX_DIR_VAR]) | |