diff --git "a/facebookresearch__hydra-2290/docstore.json" "b/facebookresearch__hydra-2290/docstore.json" new file mode 100644--- /dev/null +++ "b/facebookresearch__hydra-2290/docstore.json" @@ -0,0 +1 @@ +{"docstore/metadata": {"/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/__init__.py__": {"doc_hash": "2474597e2948f8ca17c9e986082260512166807a47678c0f3ef54bae2d53918f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/bin/__init__.py__": {"doc_hash": "22eaa98ffa2a7207d531dbafd38b08795af59a4a9b11803229fdca2b8a3e970c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_codecs_matches.return.False": {"doc_hash": "de7d2f9cd06b06fb88a00e00c774f7cb1cbd38d3ca1cefa05f2d671bb7ddde99"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_find__find.return.find__": {"doc_hash": "950ffe6e8aabc3200bbba44e6a927e359fef7db22cca6c476442a78d2d119ec4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_CleanCommand_CleanCommand.finalize_options.pass": {"doc_hash": "95690b7dd79f894a582ff13388d5ae5a9d150a3b92da98fded86fae5c29c3e98"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_ANTLRCommand_": {"doc_hash": "89e96c53713ee2ed822e8a9d16e38dc0508e57583e05dcd1e67a28345256b669"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_os.path_test_find.assert_ret_set_expecte": {"doc_hash": "d5d8f1d411d8201d18e731be14564650c959d51fcaead3673e5f0e58ac38b469"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_test_matches_": {"doc_hash": "4efdbdec0455c9ce9cac893e97f1935e5aeabe80484cd5a70ed9cab54db3ea38"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ad_hoc_composition/hydra_compose_example.py_from_omegaconf_import_Ome_": {"doc_hash": "319875e55fbb670dae762897be508e366a60df5ed1961da31988e114c360e608"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/__init__.py__": {"doc_hash": "d0dc14f83e71e65ab7b60f2911bca392380886bb3cc922c0c93779b2c82bb736"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/conf/__init__.py__": {"doc_hash": "650c82883f0c3b8102ac52d6b0d60403d03491490c1c394706dcc2e54ae26ea0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/main.py_from_typing_import_Any_": {"doc_hash": "d8804cb7cfa4df90149dc7d65fb69c4f58dc79b83a3335db7eb7dfcb5faf9033"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/setup.py__usr_bin_env_python_": {"doc_hash": "da37ff23475ccf5bfd31b97c8126a2c41658ede23db156d72ad4f04279b274db"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/__init__.py__": {"doc_hash": "cdd99d4b10dfdc441deb659a0b6f8f90b321c8d0207d4e2eefa2a5807a94f1ca"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py_unittest_TestWithUnittest.test_generated_config.with_initialize_config_mo.assert_cfg_": {"doc_hash": "d3da0c8277f857d06a1d1ab02e5f501964a5fc330c6bd20e02ba7febf758cc37"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py__This_example_drives_som_": {"doc_hash": "4ed64020cc9190d0bf333675d9a257cb0aeb091e8216b818aeba02764d89788e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_installed_app.py_re_": {"doc_hash": "d1dac9f0d0da359e86b5b802c7aac09705df59354de492d06e18ad1e8fee466a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/simple.py__": {"doc_hash": "797f1baa42d1dc906bb164b2f009887ac230495c007dfd59023b4e9e76706f0b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/two_packages.py__": {"doc_hash": "adf10876723d6c81886082ec6eb2362127c6117fe629574e38bf0dc410721269"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ray_example/ray_compose_example.py_time_": {"doc_hash": "27437fe524be9c8dd00a05f63202917e3ac86b0a92d69ea756efbccb01a4395f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/custom_help/my_app.py__": {"doc_hash": "a2fdca80cd425b303300ccdf5039b71850f6fffa67c6f43de36ca74b3d289a5c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/no_config_file_override.py__": {"doc_hash": "d59bab9479a427e3545f2b4e090caf35776729379eb2780b54f2d8308cba28b5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/with_config_file_override.py__": {"doc_hash": "73e4de8fa5ff6e49033fa780a8e8655bac322388e046152aa65f315ff9e480c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/logging/my_app.py__": {"doc_hash": "91bb8fe5496da903127bd853f3c016a2b6568183938b2310f693ae9a55c93ddb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/jupyter_notebooks/cloud_app/conf/__init__.py__": {"doc_hash": "d892c9dfda6a34aff4e589f1618ae72b056d14c3e51c7893bbf0c779ad91ad5a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/specializing_config/example.py__": {"doc_hash": "92ff58e3e97b6bc01f708b5eadb81fcee0c3a06368c15aeb9faa83382556a407"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/write_protect_config_node/frozen.py_from_dataclasses_import_d_": {"doc_hash": "8562a7185ff3e26b1e4c96334b291ade8c24697cc8bf03d09597d34cda469773"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/my_app.py__": {"doc_hash": "ccb8c4454a48fd25d56680a4a45661b7449692a8f5ba9e609adc45bfd5b918de"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/original_cwd.py_os_": {"doc_hash": "dc490bd1e4110be55af11b656a85859c45d224afc44fb245e430ae03eba398f9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/4_logging/my_app.py__": {"doc_hash": "d6c51a077f584e9ed734eb89980f5029975a4eedce15eac8e9bfceb7e6b32d9c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/1_simple_cli/my_app.py__": {"doc_hash": "62d81fdbb7aadb13ff9a99ffc9fe1a3541681262f4189c15f14ec8e66d352257"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py__": {"doc_hash": "52f3a249bd7937f1ec7b1df0fb4b9074d92899f25297df765ecd0019f77e2562"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/4_config_groups/my_app.py__": {"doc_hash": "9de8a6d4f48b8b35787a1922d1876a5666acf3699746825fa79110493b4738a7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py__": {"doc_hash": "f68c4ca05074c59302db7092e6e0cfb32f33ee35f5453c8bce765538825f03a2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py__": {"doc_hash": "d98c2cb1e11ff9cacba345e266af8a448a1ab2081f1fa1fc401ed5a168bf640d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app.py_from_dataclasses_import_d_": {"doc_hash": "ccbd913729fb30b48ec8bafe5d830417e1f880b04016e5a7f50ebe8ea73f2a38"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app_type_error.py_from_dataclasses_import_d_": {"doc_hash": "a3baac4d8b2b69b0934a6ac48050ff6d3e8e2c4ea33d6b3d2add0b55142f4b30"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/2_static_complex/my_app.py_from_dataclasses_import_d_": {"doc_hash": "2367c301611457eab6a2b6af97bdde621265b5b049917f2dd3a3c18c42dac77c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app.py_from_dataclasses_import_d_": {"doc_hash": "577bebd1988e42c089095dc52c1ac89f875b03f3b12b49909e13521d8f179ea4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app_with_inheritance.py_from_dataclasses_import_d_": {"doc_hash": "9c36f7dcb661a7957155fb708ae7b22622f08d6453e0b94fe1a4b82161405a45"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/4_defaults/my_app.py_from_dataclasses_import_d_": {"doc_hash": "f598c9d0b72304ffee5bb701d92322ed37559fdd2f0a7add0631496e673c14af"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/__init__.py__": {"doc_hash": "2ef07d531efa0fc2b4a2afa953460820493f353c091670dbd26630589c760c14"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.load_configuration_ConfigLoaderImpl.load_configuration.try_.except_OmegaConfBaseExcep.raise_ConfigCompositionEx": {"doc_hash": "046cc3fb44a283db00154e33f1ec72ed8393402db4254af77af683efb40e6d5c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository.load_config_ConfigRepository.load_config.return.ret": {"doc_hash": "fe96665c7bb955385b834d82b33af51837f429e369784395b68607065cbb6fc6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_from_typing_import_List__ConfigSearchPathImpl.find_match.return._1": {"doc_hash": "ca3e403dff71c031f6397abb472def2dfede6a34a543cdc50bda59fa8d8c6766"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.append_ConfigSearchPathImpl.append.if_anchor_is_None_.else_.if_idx_1_.else_.self_append_provider_pat": {"doc_hash": "8d3638b7d7ea6c8ff651a38477768b5e270482eef5153f7e9e468cd4ec747c76"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.prepend_": {"doc_hash": "abfcc7993ceb3eb54e57da41d4d5a094b3007cf2a486da305ee6496deb6e5937"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/__init__.py__": {"doc_hash": "5901ea8b2da5e9debad274be9491e221be1f642d3e852d51fdfcaeb82e2df483"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_logging_BashCompletion.install.print_script_self__get_": {"doc_hash": "953cf25b2836f3209ca129ebcd5e4a0d447a97a14cb3aa774d2bdf76f7cd99b4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_BashCompletion.uninstall_": {"doc_hash": "55066c053f439f3d9ac849410c8ddac8b30dfccb5e5677aa8df4c7472a599979"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_logging_ConfigStore_instance_st": {"doc_hash": "7162743d2827fe67aff129ef25c9cb1e445d70fa64d9fa9b23cd4c2072c387bf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_BasicLauncher_": {"doc_hash": "1f48b43d294964f9dbb870204e6ec496b6da525cd43e90db206e2b4d03d8f19d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_itertools_log.logging_getLogger___name_": {"doc_hash": "1001da4f986497e347c26d31a27d0c77aa23706c73452b3bb719c08677960233"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper_BasicSweeper.split_overrides_to_chunks.for_i_in_range_0_len_lst.yield_lst_i_i_n_": {"doc_hash": "4c9741d796c750907169800cccd0b38742cff2668a70391269b78cb158bc5593"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper.sweep_": {"doc_hash": "43bce87fde040458464163462ddbf242d5f3d045b03f741f11c2c8486ca72f73"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/file_config_source.py_FileConfigSource.available_": {"doc_hash": "4e5a66374ca20c857e547a874321b50628ea2eb01cb5202a8416226c8657e184"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_logging_FishCompletion.install.print_join_reg_cmd_": {"doc_hash": "73ca1b0e38825c07fb3afd8f56257949c766d001a23830c0656e6e8e98349d70"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion.uninstall_FishCompletion.help.return.f_sc_command_fish": {"doc_hash": "a5625b914ad24d3526a2885a140369e0bc38f47af03b15a690a59211f4bf4538"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion._get_exec_": {"doc_hash": "e7c68d717a7a25755be26af2c4497944a656d3572f7ebe8b88bd9ca4e0e2c503"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/__init__.py__": {"doc_hash": "79e298d32f9584c19a12401f55121b55f57ee2f1714b2453a398b8eb4ecd5cf4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/functions.py_inspect_": {"doc_hash": "61063c9838b251bdbe11588c2fd7a271cae7c8f0002466ead254b0ae2b8d5f03"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_builtins__list_to_simple_choice.return.ChoiceSweep_list_builtins": {"doc_hash": "432e636938424084206158b43f94eee60d5fe29bb372dace86fc9730461b3b77"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__normalize_cast_value__normalize_cast_value.assert_False": {"doc_hash": "7f4d86b57acdf3950bf84404113ab1689b4ea8e33ace4b629cae1dda08a913eb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_int_cast_int.return.int_value_": {"doc_hash": "5b5c1fd3dd46c4fd0d3b059293ce9c1dbfa9cb321d51813d1c206d69925acebf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_float_cast_float.return.float_value_": {"doc_hash": "ade5011aca321273676df768ec86b5ea60955d3acabb4e95ee91e46907d1896d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_str_cast_str.if_isinstance_value_bool.else_.return.str_value_": {"doc_hash": "81e3eba4eb1e0a8c995a28a11fde117741d5b2030a815773a3f8afc51a7ac9b1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_bool_cast_bool.return.bool_value_": {"doc_hash": "76818c61feca49ab9c7a3277a3bf03a4be87304a82cafecfb7b7b5c663988b06"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_choice_choice._type_ignore": {"doc_hash": "65b8ba0b12975c76d56b632cb5b70d8af6e50d1c139d49e4868408264984734e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_shuffle_shuffle.if_len_args_1_.else_.return.simple_choice": {"doc_hash": "53ad956df2655d0d89ab660ce97ec596f074aba3c7411d5ccd2e85ec1777aa54"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_sort_sort.if_len_args_1_.else_.if_len_args_0_.elif_len_args_1_.return._sort_sweep_cw_reverse_": {"doc_hash": "1281632355a82b656854b31e944fe7aa62ea06228d04b19e5f7630b24ecd3e19"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__sort_sweep__sort_sweep.if_isinstance_sweep_Choi.else_.assert_False": {"doc_hash": "b0e42868ee63fbc5d30e9ba04cee296c144883e6063798d8478be8b5d9630d8d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_glob_": {"doc_hash": "ab4bbbf5903467582721815bdefc622a26bcb36088a612e11df59abc8524ca7e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_copy_log.None": {"doc_hash": "8efa7cb499a316b078017bdb5561ba83dd0aa64f3e015f1822c2c6a444b0d9be"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_shell_to_plugin_map_Hydra.get_shell_to_plugin_map.return.shell_to_plugin": {"doc_hash": "dd6552be23cd5274fb5488c875edfff28989ac07f7d5d0f039f21e1feeac63f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_args_help_Hydra.list_all_config_groups.return.groups": {"doc_hash": "f136273815f5c7496b65e3f35514cac38c0f41955aad5fe6e62295a3ccf0935e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_config_groups_Hydra.format_config_groups.return.s": {"doc_hash": "55e60682fce43e6cc279dccf229a6d2b0cf085ad7da118bdcb9e23549135235c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_help_Hydra.get_help.return.help_text": {"doc_hash": "789c31dbba089e6a1519c86f2056017a0c3cf767c728bbb5711623f501f5d5d6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.hydra_help_Hydra.hydra_help.print_help_text_": {"doc_hash": "d394fafba992fdbb5ee5b5c5e3e2a4caea9491a8255586b57cde825379af8b85"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.app_help_Hydra._log_footer.log_debug_prefix_lju": {"doc_hash": "b36005bbcb09aff1cc6ce3e2e6785e10b068fc19de553113e5fa9b4cd5784748"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_Hydra._print_plugins.if_len_all_plugins_0_.for_plugin_name_in_all_pl.log_debug_t_t_format": {"doc_hash": "a813ca4a2a26090bf214e807b7b29cd0c2338823f09d253ed34b1393b66449ef"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_search_path_Hydra._print_search_path.self__log_footer_header_h": {"doc_hash": "b0644e3ac321c3a09f6492a3148cef1e67519006af10af0dfea2c9a3d7c4c70f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_profiling_info_Hydra._print_plugins_profiling_info.self__log_footer_header_h": {"doc_hash": "5c7c4ba1294d515d978164eef09f41e2eb0ce7d60974e182f3783d1bf62a1ec9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_debug_info_Hydra.compose_config.return.cfg": {"doc_hash": "d97aad392b379c4d8dd6829f45dd20d1ea76ceb652eb3e89b5977d1f4492ff33"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/sources_registry.py_from_typing_import_Any_D_": {"doc_hash": "3a235ca2b9c30d88695ba72d12fe95b2b02f0ce1ae66105e469cc42ed4b0a278"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_argparse__get_module_name_override.return.None": {"doc_hash": "7d0683f18f33fcfc6146b1855d6d5ea500edf9ec9bdaa3426733b2a935b5e347"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_task_function_detect_calling_file_or_module_from_task_function.return.calling_file_calling_mod": {"doc_hash": "e93e2e838737833a05fb164a2f7fcb0ecb213b900494240cdc1356bf836748d3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_stack_frame_detect_calling_file_or_module_from_stack_frame.return.calling_file_calling_mod": {"doc_hash": "b53be266abf1b7beb89c442c8e1222a39666e0fc8482e32584b4e24357645935"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_is_notebook_detect_task_name.return.task_name": {"doc_hash": "62d2cc0e2944ac59dd3bcb5e013a08853b54b9520a370d7a1aed677db4ceae4b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_compute_search_path_dir_compute_search_path_dir.return.search_path_dir": {"doc_hash": "c4f86ded99e5ad35aea181e0e43d9a7d781833d0109233994b6d0bd7284082cd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_run_and_report_run_and_report.try_.except_Exception_as_ex_.sys_exit_1_": {"doc_hash": "ca0adeaf60f2e39c947133e72bdac1dd82036e60abdccc4f658b3bd1110e0149"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__run_hydra__run_hydra.try_.finally_.GlobalHydra_instance_cl": {"doc_hash": "d74aaa061e24a3916ef1cb8d0f01cb6c1f74c420edd82b660efefbc152b678de"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__get_exec_command__get_completion_help.return.completion_help": {"doc_hash": "034a3cb38aa5c77027866eaebd81de720ca2d807bd08ab85956c4b0d5342f295"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_get_args_parser_get_args_parser.return.parser": {"doc_hash": "22984412eba270b20cb0d56ebd8b2f1d990afe55106e15ad499e03167806d0d9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_from_dataclasses_import_d_OverridesConf.task.field_default_factory_lam": {"doc_hash": "4a3905c7c0f3e5b55b0e50f29009488431fc24e0f4a9a1adced41afa6e02a439"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_HydraConf_": {"doc_hash": "6ec88c8a7839877182b35d94e55a61533805adc607af2a54dd9afb1bd7b9f9fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/__init__.py__": {"doc_hash": "815ccd2b3ed2fb5ad18ed75dae3007457985c4c538aac21857c45cbafd7d762b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_loader.py_from_abc_import_ABC_abst_": {"doc_hash": "cdb5e97eb341e6aa2a89b62f1ff7e280aaa12814e2f3e2bfce5d40d70fc8fc5a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_from_abc_import_ABC_abst_SearchPathQuery.path.None": {"doc_hash": "66797e98b5c2c6fd671596e64fc78a398bec2e4359c6639fa5e4e1b83233c0c2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath_ConfigSearchPath.append._": {"doc_hash": "ed7ea589a18be044f77ca8fe66a346147a3bd8a9213fc8615ae04750d352ed61"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath.__": {"doc_hash": "d21d6673a54bf7028a380f3c7ab9c7e0490cf594f5d8c6b645eca36d875b22f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_copy_ConfigNode.provider": {"doc_hash": "3b970f6e6fb2d0d46ff51118a5e19b8b202cb8411bcbed3ee8999c57cc489284"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore_ConfigStore.store.cur_name_ConfigNode_": {"doc_hash": "6c138fc77cba9ac60aaf864ac18d20a058f8e3e32b074579392a188217f9cd4a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.load_ConfigStore._load.if_idx_1_.else_.return.ret": {"doc_hash": "e4587bbe387208e0cec9ae8838ce9784ab72308ae1f4a5fb21a4b8ff138ee547"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.get_type_": {"doc_hash": "8441c5e32fda0b408299e4a84b258da40ac570e96c844a3bded0be4aeaf4216f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/global_hydra.py_from_typing_import_Any_O_": {"doc_hash": "c90fd1e018b0fbaf40a085dae038aa7a6108be6aa45f228df5d37fec56b27819"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_from_typing_import_Any_O_HydraConfig.set_config.None_6": {"doc_hash": "c7e495700009afea434c98f73c3aa9c84ef3633ca190c9cddd159289d489ee8c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_HydraConfig.get_": {"doc_hash": "57474a70fd3412fe45b47daf6ee7109263ed39add3fbbc78bd573f8b2a07e88c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/object_type.py__": {"doc_hash": "c3739107681a15cc09e5caa0f38161af95fbdc3c0e24bc07e739d3d1dc000c18"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/__init__.py__": {"doc_hash": "8786bf2639c6a16ecfc637a888bdff3bb7c740ddc22bbeb471d44d605e52ab7d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_create_functions_": {"doc_hash": "5c5c02272291b0dc67083a03355e7508afc7e64eb1cc344ffa4ae1c051f2b96c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_sys_try_.except_ModuleNotFoundErro.sys_exit_1_": {"doc_hash": "74a52a5727df500bc24f4603c71263ad8eaef994696f123a87515ee35bec2e98"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitOverride_HydraOverrideVisitor.visitOverride.return.Override_": {"doc_hash": "5af61ca42850b1d52ecbd35502be2f33d3d0d076dc6d47afa3b924d44b895898"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.is_matching_terminal_HydraOverrideVisitor.visitSimpleChoiceSweep.return.ChoiceSweep_simple_form_T": {"doc_hash": "0b61ce7525479095fc80cec58a4afd8badc55eafa70bb683c095543cacc8e570"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitFunction_HydraOverrideVisitor.visitFunction.try_.except_Exception_as_e_.raise_HydraException_": {"doc_hash": "f411e313f678f8a1cf91416622e207747b1d38bd0a1ca625747afc02a7290a20"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraErrorListener_": {"doc_hash": "e27bf3edd87a85b3aad0375b9e198654da4cd866f0cf9ed50e8729889f83eabc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_RangeSweep_RangeSweep.range.if_.else_.return.FloatRange_start_stop_s": {"doc_hash": "3a033fafbe76ab6a8859d5397ef6fe311ad7a01343d95cba1c2e942d04d21a2b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override._get_value_element_as_str_Override._get_value_element_as_str.if_value_is_None_.else_.assert_False": {"doc_hash": "4d4e979b5f1a58c1f1bde5f9e50fe687bb8e997e624141911783470668b9218b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_importlib_ScanStats.modules_import_time.field_default_factory_dic": {"doc_hash": "36d78efddc93394782e6491ef4447cd565a3ab74ee99bf9a79ed9825d7d1327f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins_Plugins.__init__.self__initialize_": {"doc_hash": "218db12707a2cd688e81b55675321d5b45bab2974db9bf2479664f47dbf223d9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.get_stats_": {"doc_hash": "58db29971b8fcce1f5828ba82de015d400a58c189dda4891364d168db09bd66b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_copy_simple_stdout_log_config.root_addHandler_handler_": {"doc_hash": "e5656df57f4ae56c3d0dd8babbeae7a9c8b608056c10385d5a00791f89d0b9e5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_configure_log_configure_log.if_isinstance_verbose_con.else_.for_logger_in_verbose_lis.logging_getLogger_logger_": {"doc_hash": "670243b8a6206f9b300c34c03d59d15d408bdb389bed8411a7f1c124996214fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py__save_config_filter_overrides.return._x_for_x_in_overrides_if_": {"doc_hash": "cc0ea7b7bd30a4172ec982424a47cea9a94d222070c9ded0ccbf38454fb200b1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/errors.py_from_typing_import_Option_": {"doc_hash": "32ae1dc2fc5b4801653db38afc9ead2694bed722409ad6c9a89bf3055b8c2cee"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/__init__.py__": {"doc_hash": "453b303bd7d70b4085e70489e72aae7108b051b7c4142f5969b786afb116aad7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_copy_restore_gh_from_backup.if__gh_backup_is_None_.else_.Singleton__instances_Glob": {"doc_hash": "af01ea7495ef0543ed581b5dc1a0b56512042742410eb781ab02147ae925f863"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_initialize.__repr__.return._hydra_experimental_initi": {"doc_hash": "d4827d375054d292b442167786659b259018b219d146bd0f7d73d9eee72c0a89"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_module_initialize_config_module.__repr__.return._hydra_experimental_initi": {"doc_hash": "db1a85c4399eb4435f167276fee83dde8bc2805ca425fc3ea18779d66bec87a0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_dir_": {"doc_hash": "f7fbc11516f4933c151838596978212bfff6acaffdfe28481c4e49b941b1c90d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/extra/pytest_plugin.py_hydra_task_runner_": {"doc_hash": "29af10e97993ac23822f7f311838344aa495ff61e786660c69320cfd06e56f46"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/grammar/__init__.py__": {"doc_hash": "1c27efe785c4d1585e44d6eaa2a102e2aa3d55c3b214b8cd19c6a942e94b8a5f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/__init__.py__": {"doc_hash": "fbaf011c9e432ecbf70954f7eabdfee858a36f948d389133c201e1d33ff7a48d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_os_CompletionPlugin.help._": {"doc_hash": "f3a5b92a93134650c6f422aef081786463aab23313b885e486a10a7873bbfa0c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_filename_CompletionPlugin.complete_files.return.ret": {"doc_hash": "5ae86c034c73daade8f6f5e3f29c50dd3f85de137c30517dd9d48f49a53b4178"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_matches_CompletionPlugin._get_matches.return.matches": {"doc_hash": "57363a92965957dc42421fb74737be952899c4b1d82258f6f8d7b8069c9219ce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_config_groups_CompletionPlugin._query_config_groups.return.matched_groups_exact_mat": {"doc_hash": "c4843c2069b81cc210fdd145ab85c5ea60a53c8e88ddea4e109b872709851d44"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_CompletionPlugin._query.return.sorted_result_": {"doc_hash": "5e0ad624acc3139bcd41dbadd9b65cfc7d5faa31802ffe0cfbe8448cd78a33d0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin.strip_python_or_app_name_": {"doc_hash": "51a019c59dc4c2c707311e4700e75422f02435ab1071fa08c0036482245086fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource._list_add_result_ConfigSource._list_add_result.None_1.files_append_file_name_": {"doc_hash": "59579dfdf117dfa4e5a26985fcb6f85fe58afb8bc13e397e565b658eef16cc4c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/launcher.py_from_abc_import_abstractm_": {"doc_hash": "f1aef456de61d1f1193e05e9cafe5a94824f076e897b069838ca16828dfcbfb1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/plugin.py__": {"doc_hash": "1fc3c1f35681cccc186654bdac875ddf07c783c69c9c59ab819d3a83e91bcf2c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/search_path_plugin.py__": {"doc_hash": "667ce2b873b4a48f498ddeb0fdd1d5725f765670748b3ea0c40572ab3c01ee22"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_from_abc_import_abstractm_Sweeper.sweep._": {"doc_hash": "9faa38c8a00601ffc1faede6932905fe383370fdb0e6ec0bb01e093356590f70"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_Sweeper.validate_batch_is_legal_": {"doc_hash": "52791fc1923fce486fc3db1a2debece7c98dab173a61bfbfd5b030662118eaae"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/__init__.py__": {"doc_hash": "72f1e4ad329cbda93f1a44f8b783c2bded52f6f52082d4e1e8a9952c9e12c352"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/a_module.py__": {"doc_hash": "d4080ce285047d0e7412d2658660b7a0e04d20c2f394bb6981729621b2f5c351"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/completion.py__": {"doc_hash": "a04564d1fb7b5851c1a2eacc1655d1050236c3a634fa0d20171066c0c1609752"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_is_config_ConfigSourceTestSuite.test_is_config.assert_ret_expected": {"doc_hash": "9f813f83229e9844d2bf34b57ddbcea378435012eac0da1b8a5f32fd3cb2b52f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_list_ConfigSourceTestSuite.test_list.assert_ret_sorted_ret_": {"doc_hash": "f52f7a0d4c08a18b808e089cce283b118a14fa24c7941fe1ef1972b47bd4dafa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_package_behavior_ConfigSourceTestSuite.test_package_behavior.assert_cfg_config_expe": {"doc_hash": "fc14cac8dec7a53aaec4ba18d423e94cdef532452dd57b8090ea758e5d54afb9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_default_package_for_primary_config_": {"doc_hash": "5b68a4723377a710485fba1227d36429431cc28f13a9309ad9b15768093db8ef"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/__init__.py__": {"doc_hash": "19375ed7dcbe21c042f0f42eb47c53a27a461a494143a38ac5d33561fee21524"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/package_tests/__init__.py__": {"doc_hash": "a2c6870a795c6f5e580e21207401260e7d9cc466100031beb353e4d02c3471f9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/example_app.py__": {"doc_hash": "0fc497de50474e267baf49e1a6943d847d4282154782e3b5e5b0068edf17c73d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_copy_LauncherTestSuite.test_sweep_2_jobs.sweep_2_jobs_": {"doc_hash": "d5def3da6c8725c3bf60e69038ad5f4c41dccf79f70480279a9d5acee178e33d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_1_job_strict_LauncherTestSuite.test_sweep_2_optimizers.sweep_two_config_groups_": {"doc_hash": "d266cfbe9a51755cd99ddd4bb4213fca22144cab2cb86f93e56a989d05f169e9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"doc_hash": "2974034417895255d99f8c5fe81f1b06d0ad995b70a53063e17e4ad2d77ab949"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_and_override_LauncherTestSuite.test_sweep_and_override.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"doc_hash": "8d2b2cf9ce56b9b1313fbc7dded71e4fe22b810269ec3a973cc4303f4c40b34f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_BatchedSweeperTestSuite_BatchedSweeperTestSuite.test_sweep_2_jobs_2_batches._and_a_total_of_6_unique": {"doc_hash": "abbb1d3972690d73923e9b2fa440a1866e3953871d1e5af9e87e90ad215de19d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_1_job_sweep_1_job.with_sweep_.verify_dir_outputs_sweep_": {"doc_hash": "9696ed90776225f0764306174d7c807414de72060035db94c52de9f3b1bf3c50"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_2_jobs_sweep_2_jobs.with_sweep_.for_i_in_range_2_.assert_path_exists_f_": {"doc_hash": "3809624bb7f26e1ec90591dbd732817f4c6fccac24b6acccab41b03b39ad456e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_two_config_groups_sweep_two_config_groups.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"doc_hash": "4f206327e1bd9a419213a0b7b89d50dd470171caeec3d6e2e363858deb15ae04"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_custom_sweeper_run_workdir_IntegrationTestSuite.test_custom_sweeper_run_workdir.integration_test_": {"doc_hash": "22a1acd5b414663a6060e0562b6d79c7f3faed44b0877a5ff6b0910955b41e89"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_get_orig_dir_multirun_IntegrationTestSuite.test_get_orig_dir_multirun.integration_test_": {"doc_hash": "430549bb0b89826190126b8d7e0407f0c3b43095168021d99062f07f72f45346"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_to_absolute_path_multirun_": {"doc_hash": "ea38c89af9f52178d9714afeb7889c415ff3c9c39637ddb72d8053d108e8da54"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_copy_does_not_raise.yield_enter_result": {"doc_hash": "7332212f9913e255a3cb71343f8596f1d6854cffb9379beb7862fb9988642cca"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction_TaskTestFunction.__call__.return.100": {"doc_hash": "6ec12bc00bfd2f946d3ded1c2fa2ca401e72ded4af5025c9baff12da65816b7c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction.__enter___TaskTestFunction.__exit__.shutil_rmtree_self_temp_d": {"doc_hash": "53dbbf95bac945298ee622917787539bdde86e733b10c9dc7ee68e0f85cbad00"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TTaskRunner_SweepTaskFunction.__call__.return.100": {"doc_hash": "eb6a0c41aa3e86a23adb24b1abfd1e1e85f5e63a7c774fe1af704a2d6fc2174b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_SweepTaskFunction.__enter___SweepTaskFunction.__exit__.shutil_rmtree_self_temp_d": {"doc_hash": "6a365f729ea4d7f6f7a7e41cb3bfefe963d7e4a9a720d763b2df6d337d27f2a1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_verify_dir_outputs__get_statements.return.code": {"doc_hash": "e66cc5855883717312ba30bf298f00eb031e201604e02d786b557876a756471a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_integration_test_integration_test.try_.finally_.os_chdir_orig_dir_": {"doc_hash": "f34c52f98f2c6e5e627d26944ee8b1bb0214c2889c4249e05423ffab8f49759f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/utils.py_to_absolute_path_": {"doc_hash": "ecb01ee5c4ab9b1471b1f999c12938a5676d9bebd3458c0d1eafd108efe3cd67"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_get_plugin_os_names_get_plugin_os_names.if_len_oses_1_and_ose.else_.return._p_split_1_strip_": {"doc_hash": "06cab91602085e319eec0ba6b1deeb9fd724f63d9fa0f174d97b9e8365a48cf8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/example/banana.py_logging_": {"doc_hash": "f243a672f95a9ab1dbbaf6f9e4b193936c22f867a3f4bc2b90586c2c1a988fae"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/__init__.py__": {"doc_hash": "9f0f0d2bc10f5e681c245ed3a608459b3553ff9454d896518e274deb07eb70d5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper_CoreAxSweeper.setup.self.sweep_dir.config_hydra_sweep_dir": {"doc_hash": "423cb40862958e6a9788ef77686b14cb04ff3c6b845a8860a2a1175034cc9bb5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_CoreAxSweeper.sweep.log_info_Best_parameters": {"doc_hash": "3cf3a76e58bac2c9bfa5a789da014f3e1720aa97d0a210042d6580468c2e8877"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_over_batches_CoreAxSweeper.sweep_over_batches.for_batch_in_chunked_batc.for_idx_in_range_len_batc.ax_client_complete_trial_": {"doc_hash": "7694b3647ae5a3dd095dd7a7050887311efebc37e6c5eef0b867acecc0bfbd59"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.setup_ax_client_CoreAxSweeper.setup_ax_client.return.ax_client": {"doc_hash": "2cb8cd67b8e3547e5b70ac5f2c34d8af8f636f339caea19b9abe3a25b668ae86"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.parse_commandline_args_CoreAxSweeper.chunks.for_i_in_range_0_len_bat.yield_batch_i_i_n_": {"doc_hash": "89ed03d32e5967d15f50fd5e2d95cffadf058af48bce50fb25c2f3af6374d51a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_logging_EarlyStopper.__init__.self.current_epochs_without_improvement.0": {"doc_hash": "4637b9bda4ba17c0cc3bcc9d40dffb670bde53c446dbd2fac224c3c5ed74d2fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_EarlyStopper.should_stop_": {"doc_hash": "3edbb1200d28a636730b969074ed79474e2eecf07ac902700162cc765cab2885"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/ax_sweeper.py_from_typing_import_List__": {"doc_hash": "99a224f988b6f0666ea78656c8fbc728cf9cca740860e6f1205f04b9b242c7ee"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_from_dataclasses_import_d_ExperimentConfig.status_quo.None": {"doc_hash": "3251fe3b530b8e156afc30f3ed9ef9e207332c0bacbc7b3d1a85b009a3900921"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_ClientConfig_": {"doc_hash": "6425b42b8822ba13ab83feb6db26b975a1557e4b8e95282eea5a9c1223498294"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/apps/polynomial.py_from_typing_import_Any_": {"doc_hash": "3ab8a53f05769a40c68226615b64c91918e6d3e9485ba2d3aa0f724fec325c0f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_config_test_jobs_configured_via_config.with_sweep_.None_5": {"doc_hash": "8bf865e7d4f1dc27b8bbbc74a5b38bbadcc569c7c1d86360a7e457511c7c39d2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_test_jobs_configured_via_cmd.with_sweep_.None_5": {"doc_hash": "8eca390ffce9631272e85c60adb53ad90abeeb11f05419dc2bb67f2bcab66e0c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_and_config_test_jobs_configured_via_cmd_and_config.with_sweep_.None_5": {"doc_hash": "c02f36a83a887a6b900542a4382961fabcc64380fe109b8ea18e6ad634aac117"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_configuration_set_via_cmd_and_default_config_test_configuration_set_via_cmd_and_default_config.with_sweep_.assert_quadratic_y_in_b": {"doc_hash": "9e19a4adab19299fa335ab7200bb1a8d5b5716c70b3253679007c91de8dcc6ee"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_ax_logging_test_ax_logging.assert_polynomial_z_fix": {"doc_hash": "5318212ad896b9d14ae44d91ccb27fa9833f53992c247ad8ca50201df0e6f067"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py__": {"doc_hash": "18bd0b6199d819794e485a6f4d0c05a9faf044ca3e148b28087d225708cea87a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/colorlog.py_from_hydra_core_config_se_": {"doc_hash": "f571c17cb447a9475f8e09454cd9439b54fa5cab4c57fbe66faeb49e83df4459"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/__init__.py__": {"doc_hash": "92fe2b847743063990537d4e4d2b963964d687550a4abc0ef32c90086286354c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/tests/__init__.py__": {"doc_hash": "d9b2ebbd618b54fb46ebf72922d79b50628d41be84452fc15070c9b0fd7d5bbb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/example/my_app.py__": {"doc_hash": "45bfa98e890ef7c02cea493277e5e7a151365dec31070282745468cf69fc96c7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/__init__.py__": {"doc_hash": "c1e0002df4597b39c0c885b00acce7dce28a876b354c098751b675769c8bc8b4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_logging_log.logging_getLogger___name_": {"doc_hash": "cfdddf0c7d4a2da932bd81307d97218fa6984062f0294b143782e9e54b160ca5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_launch_": {"doc_hash": "08a9b4c7ea2d3a1928d98e459cf36ccb012ff392283f34ea24ecf0ad54d249ee"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/config.py_from_dataclasses_import_d_": {"doc_hash": "34a13c8d09ccbfc57c3aed2153f1ebadf390ef84595a6f92ede98097c834c1f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/joblib_launcher.py_logging_": {"doc_hash": "ce9cf3a3506e61e90ea15122f4abd01a3bedab263177106e157abc2d52af3e86"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/__init__.py__": {"doc_hash": "e1f3afbd999be5e699f65071c8d2ac411713437e9943e4f0d8af129f4d0a10f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/__init__.py__": {"doc_hash": "385a88042bf07df52a190ce7dacec593991541e7734300103bc9de06c23b4859"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_from_dataclasses_import_d_ScalarConfigSpec.log.False": {"doc_hash": "85153dfea472506a58afdb3b28e8cc6777cabb50e62244cc361dfbac5f7b940c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_NevergradSweeperConf_": {"doc_hash": "c1a0c5fdbd221723f355b8c22058ad910b1e68efe5613afdc250ce63fdacf5fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/__init__.py__": {"doc_hash": "ce965c0060adc447a11f309ab271a0cab71e12d0388a587f3823d09a0eb6ad33"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_launched_jobs_test_launched_jobs.with_sweep_.assert_sweep_returns_is_N": {"doc_hash": "c9de8f78c317942a94b6e7a120f811c1755a2a6096bc3e4943a7d8f0644c0a0f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/example/my_app.py__": {"doc_hash": "30c9cf2b0d09127033594a26458f86d7612e480a8ff8de5bfdac49aa4d164754"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/__init__.py__": {"doc_hash": "5bf394a0e723784abd8cb92fc85b8aafa7c3014e4bf93d4344f15daca228dc11"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py_launch_": {"doc_hash": "afe0f42ae9cc2965b74dd800627ab85d00ff4c730610c54d4cab019d62a4a522"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_EnqueueConf_EnqueueConf.description.None": {"doc_hash": "02f9586a31c71639991a187fab4db7510a12ef8b37d16e1acdc611f45762719b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_RQLauncherConf_": {"doc_hash": "fe9109eed8d9bcb4be603d05b0a34b3089933c760adbc09b245b1623b791ba27"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/rq_launcher.py_logging_": {"doc_hash": "a520d4d6e73303bf03e49f3e579af2190ce45765a5237411a14305597b3df742"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/__init__.py__": {"doc_hash": "0300af267dfcbc0dcbe8390bcc940b41467608d266ebafe62fae3c4bc169497b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/conftest.py__": {"doc_hash": "068c0ea84c13420608f1d5c045c525b485d456daf4259312a70ef36f964fb9f9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/example/my_app.py_logging_": {"doc_hash": "039821f3eafadb7ff75b7c139b873f76f6c836a50c24065c473c3b04ab73d39a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/__init__.py__": {"doc_hash": "35777296dbe238885f936a5f0303f45575012c8febb651fa551d8b277f4b186e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.__call___BaseSubmititLauncher.checkpoint.return.submitit_helpers_DelayedS": {"doc_hash": "b33274d9a7286cf41b40b090fa2ab4beb5645613a92d1b5a762e795583e9a829"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.launch_": {"doc_hash": "db360027e11cd3868f029d435365e3f5572d3283b1f488d3711fce5513adb77e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/tests/__init__.py__": {"doc_hash": "94158b414cacde14567fb0806d2af6b72c45c5624d6369d09d734fa9e282c264"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/setup.py_pathlib_": {"doc_hash": "fee83504ffd8a99beac88f04a8ed752d32c26055eaf7d08c7d300e6d1fd443d4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/jupyter/a_module.py_from_pathlib_import_Path_": {"doc_hash": "25ab5e091db73020747cfa608eef63697dc978c8d032557fdc3e28d3d3b15e06"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__init__.py__": {"doc_hash": "544da722ca2abf985325ebb502b911aea7567702925dc004155a6209118fe83d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__not_hidden_plugin.py__": {"doc_hash": "ab4d0672f0d5245b1dce4739ec3bfac37b6f3fbf3e79157d01fd6111af172d4d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/_hidden_plugin.py__": {"doc_hash": "64ce6b9d6211c487b8aae0ede688bcb3036acba0d0be7ac442807c91ec71e12e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/discovery_test.py__": {"doc_hash": "cb2020aaadaca9377a24d260134adbcc4ae710d26423f37acb0cb9b80daed600"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/__init__.py__": {"doc_hash": "3ba414093439c78a4d8301562903dded50a0a29fbd9acb776f03ad0e51db437a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/test_discovery.py_os_": {"doc_hash": "e3bf2b59c0472466c4f12556c1a13420e9df6ab84294fa708545f1a814e4e877"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/__init__.py__": {"doc_hash": "42a59cbb3b248f51501493af05f6a4bd70f1d66b5a83e739d4d861283ae755c2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/__init__.py__": {"doc_hash": "c7e07739f74a0834c0db3d757720651402cae1f82360de70edcae50be7f457d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/conf/__init__.py__": {"doc_hash": "f4b86c61c792499febbf8bafc295f369186fb1a511019199f3cf955fb0c4afc8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/main.py_os_": {"doc_hash": "53d6bd94a10f87dcb4e7ace76c4dac3cf8d1fad2a0dc6bf3994ac7f5b65f9a41"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/__init__.py__": {"doc_hash": "9bbadd66a0cff5b1f60933276c61e8e0d7f58bcd4a9200a1bf03ef241117677e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/test_app.py_subprocess_": {"doc_hash": "5bd2497c4bd60906328b23d2b11c3c4f3f537271aa4fe66b51b309c7ee23846e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/__init__.py__": {"doc_hash": "8a0f7a22fda197deeeba284607c8c7341e07b59515b0bfff775d069c9306ebef"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/test_namespace.py_test_config_in_dir_": {"doc_hash": "a11560832ec6c6378abb722493004916d731bc9b44f5e59efbba6576fd22c0cf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/some_namespace/namespace_test/dir/__init__.py__": {"doc_hash": "56633fdf6115487f598e6c480ec589108cd4cc2c06bbf7e7471ace27835dda78"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/__init__.py__": {"doc_hash": "340370fcc8bd15c475ae746f1b2cf71cedb6a959417c66e32a2d6bbbd41ad040"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/my_app.py__": {"doc_hash": "655d6c8ccf93d9b559f8173b5094525e6fbd597bbc973c79a87cb599dfd8d4f7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/__init__.py__": {"doc_hash": "ae20215d74850df3c4b4c84ca166faf8b07f4890b14a57bcaa56b1007f17885d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/conf/__init__.py__": {"doc_hash": "38a543a6869b38b929d6f4ec05366cabc992bbe262f06dbb709e09e02a08109c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/my_app.py__": {"doc_hash": "b8346004fffc7db27fef0a7b50d4f500536359da9814b1029f8884fd27e59c3f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/conf/__init__.py__": {"doc_hash": "c4ad83121aaf46307cf6a24383ae522675e5cef1597072865f5585c9d1e76eaa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/my_app.py__": {"doc_hash": "45b16f758409867846e01341c132766add7ee637c26e42948a4cd374be518de0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/__init__.py__": {"doc_hash": "e32fe51a1e102926d5a02e43c6131c7ca1b3cce9d459c1046cd8c811abbab97f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/conf/__init__.py__": {"doc_hash": "fb93d4dc6c29a355652848ac702f95e957d6b1a23a843505b244ec9268eea7fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/my_app.py__": {"doc_hash": "ca702efee7edb1ca5ac1ef37b3186711254e59ae075d71707395d05570712205"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/__init__.py__": {"doc_hash": "e862e0efdc710053d98626b0aa134825753d82e3b03ca04e81cfe2348be2427f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/my_app.py__": {"doc_hash": "62c7094c32412f3fa7021177dc15c9d78489663fe55b1000ebf37b12f5dd5a7e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/__init__.py__": {"doc_hash": "f4facd21600c7bc0289f2259e5c25804456e1adcacffc7199f6e3c81fb17d301"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir1/__init__.py__": {"doc_hash": "5b2a0c6f520c4ab912d83e90a0ce4650eb1a691fcbb98024901f1489c1a35cc0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir2/__init__.py__": {"doc_hash": "3c21bffa08b2803a58fe547c1ee7d2825f209a48e6f5b04de9ab41b577b09288"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/my_app.py__": {"doc_hash": "f5c04cf1e43dddfac3939d7db95c650343aa98d5722f9d88bd2f3ae561786087"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_runtime_config_error/my_app.py__": {"doc_hash": "80e01570d153c17423d774822a14fe8615c1e669e195cc533f045b9bba27aad1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/__init__.py__": {"doc_hash": "bde04445cb24dd8765e8195297e97e4014300b0856bc65ca56c427c85d73bef4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/my_app.py__": {"doc_hash": "d1fe9044620dd629b59bed2b14f8b0d124e665874b0c010a1d328ea9a856407b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/__init__.py__": {"doc_hash": "7bfbf391d4f0d21feeaa5b38b5861b6062be77c8cbc4d06146d2270fd857b4f2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/my_app.py__": {"doc_hash": "4d20953f24aaf45f90a60f407d5a81496e8a0c74f3ed6dae099fef4011c47bec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/__init__.py__": {"doc_hash": "71fa523cd8e5c80d48e490aa0e5cad3ef288035254937089010d3789ba8101fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/dir/__init__.py__": {"doc_hash": "ca6bce03cfa446c739eab4e18edd2d08ad195d0fb649ad466521454362ca9c18"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/structured.py_from_dataclasses_import_d_": {"doc_hash": "82cb656dba981a4a9a36290cd803faed73abf79a8ca9ab61d6652f9ae00cf237"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_in_schema_missing/my_app.py_from_dataclasses_import_d_": {"doc_hash": "5cfc0ffe0a33abc1f659a0eec7946cf816ace7a3ff7f25faff91df6d1c795b04"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/__init__.py__": {"doc_hash": "6159693cf8bc2bb34f1c65f41e9029be74b4ed41ff5959a0ffebdbe4e2719b1e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/my_app.py__": {"doc_hash": "9509a3e336ed9de2a7cbcf4bb805f6863880b561577371ce5fc21dc0697985f7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/__init__.py__": {"doc_hash": "8b56bd6dd998dbad50007c46f339531f9306f61b4de919f0d573696b36deb68a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/my_app.py__": {"doc_hash": "e86823ff247ed01811dc3439da494e3416c95964094626697ad2669da57d08b3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_to_cfg_interpolation/my_app.py__": {"doc_hash": "1b8260a152224299e6c1cd47aa503f34a5be11676b28abb01295e9c4fa5fcee5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/init_in_app_without_module/main.py_os_": {"doc_hash": "ca8a30db421fd0584bec0dd519e8da119f63598ea46a84ea3870f66675579a62"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/__init__.py__": {"doc_hash": "08e3e25b5ac3f2c6d0fcb27c2edf75ebab2557c9eefb911a5e8ae681ccd0e070"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/my_app.py__": {"doc_hash": "a40fe6638d20b87fc01a0f094a9abccd509a75fa4d0f3560d6144c568a26505f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/multirun_structured_conflict/my_app.py_from_dataclasses_import_d_": {"doc_hash": "7768df95dded18b888285475792781748da39bcff0fb94f5ec5733a058d54284"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/__init__.py__": {"doc_hash": "4eedb67ebf6fa7f3b9cbc4fc2fafd484163f8eb76ae503ed6d71b611d67a2c33"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/my_app.py_time_": {"doc_hash": "17b5d639036fb575bb9ae0e3ee8ea6d9130d06c3aacf92f09de99315975d0f74"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/__init__.py__": {"doc_hash": "790f6c5887b6639e5f0bfc0e83c924f659798970919f7eb5db78ace42923215e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/my_app.py__": {"doc_hash": "9e9ecd2cd3e93e7fd8a4c008bab62d78086678cdb890b9cfd9693f3eaf408823"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/__init__.py__": {"doc_hash": "bc665ee03b3ed20b24e38418260e9459e5471a6e606d9d01ba1e2699e06ba32b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/my_app.py__": {"doc_hash": "b27c8c3194863a1dad72a38badf00f5386f6b9f5c825f196d130d8dd7cdac864"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/__init__.py__": {"doc_hash": "223725023fd856b9a0aa38dcb093917eef8c0f28bc5159361ce5c646e30bbc7c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/conf/__init__.py__": {"doc_hash": "30e14269773b3cf3be1a60840f6f0426df0a53239d78c6c1837b8ac33858d813"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/my_app.py__": {"doc_hash": "8084c248543e50dce12b52675600368e124a4d014bb9c6365fb428c694eda736"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/__init__.py__": {"doc_hash": "8c9bf5c4ee81b5e6dc197e04651245043199de4c3fbb30f33af1bf38006f0445"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/my_app.py__": {"doc_hash": "30432f2a9f22715c57d29c2576693248e64ff09205a4d9c4e8797c58b60e3b05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/user-config-dir/my_app.py__": {"doc_hash": "b42dcff8b029821a0f369393d3e28aa4cbff701590829391c3579355c83cac5f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_is_fish_supported_is_fish_supported.if_version_parse_fish_ver.else_.return.False": {"doc_hash": "968f6768dad80dbccdce6d432d9b6b9e60633a5707b424432da62cd3c40a1faf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_create_config_loader_base_completion_list._": {"doc_hash": "cf266af8c2ac731325f8df7be8d1d182076db727cbb3b5c1973e2dd092478443"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_file_completion_test_file_completion.try_.finally_.os_chdir_pwd_": {"doc_hash": "f782bae38df4beec8ff785aa45ff3e1d8dadbb9a0b860e782af6d975439d9c21"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_strip_test_strip.assert_result_line_arg": {"doc_hash": "8eb0994c3e663db00d5970d897b0d3b93d1c3d1fc0f690797286c0487a65b924"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_install_uninstall_": {"doc_hash": "72f8ad5f41964455554182d920113b82baaeb56c3dff5a55173a6be0a300c83a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_with_config_path_test_initialize_with_config_path.assert_idx_1": {"doc_hash": "433bd97125482a2ebf7e1faf8e30d52f164c7eebd7d1d3afeec3e061a08adb1d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestComposeInits_TestComposeInits.test_initialize_config_module_ctx.with_initialize_config_mo.assert_ret_expected": {"doc_hash": "6af69348fa10c72a06e21fd44d44700a7ee28d0645f3d824196453f71d129421"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_ctx_with_absolute_dir_test_initialize_config_dir_ctx_with_absolute_dir.with_initialize_config_di.assert_ret_test_grou": {"doc_hash": "688b14552428bc366e7faa6359fb5cb38dce7eb29c6939f42ead994daa686cf7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_jobname_override_initialize_ctx_test_jobname_override_initialize_config_dir_ctx.with_initialize_config_di.assert_ret_hydra_job_name": {"doc_hash": "b9f349e55e3bdc6265287d46339dad0bcd4b3a96bd9435e3dee11a42cd8058b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_config_module_ctx_test_initialize_config_module_ctx.None_2.assert_ret_hydra_job_name": {"doc_hash": "f80259299f529cb455750029fec94efb26a2543e7006231309b59afee990628c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader_TestConfigLoader.test_load_with_optional_default.assert_cfg_foo_10_": {"doc_hash": "8a2e202c1566d779af2673b7fb5ff1e371b2f859037a79a6f3d91b6cf230166d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_override_compose_two_package_one_group_TestConfigLoader.test_override_compose_two_package_one_group.assert_cfg_expected": {"doc_hash": "eece90b61a444e8035ad4f623dcc6ab62263744bf4ed445a8e5407d8adbe4000"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_defaults_not_list_exception_test_override_hydra_config_value_from_config_file.assert_cfg_hydra_run_dir_": {"doc_hash": "23e8625138075e725cde9e54133e7e98eb331bef5a643fb61dc2820cb2b55f86"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_list_groups_test_list_groups.assert_sorted_config_load": {"doc_hash": "5f064d6284ab7c7781a72a4760d2b825f7a0bdb70f715b55fe898e523e345b94"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_Plugin_Config.plugin.Plugin_": {"doc_hash": "8f56ffdde718ce27fdb9e7fcf67bb3cd83bf777ca0bb7c1c72a86663d07cb4c8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_invalid_plugin_merge_test_job_env_copy.with_env_override_zonk_.assert_cfg_hydra_job_env_": {"doc_hash": "eba138a5a0a36f53fe912299db21afae6b466a2b9b4a07b70a228bafb30c79fd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestCoreConfigSources_create_config_search_path.return.csp": {"doc_hash": "58ddb0368288bdfb5216925dbb66866dbdc2a757b41aa74e3153247ff8672812"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestConfigRepository_TestConfigRepository.test_config_repository_exists.assert_not_repo_config_ex": {"doc_hash": "07c88de605fb8541e1b1caeed269b41557ab168f773911b6779449dec8478b92"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_os_to_tuples_list.return._x_provider_x_path_for": {"doc_hash": "945106a247f5f09101de86d1127477f3f5867a2b34fd207802a1060cd879b046"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_last_match_test_find_last_match.assert_": {"doc_hash": "c89f41a6dac7580e1a0765115fd4fd522889886540381c6cd2b545bfb02f0929"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_first_match_test_find_first_match.assert_csp_find_first_mat": {"doc_hash": "3c8264ec0760b37bca50ec036e273f64224d5701c5b46340bdddb7407fecfba3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_append_test_append.assert_to_tuples_list_csp": {"doc_hash": "a00253ce9bdf11f05f05abf8d52ae1c44f3c82c7a445a8ff23fc5320d04a66b4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_prepend_test_prepend.assert_to_tuples_list_csp": {"doc_hash": "22af77593f48bf49bed817768bbf02e595935917588f99ee61e7e151b35be5da"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_compute_search_path_dir_": {"doc_hash": "acec3f15b59110ecfa16812f3add18073c3493044fbcdadd54f50b0b12f215e2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_sys_test_accessing_hydra_config.assert_cfg_config_name_": {"doc_hash": "edd1bb38aa97ab24e378dd5efdf6732b481bb62aee9c066c37aaab2f9e595900"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_test_py_version_resolver_": {"doc_hash": "14cf8332d06f653b2f2c8392c1e9d8a8ec944b1be50d79c7b0bfdc39bb4faa4c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/__init__.py__": {"doc_hash": "5cbdd7de516d727132f729763584f0ddf47f4f5d6629e079d230b96e32260225"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_re_test_tutorial_simple_cli_app.assert_OmegaConf_create_r": {"doc_hash": "cb4460fbdc747ad5ef153f81f8ceb1f602f75f3e7ad5d44a19c00c9ca4b17ca7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_working_directory_test_tutorial_logging.for_i_in_range_len_lines_.assert_re_findall_re_esca": {"doc_hash": "1706f8e7f43cdbae6ed988c48d1096c2d12d2a686605520e117a4f830165732a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_file_test_tutorial_config_file.assert_OmegaConf_create_r": {"doc_hash": "fde887d12a66c26f4755805bed6a65d42c6794208e93c3ee42fee7980d007f6d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_groups_test_tutorial_config_groups.assert_OmegaConf_create_r": {"doc_hash": "32bc999d3ed244dfbce5a0563ac141b063486f3bbe3286aa89074051c30b2516"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_defaults_test_tutorial_defaults.assert_OmegaConf_create_r": {"doc_hash": "1721030f1dc0c565d41e5f09a1a810cf0ce0ec2e9d67725921271839cbe40372"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_composition_config_example_test_composition_config_example.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "fe7de2e76e6429c4e0dd99f88051ec626b8d97413822c9b618a39b4236016582"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_sweeping_example_test_sweeping_example.with_hydra_sweep_runner_.for_ret_in_sweep_returns_.assert_tuple_ret_override": {"doc_hash": "a8f62902ec02d09170cdea2349c5d29eeb5ab7dca1c2cea940ba74e5f4256814"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_os_chdir_hydra_root_": {"doc_hash": "69718e94fd1bc635a277ae1ab5c641c66a4c40d072697f80c73c59090a38bbd8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config___no_overrides_test_app_without_config___no_overrides.with_hydra_task_runner_.assert_task_job_ret_cfg_": {"doc_hash": "441a1c91d9ad9bea7e3c5cce2634fd6610da118506c506f1cc547d50578b386d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_main_rerun_test_hydra_main_rerun.with_hydra_task_runner_.assert_task_job_ret_cfg_": {"doc_hash": "6a3b4f35fe3b7e8a8fc1f663a0626dae52ddee202d2c4a5743065172a3537d57"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config__with_append_test_app_without_config__with_append.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "d3c69888b1ef5e81da96e646753a1efb42ec6f37669fc4d40028986190137e5a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__no_overrides_test_app_with_config_file__no_overrides.with_task_.verify_dir_outputs_task_j": {"doc_hash": "35e68b69eb529c75a3006ac7bcb7d8cc894164bed0ee90eb0dae62a9ab480bbe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__with_overide_test_app_with_config_file__with_overide.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "be6dfea220e6bb0e5d3255108cfef6db41f5a8a526f3053eb6716526107d8ab0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_split_config_test_app_with_split_config.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "39613b8675ec4ac9e348955bb7608fb81a919716b1615693c6a02cc798a63738"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_groups__override_all_configs_test_app_with_config_groups__override_all_configs.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "f4fd78ada99aea9a338b9bc15edec6dd705018d9f103bdec1c14817c8079e883"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_sweep_cfg__override_to_basic_launcher_test_app_with_sweep_cfg__override_to_basic_launcher.with_hydra_task_runner_.assert_len_task_job_ret_h": {"doc_hash": "6bd99d71d42d4e82d32d260c0d876f95e88a3b86ab2cd3ca5cc8c949a2ffc2c1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_short_module_name_test_hydra_main_module_override_name.integration_test_": {"doc_hash": "99de52b1a4757081f538dd3e24840c28be265d389023c65b2fcf7206c955962b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_env_override_test_module_env_override.assert_OmegaConf_create_r": {"doc_hash": "99a6e43f708598155ec0eb04760d37b8d51b0a413ceba1b817d715ec1e1f40dd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_test_cfg.for_key_in_expected_keys_.assert_key_in_conf": {"doc_hash": "bbdab4e646d5be63d9fee97da1ba6df25c0247f1a2e9efa74956874a0a98ef1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_with_package_test_cfg_with_package.assert_normalize_newlines": {"doc_hash": "0a48d67d6678e688b7dad30585f7137f07b809db52913941d456e626a3b2abc9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_with_free_override_test_multirun_with_free_override.with_sweep_.None_4": {"doc_hash": "5b4b5f00b7ed5ebc702519222ee9874c7a1fb3b59bb3fd9001186c8ed40db677"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_sweep_complex_defaults_test_sweep_complex_defaults.with_hydra_sweep_runner_.assert_sweep_returns_0_1": {"doc_hash": "f231108f736e2a9a9a88b1f7725c9c9ea96f936442fb28064ec0218514356fb3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_interpolating_dir_hydra_to_app_test_sys_exit.assert_subprocess_run_cmd": {"doc_hash": "7d901271faa86e91903f8310726a82b419c2614e5a6502248be39b31a3532787"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_local_run_workdir_test_local_run_workdir.integration_test_": {"doc_hash": "5c42528fa90851c43d0f0d860147e76ed940f551088974ce5adb78e2ec8fc339"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_config_name_and_path_overrides_test_config_name_and_path_overrides.assert_result_f_confi": {"doc_hash": "b32985e3cb256056d394985b998df0d4efb561f9751b50de59e9d0acf89da65a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_output_dir_test_hydra_output_dir.with_hydra_task_runner_.assert_files_expected_": {"doc_hash": "f03dde739f37c9ae68461adb1520e1235483831e83f950e4453fe7a9c34eb9a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_run_test_module_run.if_error_is_not_None_.else_.assert_OmegaConf_create_r": {"doc_hash": "9eef25334bb903f0db84877a7123d251c6088671aee44f8fddf68f8f2152aed7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_structured_conflict_test_multirun_structured_conflict.if_error_.else_.assert_ret_expected": {"doc_hash": "793dc1abcfb0059d84c75b3367152038446eb84936da7547524c7a91774a3f9c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns_TestVariousRuns.test_run_with_missing_default.assert_re_search_re_escap": {"doc_hash": "81a798dc4f4de22807a6aedf94a4c06f18654e605550cd56974023425985bfff"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns.test_command_line_interpolations_evaluated_lazily_TestVariousRuns.test_command_line_interpolations_evaluated_lazily.assert_normalize_newlines": {"doc_hash": "ff1efd641b385897a2f84e401161839678f7861b49ce0c39e694e0b662c53119"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns.test_multirun_config_overrides_evaluated_lazily_TestVariousRuns.test_multirun_config_overrides_evaluated_lazily.assert_normalize_newlines": {"doc_hash": "56e1d98cc5179c3aaec41cd9d34cbb7738284f475209095b6ef6d64063582734"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns.test_multirun_defaults_override_TestVariousRuns.test_run_pass_list.assert_OmegaConf_create_r": {"doc_hash": "a4350acc75101d487f35ffc52b0d59e7ecdbd721fc3152b300b5b6644619e6f9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_to_job_config_interpolation_test_config_dir_argument.assert_OmegaConf_create_r": {"doc_hash": "00900001a078de01d11eb53aa09b0ab19431ce6e85265c9d1920ff1f85778074"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra_cli_errors.py_re_": {"doc_hash": "c53630edc8a8ac88a235d6ff64cedb3deb2dc97cfc696fd7ea810fd758095f1c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_element_test_element.assert_eq_ret_expected_": {"doc_hash": "ae0239fd17256d4442b3b31f42d5b7134134da8586d0c3f768dfeccce89c63ec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_value_test_value.if_isinstance_expected_R.else_.assert_ret_expected": {"doc_hash": "0f005eec374ec731de46815fec0f487acbd35921a3bc723edd0c994b2e5bd298"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_shuffle_sequence_test_shuffle_sequence.if_isinstance_expected_S.else_.assert_False": {"doc_hash": "7d6ac9a46d1fcbeb115902f747a5ee110eec2a0b8180eb8f8d4248c0a6ab138a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_choice_sweep_test_choice_sweep.assert_ret_expected": {"doc_hash": "5fdfc8a05fdfedb9493ad7c6037083682d41dbabdb88dfe838e1ad422f6595d4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_simple_choice_sweep_test_simple_choice_sweep.assert_ret_expected": {"doc_hash": "23dfeb456ad2b5ac5653af607c4809a7d4a01ffd5bb30e3732167eea3296c4a0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_range_sweep_test_range_sweep.assert_ret_expected": {"doc_hash": "be443e7431a4a9ea85a0f42136e775ea001fae85e65f2cd5fabcaed3f3487866"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_interval_sweep_test_interval_sweep.assert_ret_expected": {"doc_hash": "e54420d3e651035984e0b8533db53b1f5f8770453a281cbf7ec0c4e587a0d6d5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_parse_errors_test_parse_errors.with_expected_.parse_rule_value_rule_": {"doc_hash": "6a2a972ba8c9a476f3de95f4be50dfb71ddf88b49d5981b5bb0562dc0ea67fec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_key_test_key.assert_ret_expected": {"doc_hash": "db3b8cff906c13b959911d85b6bb25ab0eb934ca68fd7d8e15a54a6cb18c2a24"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_override_del_test_override_del.assert_ret_expected": {"doc_hash": "995cf5ada92731f8a9dc221174aa51745967daa1ed4bb6ad249b4233524b5773"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_parse_overrides_test_parse_overrides.assert_ret_expected": {"doc_hash": "49a20d6c5634e17102427ba64cd74064577754daf7f532558eaaa624e6f1f995"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_get_key_element_test_get_key_element.assert_ret_get_key_elemen": {"doc_hash": "3305bda7947c273081edac46a52da8df393142d0617bbe460af34250cf940e63"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_override_get_value_element_method_test_override_get_value_element_method.assert_ret_get_value_elem": {"doc_hash": "f77971751d197871e03f4ff4f943ab5c51c4716852d80bf0aa44fe362605468b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_override_value_method_test_override_value_method.assert_ret_value_exp": {"doc_hash": "0e5e513e41f54307b17465ffd9313516f4d6424fa6e93b004adfc18e358e7401"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_float_range_test_float_range.for_i_in_range_len_res_.assert_math_fabs_res_i_": {"doc_hash": "688d874ed78e950ad22d0e9284884df984476eb815ad899c454589ee5913ae8f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_tag_sweep_test_tag_sweep.assert_ret_expected": {"doc_hash": "9a6b535c6ba367c88f8ff63cf89c7aaf2c4f6e4452dc6484df21db750f02010f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_sort_test_sort.assert_ret_expected": {"doc_hash": "a80b619744091d84e741f1420c0c1b05cf3b9a16a9cd0b47794afdfc479a7583"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_sweep_shuffle_test_sweep_shuffle.assert_ret_expected": {"doc_hash": "1adc869f674fb35faf935671f2a5bf010058f17496c5ac89b3b08d0ade059bd0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_function_test_function.assert_ret_expected_va": {"doc_hash": "af57e82d39f8a838ed63b0a4e057e24fe7f47d244c2b019ac742e04c75004c93"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_F_F.sort.if_reverse_.else_.return.list_sorted_args_": {"doc_hash": "0759d2555d0c123dd283c0530fc035d891a99b09b1ce7af557f002f4d3c20dba"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_eval_test_eval.assert_parser_parse_rule_": {"doc_hash": "1a15718f23a86230e12bae71719e7924f401f78ce110bcf13dbf93fc07743ea3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_eval_errors_test_eval_errors.with_expected_.parser_parse_rule_value_": {"doc_hash": "d2503bd0e6cc3ffdbcfebaa9d7425ef2b8f740070532d4233caf8fd1f8a8411d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_glob_test_glob.assert_ret_expected": {"doc_hash": "69f8c3112aeb338c98c754a765c81430a9a336c365299c9bf23898d2c7bdb1bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_plugin_interface.py_from_typing_import_List__search_path_plugins._": {"doc_hash": "fe924eccc4c2a25f483fab350ed04580b87a711e33fc415e725681b184110fe1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_test_to_absolute_path_test_to_absolute_path.assert_utils_to_absolute_": {"doc_hash": "80cba93f4b143a9535e2a6df91fc039902ac78159dedf2bed4fc49df15aa3da6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/__init__.py__": {"doc_hash": "76aadd941b3d2d7942e9bce13b9a864ce1be1e54da5a9107b855969c35aa1f1c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/config.py_from_dataclasses_import_d_": {"doc_hash": "32a978354398db620e5179d6fd8748312451c58d8937ef9a21964922fffbd832"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_main_": {"doc_hash": "5bd3db29335241a2da67f1b9f35792f5bcaf6dd758d0dcdf32746e81e9d664f5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/samples/__init__.py__": {"doc_hash": "b65388ec84296f1b672a1a64861deb546f9df1e225342a5acb4ee529c624c098"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/setup.py__usr_bin_env_python_": {"doc_hash": "096ed57b1f3352606443b69390faf576bcf4396cd39d3faf94df08290b97096c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/__init__.py__": {"doc_hash": "4fdfcce3cb57e77fbd40876452860921e1509728a309c65854fcfaa733442c0c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/workdir/my_app.py__": {"doc_hash": "1016239af15a4c8cfa4fe51a564997ba449004ef07b0fba0cc8e4caf2842ab65"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/hydra_plugins/example_configsource_plugin/__init__.py__": {"doc_hash": "5e6a00e1e3c9749c3644cd69054d7e7ac51f6e27ae4143b41f551f6063c64134"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/hydra_plugins/example_configsource_plugin/example_configsource_plugin.py_ConfigSourceExample.load_config_ConfigSourceExample.load_config.return.ConfigResult_": {"doc_hash": "da52f2124b3323a71916c2dd6ee78a3eef5503cf0221700a0aa13873c0870eb5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/hydra_plugins/example_configsource_plugin/example_configsource_plugin.py_ConfigSourceExample.available_ConfigSourceExample.is_config.return.config_path_in_configs": {"doc_hash": "6db876e8fff0ae4ebf67b7718073cee07df358144c4bf412457e1d5e9be6c843"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/hydra_plugins/example_configsource_plugin/example_configsource_plugin.py_ConfigSourceExample.list_": {"doc_hash": "b023fb4481385024e114f008f675f89fd0224127162d78f90dc15b080e346466"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/setup.py_from_setuptools_import_fi_": {"doc_hash": "fbfc39d6efb5a7030ca20a76eb845e4b59218d21b84ec0ebfdaf0e180153c629"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/tests/__init__.py__": {"doc_hash": "977895d7cae166b48b605bd5c4ddb01ce307a12f80d46fd54b22ddc6ec48fcb4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_generic_plugin/hydra_plugins/example_generic_plugin/__init__.py__": {"doc_hash": "b779c0c8751b8bec7fa029ef8dfb4beca2a86fc59e73fb361f88e00395a9e7bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_generic_plugin/hydra_plugins/example_generic_plugin/example_plugin.py__": {"doc_hash": "52f001a3951e63946cc8c97b918c1e8b127ec5a1d8648e48cc42f6b2145db44e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_generic_plugin/setup.py_from_setuptools_import_fi_": {"doc_hash": "f074abc025328e7114dc2d10a5baa262556de33eccc6fe3a7df136ccf8d413e3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_generic_plugin/tests/__init__.py__": {"doc_hash": "586375be8f44968af999dc1151fd4f8867c59e875c6f5b095c672eebcedce01d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_generic_plugin/tests/test_example_plugin.py_from_hydra_core_plugins_i_": {"doc_hash": "317a3608481b35d9077ade85ec73becbaeaad274fea5a48b2d2fec1c51f1ad8a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/example/my_app.py__": {"doc_hash": "35996257f48cbc714558186b0a6aec3ad77633944fa650f5ae6ea1188fa2db84"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/hydra_plugins/example_launcher_plugin/__init__.py__": {"doc_hash": "3fb63691164307890c6f5f42f1732b49a98460c4f6f3330bc9b4695c5a3d4bed"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/hydra_plugins/example_launcher_plugin/example_launcher.py_from_dataclasses_import_d_ConfigStore_instance_st": {"doc_hash": "87c83d279890d6ca7eb915bba85d86e1ad3f594f58fcde375b0d789782a5bad0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/hydra_plugins/example_launcher_plugin/example_launcher.py_ExampleLauncher_ExampleLauncher.setup.self.task_function.task_function": {"doc_hash": "46e8a2b1ebab76efa04c13fda509982050670be72cc0b237d7064a40745f7ad0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/hydra_plugins/example_launcher_plugin/example_launcher.py_ExampleLauncher.launch_": {"doc_hash": "8871bc800a1fbbdc7e85fdd3cf67360dc8d983e760dd38341594dbff6c5cdc17"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/setup.py_from_setuptools_import_fi_": {"doc_hash": "dddbe0074f4366d6b2e44ce91571af6a7e817e0bd1e2ddfc8a8a55022c1e8c7a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/tests/__init__.py__": {"doc_hash": "d9aa7d46427867292e9a61ebd06c64a73f45d70cc2e58e0b2cae783e3aeede05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/arbitrary_package/__init__.py__": {"doc_hash": "ccd3bde5e9efcef7b6da49e5c2225757524863e3bb1d7af044348514a3b586b4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/arbitrary_package/conf/__init__.py__": {"doc_hash": "8308d17a3062bb5d071643692097370c8f3bbf4d8e1dfd09d11a1121f2300b4b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/hydra_plugins/example_searchpath_plugin/__init__.py__": {"doc_hash": "035e6db5fbbe4a08c05e0fddae6650232a18dc5155625d92e39c84706c246bdc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/hydra_plugins/example_searchpath_plugin/example_searchpath_plugin.py_from_hydra_core_config_se_": {"doc_hash": "4736a0b10bd9a43d1dfab9ef0e1a4f91702de6372d65d2e541a7f879472d350a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/setup.py_from_setuptools_import_fi_": {"doc_hash": "249f9b25121907904fbb1fda56515b2be33e685d7a7bfe53dc6aa288225c6653"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/tests/__init__.py__": {"doc_hash": "14333e870efd6524c571751ae4d6134f751d279f3715df2e8930a17bd8065d04"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_searchpath_plugin/tests/test_example_search_path_plugin.py_from_hydra_core_global_hy_": {"doc_hash": "6c051978dae7371c9f7f1d1c656b3715be24378840a94615bb284f7e6f84803d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/example/my_app.py__": {"doc_hash": "517fa50eadb77811887562b2b29165fd3ec11d5cb18be38b9c34caea2a51884e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/hydra_plugins/example_sweeper_plugin/__init__.py__": {"doc_hash": "26b3711d18a633182ce4fe77fc46af9ec2a12805afc927050bd503673705b684"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/hydra_plugins/example_sweeper_plugin/example_sweeper.py_from_dataclasses_import_d_ConfigStore_instance_st": {"doc_hash": "cac67691892eb4468f399cfbf6a3cc1f74c9bb4b74fbb358ab7201480c14c938"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/hydra_plugins/example_sweeper_plugin/example_sweeper.py_ExampleSweeper.sweep_": {"doc_hash": "0996315a37e7b659155e7b16d267737c548c5c4f106d8d25746a11074060e2e0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/setup.py_from_setuptools_import_fi_": {"doc_hash": "7f042377b56d2f205afebfadaad919b444943bfc8faaf6a119ab3882effeaa17"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/tests/__init__.py__": {"doc_hash": "362a4eacebe4a7602a8729693f9384fb1738b23046574efb43e3ae5dc682ffaa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_sys_KEY_RULES._key_override_pack": {"doc_hash": "ac2109b0121d9362f1438b132caa422e7f5f68b37f1731445d9a3161965a4ab8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_OverridesParser_OverridesParser.parse_rule.return.ret": {"doc_hash": "91778e623ef081453052ab822096ef105b0ef723591cdd74339afed52d14f254"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_OverridesParser.parse_override_OverridesParser.parse_overrides.return.ret": {"doc_hash": "a99d2ba7b5eb552c26f91e402bd0cb63506cdc34e75e1580b58243293a9878e1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_IntervalSweep_IntervalSweep.__eq__.if_isinstance_other_Inte.else_.return.NotImplemented": {"doc_hash": "24c3bbbbbf1948cb3317120ff024256c6cc24000a1d9ae4ac2d13ce21c8bb728"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Glob_Transformer.encode.return.Transformer_str_x_": {"doc_hash": "e758b308f8cfbb3005e635089d4c2f90fa7cf4b761d982bb990d72a95447403a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override.sweep_iterator_Override.sweep_iterator.return.map_transformer_lst_": {"doc_hash": "c902005f1f62d11dd35cbba8b933ce94403e95b5e0f2fbbc037df89f139f1ac2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/singleton.py_from_copy_import_deepcopy_": {"doc_hash": "09e2be5df5ee2dfb3e88aad96553bafaef1f298531451e4f2f074d0a02bcd3d9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_env_override_": {"doc_hash": "ef3b43ca23f57cc4c31f21095acd122f35b8e6080854fc4d3b8ded4a66de3aea"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/extra/pytest_plugin.py_copy_hydra_sweep_runner.return._": {"doc_hash": "a5dce0a7561b583aed5bd40f46cb4bd6d63d6e8168e589f17548857879238fb2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_with_custom_resolver_LauncherTestSuite.test_sweep_with_custom_resolver.with_sweep_.assert_job_ret_0_return_": {"doc_hash": "6a4994fc84dccacbb72dafad999733de64e606e7b43bc090aede596d20aa7929"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TSweepRunner__chdir_to_dir_containing.os_chdir_cur_": {"doc_hash": "3a32c6daca60e4940804991bba7c17c19b7292ca5d5a4e5abceefdfff08122b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_find_parent_dir_containing_find_parent_dir_containing.return.cur": {"doc_hash": "24a3f046bcb34a4a75e68a5094146d1a6d357fa2d02c8cf88b8b609322f59ab9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_lint_plugins_lint_plugins_in_dir.None_1.None_5": {"doc_hash": "d1467fd51bcb03780b29d80f1f53ef93ce6a5ad8ff365243ce478609c5443069"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_test_tools__get_standalone_apps_dirs.return.apps": {"doc_hash": "ac2457b534d1334397742b75625f91b9d15eb1567adde9aa7a2ce24b45a28f3f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_test_core_test_plugins.test_plugins_in_directory": {"doc_hash": "28b98724e14ea13be7e307fff33461d9e286e9cbd53750ea265601b35a33c8a7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_test_plugins_in_directory_test_plugins_in_directory.None_3.run_pytest_session_": {"doc_hash": "06a467875f14d06007c8bef21f5d1fff7f6f8903faa93202220fc66313d79ed1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_coverage_coverage.None_6": {"doc_hash": "692e4de9fd8f4c9a9fd10bda5db77411a73b0ec776ba3a2b36cf41effdf1c2ed"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_test_jupyter_notebooks_": {"doc_hash": "6c7cc92e28c65834ae37eaff788ac238f0c2a863be413fff638d6eac4a18f78c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_chunk_method_for_valid_inputs_test_chunk_method_for_valid_inputs.assert_out_expected": {"doc_hash": "27c19c304bf75b18ea0583ce82d217c7c5a67b27744c14a782b5cf1a48348ce0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_chunk_method_for_invalid_inputs_test_jobs_dirs.with_sweep_._and_a_total_of_6_unique": {"doc_hash": "1b3a5ed714c4d1d8f4cc6096312a6c03a9fcf0b3ef06e8d0ae2b3b328704019a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/example/my_app.py_logging_": {"doc_hash": "2d3e167eaab459613d99ee82eeadb13cbfde29ec2062d5043ca171e8faa58897"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/config.py_LocalQueueConf_": {"doc_hash": "2706feaf87dfae13f092f37f16c447bb26611cd5ad9b82379cefa888b8795e4d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_exception/__init__.py__": {"doc_hash": "51efa1b663ebdbde794af59b83290f1c2e2029deb867375b25ec398b9725acbd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_exception/my_app.py__": {"doc_hash": "63a603c97ab636c5a58f7f60481f2328ff8de3721d84a688b534e95c54b21e02"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_apply_overrides_to_config_test_apply_overrides_to_config.if_isinstance_expected_d.else_.with_expected_.ConfigLoaderImpl__apply_o": {"doc_hash": "1b1c1909703122300316803a30e24a6205d9d2d3f6f938287a066e8b6994400c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_advanced_package_overrides.py_from_pathlib_import_Path_test_advanced_package_override_simple.assert_OmegaConf_create_r": {"doc_hash": "0a0f97450fbbc6a58064f1b23baa372b3a674a18121c5553d4f73b1a1d5cae52"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_configure_hydra.py_from_pathlib_import_Path_test_custom_help.assert_text_same_from_lin": {"doc_hash": "e86f4d45d7f4bc6a8593151e789544c1990fa6c19551a7c4836a40722bdf4fab"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_configure_hydra.py_test_workdir_config_": {"doc_hash": "97b5e99b11755d86056038313eba10f033970a68b8d11fef218fd88d85695796"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_re_test_1_basic_run.assert_result_Host_l": {"doc_hash": "4a8cd1cc5bf86b5b7ca56ca1be144ed679b6ade0d5e89fb53748144c1e6f1abf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_1_basic_run_with_override_error_test_1_basic_override.assert_result_Host_l": {"doc_hash": "733e0a675cafc5c786134d256cb45880944513fdf7da77b96d4ef83361c9114b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_1_basic_override_type_error_test_2_static_complex.assert_result_Title_M": {"doc_hash": "f1b5e923570757c460f80f46e3d51375968461250e2b50de9ff09aa97825511f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_3_config_groups_test_3_config_groups.assert_res_expected": {"doc_hash": "310e820c184f1687f63926fd83c6b37a0137be3f618eabbae303e0bbffe4d1fd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_3_config_groups_with_inheritance_test_3_config_groups_with_inheritance.assert_res_expected": {"doc_hash": "f1cdf635cc8500767c94153ea7e07e6bd5adad0e08d0b9de298d80c070afa7f4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_4_defaults_test_4_defaults.assert_OmegaConf_create_r": {"doc_hash": "36af985916e3c9c3a63ba00d18ff244ff06453de5d3eb3c5ae1b97304e5d1062"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_file_bad_key_test_tutorial_config_file_bad_key.if_isinstance_expected_R.else_.assert_OmegaConf_create_s": {"doc_hash": "760f6c4e3220ec696d8b537f62c8a51dd098bf85ef85a91958e740672e044405"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_advanced_ad_hoc_composition_": {"doc_hash": "45bbddfb03d93558df2068e60db5b635306fb1345f33362b660825ededbf7db3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_env_set_with_config_test_hydra_env_set_with_override.integration_test_": {"doc_hash": "ba33b6f2b5c747ab7f4a433baead06fa3ff6e6b91b8b6f3ea504ab43389591c8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestTaskRunnerLogging_TestTaskRunnerLogging.test_2.logger_info_test_2_": {"doc_hash": "4e0af5843421e93549ac9cbc16c9ba0215167a667b580f4b8cad497a4b6e3380"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_glob_filter_test_glob_filter.assert_Glob_include_inclu": {"doc_hash": "506cad12a8d66185bf843de3e530c709e40584beaa4b0bd57870667d7ebc0a98"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_whitespaces_test_whitespaces.assert_ret_expected": {"doc_hash": "92c7e1516e4e824c16d2c3b836f545e88ffe0271b08c3ae4a3d260fbf0c2ca51"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/ci/circleci_pipeline.py_run_": {"doc_hash": "69a461f47dbfc941d53934c5f413ea4dbc33d2d2367287e2ea9c4e9bed07740a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_is_incompatible_is_incompatible.return.True": {"doc_hash": "5ce7f6718caaffde84e064f945e2f17f3914fd91778cbcc684bbd4cd5a974767"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_generate_module_generate_module.return.template_render_": {"doc_hash": "22fb7fecd109455f84f950101e6aa521f386a67ef794e4ca91a0e20ebd0ca0cb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/samples/my_module.py_User_": {"doc_hash": "9817df55b77a4e2fab39698a9f061e92be3370d0bfd9a3c36597520d7fbe6df1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/utils.py_sys_type_str.if_is_optional_.else_.return.ret": {"doc_hash": "d48a0c66f8d03793aeb4065bfdb55330a43034f6ce591c39c7abf3585c12ca17"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/utils.py_is_tuple_annotation_convert_imports.return.sorted_list_tmp_": {"doc_hash": "495f46823d23168437f00e156d5df17dd4e6174909557bd934e0a0e0e304d3ea"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/utils.py_collect_imports_": {"doc_hash": "888e0cc05f7e65214c002692d07be7a4d150576f085594ad0a60390d0aaacd41"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_test_instantiate_classes_test_instantiate_classes.assert_obj_expected": {"doc_hash": "c2da912d57f4a882f6088d5c0a31aa15e94167902af9abeda79943749f20e24f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_test_example_application_": {"doc_hash": "d5478b3d873c1957023f321f1276bdf51b19ea6380b3ffa6dcdaa5b4c0e4ebaa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/__init__.py_from_dataclasses_import_d_IncompatibleDataclassArg.__eq__.return._": {"doc_hash": "8a9837d40c5655e8fb921b0ca059829cc6220591d7171e44fa3b819e9e419af3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/__init__.py_ListValues_ListValues.__eq__.return._": {"doc_hash": "de234840022d774f3eda223f09a223bd8efb609a9b7a665b061cdc501359cd1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/__init__.py_DictValues_DictValues.__eq__.return._": {"doc_hash": "e3ed726d1829b15db3ddd68bf79f185e0b42cde0da1f999f318a154e992f369c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/__init__.py_PeskySentinel_": {"doc_hash": "a4b77fb82e0eef1e0f4d53a0034cd6bdc413a9793c04c1952d144b71774a40a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/generated.py_from_dataclasses_import_d_": {"doc_hash": "0ced26bedce9816a9e321b1856e5c335add5ddef4de787b445580ec65384e7ad"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py_logging_parse_version.return.v": {"doc_hash": "970bba2ec47e95415c588a11d71d967cafa33521dd2fd688013c8662b00dd2ed"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py__next_version__next_version.return.str_new_version_": {"doc_hash": "76a9e0c843b0b1bf079b3a1006d3e129a4dc358d9fce968073888a3ac723e174"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py_bump_version_in_file_bump_version_in_file.if_matches_.else_.raise_ValueError_f_Could_": {"doc_hash": "3f94af5af5eb65290b59c17c69b2ad1ad2391806c4854118584f9557e611e9a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py_main_": {"doc_hash": "19f9a1ab23951b8ced75381479848642bcb11c6e3427fefe33b69c0c96a038be"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/config_search_path/__init__.py__": {"doc_hash": "fc8ee83b58a096f467b5cd778eb4fa55a9e9c88a6627e71112bdf9d2f6d9e7ca"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/config_search_path/additonal_conf/__init__.py__": {"doc_hash": "e0d501bae56d2a14839bc34403b826d7a69ad8e49f7f758a6507434ad8dd35ea"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/config_search_path/my_app.py__": {"doc_hash": "7453f31403ebfab2b0ffbddf0abe7bff3b97294af5289c8b9c645052b4fda1ed"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/defaults_list_interpolation/my_app.py__": {"doc_hash": "5c17110f03852c6f079198a9e53f7c8d83a0c6f022f74419ca90736c879c889b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/nested_defaults_list/my_app.py__": {"doc_hash": "385e40b89450d2d65c94b4309748c8db3f897162c17bcd93cfeec5f0710bf38c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_override_dirname/my_app.py__": {"doc_hash": "81ffe56f71326c3b6e09663a7b1c55dc87fec0b0ba2551dfb701ddf5f90a160e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/docs_example/my_app.py_from_omegaconf_import_Dic_Trainer.__repr__.return.f_Trainer_n_optimizer_": {"doc_hash": "62acc90f6f81c15f25ad51be8ee87d49196ba628f8f2b250f2d2390004961cbc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/docs_example/my_app.py_my_app_": {"doc_hash": "7a72c04971cf9e81b1a932cbc88ad28684532ad9d95e7a7197d9c6ec2744f50f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/object/my_app.py_from_omegaconf_import_Dic_": {"doc_hash": "3e2149ac78436f0fefe70731ef4ed7917f2e8815f04e334286d552e4721fad0e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/object_recursive/my_app.py_from_typing_import_List_": {"doc_hash": "484825f06741bad2c0df27e4b7c09596034e81e8b36d1faafdad317dadcb82b5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/schema/my_app.py_from_dataclasses_import_d_": {"doc_hash": "0156a78fe3e00c701f9db41264ceb7eeb7780642db5e7729ebb8b637918bd0f9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/schema_recursive/my_app.py_from_dataclasses_import_d_": {"doc_hash": "0f0d346d671f373cbc1c222727a83216822e6130c34c353c2983f0d98c995757"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/configuring_experiments/my_app.py__": {"doc_hash": "bfae67c5cf761a989757bc6e695c19228c1fc7793d924890b8f32735a35b5d24"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/extending_configs/my_app.py__": {"doc_hash": "7f219c6253281addacb4d0e092f5eedbdcbb7c8848c7c1b88d4b11a36760112a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/multi-select/my_app.py__": {"doc_hash": "30b3154f2ef0d9e2a31b182ad6a14d17998b604e838a2d413b836805e3f60bdb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/hydra_plugins/example_configsource_plugin/example_configsource_plugin.py_from_typing_import_Any_D_ConfigSourceExample.scheme.return._example_": {"doc_hash": "ba961714a9455aa758c9aaa3a350808dc8e0c3e3b72c370425f34499933f74d8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/tests/test_example_sweeper_plugin.py_test_launched_jobs_TestExampleSweeper._": {"doc_hash": "67dc0a990c69b4159694ebfc8745ba93bc0823d9c7c039c148491a6ce555c60e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/tests/test_example_sweeper_plugin.py__Many_sweepers_are_batch_": {"doc_hash": "8758a47b9a73d62b7ea8b8e0a6cc6eb195450ab40d8365c7c0de1225b1b3be04"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/3_using_config/my_app.py_from_omegaconf_import_Dic_": {"doc_hash": "3962c8202031a1a5143e9e30cdb23b5e0db12926fcee43281c1308d56afde793"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/4_config_groups/conf/__init__.py__": {"doc_hash": "af2533c3cbd9aec51ae1366855e4ac084dff59cfd30b960847b2c27e9a39d38b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/5_defaults/conf/__init__.py__": {"doc_hash": "9e2f6e88ae515eda5b2fa6741743cacf6b4568e7703b757f66da5e448cc74ca0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/6_composition/conf/__init__.py__": {"doc_hash": "1f2032977215793d57fcb68e93cf8a6f9d3c52f2589dda293d29559b305482de"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/5.1_structured_config_schema_same_config_group/conf/__init__.py__": {"doc_hash": "c44b77d197d7eefed7c1430a90685f742334149fb82b91185a561fc5d9edd328"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/5.1_structured_config_schema_same_config_group/my_app.py_from_dataclasses_import_d_": {"doc_hash": "367748348b1fa7c0ff90e1dfc3443f4a50e3e329b85585d866ff9d521a2fb314"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/5.2_structured_config_schema_different_config_group/conf/__init__.py__": {"doc_hash": "b2cc9882793376df972a5a6b61305311fab9b3452eb57817fce77199bdcb6972"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/5.2_structured_config_schema_different_config_group/database_lib.py_from_dataclasses_import_d_": {"doc_hash": "2051bfd1643c86d79f3d77129951f11a6dd96d2b0e26a2773ce57a794692f617"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/5.2_structured_config_schema_different_config_group/my_app.py_from_dataclasses_import_d_": {"doc_hash": "0e5c27a00174c66c32da7a98ab059a7e01d2740f3384ace11b67de64ad01d10f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/__init__.py___version___": {"doc_hash": "60f473f7f887f1fd1e77768a7c6a3cca3fb0598a7b2f5f09e8eda1127a93dc1e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl_ConfigLoaderImpl.validate_sweep_overrides_legal.for_x_in_overrides_.if_x_is_sweep_override_.if_run_mode_RunMode_MU.else_.assert_False": {"doc_hash": "f0b14f510cddb893806464e98d7e4c71424b2e92fe09a63bd0fd81751acd383b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._missing_config_error_ConfigLoaderImpl._missing_config_error.raise_MissingConfigExcept": {"doc_hash": "4bb759525dd25aac0d99f5d725d021bbc9cea0f7f5dd9fdc001fe13392c83585"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.ensure_main_config_source_available_ConfigLoaderImpl.ensure_main_config_source_available.for_source_in_self_get_so.if_source_provider_ma.if_not_source_available_.self__missing_config_erro": {"doc_hash": "a543d7e5010531aec0de7037dc03174f3c0b7c744463ea7ca47dc5a0f5726c05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._process_config_searchpath_ConfigLoaderImpl._process_config_searchpath.for_source_in_repo_get_so.if_not_source_available_.warnings_warn_": {"doc_hash": "57463ec32c1f6cca639972e1f7732c917c6284bb5ba47016a9fe419823085626"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._load_configuration_impl_ConfigLoaderImpl._load_configuration_impl.return.cfg": {"doc_hash": "334a4de8b3ca607c7915180a53b77c9657c51861442541a02f74ff7c37607f3f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.load_sweep_config_ConfigLoaderImpl.get_search_path.return.self_config_search_path": {"doc_hash": "0bda8d4858cb3f5dc92274ab95cdb070504966f9449e59c2cd9800976406e39f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._apply_overrides_to_config_ConfigLoaderImpl._apply_overrides_to_config.for_override_in_overrides.try_.except_OmegaConfBaseExcep.raise_ConfigCompositionEx": {"doc_hash": "e89c49b8a7409b729d661c0cfb8e9bf857d6d74f6c292e20ef281fc2e64e4ca3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._load_single_config_ConfigLoaderImpl._load_single_config.return.res": {"doc_hash": "e5e1ac3db50ed94718d04476377eb7ecaa9d01c592c146e90edae37b7f92b2fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._embed_result_config_ConfigLoaderImpl.get_group_options.return.self_repository_get_group": {"doc_hash": "c8b8753bfff4f3532cf534964946084a73d828074e3c3e7aeaa9b3c2439a6acb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_copy_SourcesRegistry": {"doc_hash": "2d9d52e5bb7b76a64ea6b1746f6efc304dec9dd45c13204317a7dc8b645feb1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_IConfigRepository_IConfigRepository.initialize_sources._": {"doc_hash": "4456344727d3e210a52ad42448dd5d080a0cf916fe7a178e8136b90e54d9b675"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository_ConfigRepository.get_schema_source.return.source": {"doc_hash": "cc7b53db4e88d978a3f4c80159cfb7f97616e1cb92ebac3ec442d33fb188a6a6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository.group_exists_ConfigRepository._get_scheme.if_idx_1_.else_.return.path_0_idx_": {"doc_hash": "8d5c8683375e7cf393b030f6bd542f36416c047f65025c8fab96df114f58e70e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository._split_group_ConfigRepository._split_group.return.group_package_package2": {"doc_hash": "daee6010d66775b0b482100b2e87156ef2534e9411e9245edd983f377b834424"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository._create_defaults_list_ConfigRepository._create_defaults_list.return.res": {"doc_hash": "f567dc20e64325869c82f9d96a6fb003b4d363ce972e8b4d6251ca94f11179a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository._extract_defaults_list_ConfigRepository._extract_defaults_list.return.defaults": {"doc_hash": "14a897b197a38a3d19cb69ec01ac153737d14161aca77b68f0ef047af7e31930"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository.Keywords_ConfigRepository._extract_keywords_from_config_group.keywords.group.group": {"doc_hash": "0ba07bc409db0b93e9c6b5efc5075ee6e48f5643446d9950f2b8f235afc56d64"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_CachingConfigRepository_": {"doc_hash": "e328cb649736055e4ca03287673f6089f067202960f5dd004d78d8eecb8b5c43"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/file_config_source.py_os_FileConfigSource.load_config.with_open_full_path_enco.return.ConfigResult_": {"doc_hash": "9b9b0c6de23819e3ea1eab440e69f259ee83488e0bcee000f952bd3eeb13cefe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/importlib_resources_config_source.py_ImportlibResourcesConfigSource_ImportlibResourcesConfigSource._read_config.try_.finally_.f_close_": {"doc_hash": "6e834a6c0123defe46eb4dbbfe02d7b6b865c7dba365a0d019c54acae671e693"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/structured_config_source.py_importlib_": {"doc_hash": "dcd62cb23a1ebf0c385aef686b7ceac62fd43fc1b9254969ea22a0feffd4175b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/zsh_completion.py_logging_ZshCompletion.query.self_delegate_query_confi": {"doc_hash": "9e802d876a7af32dd3b7dc4b2cdd98caebd91151f41a2f97b5c26ea50c9a99c2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/zsh_completion.py_ZshCompletion.help_": {"doc_hash": "008f166fab1d6c9dda8226182c640a479660bee8b3659e7092c670caedd6b384"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_copy_OverrideMetadata.relative_key.None": {"doc_hash": "3cad19718611b756baf5c0be0120d7d88196df2ff96a3443816716de04a4cd1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_Overrides_Overrides.override_default_option.if_key_in_self_override_c.self.override_metadata[key].used.True": {"doc_hash": "7caae51af763e1edea4c4459b014933ae6b4317a3db8be4bc429e4a3090c3cad"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_Overrides.ensure_overrides_used_Overrides.ensure_overrides_used.for_key_meta_in_self_ove.if_not_meta_used_.raise_ConfigCompositionEx": {"doc_hash": "c46304f9102047d82c4df38b7f83af3c97a6c1c1ee1e6351422734bd039e95d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_Overrides.ensure_deletions_used_Overrides.set_known_choice.if_isinstance_default_Gr.self_known_choices_per_gr": {"doc_hash": "6ed9cb8f48afe299524fad744d1f89b58bd06b9197e61a51b505dc82086a94cf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_Overrides.is_deleted_DefaultsList.overrides": {"doc_hash": "6d3da08fad3784345884a85628f47650deedafe7637c1771b8bc8e2600224a3f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__check_not_missing__check_not_missing.return.False": {"doc_hash": "1753bd95795f04d22fc817dfd53d5392a04ff88f63ca3742a2b64c0ae99130fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_interpolation_map__create_interpolation_map.return.known_choices": {"doc_hash": "4534ed4ac4bc34a8b68ffb62ede4a778c63ed0f8626fec66591d96192938746c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_defaults_tree__create_defaults_tree.return.ret": {"doc_hash": "e50cbc9948b402ad533a29a3ed2944acba91c1be139f66e5bf13bafc6f89bdc6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_defaults_tree_impl.add_child__create_defaults_tree_impl.add_child.if_subtree__children_is_N.else_.child_list_append_subtree": {"doc_hash": "4feab9e2ff15bab79417ef52bedb7b69f24183cae1c6fc9ac8102b51ebe93c53"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_defaults_tree_impl.for_d_in_reversed_default__create_defaults_tree_impl.return.root": {"doc_hash": "9c224c06ec1ff75e973098e0b0754223f5bb3eb8dd8d77235bd167c6d230d357"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_result_default__create_result_default.return.res": {"doc_hash": "928a79ca574dfb5a34dfa0cad0f870004a9f28850e6514c562d7b9439a41643f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__dfs_walk__tree_to_list.return.visitor_output": {"doc_hash": "708e1a81ebb31108a717821516f22192ad79d441b8b8a2d5e7f237705f16a204"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_root_ensure_no_duplicates_in_list.for_item_in_result_.if_not_item_is_self_.if_key_is_not_None_.keys_add_key_": {"doc_hash": "5ff194b22c64c0bbfd2e76a58a6b95afe0fe33f52c6e40e3f4b56e768488d3d4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__create_defaults_list__create_defaults_list.return.output_defaults_tree": {"doc_hash": "1608d94b7b81a47c4029d6040a2f8687b6ecac6da5d9246de8a8c4c426accb06"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_create_defaults_list_create_defaults_list.return.DefaultsList_": {"doc_hash": "8064ca01d9fa52bd63a32d135d51b95a74e752ae1a6453244e2a4ca136d4c16a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_config_not_found_error_": {"doc_hash": "fb8a618855590954f7250b44da6f596ac3fca1bf755f698ca30e4dc61d73405a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/utils.py_is_type_matching_": {"doc_hash": "1e12a4d928ce43e532c6581e856b855ca42a390611144f60fcfb2e9941851022"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.run_Hydra.run.return.ret": {"doc_hash": "bc5ea6e9299f40b5dc7835e315cb46685b117b0af085af67ed769d9029d8ef6e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.multirun_Hydra.multirun.return.ret": {"doc_hash": "7d87181ca1df664ad02fbdba8f94075070d1dcb53d5b996076e4bb0b13b249cf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.shell_completion_Hydra.shell_completion.if_install_in_arguments.elif_query_in_arguments.plugin_query_config_name_": {"doc_hash": "ac662911ec7331ad9bba6e69dbfa3b1bc24d565a64c0088bc136145955d063c7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_config_info_Hydra._print_config_info.log_info_OmegaConf_to_yam": {"doc_hash": "fae816c5b495a74c9c2e1ddb248b7d3dd51bbb5ec42052218696d257f23cee71"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_defaults_list_Hydra._print_defaults_list.self__log_footer_header_h": {"doc_hash": "5764f4577baa0b2dac4dacf5c14a7c8e7fa9fcd950f50c0316cd8f129ef127e1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_info_Hydra._print_all_info.self__print_config_info_c": {"doc_hash": "cbb05b94e2555e447b3253606bfd92f4fe911632d1902b5f467ff26ba0e5f0f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_defaults_tree_impl_Hydra._print_defaults_tree_impl.if_isinstance_tree_Defau.else_.log_info_pad_to_str_tre": {"doc_hash": "a11da2f98aff8e9b046aba1197f4d3f81ed0ca67ab3ad88c1fe67cb32e6dc1ab"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_defaults_tree_": {"doc_hash": "fe5e5ec51b38e62766590be30693bee62f872e4fdf5fe6e1d4e43da194846886"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/__init__.py__": {"doc_hash": "a45ae2ee7c3d2e332926f2ccf016d70c51e1b1a918f31038e9ecd0b41831a82b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py_copy__extract_pos_args.return.output_args_kwargs": {"doc_hash": "b4b56b8aba7de7fe0ce13f42e51510d50cad30bdfcb0a8625cfd4b81efa4c8f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_is_under_debugger_create_automatic_config_search_path.return.create_config_search_path": {"doc_hash": "036309d9cbb407ae0df70b013f792b5238276eef774f5c606971046b7e1ad5b4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_create_config_search_path__is_env_set.return.name_in_os_environ_and_os": {"doc_hash": "35cde61aac1bf8954b92c775ca26cdf136f7b48a2e5988f2edb334dcb67d3a5a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_get_args_get_column_widths.return.widths": {"doc_hash": "13c813292c690a44a66df570fd5727e36d987e240beb4263cab5725d4cb8ad13"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__locate_": {"doc_hash": "fe37b81e8e45495d78981ae47f056d27f234dc17f17b91e512b0f11eb1d3689b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py__job_runtime_information_RuntimeConf.choices.field_default_factory_lam": {"doc_hash": "26c432622a83eaf6ff10aa1feb72925a0b19a869fb5836fbb6ecab803ca15c7f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_re_ResultDefault.__repr__.return.f_type_self___name___": {"doc_hash": "84eedb49964c81a50f56875d2c89657efedcbec2fc9be89a335a8d130a7dcc7a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault_InputDefault.update_parent.if_self_package_is_not_No.if__group__in_self_pack.self.package.f__global__resolved_": {"doc_hash": "c99921bd5a64d1fd5ba4167fcf32bd3489b6ea016c555419491681d76468d746"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault.is_optional_InputDefault.is_deleted.if_deleted_in_self___di.else_.return.False": {"doc_hash": "666e5c4771ad30e79337f2d2bd27f825f4067122eadba616982ff8abbaa4ab54"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault.set_package_header_InputDefault.set_package_header.self___dict___package_he": {"doc_hash": "46fe0781a73ab615f52f15fb2c0febb7087daec01d1a3e778b5488d92ce8fbd0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault.get_package_header_InputDefault._get_final_package.if_lgi_1_.else_.return.ret_lgi_len__global__": {"doc_hash": "9eca59db027f513e4e2446bdaccd5e238103ef1a3a770215d3236cabf6c76a64"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault.__repr___InputDefault.resolve_interpolation.raise_NotImplementedError": {"doc_hash": "9fca5803ea0bedac93ec2e9d91e2fff14a1d6dd8eca732c1b9b41642089c788b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_ConfigDefault_ConfigDefault.get_group_path.if_not_absolute_.else_.return.group": {"doc_hash": "6cccc09ac2e3e40c7f7e6f5c0dee956bcd6d68c24f5edaf2b204ad1084cef736"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_ConfigDefault.get_name__legacy_interpolation_pattern.re_compile_r_defaults_": {"doc_hash": "da875d010113c50d68d002ed4b2941c4bd94db32fd23dadc0ecfe7a787c14743"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_GroupDefault_GroupDefault.is_interpolation.if_isinstance_name_str_.else_.return.False": {"doc_hash": "16cfd38c87ee61cf20573a1fecc76ae9d0be1efec2ae3aa4132c5161130407bc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_GroupDefault.resolve_interpolation_": {"doc_hash": "796f31bc29cfa21d1d12bccbb3910c9d9724f2eb15143464edd42b1f783d26f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor_HydraOverrideVisitor.visitKey.return.Key_key_or_group_key_pac": {"doc_hash": "bbd4f476ca9eb9a7620d174a07c8caae82c0a24e10fd1f4fc55d5b6b28ffc4e0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.is_ws_HydraOverrideVisitor.visitValue.assert_False": {"doc_hash": "8c3b3535cf0d89df10733a34eb44be013f572338ed6299c4ac3f70692875ff8a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor._createPrimitive_HydraOverrideVisitor._createPrimitive.return.ret": {"doc_hash": "bd9cfdbc7b342cc9fc3f5e2203cbb09a581c976934c27feb832398e61207c396"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py__Ideally_we_would_use_Li_Key.package.None": {"doc_hash": "b67940eaf2d1609abe0da4498217325227cc062b5e28d6dc45a8265ef661983f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override_Override.is_force_add.return.self_type_OverrideType": {"doc_hash": "50428c21b790d03e7ddf96d0e1dafda53eaecb088fcc20790353ef3e33a05be8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override._convert_value_Override.value.if_isinstance_self__value.else_.return.Override__convert_value_s": {"doc_hash": "ea1d5d7a7512f7b953939094ebb82d9a86e9be348f5f12ef1ff888a933278763"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override.sweep_string_iterator_Override.get_key_element.return.f_get_prefix_get_key_": {"doc_hash": "092163998546a731e25ee5befce0cc0cc9d5ad9707f93bcb42a6ffa125bf6d08"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override.get_value_string_Override.get_value_element_as_str.return.Override__get_value_eleme": {"doc_hash": "0a483f042695529c58027ce3d05cc4c18360c9455ac91252c020755aebd2fc05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override.validate_": {"doc_hash": "7234b82d8d551c21999da02eaa744bfb83faf186132f5abb5730c4228e726122"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_get_valid_filename_setup_globals.None_2": {"doc_hash": "f4a27bf3b83e7935fb3035a22fb5e801f35721e281f535f8c390cd2d3e5631fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_JobStatus_JobReturn.return_value_1.self._return_value.value": {"doc_hash": "329d22c2fd081be0e6c5fb41d9cc3ba0b18ed66e4597ee7f7c2328cb5941e5c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_JobRuntime_JobRuntime.set.self_conf_key_value": {"doc_hash": "e910452990d3d4bbdd222086ae722dc6fabfbee9e7c7bfe02390bb4f1751d489"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_validate_config_path_validate_config_path.if_config_path_is_not_Non.if_split_file_1_in_ya.raise_ValueError_msg_": {"doc_hash": "3e057fe5fe10f6954c43e59f447f837c047988c9143851323755d547210735d5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_copy__UNSPECIFIED_.object_": {"doc_hash": "a0b3a56e6167e405fdb5dd243314433a8ffbd4655df17e9822888b77acbe6f01"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_initialize_initialize.__repr__.return._hydra_initialize_": {"doc_hash": "5e3cb52fe2714aa46215adee693e297ba8388b7eb52c65fd4280d1cda6ab9a21"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_initialize_config_module_initialize_config_module.__repr__.return._hydra_initialize_config_": {"doc_hash": "8160bbf34048746078e7b2f0b3cc0a595439adbb15903091683c373b0bb83733"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_initialize_config_dir_": {"doc_hash": "0a28e648990bfb220a89e0c5f50560b7c4f03cad5b0565540e4f5411e4283b26"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py_main.main_decorator_": {"doc_hash": "19f9d29fb5e25f8551fc2fb3a148f9ef91daeb6cfa6e8fd1ebf7999289824985"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource_ConfigSource.__repr__.return.f_provider_self_provider": {"doc_hash": "f5803248cac2e60c6e6bf4928667aed9a73e4c65cee28897b33761d60aa89102"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource.full_path_ConfigSource._normalize_file_name.return.filename": {"doc_hash": "b0756e268626ce38ea1cc7296c720a6b0aa57ae45eb483e6d8e9da27a224d1ff"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource._get_header_dict_": {"doc_hash": "c76228eea743039bfe7e5466e5273473dc4ffa7e0b2ec896afce240af935197a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_from_typing_import_Any_L_ConfigSourceTestSuite.test_not_available.assert_not_src_available_": {"doc_hash": "ac102dddc34861a1cff00e7a9421232079d4becd1d840ee31febd85006b5c97c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_is_group_ConfigSourceTestSuite.test_is_group.assert_ret_expected": {"doc_hash": "2e36ae21ea79f0296a77c9016547e588062981b9d588339e2ed1d0ab0a52fd4f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_is_config_with_overlap_name_ConfigSourceTestSuite.test_is_config_with_overlap_name.assert_ret_expected": {"doc_hash": "e908ed852927885f0aa3d934383637a074a1d4211512b148431d5c0b56f5d7cc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_list_with_overlap_name_ConfigSourceTestSuite.test_list_with_overlap_name.assert_ret_sorted_ret_": {"doc_hash": "4b4eeb458562ece11e0289e4e7c8fdc2cf02f9ed4d7116670c5463cbea7e7fd2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_source_load_config_ConfigSourceTestSuite.test_source_load_config.if_isinstance_expected_co.else_.with_expected_config_.src_load_config_config_pa": {"doc_hash": "8acf2cad46bd01add7634a8660db064a531d2a289c6e120f4cdd37854b6bcc1c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_not_sweeping_hydra_overrides_LauncherTestSuite.test_not_sweeping_hydra_overrides.with_raises_.with_hydra_sweep_runner_.pass": {"doc_hash": "d0128f7bed10e0e6b3a6e517bdc98ef74dd70ab951ad5a2999cb6266e390fa22"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite_IntegrationTestSuite.generate_custom_cmd.return.fun": {"doc_hash": "bdb3ca3e4a73cba7d484bc7ba15547913de952cd1590d1ca01f6c74326a72f95"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_custom_task_name_IntegrationTestSuite.test_custom_task_name.integration_test_": {"doc_hash": "f564b2c762c759d6b0cbf06481f6c55bb91245751bd9a98f2bf989edd1586790"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_run_with_error_run_python_script.return.run_process_cmd_env_pri": {"doc_hash": "34bdb290cdadebb875b14649d0ef4173cfd2cd964d7f1aa5eec3003cfacc45e7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_run_process_run_process.try_.except_Exception_as_e_.raise_e": {"doc_hash": "a0fe65850401d1b7d08fe60e8cc9860fdb583cad9d390b7290c9daca8e74211b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_normalize_newlines_assert_text_same.if_len_diff_0_.assert_False_Mismatch_b": {"doc_hash": "193dd1112455f83f926ee15441c8532867f53bd4ecc03e99b6f6d9a463134612"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/types.py_ConvertMode_": {"doc_hash": "15e2606187343395c39cdfe41f9a0fca1dee030b03c98f8ef1330d55ba22d6a7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/utils.py_logging.config_get_original_cwd.return.ret": {"doc_hash": "7737200edccf9b5e02c163abc2059f592fd8f999d9c8d066de1504d5b3910fdd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_logging_TrialBatch.is_search_space_exhausted": {"doc_hash": "c0d83c9e576052eef9d039788c390e6b465a423e9275505c89313053bdbb2ded"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_encoder_parameters_into_string_map_params_to_arg_list.return.arg_list": {"doc_hash": "ef3269072642ed7ba9251d5ad6bd4e0a312d2e969c8b0ebf0da147239477f2e5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_get_one_batch_of_trials_get_one_batch_of_trials.return.TrialBatch_": {"doc_hash": "2dd065f24c84311b15902b05e3735b554b493d0792c253c3490a33ae197cdb67"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_create_range_param_using_interval_override_": {"doc_hash": "6d8a30991c16458c169cebbacdfaedab232b56119387d79703bf85c6d9bd750f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/setup.py_from_pathlib_import_Path_": {"doc_hash": "9a8175a2db59d9f6b5179eb0e7e5cb79b2d6785ab101cb74ba6e611fa5a509dc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/apps/polynomial_with_dict_coefficients.py_from_typing_import_Any_": {"doc_hash": "9c93747e70d1b1b4236eaaa732f6ec4d42fc36c68765b8353c3441793cdb6700"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/apps/polynomial_with_list_coefficients.py_from_typing_import_Any_": {"doc_hash": "6c55c6fb29855e3c74a5281001adf9116d8998f460326046d40a1d82ad35db70"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_search_space_exhausted_exception_test_search_space_exhausted_exception.run_python_script_cmd_": {"doc_hash": "2ab6a700544fa5fe6789147a369602c35ddd655b0adc0ecad18137b15a9425be"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_using_choice_between_lists_test_jobs_using_choice_between_lists.assert_f_New_best_value_": {"doc_hash": "3a343f6c666002fd0e549d6ef1e15329f92a651d438873abd5e6db03323beec2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_using_choice_between_dicts_test_jobs_using_choice_between_dicts.assert_f_New_best_value_": {"doc_hash": "24635ff06c048ec5190008c07d6bf50a44ed949a306a511bab181f2cf558b748"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_example_app_": {"doc_hash": "073da103581235112a1e02fcf7c01427fb496594fec9973449caf78779024a18"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/setup.py_from_pathlib_import_Path_": {"doc_hash": "cbfa78e53edf3ff78090ae40ada5a141074dd993ec596757c8f9b062603c9c2c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/tests/test_colorlog.py_from_hydra_import_initial_": {"doc_hash": "3272b8083cfb02a02c357804a13445469e423c6c86e0870216d1326a47b49e56"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_execute_job_process_joblib_cfg.for_k_in_pre_dispatch_.if_k_in_joblib_cfg_keys_.try_.except_ValueError_.pass": {"doc_hash": "6c4153f7bb2c9e0b49020ea2c720b3c6b17a7beb4320f4702bfbe4f65381d0e2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/setup.py_from_pathlib_import_Path_": {"doc_hash": "4cb67074fa18fd46a6f2386feba3c5074137ea705d4eae0a22fbc8635a4f4c8b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/test_joblib_launcher.py_from_typing_import_Any_TestJoblibLauncherIntegration.pass": {"doc_hash": "c1e886e82fc3f260014654f8f2455e2a25decb8589686986db8916f8dde4fdc3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/test_joblib_launcher.py_test_example_app_test_example_app.with_hydra_sweep_runner_.for_ret_in_sweep_returns_.assert_tuple_ret_override": {"doc_hash": "1151b5ace373e5f84cd0316e75024234c09d6a1d7ae3abd2f00e3569bd338527"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/test_joblib_launcher.py_test_example_app_launcher_overrides_": {"doc_hash": "33278564bc72878b9408f672302de67f5efef9ef71a781eb41188e2555676862"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/example/my_app.py_logging_": {"doc_hash": "3b946d1069e8079ae7d44def8b8852b00e3c091d34a15ab416abbe1ada486943"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py_logging_log.logging_getLogger___name_": {"doc_hash": "45dc6c0c81aa3d44289add990c065d63adaad9f7faa64cd62e134a214ebe7e8f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py_create_nevergrad_param_from_config_create_nevergrad_param_from_config.return.config": {"doc_hash": "c60bd372e5615d46cf83c2d876032f0cd9bf1eed0987bf1cfc97eda56358dfbc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py_create_nevergrad_parameter_from_override_create_nevergrad_parameter_from_override.if_override_is_choice_swe.elif_override_is_interval.return.scalar": {"doc_hash": "8673e934d9dfc87402cd641f92c9abc5924b0987586afba5d38d3063471121e4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py_NevergradSweeperImpl_NevergradSweeperImpl.setup.self.launcher.Plugins_instance_instan": {"doc_hash": "efb73a0bc601ad7cdc8a8fb641662bbab45b8d0f4895e8ea187bdd11b1c29218"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/_impl.py_NevergradSweeperImpl.sweep_": {"doc_hash": "e62330dad2cdcb0d188195a0237e1c0cc7b172b844bf93d73accc12a4b86ed75"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/nevergrad_sweeper.py_from_typing_import_List__": {"doc_hash": "d355a3d85b5da264d12a9424fceaf34a4e37fd53a4d7ee3893b7d460d76d8bf9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/setup.py_from_pathlib_import_Path_": {"doc_hash": "dd04540e428e4c061c9d4faf648c2ddf2fe89e8c0818aa9a4c67059c15299dfd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_create_nevergrad_parameter_from_config_test_create_nevergrad_parameter_from_config.assert_ng_param_equals_ex": {"doc_hash": "b29091898636de436eef8bb44e7ae50ada2976fce19467ab7c649a0affe2ad51"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_create_nevergrad_parameter_from_override_test_create_nevergrad_parameter_from_override.assert_ng_param_equals_pa": {"doc_hash": "6a87795bcca8fe325a5f82f04efa0814405264676704aa290a8f6fb62ed0a540"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/example/multi-objective.py_from_typing_import_Tuple_": {"doc_hash": "95ca1bc4ef04a294303d4a568b3f0a3247cee5b343787132dc88471c81cfa0a9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/__init__.py__": {"doc_hash": "9c4ed5dc5978c0bf2c19a3d57584ca70197dbf9861e807a3d26cbaa161d3287f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_create_optuna_distribution_from_config_create_optuna_distribution_from_config.raise_NotImplementedError": {"doc_hash": "e03a556ec8ffc6e43d45a6fb5c25be8993a20ca2f685a601a572e941674fec3e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_create_optuna_distribution_from_override_create_optuna_distribution_from_override.raise_NotImplementedError": {"doc_hash": "b4fa5c84fc960c711bdc0ac25eb20ab6d43ac9a0ee3478af6d3c64437c19a5bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_DistributionConfig_defaults._sampler_tpe_": {"doc_hash": "06037b666876c98f2557c24289d519a74cc8423c27b394ca8da4d52b9dca4774"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_ConfigStore_instance_st_": {"doc_hash": "aed588a7ff07c06d86bf707bc6e651d1f4089bb530c62eff26df234a309584ce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/optuna_sweeper.py_from_typing_import_Any_L_": {"doc_hash": "307cf15859ddc4fb9381c87e30a5537d0dd5683fd2f8a319abfae5f50ab44e55"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/setup.py_from_pathlib_import_Path_": {"doc_hash": "088ada41ccd85b8cf4733ba042cd82eff64aac1856102c65907bdadd5166d633"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/__init__.py__": {"doc_hash": "87c5a0cb9c2bfec9541541721f036ce15717ca36fbf690b046f77d29ae50e8c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/__init__.py__": {"doc_hash": "f602379e7c8b431572b86b5649e1588f1fd040bf864febffafad7a1f2e928b37"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/examples/simple/my_app.py__": {"doc_hash": "3a826a47f730b04e32ccb565be0b428ecc0d78b59c8f1fdf21135282989fcaf2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/examples/upload_download/model/my_model.py_logging_": {"doc_hash": "bc68d4c28907511eefce3f1932180e4b50bc0910466612d03c1cfd5581f71224"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/examples/upload_download/train.py_logging_": {"doc_hash": "3809780c0d4fd2bf5afbd5f9b769028d403efc75c155caf5905475cc91278a43"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/__init__.py__": {"doc_hash": "5135ddfa7d26a4e9dfec5d658013eb61f198b7af4e983b33eae9476e4ec55885"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RayDockerConf_RayProviderConf.key_pair.field_": {"doc_hash": "fbe894739e2de9e2efea3690bc63f54218c4b8dbdb76764cc56071a915463f6a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RsyncConf_RsyncConf.exclude.field_default_factory_lis": {"doc_hash": "0fd9e436ea53f70dbd055711a549a76844baa4f4d5cc708cafa5930db701a513"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_EnvSetupConf_RayRunEnv.docker._docker_": {"doc_hash": "80993213c838d625809c3680a7754e2774932650b66eac866c695d983788a0f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_core.py_logging_": {"doc_hash": "66afb7345c304b7f417b2f0f6db7531a97e394eac1620c6d5fa67e398dc1192d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_core_aws.py_logging__pickle_jobs.log_info_f_Pickle_for_job": {"doc_hash": "43210033d95d47070c96795cb63a7a92b4acaa794e6ee0a2e30be38709024d20"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_core_aws.py_launch_jobs_": {"doc_hash": "1644df1e5c12f73ec40a11767d4d3c6a2c26ff46a00dc3957e2fb46729fd3376"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py__get_pem__get_pem.return.os_path_expanduser_f_s": {"doc_hash": "9307a5884f1ec3a462b96f151bffb245aea27a6ddedad29dee828ca93a7fc914"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py_rsync_": {"doc_hash": "61da0fc46fac1ff3a52b4b52b39afc1813146f1b65540740daf441889f935675"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_remote_invoke.py_logging_log.logging_getLogger___name_": {"doc_hash": "b7da4aeea6a912403ebae94985ff4bea1bcc24c96f3f1f4518512fa8912f8a41"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_remote_invoke.py_launch_jobs_launch_jobs._dump_job_return_result_": {"doc_hash": "5c4ef33627b3babbcbb1cfeaae3805f72f4d833a4b6b59cb632a9b1388aa7a5b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_remote_invoke.py__dump_job_return_": {"doc_hash": "683356fcdf4334a67650adbd8988a2a1d09de498d64e6f05cdd956f5347e35ea"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/ray_aws_launcher.py_logging_": {"doc_hash": "a3f2105fcffe8133f8ed68fbd04456c351b470103a0c1568ab2c451d38e0e08b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/ray_launcher.py_from_typing_import_Option_": {"doc_hash": "66451b9253df7932ae4d3987a89e3001d3d3aab9188e104e1c555c76aedcd644"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/integration_test_tools/create_integration_test_ami.py_os_": {"doc_hash": "36d0fc599bdf81aaba4d80a38dc3c8ba07b54c734ebe58a5dfa2411a40168cac"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/integration_test_tools/setup_integration_test_ami.py_subprocess_": {"doc_hash": "4514ec44b70addd276b50dd9736ea0cd227eee3d4a6647de34ed4ca01c06e5b2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/setup.py_from_pathlib_import_Path_": {"doc_hash": "0c97953b3dc6c59165be43266327f2ccb6632ff0e178359b9f3af4a24b3a58d8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/__init__.py__": {"doc_hash": "a393e6ac03161559755346dbb70ef65731286fd7d449405c177cdbb891c33b67"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_logging_pip_lib_skip._": {"doc_hash": "f7590465e797952a29379ea1d67d6b6d9b4d792fb9c8acd3c19c2fbbf3a03634"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_launcher_test_suites_overrides_integration_tests_overrid": {"doc_hash": "110b2f84201e2bcb6a2512b3396692c0111f73869bf55ae518cf535b62c7bcce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_TestRayAWSLauncherIntegration_": {"doc_hash": "b8b8c0efa2cb494242778999b56e7c8018125e6fb406bd600e057aaead9b2002"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_launcher.py_sys_TestRayLauncher.pass": {"doc_hash": "75d022ba7c7e54c34271cf7c139187ffbcbdfc53be327572747a67eaba87d8b1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_launcher.py_TestRayLauncherIntegration_": {"doc_hash": "ac0e3778ee59e55dda08cbc0585d2b2e4533c515fef24f71c5fae37e05e9c28b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_from_dataclasses_import_d_RedisConf.mock.II_oc_env_REDIS_MOCK_Fa": {"doc_hash": "190b44266ed808223c2a4179c8d7cd4e2e0a529b0dd394ebd22a7ece060b68c8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/setup.py_from_pathlib_import_Path_": {"doc_hash": "09853c8b57dda57e4448e3204216790f855e3f31b7f1406b296fe63af3884fec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/test_rq_launcher.py_None_3_": {"doc_hash": "556e4cf3c9a6c6adda9546fc69db963336562ad42d2f723d53af020d5fb57ebf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/config.py_SlurmQueueConf_SlurmQueueConf.setup.None": {"doc_hash": "e577c1a30b2cc87e344247c003d71a240e50bf3f588374a0e0d33ac4aa2e8750"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_logging_BaseSubmititLauncher.setup.self.task_function.task_function": {"doc_hash": "41510d7c48506791747238e36322887ca282587d8f4522a44951938752475262"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/setup.py_from_pathlib_import_Path_": {"doc_hash": "31d06497f45e7c2b410ea6fe965d658f5f024e3d8803ca0de676c64a4d571aa5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/tests/test_submitit_launcher.py_from_pathlib_import_Path_": {"doc_hash": "e4293120a5490959cbd82d7643c3ead650ef67989c20a36f1a0da5a9f3aef41a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/__init__.py_verify_hydra_pytest_plugin_not_installed_": {"doc_hash": "19244331e96d773bb01f20003b9650a3f047b48f5db2cb47cf1bf3a1515cd3f7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/benchmark.py_from_typing_import_Any_": {"doc_hash": "ae02e7c075593beab39376952e260701a44ff617db5823e2c4d9cadb11cd2b6f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/__init__.py_from_typing_import_Any_L_create_repo.return.ConfigRepository_config_s": {"doc_hash": "29142b8d1199fe936d9e2c9739149d380babb024be69258e1079163ae3878652"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/__init__.py__test_defaults_tree_impl_": {"doc_hash": "f105047ffbb001a706ce4b19ca6372b187350d31bf524eb360c5fc3888f8cea1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_re_Plugins_instance_": {"doc_hash": "ca7212c73f8deb36294173e6b1e031028cb3eedd8f3f293f6c3868c267db214d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_loaded_defaults_list_test_loaded_defaults_list.assert_result_defaults_li": {"doc_hash": "f752a280d50734cea48b876bb068aeaa93ffeb2647f7509dffbc11bd2d162fb6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py__test_defaults_list_impl__test_defaults_list_impl.if_isinstance_expected_l.else_.with_expected_.create_defaults_list_": {"doc_hash": "725cc7709f9eec578933fea687a647a89e750396742346ee31eebf5f975d5d84"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_get_paths_test_get_paths.assert_default_get_config": {"doc_hash": "8d5116f3334105d454c5c67934699650b5be7e1793b9948b70912fc69cbabbd3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_get_default_package_test_get_default_package.assert_default_get_defaul": {"doc_hash": "f1322c13711b049de1bf14db6fb7a736d49b7bad635a1b08a7a80cc352cdd3fa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_get_final_package_test_get_final_package.assert_default_get_final_": {"doc_hash": "9b2777964cfbf47f443d01145dba38a1aa049d76de04236dd79de11e33754c6c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_simple_defaults_list_cases_test_simple_defaults_list_cases._test_defaults_list_impl_": {"doc_hash": "68ecd643d565eef02b63bd8996d41442c2f4ac1bf4526fc43c3912daeec39ebe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_override_package_in_defaults_list_test_override_package_in_defaults_list._test_defaults_list_impl_": {"doc_hash": "565b605649cf2e32a61f11d6f950e9d0ece3b3875fe56db9621e043c97a72534"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_include_nested_group_pkg2_test_include_nested_group_pkg2._test_defaults_list_impl_": {"doc_hash": "deb31bb32905d46a440efb1b5c69f7954735d34fe87c63a2fc0c0d27c99f6c00"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_group_default_pkg1_test_group_default_pkg1._test_defaults_list_impl_": {"doc_hash": "07cc9211d87294d7551f7bb78aef9486a2f4e3f0d2d0e0f75ca211a54f9c41af"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_include_nested_group_global_test_include_nested_group_global._test_defaults_list_impl_": {"doc_hash": "80b6c3c71a8bfd4e6a425115de3237b2ceaeb0bbe872053f454931f4307b926e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_include_nested_group_global_foo_test_include_nested_group_global_foo._test_defaults_list_impl_": {"doc_hash": "dfbb57382543812877b0f5433214071aed8219fcd49b16c285349e918195dd25"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_include_nested_group_name__test_include_nested_group_name_.with_warns_UserWarning_m._test_defaults_list_impl_": {"doc_hash": "381e4b41d7eb07f86e11d2ee3b2027d4c57ee96d187f6c4a7c933eaafb7c6fb9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_primary_cfg_pkg_header_foo_test_primary_cfg_pkg_header_foo._test_defaults_list_impl_": {"doc_hash": "f5a3ef1ad35bf9fa5c992d4ca69c03e6daae6bdef8a8b453a4ae4a4b2f3da3cb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_include_nested_group_pkg_header_foo_test_include_nested_group_pkg_header_foo._test_defaults_list_impl_": {"doc_hash": "ab3ab1cccac5d1d5657f0c79c7f53b6f34af194951b2190237293d29246cd782"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_nested_package_header_is_absolute_test_nested_package_header_is_absolute._test_defaults_list_impl_": {"doc_hash": "9771ae5f98f7f36cdef399e68c16e090ebbb877f59947cc418a80e6b695d8dcb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_overriding_package_header_from_defaults_list_test_overriding_package_header_from_defaults_list._test_defaults_list_impl_": {"doc_hash": "bfaa20d1cddd484635b75b996d1d7d86713382bfe17a46864675cd30f4e4e3ba"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_with_hydra_config_test_with_hydra_config._test_defaults_list_impl_": {"doc_hash": "1f4fb1b62b4565b72a1ba210df13e7647ecd0e2209577d9e106e27e5262573c6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_experiment_use_case_test_experiment_use_case._test_defaults_list_impl_": {"doc_hash": "b51526f638cf6ab154e447d5aa1cfb48f2f8a351a43f06652921c0466857c161"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_as_as_primary_test_as_as_primary._test_defaults_list_impl_": {"doc_hash": "33f51ed6b8a642e7e3cbc6d257edc193c83dcfe4a76fb5612beb0080a130e5f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_placeholder_test_placeholder._test_defaults_list_impl_": {"doc_hash": "831ef22c80dde63e9a3e885d0f674b329a26e55963261622665724f11a1912f6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_interpolation_simple_test_interpolation_simple._test_defaults_list_impl_": {"doc_hash": "746c7441fca5f4f784148e363f1c88687f58c8b1f8dd5535f2887c56747a4eff"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_deletion_test_deletion._test_defaults_list_impl_": {"doc_hash": "4ea4bf6d00367365ca1bc9ae00299943dd56ec8fca6f543f99f30809aa623562"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_duplicate_items_test_duplicate_items._test_defaults_list_impl_": {"doc_hash": "42663424790243a6ab5bf9dc6029a6b66c83e093443dc6ed65443fe47d2c5d65"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_load_group_header_test_load_group_header._test_defaults_list_impl_": {"doc_hash": "ea27236f4c21c2217394c04918819bbc448634d9c8d3afe5f35850216f5f7774"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_with_none_primary_test_with_none_primary._test_defaults_list_impl_": {"doc_hash": "f5ebc1342494be5cadfb5151034942b396743163e3a101c1eb9213391671585b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_with_none_primary_with_hydra_test_with_none_primary_with_hydra._test_defaults_list_impl_": {"doc_hash": "00626a7dc4a09caa2c0885f20277dae6e539a0758714f77fbd3e0e7fae18051a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_two_config_items_test_two_config_items._test_defaults_list_impl_": {"doc_hash": "5d97bb094e5db595743b9b7b9cd9b2ab3b15454355f3d4069ec2e99acd19b4c9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_with_missing_config_test_with_missing_config._test_defaults_list_impl_": {"doc_hash": "c69d7c9a66da205767ea7b809e85eec1ef3688563493606063ccec3a030fee0d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_set_package_header_no_parent_pkg_test_set_package_header_no_parent_pkg.assert_default_get_final_": {"doc_hash": "cf53c24eba16fa93eb694b4e54ae6eb954f317b1c64759066b2a0189091f3fb0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_set_package_header_with_parent_pkg_test_set_package_header_with_parent_pkg.assert_default_get_final_": {"doc_hash": "27c8de907a32760547461a9e1257d8e2b019b77c7c5d95c5757bcf1cfa0b3685"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_select_multi_pkg_": {"doc_hash": "a822084148028e9117a63eb782322b0a9041f9f29f40716666f2b46a83b15556"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_re_Plugins_instance_": {"doc_hash": "80122d040ca33289d3af1544f30743916da377c9bd599fdff31536ef7ae0fece"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_simple_defaults_tree_cases_test_simple_defaults_tree_cases._test_defaults_tree_impl_": {"doc_hash": "888c78e458d36745c62fffc9e01c58bdcbbf82167486761ca6e5c9d04a8b01ff"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_tree_with_append_override_test_tree_with_append_override._test_defaults_tree_impl_": {"doc_hash": "e2a5944679e65ca2f5c40e65f4f512180e0b2d61c068a78e69df6f5e577852d6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_simple_group_override_test_simple_group_override._test_defaults_tree_impl_": {"doc_hash": "c53190102225c932e2d996b7aebe8b389ce636efc98014de7c345a2db3a43780"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_misc_errors_test_misc_errors._test_defaults_tree_impl_": {"doc_hash": "624bf2de68fab1ac720e6554ec257cb412697451b1b9f6328dd676ff1d06b2dd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_defaults_tree_with_package_overrides_test_defaults_tree_with_package_overrides._test_defaults_tree_impl_": {"doc_hash": "1e5d1cabdf5ea4973d10ed0efebd5ea11340c15928a46b40934c2228869fcf26"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_defaults_tree_with_package_overrides__group_override_test_defaults_tree_with_package_overrides__group_override._test_defaults_tree_impl_": {"doc_hash": "bcfa05e1a3e520547d80dcc3b685e01189994a8fdba33d247c3245907ef140f5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_override_option_from_defaults_list_test_override_option_from_defaults_list._test_defaults_tree_impl_": {"doc_hash": "d513f303531f6bef2302756ef5ccb08cb0014be05cc10048668c118037dea3f6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_two_group_defaults_different_pkgs_test_two_group_defaults_different_pkgs._test_defaults_tree_impl_": {"doc_hash": "591357d41069b4415e0b8260de56e5984eb9d8f0272bd0b4626753504b2a827d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_group_default_with_explicit_experiment_test_group_default_with_explicit_experiment._test_defaults_tree_impl_": {"doc_hash": "09139ca0f2d5ae0a12231200ed8ca9041df119e840de194b67fbc58bd184c352"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_group_default_with_appended_experiment_test_group_default_with_appended_experiment._test_defaults_tree_impl_": {"doc_hash": "ef9df0d044d29da1fdb60640859431b20450fb152d6a2218124b9e47d6cca008"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_experiment_include_absolute_config_test_experiment_include_absolute_config._test_defaults_tree_impl_": {"doc_hash": "e6410ef723c670071babdc4bd036cfc4fc8341cd68da1156ea2585a197313932"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_experiment_overriding_hydra_group_test_experiment_overriding_hydra_group._test_defaults_tree_impl_": {"doc_hash": "86ddd9e6a4db124304482811ad88668d64c20c1a213f0100e7bbddbd32fbb49f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_experiment_overriding_global_group_test_experiment_overriding_global_group._test_defaults_tree_impl_": {"doc_hash": "201a9dbf6bce391fc0caf9df7819fb8d726d52c46db2bc4f7f291a5e9a21445f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_experiment_as_primary_config_test_experiment_as_primary_config._test_defaults_tree_impl_": {"doc_hash": "e740cc5cab1a5bc0719655f019c9ba2a1f96884084fd53c686199328853c00fe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_extension_use_cases_test_extension_use_cases._test_defaults_tree_impl_": {"doc_hash": "7bc4de10653a2f60aaff749b88e20ae59e8754ec77db6986e6000d291de627e2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_with_missing_test_with_missing._test_defaults_tree_impl_": {"doc_hash": "df0bfd748b004539680271cdfef6254d6094d37e3249a5f80663f384325d5323"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_with_missing_and_skip_missing_flag_test_with_missing_and_skip_missing_flag._test_defaults_tree_impl_": {"doc_hash": "d86fb181f8c6a7266984c31462e9999551658242a6cecf072dc4e514cab9b140"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_placeholder_test_placeholder._test_defaults_tree_impl_": {"doc_hash": "5670837903f825e8ff068c306fb120ceee9f51e5646ce3990aba7d9618740e4b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_override_nested_to_null_test_override_nested_to_null._test_defaults_tree_impl_": {"doc_hash": "899c6cf504b9977f4bff8e77ebbdf70a6ec055a127cc15f143cddb789e276355"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_deletion_test_deletion._test_defaults_tree_impl_": {"doc_hash": "4659c7995eff2df8ff435abd4e6f945c908195faba0606a00a759537b899aec4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_delete_non_existing_test_delete_non_existing._test_defaults_tree_impl_": {"doc_hash": "6c992bdca7011707ff8244eefeb203ba9941c713e4bf5029a58f933578e46358"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_missing_config_errors_test_missing_config_errors._test_defaults_tree_impl_": {"doc_hash": "bd08323de961f86ad3794fe2d1f6186e3d9ade92eee05eac5e5403a7ff8500fa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_override_errors_test_override_errors._test_defaults_tree_impl_": {"doc_hash": "db7588344ef80aeed122b7224fa2ad98137b92d6cc62a4d2dc171df3e6731e9d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_load_missing_optional_test_load_missing_optional._test_defaults_tree_impl_": {"doc_hash": "94cbc41459d0f6d963ce587972571112e9fa015b1c82de8fbf0f416cc52c75b8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_overriding_group_file_with_global_header_test_overriding_group_file_with_global_header._test_defaults_tree_impl_": {"doc_hash": "afa27651174657e4823e96fe0550e5d2de07599415664b23bfc55b6b12fff45b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_none_config_test_none_config._test_defaults_tree_impl_": {"doc_hash": "33deadb1d3058f30f314de085de060fb901fbe65ebb823c04ab3373140bba0b5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_none_config_with_hydra_test_none_config_with_hydra._test_defaults_tree_impl_": {"doc_hash": "b20a62fc0f99b7e78a666cf3ed9e1e41d91fa1ac3acaab7118b9ae4dcdfb9a7d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_defaults_with_overrides_only_test_defaults_with_overrides_only._test_defaults_tree_impl_": {"doc_hash": "4a6b36a317a7ba49c6408a9d5c9a5528b7ded3a8b86ade0df3955dba0834532d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_group_with_keyword_names_test_group_with_keyword_names._test_defaults_tree_impl_": {"doc_hash": "0a03dc2d2872c5ac12d2945a42c98aa458e5307f4a3974cb9a118a15a9589a31"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_choices_test_choices.assert_res_overrides_know": {"doc_hash": "926bb526ae9a5b739d996fa1bb3865d07be44fa2d1675cfe4eac3fe6400077c8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_deprecated_package_header_keywords_test_deprecated_package_header_keywords.with_warns_UserWarning_m._test_defaults_tree_impl_": {"doc_hash": "b75ce22b3307b134b3e07d24977457de213d76296b8c3f1e1e634bcc2521f35b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_select_multi_test_select_multi._test_defaults_tree_impl_": {"doc_hash": "e0e75713559cce1495ffcb3e947ec910e44438f5b6a45c4ad63f69f21f19cacd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_select_multi_pkg_test_select_multi_pkg._test_defaults_tree_impl_": {"doc_hash": "11d25808402f516feee3b4cb1b8dc7e7d20c65d42746c43b09adf1c1cdd70ccc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_nested_override_errors_": {"doc_hash": "65ceacef3c378e01d45c6d459ecfbd4220577bdda3fe2e4e8abc57ad35f30b80"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_Tree_Tree.__repr__.return.f_Tree_value_self_value_": {"doc_hash": "7e4e82e8b88f5c566842b63cc9d5e0145ac25aac568e2d3111c2b7ac2c39584f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_Mapping_Mapping.__repr__.return.f_dictionary_self_dictio": {"doc_hash": "35c178d311a5a209745ac18a11dd5c8e060d524a8d8a529eb7b27b2ebcfab72f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py__Configs_": {"doc_hash": "1184971bb0747a54ff79a535cf060beffc3b6e01895700cd877f54c38561e313"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/positional_only.py_from_typing_import_Any_": {"doc_hash": "3187751ec5e6cdae75fbd756efb971c23ead19db0716be3cef5e1147f3887be8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_copy_config.assert_config_cfg_copy": {"doc_hash": "c99b94309007d9488465d98d945ce2ede0ee9540b48f0c31756caf20644d2df4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_none_cases_test_none_cases.None_8": {"doc_hash": "f43a07f2b4e1fde893b4ea6859dae76e772199287c176523615e3bae2dff8277"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_interpolation_accessing_parent_test_interpolation_accessing_parent.assert_input_conf_cfg_": {"doc_hash": "3d539b8b08324a0981073967f272fa9348ea8ffa4c2fed1ac6416e6d1bf86951"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_adam_conf_test_instantiate_adam_conf.assert_res_amsgrad_exp": {"doc_hash": "2b1b62bbc20021b487d7ed1c0c5b70162051588bb4ddc54df2ca3a8ceb087718"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_adam_conf_with_convert_test_instantiate_adam_conf_with_convert.assert_res_amsgrad_exp": {"doc_hash": "cb53fe05b6c231efce31f0042939131e4598c896bf66376ee0b23744b21bc79b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_recursive_instantiation_test_recursive_instantiation.assert_obj_expected": {"doc_hash": "00a18befbf23592cdd3b3d5d5c92566aa6346bc2f6829c058f5214b20de64b03"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_recursive_override_test_recursive_override.assert_obj_expected": {"doc_hash": "a894a9ccb8cb2ace68808292731a575b5bac3b5c9ade44d7d467fdf517be4173"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_override_target_test_override_target.assert_obj_expected": {"doc_hash": "c8b9010af9468e3360b5b83466a4324ee4de4fb3bdf63dd91dba70a023503410"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_from_class_in_dict_test_instantiate_from_class_in_dict.assert_config_config_c": {"doc_hash": "1ec8bdf524d9e3f95dcc7fb2b6a3c71062ef4e0ec90a6f45c74fe209bd9114b8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_convert_params_override_test_convert_params_override.assert_isinstance_ret_d_": {"doc_hash": "22162ed2cd1dc288961f305fee5d2f3cfb76497cacf56a94135897daf6246673"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_convert_params_test_convert_params.assert_ret_a_expected": {"doc_hash": "0a156f903cde92607ad6e20a093fbe0bf809f4c568b546f7add0cde56ecb7a80"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_convert_and_recursive_node_test_convert_and_recursive_node.assert_isinstance_obj_a_b": {"doc_hash": "fb0ea1a6d6aad5045cf09f55845b89310597fe9dab497a1c32c0c84c3d2c59d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_convert_dataclasses_test_instantiate_convert_dataclasses.for_exp_mode_in_zip_expe.assert_recisinstance_inst": {"doc_hash": "b487fd84f62a22f4296cc84ae622b2e76ac825f22b139e2e81e31e69618a862a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiated_regular_class_container_types_test_instantiated_regular_class_container_types.None_5": {"doc_hash": "47b1a01b43f3bbf1f746b04d8ff478c30fde531534320209a179ae070d858150"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiated_regular_class_container_types_partial_test_instantiated_regular_class_container_types_partial2.assert_OmegaConf_get_type": {"doc_hash": "bd5767975748def337c4164ca1234f9093766a615ec09d3655ec5b67124f3eb8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiated_regular_class_container_types_partial__recursive_test_instantiated_regular_class_container_types_partial__recursive.assert_OmegaConf_get_type": {"doc_hash": "1fa67504a98adb6a47ac3105cf1fac3f3744ee8c4a05d466cb8bb1960a62dbff"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_convert_in_config_test_convert_in_config.if_is_primitive_.else_.assert_isinstance_ret_b_": {"doc_hash": "848e83274632a5fc5f10e8d8a61544e065ab98acce444300d77ac97661b6d224"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_convert_mode_equality_test_convert_mode_equality.assert_v1_v2_expe": {"doc_hash": "8ab589d88a93a3ae84b5f30b415ef18dfe92536b23323f04035375fca68568c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_nested_dataclass_with_partial_convert_test_nested_dataclass_with_partial_convert.None_5": {"doc_hash": "56c228568eb0c4cdc54273715439b82b987cc3fe4eddc7e865a38a7e02d95c5e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_DictValues_test_dict_with_structured_config.None_5": {"doc_hash": "d21ca7854ad010bb67eda2d55d2d83ed99e78ec352d65b633a96b34f70d037df"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_list_with_structured_config_test_list_with_structured_config.assert_isinstance_obj_d_0": {"doc_hash": "5a0ae62a478cac6bc707f51028ab1d913600d30d0917543b9725aa5cab1d37b6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_list_as_none_": {"doc_hash": "2cd590d92b8f883aa3d1b03a15b98a5b9774ce681a1b971f0e83909931bd0266"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_test_instantiate_args_kwargs_with_interpolation_test_instantiate_args_kwargs_with_interpolation.assert_instantiate_cfg_": {"doc_hash": "3e9cfbc687eeb0ff9806b305d66cc570032cff5035486f9a213f7e36c36efb7c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_test_instantiate_args_kwargs_with_override_test_instantiate_args_kwargs_with_override.assert_instantiate_cfg_": {"doc_hash": "15ca27a710185b51254f1c4532aebfc5147d404ee497a60922b87c56eddba55a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_None_4_test_recursive_instantiate_args_kwargs.assert_instantiate_cfg_": {"doc_hash": "50bffc27602877f3d0cc1a34c18fd37603d740fb2aa1166d34989f14f4fdaaba"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_test_recursive_instantiate_args_kwargs_with_override_": {"doc_hash": "2311aaf7ed1af0bc487b417427887f36ebe72c403c1fd964e135266dbcee1eb8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional_only_arguments.py_sys_": {"doc_hash": "cfc8ad48b894c97cd6e344691a82e7e2abbe833e2a1921f3972cfa394c8ccbb0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/setup.py__": {"doc_hash": "86e9b14c1b588dc7ebe45ced502846c1bb66e5be936bf258488a89aaf8cfaa23"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/setup.py__": {"doc_hash": "6f4990ad6e4981b27894f2d3613fe6444e614373a084943c8c129801ae542e9c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/test_namespace.py_from_pytest_import_mark__TestCoreConfigSources.pass": {"doc_hash": "b2ef66add01e9ec87f0d9cb0997db9f93e2b9b97cba27347cc9e81a0961c1a86"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/setup.py__": {"doc_hash": "d48b5fd854b1741b879dcd74c810f64ee264ce0300ffd14f6392e24a5f32db42"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_can_fail/__init__.py__": {"doc_hash": "35095f7731f672fad139d7d95018a011371c9acc6351dadd07751b3cfc590047"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_can_fail/my_app.py__": {"doc_hash": "29366f06e87720fde23db3c85b9592e1221c12fdc609bdce5f10c338fbbe2111"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_callbacks/custom_callback/__init__.py__": {"doc_hash": "eb504f30feb4054a37f9405a301435f62116863afc11e42b07f70581bc69faa2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_callbacks/custom_callback/my_app.py_logging_": {"doc_hash": "8517a03b29b5db14637e909af7074aa83fa0bf14c1553103e061151e37698034"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/custom_env_defaults/hydra_plugins/env_defaults/__init__.py__": {"doc_hash": "51ed26bb55427593a1a9b07b8f581850131d08964939484301958c34af191e3d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/custom_env_defaults/hydra_plugins/env_defaults/conf/__init__.py__": {"doc_hash": "ce7577f6417b842ad19c6e0842f37579374fc91cc57dc9b9600cca4d1608da80"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/custom_env_defaults/hydra_plugins/env_defaults/env_defaults.py_from_hydra_core_config_se_": {"doc_hash": "3ef386b27065340387b772d04f81df82e3317c1197969cd8aa9ebb8d63a184f7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/custom_env_defaults/my_app.py__": {"doc_hash": "f4dde96f2fe0731e849473910018e973854fb5cd24ccbc8285a614bd14104ba3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_without_config_path/my_app.py__": {"doc_hash": "fc115c7d18e3ef8df765e591aa1e2a2ff111132493d4dfebea5b3e67cc656a05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/structured_with_none_list/my_app.py_from_dataclasses_import_d_": {"doc_hash": "21a23fe954f3e95a7ae32440e408cdf29274093d90f3a2568d32cffe37ac51e4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_basic_launcher.py_from_pytest_import_mark__": {"doc_hash": "25ac68d1611197e1a27a1948d0c2a0f255c0f8e2d0ebbe549163109b20816ca1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_basic_sweeper.py_sys_test_split.assert_lret_expected": {"doc_hash": "8335006e6d7d952bd2a66ffa688d56aaa82fd08d3bc39774e6bd6e6d2873f621"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_basic_sweeper.py_test_partial_failure_": {"doc_hash": "e6f90d801e3c93a1d85a6da9215328f8ca69f858bf0b279cb49073b60a65b772"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_is_zsh_supported_is_zsh_supported.if_version_parse_zsh_vers.else_.return.False": {"doc_hash": "67e7f4ded059913fa9fdb37c0e2e110f45e4b8faf5ab28115a84c12f4227214f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_TestRunCompletion.test_shell_integration.assert_os_path_realpath_r_TestRunCompletion.test_shell_integration.subprocess_check_call_cmd": {"doc_hash": "7077532b4b99e14cbcfdca8f7da68835d2e262a72852c147e5f9f932196ff66b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_TestMultirunCompletion_TestMultirunCompletion.test_completion_plugin_multirun.assert_ret_expected": {"doc_hash": "9de79b3fae1d2ff379fbbc3ee7b8dcad3aa56f8c79a930d69881a41f58e33c6f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_with_flags_test_missing_default_value.assert_ret_expected": {"doc_hash": "aa75f6772e343ce62ff97891906ad33652d685fefd65bdb8ad9e2bb005f2d152"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_missing_init_py_error_test_missing_init_py_error.with_raises_Exception_ma.with_initialize_config_mo.compose_config_name_test": {"doc_hash": "dbffd80006a29c0db0090b01efb4d6a346fc4e6464dc8614ec824cc097400e15"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_missing_bad_config_dir_error_test_missing_bad_config_dir_error.with_raises_Exception_ma.with_initialize_config_di.compose_config_name_test": {"doc_hash": "7fc972afa93f9776ca91e4ee8ff15fcb56f856166c211caba661ba38635eeb4b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_with_module_test_initialization_root_module.None_2": {"doc_hash": "b3c6c355df322f2db3e3ab8c9dccc0d8fa17ff06515a0fabe107b69c6a9a26ad"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_adding_to_sc_dict_test_hydra_node_validated.with_raises_ConfigComposi.compose_overrides_overri": {"doc_hash": "069656247620106a9d5a1bd73d1a7d57d89428599399e7b5428e0480128691c7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestAdd_TestAdd.test_force_add.assert_cfg_key_0_": {"doc_hash": "fac6513d318ee943e7fadf0032cf09751fbde0e50fc462f292b9e23454b3c4c4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestAdd.test_add_config_group_TestAdd.test_add_config_group.with_raises_.compose_overrides_gro": {"doc_hash": "c43d2b79876ce87ea12f4ea3bc7617d5c0585c41af8c1fdde555e4f9090a3da3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestAdd.test_add_to_structured_config_TestAdd.test_add_to_structured_config.None_2": {"doc_hash": "1807000f92156bb131da0004b85aba84e219a1067941053f503633f8ba10870d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestConfigSearchPathOverride_TestConfigSearchPathOverride.init_configs.yield": {"doc_hash": "8de2de0164f57720cde9c402be4417988799cdf5fd9bb85b533a3e7d052b8f69"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestConfigSearchPathOverride.test_searchpath_in_primary_config_TestConfigSearchPathOverride.test_searchpath_in_primary_config.assert_cfg_expected": {"doc_hash": "dea4daa25a16994f48e6501cf5a11df78207fc10c3116ac268d46c2ed9eb9599"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestConfigSearchPathOverride.test_searchpath_config_errors_TestConfigSearchPathOverride.test_searchpath_invalid.with_warns_.compose_config_name_confi": {"doc_hash": "3050725526966e043d26c4b8893af1c4dce23bd670d78658832e68385c88fca6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_re_TopLevelConfig.db.MySQLConfig_": {"doc_hash": "ae8c4c1ec07ba5bd64f3af8d0e7da188e11fb9de7e3e757d4c86ea950c27a39c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_adding_group_not_in_default_TestConfigLoader.test_change_run_dir_with_config.assert_cfg_hydra_run_dir_": {"doc_hash": "a0331423db5e9ee57b3abd1fc41b1612f066da41c487b0b4c37261fa7ae43168"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_strict_TestConfigLoader.test_load_strict.with_raises_HydraExceptio.config_loader_load_config": {"doc_hash": "5ba915de687ad9df60ba7f362b293e0090a849ca66e43d8da399be03b252bd20"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_yml_file_TestConfigLoader.test_load_yml_file.assert_cfg_yml_file_": {"doc_hash": "d67be19ecfc2faebcf3dcaa9d5160a22d656dcf5c5381b0e145750919d87c804"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_override_with_equals_TestConfigLoader.test_compose_file_with_dot.assert_cfg_abc_cde_": {"doc_hash": "bf18ddc51b4953b9ca41e79b5cf4e38a974de38631d721f709db194c00e4085d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_config_with_schema_TestConfigLoader.test_load_config_with_schema.with_raises_HydraExceptio.config_loader_load_config": {"doc_hash": "95b89928e32c8d351dffe928a617b8ccc2447a35cf15793331339bcf9da13a8a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_sweep_config_cache_TestConfigLoader.test_sweep_config_cache.assert_sweep_cfg_test_env": {"doc_hash": "5e5f340c5913eee5c00b357a9bca05fb8cc59ef5b1d4e76afbc629427c7a4d91"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_load_schema_as_config_test_load_schema_as_config.assert_cfg_": {"doc_hash": "cac50d90be2805aee327f4f6a97d416d1f01f2f0f618a08b8086dee4a3a0fa61"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_overlapping_schemas_test_overlapping_schemas.with_raises_ValidationErr.cfg.plugin.10": {"doc_hash": "b87cf6ac42311ecde3897a1350ec1f21510a4d2f341a0abae767a2667412a8d0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_complex_defaults_test_complex_defaults.assert_cfg_expected": {"doc_hash": "0bbbc8654eb5299690f0a5fea773898598343befa074b748e226528d329d9df0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_overriding_with_dict_test_overriding_with_dict.assert_cfg_expected": {"doc_hash": "def9d7085aa80786cd8e114e76eb4b4eacc77f0593d638fa3e1a1b5ff9ea6492"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_hydra_choices_": {"doc_hash": "ca0b625dac9fb675fc8a7024a9e5fb275e7550aaaf19200ee7bb1c898f5986ce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_copy_state.copy_deepcopy_Singleton_g": {"doc_hash": "c3f023805673c22c0c84a89dbb97351b60ee43be5513ae4c340208da5767962e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestConfigRepository.test_config_repository_list_TestConfigRepository.test_config_repository_list.assert_ret_defaults_list_": {"doc_hash": "a82b169a8d5305ce27fbf1ca0b6b6bbb42d1d3e1dffd0c59c4d592f2acd61552"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_test_get_config_header_test_get_config_header.if_isinstance_expected_d.else_.with_expected_.ConfigSource__get_header_": {"doc_hash": "c68a419d4ad34bf025ba7d2d0cadd830299d225abba1f791231d096078abb81a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_test_singleton_get_state_test_restore_singleton_state_hack.Singleton_set_state_state": {"doc_hash": "1c6d9d5b61dbaf7743b8ea616a8b04a6fc09a0bb497b20931924e19b3df46efb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_test_importlib_resource_load_zip_path_": {"doc_hash": "50ac245c0017c193667c784aad559b2ffc72bfd4e2e6636f159cfc67ed1f1a87"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_env_defaults.py__": {"doc_hash": "c6a3dd40506665ee5c04a2a9f65eebd102b64ee723f060a852c7f35735c1389e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_advanced_config_search_path.py_re_": {"doc_hash": "7a978cb6f77510d0ea397f50d1cbf3ee7564bf3a830156618690d48052991ca5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_advanced_package_overrides.py_test_advanced_package_override_two_packages_": {"doc_hash": "9acc101cedf713a50bb3e447b9d4314393ada1feb9b907ff53d691f0d1d1cec6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_configure_hydra.py_test_job_name_no_config_override_test_job_name_with_config_override.assert_result_name_fr": {"doc_hash": "c18e966c1cac9e0ae172883580f898181e6a30a26e8095db9522d4a49a916896"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_configure_hydra.py_test_job_override_dirname_test_job_override_dirname.None_1": {"doc_hash": "33b4191ddd0c60f7f330713798171606ec52b06ce99070f507d2def92023b963"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_configure_hydra.py_test_logging_test_disabling_logging.assert_result_": {"doc_hash": "9fe668b0a64be8759655c38a06d2f2531e2be231d2bcb8dcd6941520dbf04c39"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_instantiate_examples.py_from_pathlib_import_Path_test_instantiate_object.assert_result_output": {"doc_hash": "71381fcce3cbfc3060599d3487c00c30f0d66ca07138b9ca2a699029bdcb52df"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_instantiate_examples.py_test_instantiate_object_recursive_test_instantiate_object_recursive.assert_result_output": {"doc_hash": "d808775df52d6faccfa3fc360045f191823f60119bb16a8c9abcbfc87ae47a2c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_instantiate_examples.py_test_instantiate_schema_recursive_test_instantiate_schema_recursive.assert_text_same_result_": {"doc_hash": "26f3e309bd658d658c284ccd73a583bf209c606abb25dcfc9615d1f6b663acbb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_instantiate_examples.py_test_instantiate_docs_example_": {"doc_hash": "162f1df512e49f12b8a3369c970bbbd4b2dc023837bd7e24679f2f9ffe02abd3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_patterns.py_from_pathlib_import_Path_test_specializing_config_example.with_hydra_task_runner_.verify_dir_outputs_task_j": {"doc_hash": "da71a10a767824e1e664ac4f7c32677dc8a428b7c3d39b92a1b3fde0662bc5f5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_patterns.py_test_write_protect_config_node_test_write_protect_config_node.assert_text_same_from_lin": {"doc_hash": "e2f1721fbbbb7e6bd43ff2a32c49038f8fe0b09cdab0c55cc9ed97f5ac6913d8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_patterns.py_test_extending_configs_test_extending_configs.assert_OmegaConf_create_r": {"doc_hash": "f7e2fb96d394b083b342b1f232c383955ac1898b3d9f0c0c8becbb189a9b6b9e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_patterns.py_test_configuring_experiments_test_configuring_experiments.assert_OmegaConf_create_r": {"doc_hash": "ad4bac5f78e58d50fd1f9ba8c5e231ce056b412b24c43b3ac3caed102e8e4862"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_patterns.py_test_multi_select_": {"doc_hash": "c6b4915d1a9718540432d944ca05228c5aa9a2f3ae4b6a4576e39e3e9f2bf01b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_structured_configs_tutorial.py_test_5_structured_config_schema_": {"doc_hash": "8200ff97125eadcfd06433de46d99c12c43a5199c9c55c0b259258aad5f8a044"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_missing_conf_dir_test_missing_conf_dir.with_raises_MissingConfig.with_hydra_task_runner_.pass": {"doc_hash": "8a406b9e638bc77661063515534c9a184c8f7f38bfb7ce52c508e8bfadfab5a9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_path_backward_compatibility_test_app_with_config_path_backward_compatibility.with_raises_ValueError_m.with_task_._will_never_get_here_": {"doc_hash": "e1d8677471022b93caabf2a60e319d40db78aba5b2a6eecd7c2b8b373e9f6127"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_groups__override_dataset__wrong_test_app_with_config_groups__override_dataset__wrong._type_ignore": {"doc_hash": "386153e7712232e5c6a1645ffc196997ef3dd95b54759f349a57b00c8af89cdd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_run_dir_microseconds_test_run_dir_microseconds.integration_test_": {"doc_hash": "6e3e7cacf2189350342b92eb77f8f9abd28068bf4036cc8fd1653726a7e5e9a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_override_with_invalid_group_choice_test_override_with_invalid_group_choice.assert_re_search_msg_str": {"doc_hash": "fc3794e3b9efbc5569d68a7b6e0ae8baad7d4e52705291e84313b9a5f1b1c955"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_error_exception_sanitized_test_app_with_error_exception_sanitized.assert_regex_match_": {"doc_hash": "ea0363966ea7c04aede9154b95dfda9a3ad634cd5a27787e1bbcc50acf927a55"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_list_container_test_list_container.assert_ret_expected": {"doc_hash": "acfd09cb64595f4109b59e0868767a427d916bbb925f583d023f18f506fb8380"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_dict_container_test_dict_container.assert_ret_expected": {"doc_hash": "c49ee74e8f347d2fd1522bc0cd816c040099ae0b94300312c39df6e13dd6fa58"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_deprecated_name_package_test_deprecated_name_package.with_warns_.assert_parse_rule_key__n": {"doc_hash": "eee3d317cea51b9d5665efcf8e580b7fef7533a65c71e631f9965758e4b4a155"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_CastResults_CastResults.error.return.raises_HydraException_ma": {"doc_hash": "f4e6c45d228104b0db1cf8e99233acc10957c714e607214d846b995136cbc33d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_sweep_iterators_test_sweep_iterators.assert_actual_sweep_encod": {"doc_hash": "031049dbbb62857dc311a62e581b6dcd8dfff3e267efdf6f952a857a93b113c9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_escape_special_characters_": {"doc_hash": "b204918702f040eeda190e43d1ff9f15a86545cc7ddf6ae4056239eabd18baf6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/ci/circleci_pipeline.py_json_chunk.return.iter_lambda_tuple_islice": {"doc_hash": "c58cadfd305ad3db5bef070d8d5ab44984345523ccf461e0fba02b8cdfc8f9d8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/ci/circleci_pipeline.py_get_available_plugin_get_available_plugin.return.groups_of_plugins": {"doc_hash": "b493c545834737891a219973ca62039690c76af67a04b9b91971b819af64e6fc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_get_default_flags_get_default_flags.return.def_flags": {"doc_hash": "915f537278804cd937e89b305eb153807266d65b3a7b2242e7d5633912f8ff79"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/config/configen/samples/my_module.py_from_dataclasses_import_d_": {"doc_hash": "3374fb0a4d90c2324e37b2c8bb9cca51f65ab5ad2c725593153196fce293a25d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/my_app.py_hydra_": {"doc_hash": "a579664ec27092c23496179bdcf4785a71a38a623a5ad58ee7ffac07ad2f209f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_sys_MODULE_NAME._tests_test_modules_": {"doc_hash": "dc5b69e07d3146c63801f8efbda61df49ca9612a33c04ef6cc3b430613df5798"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_test_generated_code_test_generated_code._assert_expected_output_g": {"doc_hash": "f7b10e368328804db3947df42da2c9060032afde1b0e2c4852f42a2783134bce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_test_generated_code_future_ann__assert_expected_output.if_generated_expected_.assert_False_f_Mismatch_": {"doc_hash": "aee6b991e6a27bc3f69dff5bd11e2a667932f8f706786c51e368fca7e779a7f2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_generate.py_test_generated_code_with_default_flags_test_generated_code_with_default_flags.if_generated_expected_.assert_False_f_Mismatch_": {"doc_hash": "e0b59a6bd8522325cee245914e909ccd4d1cb03542bf31a9dc9b49c602b6a19c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/__init__.py_WithStringDefault_WithUntypedStringDefault.__eq__.return.isinstance_other_type_se": {"doc_hash": "50cb045f8d3b619b2dbc40af1c9f05772cb3c8c11716b3f6495ba12c0d96b0cf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/default_flags/both.py__": {"doc_hash": "73746121cde68e73a0acc3c755dc2f3b71ed195fc0d46d41a11a8bef97f0da48"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/default_flags/convert.py__": {"doc_hash": "affd2afe57013338e9a7743ff19351bdb4f643160e2d2619d73014a6cb187c7b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/default_flags/noflags.py__": {"doc_hash": "15f23a39d13f2bc34b13207c4b9dd57af7749bf7ba094d1277536544345c320b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/default_flags/recursive.py__": {"doc_hash": "2b97603e9d39e56a4ac6d3851823feb28a43df1feeec94209e4efa4401bd8213"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/future_annotations.py_from___future___import_an_": {"doc_hash": "aeeb9ccf829af9b3578d35d02a6e6015a0bb706aa5a53783071fcff41cd3cee9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/tests/test_modules/generated_future_annotations.py_from_dataclasses_import_d_": {"doc_hash": "5ac262b0d2ffdfc1123f8e2d0d232e2076c57320a86e149f239dc3017593f7c3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py_get_package_info_build_package.try_.finally_.os_chdir_prev_": {"doc_hash": "ac4a3f4f659aef2879136702aef05b7d4037e4fd1316a7e79aebaffd9272bf17"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/release/release.py_bump_version_OmegaConf_register_new_re": {"doc_hash": "ae368662847543919272396d95edf231f6333b13129347942d1ffeb3b5260c38"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_configsource_plugin/tests/test_example_config_source.py_from_pytest_import_mark_": {"doc_hash": "2320b149c768b100a9b14629e276a3918b10283428a82b42530e565a36ee09fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_launcher_plugin/tests/test_example_launcher_plugin.py_from_pytest_import_mark_": {"doc_hash": "7cf9c137cae149b72d5aa84e20fe9151e55cdee844a0ef9a8592d255ea51b04f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/hydra_plugins/example_sweeper_plugin/example_sweeper.py_ExampleSweeper_ExampleSweeper.setup.self.hydra_context.hydra_context": {"doc_hash": "54af25abf4e5e5f420fe5af50acb765cada58f33460a40df5d69c35642b72d58"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_sweeper_plugin/tests/test_example_sweeper_plugin.py_from_pytest_import_mark_test_discovery.assert_ExampleSweeper___n": {"doc_hash": "f858397d790d0c21f595d8cb1bc3bd33a0cf4aef4a5d19a861a896fc636c17d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/callbacks.py_warnings_": {"doc_hash": "4a1cf1f6a9779aa03ef1f4efa3444aeef6c2567e81690e0634904ffae0b6c6e1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/utils.py_inspect__ESC_QUOTED_STR._": {"doc_hash": "d9a53565cf08779c772ecb75c65687a790c33a2eff826f0489e8d8ab33103859"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/utils.py_escape_special_characters_escape_special_characters.return.s": {"doc_hash": "f57be3818dc973b763bdccf1b706fc0a37ca5460ddcee2cdd740c8e32e781f49"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.show_cfg_Hydra.show_cfg.if_not_isinstance_ret_Co.else_.sys_stdout_write_OmegaCon": {"doc_hash": "ac6cd4aea35d957172a90ea4117983e6ba081c010fcb63b7729f335335807648"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor._unescape_quoted_string_HydraOverrideVisitor._unescape_quoted_string.return._join_tokens_": {"doc_hash": "4d489209b1f55625e92599d00e9a9a11c889b83eee0d00857b1eb89fde352d13"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_decimal_Quote.double.1": {"doc_hash": "539e150a5255b5d02f291c7b51cf32682d675b4ed8cb98bb8d8d942a5bf97e6c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_QuotedString_QuotedString.with_quotes.return.f_qc_esc_text_qc_": {"doc_hash": "0aaf6c5637e7d2cc0ff39e9fb9d34047fa7b7ba13cc34191ab076c07fbe19330"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Sweep_FloatRange.__next__.if_self_step_0_.else_.raise_HydraException_": {"doc_hash": "5156183dc2185757062e6a833f5fa6cdb15b3a101b7296c7da3d9239939353bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.instantiate_launcher_Plugins.instantiate_launcher.return.launcher": {"doc_hash": "3c5be2ba9366081fea95bb36225e37d118f609a947ebf47b7cea39b2a815a544"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_from_dataclasses_import_d_RayLoggingConf.verbosity.RayLoggingVerbosity_minim": {"doc_hash": "cb0eced76f6501e261e84eedc1a435b844ad74f045fb7b23e59fa61bbf70cd30"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RayCreateOrUpdateClusterConf_RayTeardownClusterConf.keep_min_workers.False": {"doc_hash": "79303ec393ab29c9f0ffe28aba68a7f8628e9b906cbba0f46dde5d120aefa6ab"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_core_aws.py_launch_launch.with_tempfile_TemporaryDi.return.launch_jobs_": {"doc_hash": "9b6d4b0caaa93169f310986606c886e47d6e6f7b319daea1c4360bd2b526a18f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py_logging_start_ray.if_not_ray_is_initialized.else_.log_info_Ray_is_already_": {"doc_hash": "4c8992ad4e46611b3ff179c6f682150f03d574d21bbb891a422dccceee9c2584"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py__run_job__run_job.return.run_job_": {"doc_hash": "1de54cb99320f355948a1e20a7adc212187637ea31dd773f2575a0533a4b31de"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py_launch_job_on_ray_launch_job_on_ray.return.ret": {"doc_hash": "ea530ffcfc28fab706584a43e303329ade4a7e72bf89785ebf37d7df8c7e35bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py__run_command__run_command.with_Popen_args_args_std.return.out_str_err_str": {"doc_hash": "5ea4aca5359c38321ab073f0afe76400930c67205ddc313e2b7c6947586c1a38"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_launcher_util.py_ray_tmp_dir_ray_tmp_dir.sdk_run_on_cluster_config": {"doc_hash": "418c70c7d1756b86a2cb044434cc65c9e11e87cfdae9317fdfbf58945b09c867"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_manage_cluster_manage_cluster.sdk_teardown_cluster_conn": {"doc_hash": "dc7aea26ac7abdd0fe1cb440d9e737644ae1507ef0a5682367958da0658890ae"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py_logging_log.logging_getLogger___name_": {"doc_hash": "ba1822e3b9bf8dc0211c3d78618e55746d4a6a6e0018c55258e1857fb30f04c6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py_execute_job_execute_job.return.ret": {"doc_hash": "f1f847e92a99232f6b15e2c3162a0facf0f659e6731be0d7a5c9715fa8649570"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/test_rq_launcher.py_from_typing_import_List_TestRQLauncherIntegration.pass": {"doc_hash": "179a2d54f9a94136db6889798dedf5f2e715244c0a2cdd813d3bc3cbd492e90d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_interpolation/my_app.py__": {"doc_hash": "520238f5a25d3cda2636f4053fd3a6d23d907f967dfafb7ea041e8b0ba68499c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_resolve_interpolation_test_cfg_resolve_interpolation.assert_text_same_result_": {"doc_hash": "bafd957fc658a414a6eb660b6a660cc0e427f40c608af4c937a27d03f50e7959"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_resolve_flag_errmsg_test_resolve_flag_errmsg.assert_normalize_newlines": {"doc_hash": "a894db7c87bc0d8395fa11070287c6d78a2b47fe88099c49fcc6678c79ea8567"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_job_exception_test_job_exception.assert_regex_match_": {"doc_hash": "b2cb4ef95dedcfe73057775810d94beaa67119bcae1e94a886721dba128cf583"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra_context_warnings.py_re_IncompatibleLauncher.launch.pass": {"doc_hash": "8d8b6a65c659e4d0d5481a5da3e59553f8064474b08299fa7ee1075d5ba94f3f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_package_test_package.assert_ret_expected": {"doc_hash": "27307906e555fb884b045a097cf7c17089ecb22f3871674464dcfa7ab9035ac8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_package_or_group_test_package_or_group.assert_ret_expected": {"doc_hash": "4f83ec34f69ac81d7285c632639a0a6814c9972de7d4159d359aee73b730f8f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_primitive_test_primitive.assert_eq_ret_expected_": {"doc_hash": "ef698de24c336e8905ef6831639993301d77ae0d95d64f97f6777f6b2811fe8f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_primitive_quoted_string_test_primitive_quoted_string._round_trip": {"doc_hash": "85a255b64c4a8f05e5f2bc5bb28d7a308c9af320b0f1077610d0f6bf526269d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_test_override_test_override.assert_ret_expected": {"doc_hash": "19c488492ac037cf021949f4aac2e18b846b17eef1bd4213ea558f6f1ba2d45e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_copy_deprecation_warning": {"doc_hash": "b5e76e4eb458c8e6f426d9f6069130425dddcc7a8795da0e8f25031ee38f24db"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__update_overrides__update_overrides.for_d_in_defaults_list_.None_3.if_d_override_.overrides_add_override_pa": {"doc_hash": "3979dffb4bd79d5907928534d7fbf102dd88bd783e98a9b7d8dce34e4bbd4bc8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/deprecation_warning.py__": {"doc_hash": "8800c4542a490d9b9a5a7a436f0184378b14eb8559d29ba32bb4d4df5cb0718d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_range_range.return.RangeSweep_start_start_s": {"doc_hash": "d22b5a047249b455f474d6d96a67dd9a7bef4164cc37d352aef13c3e91e63211"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_interval_tag.if_isinstance_last_Sweep.else_.raise_ValueError_": {"doc_hash": "4091cf0e434fe9f90196e2e781059e0fb9a0ea5f644abc3dc7328f42aa3d7293"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_sanitized_hydra_cfg_Hydra.get_sanitized_cfg.return.cfg": {"doc_hash": "7914616c57d70dc25fb2ec422c5b9c4e0b75f1c1eedbd0f890a5a8d7890a2d96"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/compose.py_from_textwrap_import_dede_": {"doc_hash": "afbc3e6e2ca4c9c55339c1e7c4f542d2ecdab80b066faf97959d92938b880bf8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_VirtualRoot_VirtualRoot.is_external_append.return.False": {"doc_hash": "cce65e415313bc0c05b0790f421804b3cf221a984063e286f41b8cce256d92b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/compose.py_from_typing_import_List__": {"doc_hash": "48a8d84d46fd28fd4e04d5a6daaf04f8ec0304c3df512111230f57467f0973a9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_re_ConfigLoadError.pass": {"doc_hash": "d043fa100210f27a7acc7be19d264d69e377ed448469f8ecd4433566f36e1861"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_assert_regex_match_assert_regex_match.for_line1_line2_in_zip_n.if_line1_line2_and_re_.assert_text_same_": {"doc_hash": "a96926314bfd1cd219b0c6a6066fcbf9224ab1c5112ec3174a9b2f82bec4f964"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_assert_multiline_regex_search_": {"doc_hash": "6e3c1f1fd9eae0b04d20a8c51801a3d8455918d673a41dae09f2973e12d2d59b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/types.py_from_dataclasses_import_d_RunMode.MULTIRUN.2": {"doc_hash": "0bfadeb13c8f1c52d8022a251f1b848ef3dab23b180faa064378bef085b97ba9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_legacy_hydra_overrides_from_primary_config_2_test_legacy_hydra_overrides_from_primary_config_2.None_2": {"doc_hash": "f2a71fd40b2888c1597fdbb8e772a78c9fe9264b7c62b573e44953a2cf568b41"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_experiment_where_primary_config_has_override_test_experiment_where_primary_config_has_override._test_defaults_tree_impl_": {"doc_hash": "dfabefc5c830fcd1e0d85d207135640cdcf642f2d0b4c9fd293780339957d42c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_unicode_in_config/__init__.py__": {"doc_hash": "185dfb4df95afb9fc406c834bf0eefc773e3fdcf294c82fdfc43e6168900b441"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_unicode_in_config/my_app.py__": {"doc_hash": "342fb734cae9b46ff5080f5da19117c9db79ccd2c4710eccc4460382ba3e27ce"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/deprecation_warning/my_app.py__": {"doc_hash": "821bdf2dbdbd700623817beac1878aca89ae6c01aa7a0450e50e5cddadf14cd1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestCompose_test_top_level_config_is_list.with_raises_.compose_top_level_list_f": {"doc_hash": "55223a394bba04a9ee247c4a0c71182caf4d12daeaf5fea694b20f7782ad460f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_error_assigning_null_to_logging_config_test_error_assigning_null_to_logging_config.with_expected_.compose_overrides_overrid": {"doc_hash": "aea7b4a5426dc15de062ebc34edb8ed2e50446c9f0d8725fa90e622b3b0b67d6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_searchpath_config_test_searchpath_config.assert_re_match_expected_": {"doc_hash": "288d536c601d1bb65c6a019821eb67db6a9ca9d817f6be97647ba9c03c8c24f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_frozen_primary_config_test_frozen_primary_config.assert_expected_in_ret": {"doc_hash": "6690451cb6b8841fb5910cc7eef3b9f1313e3f51371b76b76c3547cac80d27c9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_test_to_absolute_path_without_hydra_test_to_absolute_path_without_hydra.assert_utils_to_absolute_": {"doc_hash": "418616d39d8c18def8474202da6f828fb2dfd70e9d8fd95cf09bf0a4e702a112"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__validate_self__validate_self.return.not_has_self": {"doc_hash": "8b5bdd7be82a31e4bb45921f995552bd353956b556eeb290e87a8834904c9d05"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py_update_package_header__expand_virtual_root.return.root": {"doc_hash": "6d78a11080da19df3f65a2a201d020ddc4d98b678c559d5cea66bdd8b0673314"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/defaults_list.py__has_config_content__create_defaults_tree_impl._update_overrides_default": {"doc_hash": "4ef236b829a97f0fdafb8cdf84c995f31d77e52880cb6c545a84270ada214bca"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_OptimConf_OptimConf.max_failure_rate.0_0": {"doc_hash": "355f35843bd88c2edaabf2c93e778c6cd8c961877181f4814635b6e1a2b64e19"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_sys_get_scalar_with_integer_bounds.return.scalar": {"doc_hash": "d679bc75877d0b8571021783a5cb8831ad89834077f050d6996e505b795cab7e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_nevergrad_example_test_nevergrad_example.assert_last_job_budget": {"doc_hash": "a7a6e2863c2e0c3702cd978fb6a0a76f303405381242f9b15ab08c7e59a9de9d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_failure_rate_": {"doc_hash": "4f95630b61dae8ca2b1e6d9762a8eec2a812862966217f967705365fdd438da2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_os_check_distribution.assert_set_expected_choic": {"doc_hash": "d581db6369f21c0a759e9660af37dcb9191922979e19a9ec6ef68e7f1af79d40"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_create_optuna_distribution_from_config_test_create_optuna_distribution_from_config.check_distribution_expect": {"doc_hash": "0ce9851af7564250c18899b57a0d7eaaf344789b59e460238955119e47afab58"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_create_optuna_distribution_from_override_test_create_optuna_distribution_from_override.check_distribution_expect": {"doc_hash": "f718bc32b6fa22eb211dc0dd2e772c4c22583f330c1d93fb1128e576e83576a8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_launch_jobs_test_launch_jobs.with_sweep_.assert_sweep_returns_is_N": {"doc_hash": "31b4719fac8019ae957ff32e40bb43ff711ce10582e3ea7d5b97712404ccab7f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_optuna_example_test_optuna_example.None_4": {"doc_hash": "7dfe6a10d5c7a4e719154d2399c29b35f5a562c133fc9d27f465262caa6274ab"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_io_test_get_original_cwd_without_hydra.with_raises_ValueError_.utils_get_original_cwd_": {"doc_hash": "d3ea709e1c4e0ff474db475c79a86a46ae02d7fcaaec09fcdba94b95781432fc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_test_deprecation_warning_test_deprecation_warning.if_expected_error_.else_.with_warns_UserWarning_m.deprecation_warning_msg_": {"doc_hash": "cb073f98d51e4c775d23371b1c00fa0cf3a471f028a505af0d86ae81ea02740e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_TestRunAndReport_TestRunAndReport._": {"doc_hash": "69c460581ad58061032160ad00d2c0c7e863be32ad8cb15955f16550f1cb53b0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_TestRunAndReport.DemoFunctions_TestRunAndReport.DemoFunctions.run_job_wrapper.run_job_": {"doc_hash": "e2e624400221ad3d1051de1dd8c51a8337adb075f5d9bf408ebd6c913937e841"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_TestRunAndReport.DemoFunctions.omegaconf_job_wrapper_TestRunAndReport.test_success.assert_run_and_report_sel": {"doc_hash": "54badf4a0d16cc0e198c7f4cacf3bd1897d44afb43418fc203dc0868e6f59bf0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_TestRunAndReport.test_failure_TestRunAndReport.test_failure.assert_regex_match_expect": {"doc_hash": "b80ce46e4778e1a0f95c9df89fad7efeec3158190e42f1f45b8f095463995ffc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_utils.py_TestRunAndReport.test_simplified_traceback_failure_": {"doc_hash": "891ed73fbb9ca0b020e4c83d2bda93502c07bbe0ad099e47dcc470a5c64b6d73"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl._compose_config_from_defaults_list_ConfigLoaderImpl._compose_config_from_defaults_list.return.cfg": {"doc_hash": "80a4550a6f3215feb43eee2109444f63e08013dabf719c4a137f3a372ee02193"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.get_sources_": {"doc_hash": "d7e3bdceeec98e3be57eaf74c20cb7b499d1d4a45252649ee311c8600c94b461"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault._resolve_interpolation_impl_InputDefault._resolve_interpolation_impl.try_.except_InterpolationResol.raise_ConfigCompositionEx": {"doc_hash": "83e3f1dcb7bb3b775f6fb975afb563c0afcaa882b3ce06aa58cf68d4ea151ef8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/default_element.py_InputDefault.get_override_key_InputDefault.is_external_append.raise_NotImplementedError": {"doc_hash": "457dd2dc7354191f0e324a46e0e9a8a5df2b2fbf962cd014d9a0a064a3749dbf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_group_global_test_group_global._test_defaults_list_impl_": {"doc_hash": "cda146063cf7b3139a7117b96ab838f68dc01fd386c134b7479ff0338f1e776e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_deprecated_compose_strict_flag_test_deprecated_compose_strict_flag.assert_OmegaConf_is_struc": {"doc_hash": "b2199fa8e8de80a066de0ed44e4e0522cb8113b27ef4e0e9229ed690032a0c18"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/instantiate/partial/my_app.py_from_typing_import_Any_": {"doc_hash": "1977b0c84a4eecf57e52976217989aa7b7e6137d732558b8655ac5fdc0fd681f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/5_basic_sweep/my_app.py__": {"doc_hash": "425ed821beba62b77cbf69dff938ea816383ab9a5135fa0875603cdd4da8fa4f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper.split_arguments_BasicSweeper._parse_config.return.params_conf": {"doc_hash": "602dc41c10fae6e40e5353a170de151ab53710e1aa226121a14a9d79a5b19085"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_run_job_run_job.try_.finally_.if__chdir_.os_chdir_old_cwd_": {"doc_hash": "f90f83d9748a7667d323b6de1aacb96b91388320a9565e18c8ff250ff3d38d3d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_common_overrides_run_command.return.output": {"doc_hash": "4609b7deeb386d2ce828afb0dfc9256c84af67afe480fc1dbe965339c04220e3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_build_ray_launcher_wheel_build_core_wheel.return.wheel": {"doc_hash": "01f373df2ebf9907768b91adc5871679e3d9cb85fd2141cf86a23b3d9a0ccf8a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_upload_and_install_wheels_upload_and_install_wheels.None_5": {"doc_hash": "128d96f47b50f8a847c06de3222404c18b49d46c959228b5c7af8b868eb1eafd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/tests/test_ray_aws_launcher.py_parse_python_minor_version_test_discovery.assert_RayAWSLauncher___n": {"doc_hash": "1c11abd2a122cb4b60e79331b4d51a7a19ca0371b805ae71dd9ca4f1ed2a130a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_ArgsClass_ArgsClass.__eq__.if_isinstance_other_Args.else_.return.NotImplemented": {"doc_hash": "a2dea3df9db392ee954b32dd71926cb6169fb889009b9d787e6089490530cb6b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/import_error.py__": {"doc_hash": "7cd9969cf932fea12cd61677e31709cd4e03d650f080b256df379e5da5c1637f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_regression_1483_test_regression_1483.if_is_partial_.else_.pickle_dumps_res_kwargs_": {"doc_hash": "8bd64b63de943276645b2e72a9cdc9dba62e895cf6ea6fa277e452dc2bacaa58"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_pass_extra_variables_test_pass_extra_variables.if_is_partial_.else_.assert_instantiate_func_c": {"doc_hash": "30fe158d87434a393d71dd895350d7b6c0abc36c853e08e7a316b508da7c6734"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_partial_instantiate_test_partial_instantiate.assert_obj_expected_or": {"doc_hash": "bd2764fc2d2f98588e1879a43326fe2669b3fab3d4896f1aaaaba7e4b55e1340"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_change_dir/my_app.py_os_": {"doc_hash": "2309d69e95c2ac13876a95dd648f9155fdea7600a4fbf21737ab4eedfacedfba"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_no_chdir_override/my_app.py__": {"doc_hash": "920f186a3360ade48867ea292ffefc15872dd0c6e0c56fb3e58fe611d0fb9e0c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_TestRunCompletion_TestRunCompletion.test_shell_integration.if_shell_zsh_and_not.skip_zsh_is_not_installe": {"doc_hash": "9654ef30abe64f8a4923f81adfd7e4b5dee26813411164a474a52f9555105897"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_TestRunCompletion.test_shell_integration.if_shell_in_zsh_fish_TestRunCompletion.test_shell_integration.ret.subprocess_check_output_": {"doc_hash": "80ed91384ba2d7e015e47a36584e397f86b791d21ccd445936a41b08085026bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_missing_node_with_defaults_list_test_missing_node_with_defaults_list.assert_cfg_trainer_": {"doc_hash": "64b75784f92d069cc92ec5e4056c0a2a3f3674b42402bd260fc117f7b48e2ea4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_enum_with_removed_defaults_list_": {"doc_hash": "e5fc4fcbbc0b9ce35447fea8fe49f08190967d69d047d525ba679a0f048760e4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_config_file_with_schema_validation_TestConfigLoader.test_load_config_file_with_schema_validation.assert_cfg_": {"doc_hash": "550fcf4e208e7b15562118dad388ba844ba22c641559fee647f5fea11a04fe69"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_config_with_validation_error_TestConfigLoader.test_load_config_with_validation_error.with_raises_ConfigComposi.config_loader_load_config": {"doc_hash": "1d24881d8197342e57b7a6be5bbcc4f1310f9c8bab6efc1ba9f876a31b46f6c1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_load_config_with_key_error_TestConfigLoader.test_assign_null.assert_cfg_normal_ya": {"doc_hash": "1426f478f537022ec6104b854b41ab58cc6b24071e10f66ef02ee10d158336a6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_basic_sweep.py_from_pathlib_import_Path_": {"doc_hash": "ea1b1e66761bf164a36f0933aae396433dcef3e259460dab3641a3af151457fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_instantiate_examples.py_test_instantiate_object_partial_test_instantiate_schema.assert_result_output": {"doc_hash": "8d2560d37e789018060949e346dce3f8b831fc4b9fe85053b4b35d1d89ebbc88"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_missing_conf_file_test_run_dir.run_python_script_": {"doc_hash": "2c8d7539608ea095663c28c07dded814738baf2c72d24049347e50efd8f26e53"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_schema_overrides_hydra_test_schema_overrides_hydra.assert_result_job_nam": {"doc_hash": "197d964db80d9572f4b35c4fb28ab15a9a3363dae9d23e903e3a04e22bdb9258"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_defaults_pkg_with_dot_test_defaults_pkg_with_dot.assert_OmegaConf_create_r": {"doc_hash": "eafe7da92bc6a37b3c547c42b998d0552d9bb263a1a173c39c37ceca3c05a6f6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_job_exception_full_error_test_job_exception_full_error.assert_Set_the_environme": {"doc_hash": "b966c1a95c37a8fc9ac309fdab028c4a04b15d8fa9caa6e7b2ba6fea92a305ee"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_structured_with_none_list_test_job_id_and_num_in_sweep.integration_test_": {"doc_hash": "d2f12e6405c31790df7a8c10756253bc5ec376683f9164c4dda5bce83257d192"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_main_without_config_path_test_hydra_main_without_config_path.assert_regex_match_": {"doc_hash": "9d0a3898a5b0005670095d1426ac3d71270bc4b79eb32d6f69968638e5295be4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_job_chdir_not_specified_test_app_with_unicode_config.assert_out_config_\u6570\u636e": {"doc_hash": "572cf30981b0f174892609279cc57b2533c7b92eaa9dd8ac770e68e8856faea8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_deprecation_warning_test_hydra_deprecation_warning.assert_multiline_regex_se": {"doc_hash": "e2b7a9ef3556a8be9ac0930e7d087cc51645b7872e0d166e318e8b2b4efafd33"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_disable_chdir_test_disable_chdir.for_p_in_expected_.assert_Path_path_exists_": {"doc_hash": "93a7a6a3b82f9d352513c270e4f8c21cd8b0fbccdd4b440b6f804d9a0e55d036"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/experimental/rerun/my_app.py_logging_": {"doc_hash": "e9b7bbd35edcb223d1acb0abad8205d4faded749dd8b58e9406b46477d08c7c2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_registered_plugin/example_registered_plugin/__init__.py_from_hydra_core_plugins_i_": {"doc_hash": "6bbb1c25aad75661b818dd9626fed6df71cdb5560257e2a6ee98e9cd46e00eb3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_registered_plugin/setup.py_from_setuptools_import_se_": {"doc_hash": "86b285e83844045a2b3c8e8da5067e80c2e5e721f43c4231b8819459a4f8400b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_registered_plugin/tests/__init__.py__": {"doc_hash": "8cfa009baa843cf9d75b56f1d8b42488c4a3203ac891fd9bbeac7ceb8a79b763"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/plugins/example_registered_plugin/tests/test_example_registered_plugin.py_from_hydra_core_plugins_i_": {"doc_hash": "88d9d3408e6d46fb48ee256e6b20c830de99c9374d5247f9cf5336cb4f93fe5d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/importlib_resources_config_source.py_os_if_TYPE_CHECKING_or_sys_.else_._Use_importlib_backport_": {"doc_hash": "f7178ea23ba537572616d4d3fb78e9cb4474a51616690bb689f97db234161a25"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/importlib_resources_config_source.py_ImportlibResourcesConfigSource.load_config_": {"doc_hash": "a226536e94a62611d613fd9eb13244496c98fb65194b3e6a74a38d0dcfcbe003"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra_Hydra.get_mode.try_.except_Exception_.return.None": {"doc_hash": "d780edf8bbdb1d16021489ff57a980ebb49d0252cb4a7a0572646e8cdd3d4638"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__call_target__call_target.if__partial__.else_.try_.except_Exception_as_e_.raise_InstantiationExcept": {"doc_hash": "205368fc73794f0025f539541f2913807b0c516c68e69df2ff1ac558d1f98264"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__convert_target_to_string__prepare_input_dict_or_list.return.res": {"doc_hash": "d4504ad10fe466b2d9239d021ac18db6c702974ec84f870263e33a9a82497a1b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__resolve_target__resolve_target.return.target": {"doc_hash": "c3d98cf617102c1aab82ef6e9fd14b8e8104bbd3e5b28cb813d841dcd80eda1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py_instantiate_instantiate.if_is_structured_config_c.config.OmegaConf_structured_conf": {"doc_hash": "5717182a863b353f185becdf7cd334c68a4759707a8d520c90368f1fbe3bab8d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py_instantiate.if_OmegaConf_is_dict_conf__convert_node.return.node": {"doc_hash": "9bcfad0936f1ca929cdf0d34317d401b4c06fffceee97ab276b7cd2ca7cdb994"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py_instantiate_node_": {"doc_hash": "8af35e0445bcbaf799ff1ebcf3091adbb8ed9f6427324485792d6fe2903873f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__run_app__run_app.if_mode_RunMode_RUN_.else_.run_and_report_": {"doc_hash": "46dbdd39408046a9ab95aa145cb7bd47e1350df08b78862f984f5fbf5109fd06"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins._initialize_Plugins._initialize.for_clazz_in_scanned_plug.self__register_clazz_": {"doc_hash": "7f7d34abef1db18fb91776b768e07d97749152f9ee4ba5152eebe97e2e5aad1b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.register_Plugins._register.if_issubclass_clazz_Conf.SourcesRegistry_instance_": {"doc_hash": "3c8547a112089e49c258201a24012815266810af7d01c18fa17b928a049e51db"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins._instantiate_Plugins._instantiate.return.plugin": {"doc_hash": "b2c79c4fe6c7d593ef9da0bb400491fb74b4365ab3a63274ce8f281b8c400524"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.is_in_toplevel_plugins_module_Plugins.instantiate_sweeper.return.sweeper": {"doc_hash": "4a5da79c2e58e1d656a705f1616dbd3f09bf5c303ba9557609fca3eb33dc7438"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins._scan_all_plugins_Plugins._scan_all_plugins.return.scanned_plugins_stats": {"doc_hash": "4af84ba2e8a44a92b89ff0cf0d4b391a72516634d28e8404f72642610e6f4664"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py__check_hydra_context__check_hydra_context.if_hydra_context_is_None_.raise_TypeError_": {"doc_hash": "e3ca2ed0a557bfccb46a20a2893e46c3e6fc99f7b2ebcd2249a189f7b8c97774"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/callback.py_logging_Callback.on_job_start._": {"doc_hash": "80eb1aea99d5f14dd1ef26d856cf62b0428e023807405ae10ad5fdfa190eda31"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/callback.py_Callback.on_job_end_": {"doc_hash": "6aec71df98afb51d3b1479c9b080a7b1eeee8ed40b88b0bad9c681e4923b7a54"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/callbacks.py_logging_LogJobReturnCallback.on_job_end.if_job_return_status_J.else_.self_log_error_Status_un": {"doc_hash": "840a578e4e67dea672758cdac78149cc7ca4b5f0cf9e6d5c7dc438f9a74091b0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/callbacks.py_PickleJobInfoCallback_": {"doc_hash": "851ea28e1565325765fa14f91962a1b7a195e6847de01617f699f2c85b36fd67"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py_copy__UNSPECIFIED_.object_": {"doc_hash": "abdb657f731fae6bf7dea346d3be429663e80533d7d540d332b76f7806ff0dd0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py__get_rerun_conf__get_rerun_conf.return.task_cfg": {"doc_hash": "d3ba6d2e58876f36ee6739c8044e80e78c4176faee06e626ca1568b0d3ca222d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py_main_main.if_config_path_is__UNSPEC.if_version_base_at_least_.else_.config_path._": {"doc_hash": "a065af0bd71a77380aa8c41128ddba75d61732826297d313fd0549afcbcd7dd4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/version.py_from_textwrap_import_dede_VersionBase.set_instance._type_ignore": {"doc_hash": "42c62a8dd09a508feec116e5dbe32e95639bf947fc3f1deadcd296c8d66222b1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/version.py__get_version_getbase.return.VersionBase_instance_ge": {"doc_hash": "f42fc2da5ab6a688c5b3f0fbec365f77f940a4d365b4cd87824c8d085d9961f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/version.py_setbase_": {"doc_hash": "b7fd158cf41a897d9eb5d7695d2b4722a3c2d177f34bd3e5d60f12c6fef8376a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_copy__print_installed_omegaconf_version.for_line_in_pip_list_spli.if_omegaconf_in_line_.print_f_Installed_omegaco": {"doc_hash": "1fa6ffbff3b98c94a71fb29f870ab660756aa9edac58369412d1ca788bd7aa60"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_install_hydra_install_hydra.if_not_SILENT_.session_run_pipdeptree_": {"doc_hash": "cd3b93f2fff0ed7bb4171e3c0df65f7a69e07c1f2696aabe40ba9938e5b50e9e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_pytest_args_get_setup_python_versions.return._p_len_Programming_Langu": {"doc_hash": "39e36d2c662fabcad79c2d62373c3f6b82b5937ad194fbd6f2506be169c052d7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_select_plugins__isort_cmd.return.isort": {"doc_hash": "8e433aeb3dc8e52ec12fe2f9ab9ed1ee7d2edac9b3591dc89abc8257ab4ab56f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_lint_lint.session_run_bandit_": {"doc_hash": "8c7c7451c6e40ce4bb4f6f3bbc2d260bc72b80153eed53de6b6e252181a9e593"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_math_quadratic.return.100_cfg_quadratic_x_2": {"doc_hash": "740c70f0fc7954811bd3a97bd0aeaa5f7b57dc082bfb341e5cba0cfedeaa1ed4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/example/custom-search-space-objective.py_hydra_": {"doc_hash": "4ac8d9e4163f508ceb3bb0f4c55f4ae1fcc164f0d7d955ed8f5d93d749542e32"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_functools_log.logging_getLogger___name_": {"doc_hash": "4891fddfa71e6e6d47808b9e20b9a7ea896fe06ce37e748eca518802b3658537"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_create_params_from_overrides_create_params_from_overrides.return.search_space_distribution": {"doc_hash": "0adde09c059f46dc2987de71ab9fc98e2f3c494e389e0b849a1cd0e63edc26be"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl_OptunaSweeperImpl.__init__.self.job_idx.0": {"doc_hash": "84ec42f12efaa625b59f24c6b598c8aeda6355e6a590a6de92641ee466f85c90"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl._process_searchspace_config_OptunaSweeperImpl._process_searchspace_config.assert_self_search_space_": {"doc_hash": "e354f28ecb506abc940de1f692d25683a964886d49f3f89d41cd190588815715"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl.setup_OptunaSweeperImpl._get_directions.return._self_direction_name_": {"doc_hash": "fe773b73fd647dc1b72999393105bcde81044b4bfcf1da28e4f07ee84ae19f81"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl._configure_trials_OptunaSweeperImpl._configure_trials.return.overrides": {"doc_hash": "50c7a20e3043cb6d77bf745cd3663ea12218300c01b1a58f056758e728ea8dfc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl._parse_sweeper_params_config_OptunaSweeperImpl._to_grid_sampler_choices.if_isinstance_distributio.else_.raise_ValueError_GridSam": {"doc_hash": "249fb701631c1f893dfcc96478e1a66e48983f788e987e863d529edad4960ddf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl.sweep_OptunaSweeperImpl.sweep.n_trials_to_go.self_n_trials": {"doc_hash": "d913649d8b9664b8550eac6fb3713056baba79e4e0957666ad81b037cd14c972"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/_impl.py_OptunaSweeperImpl.sweep.while_n_trials_to_go_0__": {"doc_hash": "b0e27f1b3e4b623b996010314f4df1d7aebcaca089e524d7c0f3f282d358371f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_from_dataclasses_import_d_GridSamplerConfig._partial_.True": {"doc_hash": "b1237b36effeae13ae1c72cb2e797a367cc0ae0776597f0462d16118c2164865"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_TPESamplerConfig_RandomSamplerConfig.seed.None": {"doc_hash": "d681ca746f13dbd2fab7387a2207d001496dc32785581f74d88f11430fde322c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_CmaEsSamplerConfig_CmaEsSamplerConfig.source_trials.None": {"doc_hash": "8b56d7963dde11fa051e6694570bde2a3c468cffb2eefd086fe4ec6caa4a5402"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_NSGAIISamplerConfig_NSGAIISamplerConfig.constraints_func.None": {"doc_hash": "d2ebe4ac4fbbf4b762ec43acba0083a2b9627e497069078962f0c74e6d3220a2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_MOTPESamplerConfig_MOTPESamplerConfig.n_ehvi_candidates.24": {"doc_hash": "3236d88962b76d65d8ec513d440863828183ab3be6eb269a771af5615f7b8340"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/hydra_plugins/hydra_optuna_sweeper/config.py_OptunaSweeperConf_OptunaSweeperConf.custom_search_space.None": {"doc_hash": "fcd3ea346fe37c20b221977be3a29a36c30e4ff47c8583a11d13440ee6fcff52"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_create_params_from_overrides_test_create_params_from_overrides.assert_actual_expected": {"doc_hash": "d9980c434f529359bef3c846c4b39a0d544e170ce822302735c4eec6194e911d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_example_with_grid_sampler_test_example_with_grid_sampler.assert_bz_in_foo_bar": {"doc_hash": "186f03d3dd7825b627bb7b6361573321e1dae571885df25e9b5552186b854e53"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_optuna_multi_objective_example_test_optuna_multi_objective_example.None_1.else_.for_trial_x_in_returns_s.for_trial_y_in_returns_s.assert_not__dominates_tri": {"doc_hash": "7a738cddb0aa6a1799e7c86be9e1857b72df34aad5688ada209567226cce25cd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py__dominates_test_optuna_custom_search_space_example.assert_0_w_1": {"doc_hash": "2e253ee868be910b06694109b90a76a0c7a256f03aaeed82442e6bb9e78c35dd"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/config.py_from_dataclasses_import_d_BaseQueueConf.stderr_to_stdout.False": {"doc_hash": "71406f3b1cf62d139b8f9437637157b98ba90afc7533ae585ccaff1f562d58c4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/data.py__": {"doc_hash": "af2741e7b37ef5eee84d006ada15c74af6e65be5b0c04c52d4570488efe2d6dc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_TestDeprecatedOptional_TestDeprecatedOptional.test_version_base_1_1.assert_result_defaults_li": {"doc_hash": "b3b89bbe5b44acbc98315db0120184ba3dfffd5a5e6ac6297ac3ace59d52ca32"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_TestDeprecatedOptional.test_version_base_1_2_TestDeprecatedOptional.test_version_base_1_2.with_raises_.repo_load_config_config_p": {"doc_hash": "a6497c9df5e3cbd9bd5fe9c8eabf56166ee233fe1e57b6e76b40363a3aca2a25"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_legacy_override_hydra_version_base_1_2_test_legacy_override_hydra_version_base_1_2._test_defaults_list_impl_": {"doc_hash": "8b5229d9055fed9b67c6601c89ecdfeb096646e284d50dad5227377cc3aea29d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_list.py_test_legacy_override_hydra_version_base_1_1_test_legacy_override_hydra_version_base_1_1._test_defaults_list_impl_": {"doc_hash": "b763325ab3695d888bf1f3719fbe7f0edbb3410b9776fbf7cf4969f09b488696"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_hydra_overrides_from_primary_config_test_hydra_overrides_from_primary_config._test_defaults_tree_impl_": {"doc_hash": "986a499059ffab69c5c0b5daca319a2ee50e436bae88466edb166e2275ee38cf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_legacy_override_hydra_version_base_1_2_test_legacy_override_hydra_version_base_1_2._test_defaults_tree_impl_": {"doc_hash": "3b2510a3e86594465c98e1608c722f6f82b6bb757d9795c29ff6c363fa69488f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_legacy_override_hydra_version_base_1_1_test_legacy_override_hydra_version_base_1_1.with_warns_expected_warni._test_defaults_tree_impl_": {"doc_hash": "f65d7246293092c85f642485c53a0664f71d55114f926a1202cbd2e1da67e3a5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_use_of_custom_subgroup_of_hydra_test_use_of_custom_subgroup_of_hydra._test_defaults_tree_impl_": {"doc_hash": "91d4cc2bdfc41a83d8bf37bebe58a32a4d11d48129476e04a11a8b78c33d70a2"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_collections__convert_type.return.obj": {"doc_hash": "9fc96074eca8f1b7045af602a198639d1551b64293048dc4e3a10d29659bb9c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_partial_equal_partial_equal.return.all_": {"doc_hash": "ee8a26305d4c59f3e27aee48e333e0e52cf009715733b5f7c663a6329e1841fb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_OuterClass_Transform._": {"doc_hash": "394f144c6b00dd9e4e9e036b14a35034b9d8b353017186e82f97f0a84d4ae269"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_CenterCrop_Compose.__eq__.return.partial_equal_self_transf": {"doc_hash": "3bc8ab2dbea1baad0fab4f69fb7b4b072b472690103657f5d25d7b029bbe53d4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/module_shadowed_by_function.py__": {"doc_hash": "4c89711be2e6a91e58e94f28534cf265f82cf5a6e0258868c792b79394e29baf"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_helpers.py_datetime_test_locate.if_isinstance_expected_R.else_.assert__locate_name_e": {"doc_hash": "2c98f18f0a6391f1e71516e4d0108efefbea343c5e609f84b51c45cb7a58b88b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_helpers.py_test_locate_relative_import_fails_test_locate_relative_import_fails.with_raises_._locate_name_": {"doc_hash": "c28d5ef968f343f894a6eeaae2135d6872830c7b5d5aec2cff2e7c3c70544026"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_helpers.py_test_get_method_test_get_method.if_isinstance_expected_R.else_.assert_get_method_path_": {"doc_hash": "a0c9d6ef4b39fca15b3002176fac796da623d87a0de1b810c56962b95b74eb3d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_helpers.py_test_get_class_": {"doc_hash": "3a98b7e7ee83e53efab2923887bc2586cc5cefd9526d111b6549696388ad7331"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_class_instantiate_omegaconf_node_test_class_instantiate_omegaconf_node.assert_OmegaConf_is_confi": {"doc_hash": "810f4151c8de41d32cb4d8c672b7d940ddf44279e30cf3e7c2eba40054cae4e7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_adam_test_instantiate_adam.assert_res_Adam_params": {"doc_hash": "4d9e6f29751ba37c94d6241e49214badec7488c56d24474600b3222f4c9978c3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_with_missing_module_test_instantiate_target_raising_exception_taking_no_arguments.with_raises_.instantiate_func__tar": {"doc_hash": "d0f18b3c0d2b640854b0c7bfff2f29c15cdae8ecbc27f323b8f024b8b3dfa3b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_target_raising_exception_taking_no_arguments_nested_test_toplevel_list_partial_not_allowed.with_raises_.instantiate_func_config_": {"doc_hash": "5cf199878827532df1f423c43a9b724fd4b8d43079edbf789eec96c0f59926ad"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_with_callable_target_keyword_test_instantiate_with_callable_target_keyword.assert_expected_ret_": {"doc_hash": "cb0ed5b9c42bacd991cb140128d3f0d56eb842198e09f649e30814db48436106"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_from_dataclass_in_dict_fails_test_instantiate_from_dataclass_in_dict_fails.with_raises_.instantiate_func_config_": {"doc_hash": "90cf2a4c71ea4b2be5de9e0df49227eff580f1cab1fe382a9b90f67e0948979e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_cannot_locate_target_test_cannot_locate_target.assert_multiline_regex_se": {"doc_hash": "ec51489940234c7b698b5509c9c33dfb85cb1d0c984caf3480bc6ac9505e13fa"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_from_textwrap_import_dede_test_instantiate_args_kwargs.assert_instantiate_cfg_": {"doc_hash": "535b3b629f6f8f457e4c30e9a11c06a045b9807c562348246556f108f308762e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_positional.py_test_instantiate_unsupported_args_type_test_instantiate_unsupported_args_type.with_raises_.instantiate_cfg_": {"doc_hash": "75a61764c29be80e90e9dd11229c23302f981c13f92bc2dc64141263a00d5340"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_print_hydra_mode/__init__.py__": {"doc_hash": "eb97299686e370cd19d88b2a9c3802c9bb146dfa5d74f7818178d66b7731da3e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_print_hydra_mode/my_app.py__": {"doc_hash": "3ed0c1c4224b31baec999831400e183f635a476e14c9cccaedd3289c6d5011e4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/my_app_with_runtime_choices_print.py__": {"doc_hash": "47c6ef4500f2fd5c69fb8cfe53613a43a28945c9502cc08fab8aaf8b7e15c2fc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_log_jobreturn_callback/__init__.py__": {"doc_hash": "e0334618d001947658aa5c475ac22e06c2f69212d633be1689f491246d909dba"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_log_jobreturn_callback/my_app.py__": {"doc_hash": "ac4c2f9a3474442d325f0480e2dab3f155d4e32abe3bd726b4573a2f7e1adb73"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_pickle_job_info_callback/__init__.py__": {"doc_hash": "efc0006a2dae99802a895b87c24c27bcbc206ad2934ffb906edf6362892fe04e"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_pickle_job_info_callback/my_app.py_logging_": {"doc_hash": "b99a4b0d980a99a7b34e23948208ee2c7dcb4990ea0da69e7b86c5d354e84e4a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_resolver_in_output_dir/my_app.py__": {"doc_hash": "b681b494bc0566ea44b00aee9e8d9e40590d9ec6056d1589b384d039e7e1905c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_verbose/__init__.py__": {"doc_hash": "917c8a7484453d818dfb6d788482a9cf644f0dbb19c8f043cbd28ed8b7432244"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_verbose/my_app.py__": {"doc_hash": "e5962048f2a61e619666181c8dd33ddda0a4d833a6b1c40e6d9d0282bfd60fef"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/passes_callable_class_to_hydra_main/__init__.py__": {"doc_hash": "976134cb5bdecf5f04da6ded37f2d799bec0b327ab557670bb48fd793a3d945d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/passes_callable_class_to_hydra_main/my_app.py_from_omegaconf_import_Dic_": {"doc_hash": "c8c7c5c4fa17b22319fa0a10454341fc19b07999cdd6782f3c12f6e630a46078"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_1/my_app.py__": {"doc_hash": "8cf4a1a2126a3efc8cabffaa93734db2d9a1e1f37b7318b1c2e9435ef97fcd10"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_2/conf/__init__.py__": {"doc_hash": "0af149f9e919ba0d9b32ca85f0f1cff5176b1eccd9902e5fdef5e9e37bbc3945"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_2/my_app.py__": {"doc_hash": "8b3871762b751bc87ad7665c7bd8ef4ec84fc7b8af45f5eff24c62a4109f0787"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_3/module/__init__.py__": {"doc_hash": "67ddaea943648ca1b12b548b9f8dc2b41784fb35e3ddda7dab12915e13d85763"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_3/module/conf/__init__.py__": {"doc_hash": "bced5eff74f7c9d2acc3bb362646925e7b436b51214e31da87c07c59b6c0fd29"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_3/module/my_app.py__": {"doc_hash": "d689319746bbfb331400c4678227203f1711c0948b8c452353500bc689a80dd9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_4/module/__init__.py__": {"doc_hash": "3d25ea4619b5795e440edd8b0fd480a1261e1573be9d5f11e01e2c0cb98a6c27"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_4/module/conf/__init__.py__": {"doc_hash": "396743100f4fde0b40ce44b6f0f91f1bdb9b5e24ae5a0eeb4fe248249b007a1a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_as_module_4/module/my_app.py__": {"doc_hash": "cb0be03237abba6831f07f8101f6c474a98f791b054a7d103e10dad2de51368f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/schema_overrides_hydra/__init__.py__": {"doc_hash": "bd56bcb140e81f6ce9f28a5969cef52218803f4847fc8752cee0d198d6c68315"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/schema_overrides_hydra/my_app.py_from_dataclasses_import_d_": {"doc_hash": "a0bdb0744f74d779b2c7e98909357dc49c1b493c51097ddcea5e2413f07983b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_callbacks.py_copy_test_app_with_callbacks.assert_regex_match_": {"doc_hash": "409b42cf5a3d9a8acd9d3bc310f41e997b19d34b7f0030383b5605c7009acc99"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_callbacks.py_test_experimental_save_job_info_callback_test_experimental_save_job_info_callback.None_6": {"doc_hash": "ca98e5763a3cedeb67ee282f18a59048a6f63cb98c49b7ecfb0c0f4d1323cf4d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_callbacks.py_test_save_job_return_callback_test_save_job_return_callback.for_p_in_log_paths_.with_open_p_r_as_file.assert_log_msg_in_logs": {"doc_hash": "674fa89d9a1b75a13ec965d0cd1d490747fce043b92fa58cc006063277e81f02"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_callbacks.py_test_experimental_rerun_": {"doc_hash": "e60735a734072cf9a82e33c71f7c81fea0eddb331994d00f8d63022c389ebea5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_re_test_initialize_compat_version_base.assert_version_base_at_le": {"doc_hash": "ebc8cdd3f4f542493b713a4b74ada855e2737d4eb1a2bf47da0ee2e9b1b63659"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_experimental.py_from_pathlib_import_Path_": {"doc_hash": "68ee041569c8e304aa0f1683a521da26213b68964d101261b0d5d617171920b8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_pass_callable_class_to_hydra_main_test_pass_callable_class_to_hydra_main.assert_text_same_result_": {"doc_hash": "6a6ab33b780d8799d14601652ffe2a590d7d26fbcf79473ea7758e833a41213a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_disable_chdir_with_app_chdir_test_disable_chdir_with_app_chdir.assert_f_current_dir__p": {"doc_hash": "ff8ca16edb2c3f9bca96ee80de1e756a7e4ce694761eea9a340c4c33a2658170"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_verbose_1897_test_hydra_verbose_1897.run_python_script_cmd_": {"doc_hash": "fdffa5fd34f613dc2b7aecebf6f63b4ea7afd5b4bd104b6faef48a9c50359073"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_resolver_in_output_dir_test_hydra_resolver_in_output_dir.assert_expected_output_di": {"doc_hash": "2aa887b67c4bde7f9ebb17dbee743198015ccdf85ef9c5d651cc26b4f5f06403"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_mode_test_hydra_mode.cmd_extend_": {"doc_hash": "dafbca4e681817095dfe32d908e289854505b0d1a5659dc9d2f3f6c768f1d51b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_mode.if_error__test_hydra_mode.if_error_.else_.assert_regex_match_": {"doc_hash": "47ea6db6e58d4ee4fc2a5e689c2fd5dcbf1c07055b34c4d60fd6dc5a319ba03d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_runtime_choice_1882_": {"doc_hash": "a1d7c5573db9e4b029fbcd94b3fb46011df93570789ef1bb91989b4faabcc7f8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra_context_warnings.py_test_setup_plugins_": {"doc_hash": "42124a89a46a5ee73b161dd41babf4c384751f6b84e129eac3c1ab1db2c24826"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_internal_utils.py_from_typing_import_Any_C_test_get_column_widths.assert_utils_get_column_w": {"doc_hash": "db954297ed9df2c374eb4ff1b0dcbe2b9f20cd5abae02c5d163b17e7c0bbd42f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_internal_utils.py_test_get_class_name_": {"doc_hash": "0c391d7c24ccb33fd7439697353185b61ad4020cc931df535cf80cdfd464534d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_plugin_interface.py_test_discover_test_discover.for_ex_in_expected_classe.assert_ex_in_plugins": {"doc_hash": "a24ca4c142e811ea34bb1f90d667250d46cb8c8821f76fb7f2395ccde0cb6043"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_plugin_interface.py_test_register_plugin_": {"doc_hash": "0daf425e831e9fe20169954c344d2240fcbe94c46c8eeba22283cf767ea6124d"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_inspect_jinja_env_tests_empty_": {"doc_hash": "00a2c73485eaf17ce3723ea4eed44a814b2ebbc1297d20601ab154b19967597c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_init_config_init_config.file_write_bytes_sample_c": {"doc_hash": "144cbcfc73132a5f341f54e808deee4cba01c9901369d4b99e23feaa964266ab"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/configen.py_save_ClassInfo.target": {"doc_hash": "5992e9e6331c0ce22541648e559cfe4b5c10c3d8057ce836b19e13622f31c7fc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/__init__.py__": {"doc_hash": "53f9d1ed39563b0a19aebcbb306a55f13a917e66874fb2509e5393d30c2002ec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/config/__init__.py__": {"doc_hash": "305a85c10c72b9d9e5e23a179b69a9875bfea1d6b63ac172aadd63a2201e8164"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/config/configen/__init__.py__": {"doc_hash": "64c1e0dc5bfb1dd8c8f3b76da5e3ffd5ce76062f409d26af790741b8c018319b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/example/config/configen/samples/__init__.py__": {"doc_hash": "38d24805708a4de93c1874b6c3663324e50c6bc57e790e8cc02717bf5169345b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_run_antlr_SDistCommand.run.sdist_sdist_run_self_": {"doc_hash": "8037e15e92fad13b45ea24b8bd6573da5bb4068038dc356cb4ddefb0c96ad0e1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/hydra_plugins/hydra_torchrun_launcher/_core.py_logging_log.logging_getLogger___name_": {"doc_hash": "a77f032768a1df8cf2bf112dd8b55dd843567d12385a193390caefd91943b348"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/hydra_plugins/hydra_torchrun_launcher/_core.py_setup_setup.launcher.launch_config.LaunchConfig_": {"doc_hash": "c483f10ab77ace2733648d397f530b58a00daeb3b3feea970f7b1838cf2b46f0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/hydra_plugins/hydra_torchrun_launcher/_core.py_launch_": {"doc_hash": "d3ce11968341670e033b7b59cecc8453b14798320650c672874787c8fd22d830"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/hydra_plugins/hydra_torchrun_launcher/config.py_from_dataclasses_import_d_": {"doc_hash": "c83722a55122e586126cd6f42488a72b80c3e8542a307cee461bce404cc1eba5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/hydra_plugins/hydra_torchrun_launcher/distributed_launcher.py_from_typing_import_Option_": {"doc_hash": "9b50d815ed7e8dd379a0be886d02b723827380a16717a3f308960cebf18e8eda"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/setup.py_from_setuptools_import_fi_": {"doc_hash": "aebd58d4b1a9d3df3737b5d3fa4031579c90b5de07c0a697eb36c8fe50ec1658"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/tests/__init__.py__": {"doc_hash": "b9973f9603fbe6e2cbb81e37c55657fa22282f6d5ad6ab9c668573e430e3d104"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/contrib/hydra_torchrun_launcher/tests/test_torchrun_launcher.py_from_typing_import_Any_": {"doc_hash": "eddde39198c80d6380129c1cf2cd93f04bba52e35a35dca938d4d63361e42d61"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/example/sphere.py_hydra_": {"doc_hash": "b215fc3452f2278bb42042c5dbca736a4e95e492dbcd5fd8d82faad9e8969678"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_warnings_test_warnings.if_raise_warning_.else_.sweeper__process_searchsp": {"doc_hash": "76f2638fe5558891001d6bb00a8cac35a2a2cdc5be87945647be26bdaed495f3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/tests/test_optuna_sweeper_plugin.py_test_failure_rate_": {"doc_hash": "f974b6c1efffeeb9dadaf13c0b565051bd236fc2be219924a4608e654541e6fc"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RayClusterConf_RayClusterConf._dictionary_from_REMOTE_": {"doc_hash": "cdbb14a857c37d14129fb42bce560512d1d0699a41b912410a84b6e7b99a0525"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RayClusterConf.file_mounts_RayAWSConf.run_env.RayRunEnv_auto": {"doc_hash": "2d576c5f039448dd9278fe3eeec23e1c4430c319451bd2121593e27da268a8af"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ray_launcher/hydra_plugins/hydra_ray_launcher/_config.py_RayAWSLauncherConf_": {"doc_hash": "838ec68e08e6454b50d28cf1550d23f25b6c774691760f4339b85642336ac101"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/defaults_list/test_defaults_tree.py_test_legacy_interpolation_test_legacy_interpolation.with_raises_ConfigComposi._test_defaults_tree_impl_": {"doc_hash": "89a705ed6b94333181498e452773ec962919d28820a558ed7e21348560fd6668"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_partial_with_missing_test_instantiate_with_missing.with_raises_MissingMandat.instantiate_func_config_": {"doc_hash": "67ed9cd1ec4a5fd238da50923515b736396bc44bf8e7afb3627ff5ad669618b7"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_targetconf_deprecated_test_targetconf_disabled.with_raises_.TargetConf_": {"doc_hash": "92650416debd11f0b5276d778b437a17eea7d3d5f34e108b7e50f7fa0b2558b3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_instantiate_bad_adam_conf_test_instantiate_bad_adam_conf.with_raises_.instantiate_func_BadAdamC": {"doc_hash": "0aab90baf938df4b1e956f4fd1057ed06e175053f6108f745f8ebce155d62995"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_os_is_expect_exists.return.shutil_which_expect_is": {"doc_hash": "d776960dbcaa3aadaa0e52eb29f7bdcd3d6a0f10a6dd3b315d6baa4a5ae2b626"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_deprecated_compose_test_deprecated_compose.None_1.with_raises_.assert_expr_compose_": {"doc_hash": "fe10cbf41de03782fd5c397857562aff93524e3f34e36786c5a3e45cc2eaf1d1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_deprecated_initialize_test_deprecated_initialize.with_raises_ImportError_.with_expr_initialize_.assert_compose_": {"doc_hash": "d29b5b71e4794960c39ecdd01d4edf64bd59a567bce79c21b8b69129b7ce78d3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_deprecated_initialize_config_dir_test_deprecated_initialize_config_dir.with_raises_.with_expr_initialize_conf.assert_compose_": {"doc_hash": "42f6207527038930cc29dcad7520b4dac7bbedcdd7413868e0a77d44ebd9970a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_deprecated_initialize_config_module_test_initialize_without_config_path.with_warns_expected_warni.with_initialize_.pass": {"doc_hash": "06b15ac153a18cfc0f898ffd0e76357d2fcd8d9090113a93f7efa27ab4483236"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_overrides_parser.py_builtins_eq.if_isinstance_item1_floa.else_._type_ignore": {"doc_hash": "af7b1871efb8864a5d2e7d5896b0442863c9ec2970d74d082fc68c81bfa2dd93"}}, "docstore/data": {"/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/__init__.py__", "embedding": null, "metadata": {"file_path": "build_helpers/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 3, "span_ids": ["docstring"], "tokens": 27}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport setuptools # isort:skip # noqa", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/bin/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/bin/__init__.py__", "embedding": null, "metadata": {"file_path": "build_helpers/bin/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_codecs_matches.return.False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_codecs_matches.return.False", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 32, "span_ids": ["find_version", "matches", "docstring"], "tokens": 202}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import codecs\nimport errno\nimport logging\nimport os\nimport re\nimport shutil\nimport subprocess\nfrom os.path import abspath, basename, dirname, exists, isdir, join\nfrom typing import List, Optional\n\nfrom setuptools import Command\nfrom setuptools.command import build_py, develop, sdist\n\nlog = logging.getLogger(__name__)\n\n\ndef find_version(*file_paths: str) -> str:\n with codecs.open(os.path.join(*file_paths), \"r\") as fp:\n version_file = fp.read()\n version_match = re.search(r\"^__version__ = ['\\\"]([^'\\\"]*)['\\\"]\", version_file, re.M)\n if version_match:\n return version_match.group(1)\n raise RuntimeError(\"Unable to find version string.\")\n\n\ndef matches(patterns: List[str], string: str) -> bool:\n string = string.replace(\"\\\\\", \"/\")\n for pattern in patterns:\n if re.match(pattern, string):\n return True\n return False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_find__find.return.find__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_find__find.return.find__", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 33, "end_line": 86, "span_ids": ["find_", "find"], "tokens": 311}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def find_(\n root: str,\n rbase: str,\n include_files: List[str],\n include_dirs: List[str],\n excludes: List[str],\n scan_exclude: List[str],\n) -> List[str]:\n files = []\n scan_root = os.path.join(root, rbase)\n with os.scandir(scan_root) as it:\n for entry in it:\n path = os.path.join(rbase, entry.name)\n if matches(scan_exclude, path):\n continue\n\n if entry.is_dir():\n if matches(include_dirs, path):\n if not matches(excludes, path):\n files.append(path)\n else:\n ret = find_(\n root=root,\n rbase=path,\n include_files=include_files,\n include_dirs=include_dirs,\n excludes=excludes,\n scan_exclude=scan_exclude,\n )\n files.extend(ret)\n else:\n if matches(include_files, path) and not matches(excludes, path):\n files.append(path)\n\n return files\n\n\ndef find(\n root: str,\n include_files: List[str],\n include_dirs: List[str],\n excludes: List[str],\n scan_exclude: Optional[List[str]] = None,\n) -> List[str]:\n if scan_exclude is None:\n scan_exclude = []\n return find_(\n root=root,\n rbase=\"\",\n include_files=include_files,\n include_dirs=include_dirs,\n excludes=excludes,\n scan_exclude=scan_exclude,\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_CleanCommand_CleanCommand.finalize_options.pass": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_CleanCommand_CleanCommand.finalize_options.pass", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 89, "end_line": 129, "span_ids": ["CleanCommand.initialize_options", "CleanCommand.run", "CleanCommand.finalize_options", "CleanCommand"], "tokens": 252}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CleanCommand(Command): # type: ignore\n \"\"\"\n Our custom command to clean out junk files.\n \"\"\"\n\n description = \"Cleans out generated and junk files we don't want in the repo\"\n dry_run: bool\n user_options: List[str] = []\n\n def run(self) -> None:\n files = find(\n \".\",\n include_files=[\"^hydra/grammar/gen/.*\"],\n include_dirs=[\n \"\\\\.egg-info$\",\n \"^.pytest_cache$\",\n \".*/__pycache__$\",\n \".*/multirun$\",\n \".*/outputs$\",\n \"^build$\",\n ],\n scan_exclude=[\"^.git$\", \"^.nox/.*$\", \"^website/.*$\"],\n excludes=[\".*\\\\.gitignore$\"],\n )\n\n if self.dry_run:\n print(\"Would clean up the following files and dirs\")\n print(\"\\n\".join(files))\n else:\n for f in files:\n if exists(f):\n if isdir(f):\n shutil.rmtree(f, ignore_errors=True)\n else:\n os.unlink(f)\n\n def initialize_options(self) -> None:\n pass\n\n def finalize_options(self) -> None:\n pass", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_ANTLRCommand_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_ANTLRCommand_", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 171, "end_line": 206, "span_ids": ["ANTLRCommand.finalize_options", "ANTLRCommand.initialize_options", "ANTLRCommand", "ANTLRCommand.run"], "tokens": 225}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ANTLRCommand(Command): # type: ignore\n \"\"\"Generate parsers using ANTLR.\"\"\"\n\n description = \"Run ANTLR\"\n user_options: List[str] = []\n\n def run(self) -> None:\n \"\"\"Run command.\"\"\"\n root_dir = abspath(dirname(__file__))\n project_root = abspath(dirname(basename(__file__)))\n for grammar in [\n \"hydra/grammar/OverrideLexer.g4\",\n \"hydra/grammar/OverrideParser.g4\",\n ]:\n command = [\n \"java\",\n \"-jar\",\n join(root_dir, \"bin/antlr-4.9.3-complete.jar\"),\n \"-Dlanguage=Python3\",\n \"-o\",\n join(project_root, \"hydra/grammar/gen/\"),\n \"-Xexact-output-dir\",\n \"-visitor\",\n join(project_root, grammar),\n ]\n\n log.info(f\"Generating parser for Python3: {command}\")\n\n subprocess.check_call(command)\n\n def initialize_options(self) -> None:\n pass\n\n def finalize_options(self) -> None:\n pass", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_os.path_test_find.assert_ret_set_expecte": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_os.path_test_find.assert_ret_set_expecte", "embedding": null, "metadata": {"file_path": "build_helpers/test_helpers.py", "file_name": "test_helpers.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 117, "span_ids": ["test_find", "docstring"], "tokens": 705}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os.path\nfrom pathlib import Path\nfrom typing import List\n\nfrom pytest import mark, param\n\nfrom build_helpers.build_helpers import find, matches\n\n\n@mark.parametrize(\n \"path,include_files,include_dirs,excludes,scan_exclude,expected\",\n [\n param(\"test_files\", [], [], [], [], [], id=\"none\"),\n param(\n \"test_files\",\n [\".*\"],\n [],\n [],\n [],\n [\n \"a/b/bad_dir/.gitkeep\",\n \"a/b/file2.txt\",\n \"a/b/file1.txt\",\n \"a/b/junk.txt\",\n \"c/bad_dir/.gitkeep\",\n \"c/file2.txt\",\n \"c/file1.txt\",\n \"c/junk.txt\",\n ],\n id=\"all\",\n ),\n param(\n \"test_files\",\n [\".*\"],\n [],\n [\"^a/.*\"],\n [],\n [\"c/bad_dir/.gitkeep\", \"c/file2.txt\", \"c/file1.txt\", \"c/junk.txt\"],\n id=\"filter_a\",\n ),\n param(\n \"test_files\",\n [\"^a/.*\"],\n [],\n [],\n [],\n [\"a/b/bad_dir/.gitkeep\", \"a/b/file2.txt\", \"a/b/file1.txt\", \"a/b/junk.txt\"],\n id=\"include_a\",\n ),\n param(\n \"test_files\",\n [\"^a/.*\"],\n [],\n [\".*/file1\\\\.txt\"],\n [],\n [\"a/b/bad_dir/.gitkeep\", \"a/b/file2.txt\", \"a/b/junk.txt\"],\n id=\"include_a,exclude_file1\",\n ),\n param(\n \"test_files\",\n [\".*\"],\n [],\n [\"^.*/junk.txt$\"],\n [],\n [\n \"a/b/bad_dir/.gitkeep\",\n \"a/b/file2.txt\",\n \"a/b/file1.txt\",\n \"c/bad_dir/.gitkeep\",\n \"c/file2.txt\",\n \"c/file1.txt\",\n ],\n id=\"no_junk\",\n ),\n param(\n \"test_files\",\n [\"^.*/junk.txt\"],\n [],\n [],\n [],\n [\"a/b/junk.txt\", \"c/junk.txt\"],\n id=\"junk_only\",\n ),\n param(\"test_files\", [], [\"^a$\"], [], [], [\"a\"], id=\"exact_a\"),\n param(\n \"test_files\",\n [],\n [\".*bad_dir$\"],\n [],\n [],\n [\"a/b/bad_dir\", \"c/bad_dir\"],\n id=\"bad_dirs\",\n ),\n ],\n)\ndef test_find(\n path: str,\n include_files: List[str],\n include_dirs: List[str],\n excludes: List[str],\n scan_exclude: List[str],\n expected: List[str],\n) -> None:\n basedir = os.path.normpath(os.path.dirname(__file__))\n path = os.path.join(basedir, \"test_files\")\n ret = find(\n root=path,\n excludes=excludes,\n include_files=include_files,\n include_dirs=include_dirs,\n scan_exclude=scan_exclude,\n )\n\n ret_set = set([str(Path(x)) for x in ret])\n expected_set = set([str(Path(x)) for x in expected])\n assert ret_set == expected_set", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_test_matches_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/test_helpers.py_test_matches_", "embedding": null, "metadata": {"file_path": "build_helpers/test_helpers.py", "file_name": "test_helpers.py", "file_type": "text/x-python", "category": "test", "start_line": 120, "end_line": 132, "span_ids": ["test_matches"], "tokens": 115}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"patterns,query,expected\",\n [\n ([\"^a/.*\"], \"a/\", True),\n ([\"^a/.*\"], \"a\\\\\", True),\n ([\"^/foo/bar/.*\"], \"/foo/bar/blag\", True),\n ([\"^/foo/bar/.*\"], \"\\\\foo\\\\bar/blag\", True),\n ],\n)\ndef test_matches(patterns: List[str], query: str, expected: bool) -> None:\n ret = matches(patterns, query)\n assert ret == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ad_hoc_composition/hydra_compose_example.py_from_omegaconf_import_Ome_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ad_hoc_composition/hydra_compose_example.py_from_omegaconf_import_Ome_", "embedding": null, "metadata": {"file_path": "examples/advanced/ad_hoc_composition/hydra_compose_example.py", "file_name": "hydra_compose_example.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 12, "span_ids": ["docstring"], "tokens": 96}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from omegaconf import OmegaConf\n\nfrom hydra import compose, initialize\n\nif __name__ == \"__main__\":\n # initialize the Hydra subsystem.\n # This is needed for apps that cannot have a standard @hydra.main() entry point\n initialize(version_base=None, config_path=\"conf\")\n cfg = compose(\"config.yaml\", overrides=[\"db=mysql\", \"db.user=${oc.env:USER}\"])\n print(OmegaConf.to_yaml(cfg, resolve=True))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/__init__.py__", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/hydra_app/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/hydra_app/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/main.py_from_typing_import_Any_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/hydra_app/main.py_from_typing_import_Any_", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/hydra_app/main.py", "file_name": "main.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 24, "span_ids": ["add", "main", "impl", "docstring"], "tokens": 143}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Any\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\ndef add(app_cfg: DictConfig, key1: str, key2: str) -> Any:\n num1 = app_cfg[key1]\n num2 = app_cfg[key2]\n ret = num1 + num2\n print(f\"Hello {app_cfg.user}, {num1} + {num2} = {ret}\")\n return ret\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef main(cfg: DictConfig) -> None:\n add(cfg.app, \"num1\", \"num2\")\n\n\nif __name__ == \"__main__\":\n main()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/setup.py__usr_bin_env_python_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/setup.py__usr_bin_env_python_", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/setup.py", "file_name": "setup.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 18, "span_ids": ["docstring"], "tokens": 106}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "#!/usr/bin/env python\n\nfrom setuptools import find_packages, setup\n\nsetup(\n name=\"hydra-app\",\n version=\"0.1\",\n packages=find_packages(include=[\"hydra_app\"]),\n entry_points={\"console_scripts\": [\"hydra_app = hydra_app.main:main\"]},\n author=\"you!\",\n author_email=\"your_email@example.com\",\n url=\"http://hydra-app.example.com\",\n include_package_data=True,\n install_requires=[\"hydra-core>=1.0.0\"],\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py_unittest_TestWithUnittest.test_generated_config.with_initialize_config_mo.assert_cfg_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py_unittest_TestWithUnittest.test_generated_config.with_initialize_config_mo.assert_cfg_", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/tests/test_example.py", "file_name": "test_example.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 48, "span_ids": ["test_with_initialize", "TestWithUnittest.test_generated_config", "test_with_initialize_config_module", "TestWithUnittest", "docstring"], "tokens": 487}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import unittest\nfrom typing import List\n\nfrom pytest import mark\n\nimport hydra_app.main\nfrom hydra import compose, initialize, initialize_config_module\n\n\n# 1. initialize will add config_path the config search path within the context\n# 2. The module with your configs should be importable. it needs to have a __init__.py (can be empty).\n# 3. The config path is relative to the file calling initialize (this file)\ndef test_with_initialize() -> None:\n with initialize(version_base=None, config_path=\"../hydra_app/conf\"):\n # config is relative to a module\n cfg = compose(config_name=\"config\", overrides=[\"app.user=test_user\"])\n assert cfg == {\n \"app\": {\"user\": \"test_user\", \"num1\": 10, \"num2\": 20},\n \"db\": {\"host\": \"localhost\", \"port\": 3306},\n }\n\n\n# 1. initialize_with_module will add the config module to the config search path within the context\n# 2. The module with your configs should be importable. it needs to have a __init__.py (can be empty).\n# 3. The module should be absolute\n# 4. This approach is not sensitive to the location of this file, the test can be relocated freely.\ndef test_with_initialize_config_module() -> None:\n with initialize_config_module(version_base=None, config_module=\"hydra_app.conf\"):\n # config is relative to a module\n cfg = compose(config_name=\"config\", overrides=[\"app.user=test_user\"])\n assert cfg == {\n \"app\": {\"user\": \"test_user\", \"num1\": 10, \"num2\": 20},\n \"db\": {\"host\": \"localhost\", \"port\": 3306},\n }\n\n\n# Usage in unittest style tests is similar.\nclass TestWithUnittest(unittest.TestCase):\n def test_generated_config(self) -> None:\n with initialize_config_module(\n version_base=None, config_module=\"hydra_app.conf\"\n ):\n cfg = compose(config_name=\"config\", overrides=[\"app.user=test_user\"])\n assert cfg == {\n \"app\": {\"user\": \"test_user\", \"num1\": 10, \"num2\": 20},\n \"db\": {\"host\": \"localhost\", \"port\": 3306},\n }", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py__This_example_drives_som_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_example.py__This_example_drives_som_", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/tests/test_example.py", "file_name": "test_example.py", "file_type": "text/x-python", "category": "test", "start_line": 51, "end_line": 65, "span_ids": ["test_user_logic", "TestWithUnittest.test_generated_config"], "tokens": 175}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# This example drives some user logic with the composed config.\n# In this case it calls hydra_app.main.add(), passing it the composed config.\n@mark.parametrize(\n \"overrides, expected\",\n [\n ([\"app.user=test_user\"], 30),\n ([\"app.user=test_user\", \"app.num1=20\", \"app.num2=100\"], 120),\n ([\"app.user=test_user\", \"app.num1=-1001\", \"app.num2=1000\"], -1),\n ],\n)\ndef test_user_logic(overrides: List[str], expected: int) -> None:\n with initialize_config_module(version_base=None, config_module=\"hydra_app.conf\"):\n cfg = compose(config_name=\"config\", overrides=overrides)\n assert hydra_app.main.add(cfg.app, \"num1\", \"num2\") == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_installed_app.py_re_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/hydra_app_example/tests/test_installed_app.py_re_", "embedding": null, "metadata": {"file_path": "examples/advanced/hydra_app_example/tests/test_installed_app.py", "file_name": "test_installed_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 42, "span_ids": ["TestAppOutput", "TestAppOutput.test_installed_run_searchpath", "TestAppOutput.test_python_run", "TestAppOutput.verify_output", "docstring", "TestAppOutput.test_installed_run"], "tokens": 323}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import re\nimport subprocess\nimport sys\n\n\n# The following tests are testing that the app actually runs as expected\n# when installed and executed from the command line.\n# You don't need to repeat those tests in your own app.\nclass TestAppOutput:\n\n # Testing the Hydra app as an executable script\n # This only works if we are at the root of the hydra-app-example\n def test_python_run(self, tmpdir: str) -> None:\n self.verify_output(\n subprocess.check_output(\n [\n sys.executable,\n \"hydra_app/main.py\",\n f\"hydra.run.dir={tmpdir}\",\n \"app.user=test_user\",\n ]\n )\n )\n\n # Testing the Hydra app as a console script\n def test_installed_run(self, tmpdir: str) -> None:\n self.verify_output(\n subprocess.check_output(\n [\"hydra_app\", f\"hydra.run.dir={tmpdir}\", \"app.user=test_user\"]\n )\n )\n\n # test that installed app configs are loaded via pkg://hydra_app.conf\n def test_installed_run_searchpath(self, tmpdir: str) -> None:\n output = subprocess.check_output([\"hydra_app\", \"--info\"]).decode(\"utf-8\")\n assert re.search(re.escape(\"pkg://hydra_app.conf\"), output) is not None\n\n @staticmethod\n def verify_output(result: bytes) -> None:\n assert str(result.decode(\"utf-8\")).strip() == \"Hello test_user, 10 + 20 = 30\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/simple.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/simple.py__", "embedding": null, "metadata": {"file_path": "examples/advanced/package_overrides/simple.py", "file_name": "simple.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"simple\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/two_packages.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/two_packages.py__", "embedding": null, "metadata": {"file_path": "examples/advanced/package_overrides/two_packages.py", "file_name": "two_packages.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 82}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"two_packages\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ray_example/ray_compose_example.py_time_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/ray_example/ray_compose_example.py_time_", "embedding": null, "metadata": {"file_path": "examples/advanced/ray_example/ray_compose_example.py", "file_name": "ray_compose_example.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 36, "span_ids": ["main", "train", "impl", "docstring"], "tokens": 226}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import time\nfrom typing import List, Tuple\n\nimport ray\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@ray.remote # type: ignore\ndef train(overrides: List[str], cfg: DictConfig) -> Tuple[List[str], float]:\n print(OmegaConf.to_yaml(cfg))\n time.sleep(5)\n return overrides, 0.9\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef main(cfg: DictConfig) -> None:\n ray.init(**cfg.ray.init)\n\n results = []\n for model in [\"alexnet\", \"resnet\"]:\n for dataset in [\"cifar10\", \"imagenet\"]:\n overrides = [f\"dataset={dataset}\", f\"model={model}\"]\n run_cfg = hydra.compose(overrides=overrides)\n ret = train.remote(overrides, run_cfg)\n results.append(ret)\n\n for overrides, score in ray.get(results):\n print(f\"Result from {overrides} : {score}\")\n\n\nif __name__ == \"__main__\":\n main()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/custom_help/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/custom_help/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/configure_hydra/custom_help/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/no_config_file_override.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/no_config_file_override.py__", "embedding": null, "metadata": {"file_path": "examples/configure_hydra/job_name/no_config_file_override.py", "file_name": "no_config_file_override.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 15, "span_ids": ["experiment", "impl", "docstring"], "tokens": 80}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\nfrom hydra.core.hydra_config import HydraConfig\n\n\n@hydra.main(version_base=None)\ndef experiment(_cfg: DictConfig) -> None:\n print(HydraConfig.get().job.name)\n\n\nif __name__ == \"__main__\":\n experiment()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/with_config_file_override.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/job_name/with_config_file_override.py__", "embedding": null, "metadata": {"file_path": "examples/configure_hydra/job_name/with_config_file_override.py", "file_name": "with_config_file_override.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 15, "span_ids": ["experiment", "impl", "docstring"], "tokens": 89}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\nfrom hydra.core.hydra_config import HydraConfig\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef experiment(_cfg: DictConfig) -> None:\n print(HydraConfig.get().job.name)\n\n\nif __name__ == \"__main__\":\n experiment()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/logging/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/logging/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/configure_hydra/logging/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 18, "span_ids": ["my_app", "impl:3", "docstring"], "tokens": 88}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport logging\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(_cfg: DictConfig) -> None:\n log.info(\"Info level message\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/jupyter_notebooks/cloud_app/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/jupyter_notebooks/cloud_app/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "examples/jupyter_notebooks/cloud_app/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/specializing_config/example.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/specializing_config/example.py__", "embedding": null, "metadata": {"file_path": "examples/patterns/specializing_config/example.py", "file_name": "example.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 19, "span_ids": ["impl:3", "experiment", "docstring"], "tokens": 95}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport logging\nimport sys\n\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef experiment(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n sys.exit(experiment())", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/write_protect_config_node/frozen.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/write_protect_config_node/frozen.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/patterns/write_protect_config_node/frozen.py", "file_name": "frozen.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 26, "span_ids": ["impl:4", "impl", "my_app", "SerialPort", "docstring"], "tokens": 117}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass(frozen=True)\nclass SerialPort:\n baud_rate: int = 19200\n data_bits: int = 8\n stop_bits: int = 1\n\n\ncs = ConfigStore.instance()\ncs.store(name=\"config\", node=SerialPort)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: SerialPort) -> None:\n print(cfg)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/running_your_hydra_app/3_working_directory/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 16, "span_ids": ["my_app", "impl", "docstring"], "tokens": 76}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport os\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None)\ndef my_app(_cfg: DictConfig) -> None:\n print(f\"Working directory : {os.getcwd()}\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/original_cwd.py_os_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/3_working_directory/original_cwd.py_os_", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/running_your_hydra_app/3_working_directory/original_cwd.py", "file_name": "original_cwd.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 20, "span_ids": ["my_app", "impl", "docstring"], "tokens": 127}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\n\nfrom omegaconf import DictConfig\n\nimport hydra\nfrom hydra.utils import get_original_cwd, to_absolute_path\n\n\n@hydra.main()\ndef my_app(_cfg: DictConfig) -> None:\n print(f\"Current working directory : {os.getcwd()}\")\n print(f\"Orig working directory : {get_original_cwd()}\")\n print(f\"to_absolute_path('foo') : {to_absolute_path('foo')}\")\n print(f\"to_absolute_path('/foo') : {to_absolute_path('/foo')}\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/4_logging/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/running_your_hydra_app/4_logging/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/running_your_hydra_app/4_logging/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 20, "span_ids": ["my_app", "impl:3", "docstring"], "tokens": 93}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport logging\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n# A logger for this file\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(version_base=None)\ndef my_app(_cfg: DictConfig) -> None:\n log.info(\"Info level message\")\n log.debug(\"Debug level message\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/1_simple_cli/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/1_simple_cli/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/your_first_hydra_app/1_simple_cli/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 71}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None)\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 80}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/4_config_groups/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/4_config_groups/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/your_first_hydra_app/4_config_groups/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 76}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py__", "embedding": null, "metadata": {"file_path": "examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/1_minimal/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 26, "span_ids": ["impl:4", "impl", "my_app", "MySQLConfig", "docstring"], "tokens": 128}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass MySQLConfig:\n host: str = \"localhost\"\n port: int = 3306\n\n\ncs = ConfigStore.instance()\n# Registering the Config class with the name 'config'.\ncs.store(name=\"config\", node=MySQLConfig)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: MySQLConfig) -> None:\n print(f\"Host: {cfg.host}, port: {cfg.port}\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app_type_error.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/1_minimal/my_app_type_error.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/1_minimal/my_app_type_error.py", "file_name": "my_app_type_error.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 28, "span_ids": ["impl:4", "impl", "my_app", "MySQLConfig", "docstring"], "tokens": 144}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass MySQLConfig:\n host: str = \"localhost\"\n port: int = 3306\n\n\ncs = ConfigStore.instance()\n# Registering the Config class with the name 'config'\ncs.store(name=\"config\", node=MySQLConfig)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: MySQLConfig) -> None:\n # pork should be port!\n if cfg.pork == 80: # type: ignore\n print(\"Is this a webserver?!\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/2_static_complex/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/2_static_complex/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/2_static_complex/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 38, "span_ids": ["MyConfig", "impl:4", "impl", "my_app", "UserInterface", "MySQLConfig", "docstring"], "tokens": 183}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass MySQLConfig:\n host: str = \"localhost\"\n port: int = 3306\n\n\n@dataclass\nclass UserInterface:\n title: str = \"My app\"\n width: int = 1024\n height: int = 768\n\n\n@dataclass\nclass MyConfig:\n db: MySQLConfig = MySQLConfig()\n ui: UserInterface = UserInterface()\n\n\ncs = ConfigStore.instance()\ncs.store(name=\"config\", node=MyConfig)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: MyConfig) -> None:\n print(f\"Title={cfg.ui.title}, size={cfg.ui.width}x{cfg.ui.height} pixels\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/3_config_groups/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 45, "span_ids": ["impl", "my_app", "Config", "MySQLConfig", "docstring", "impl:6", "PostGreSQLConfig"], "tokens": 222}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\nfrom typing import Any\n\nfrom omegaconf import OmegaConf\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass MySQLConfig:\n driver: str = \"mysql\"\n host: str = \"localhost\"\n port: int = 3306\n\n\n@dataclass\nclass PostGreSQLConfig:\n driver: str = \"postgresql\"\n host: str = \"localhost\"\n port: int = 5432\n timeout: int = 10\n\n\n@dataclass\nclass Config:\n # We will populate db using composition.\n db: Any\n\n\ncs = ConfigStore.instance()\ncs.store(name=\"config\", node=Config)\ncs.store(group=\"db\", name=\"mysql\", node=MySQLConfig)\ncs.store(group=\"db\", name=\"postgresql\", node=PostGreSQLConfig)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: Config) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app_with_inheritance.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/3_config_groups/my_app_with_inheritance.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/3_config_groups/my_app_with_inheritance.py", "file_name": "my_app_with_inheritance.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 50, "span_ids": ["impl", "my_app", "Config", "docstring", "MySQLConfig", "DBConfig", "impl:6", "PostGreSQLConfig"], "tokens": 251}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nfrom omegaconf import MISSING, OmegaConf\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass DBConfig:\n host: str = \"localhost\"\n port: int = MISSING\n driver: str = MISSING\n\n\n@dataclass\nclass MySQLConfig(DBConfig):\n driver: str = \"mysql\"\n port: int = 3306\n\n\n@dataclass\nclass PostGreSQLConfig(DBConfig):\n driver: str = \"postgresql\"\n port: int = 5432\n timeout: int = 10\n\n\n@dataclass\nclass Config:\n # We can now annotate db as DBConfig which\n # improves both static and dynamic type safety.\n db: DBConfig\n\n\ncs = ConfigStore.instance()\ncs.store(name=\"config\", node=Config)\ncs.store(group=\"db\", name=\"mysql\", node=MySQLConfig)\ncs.store(group=\"db\", name=\"postgresql\", node=PostGreSQLConfig)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: Config) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/4_defaults/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/tutorials/structured_configs/4_defaults/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "examples/tutorials/structured_configs/4_defaults/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 58, "span_ids": ["impl:3", "impl", "my_app", "Config", "MySQLConfig", "docstring", "impl:8", "PostGreSQLConfig"], "tokens": 332}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass, field\nfrom typing import Any, List\n\nfrom omegaconf import MISSING, OmegaConf # Do not confuse with dataclass.MISSING\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass MySQLConfig:\n driver: str = \"mysql\"\n host: str = \"localhost\"\n port: int = 3306\n user: str = \"omry\"\n password: str = \"secret\"\n\n\n@dataclass\nclass PostGreSQLConfig:\n driver: str = \"postgresql\"\n host: str = \"localhost\"\n port: int = 5432\n timeout: int = 10\n user: str = \"postgres_user\"\n password: str = \"drowssap\"\n\n\ndefaults = [\n # config group name db will load config named mysql\n {\"db\": \"mysql\"}\n]\n\n\n@dataclass\nclass Config:\n # this is unfortunately verbose due to @dataclass limitations\n defaults: List[Any] = field(default_factory=lambda: defaults)\n\n # Hydra will populate this field based on the defaults list\n db: Any = MISSING\n\n\ncs = ConfigStore.instance()\ncs.store(group=\"db\", name=\"mysql\", node=MySQLConfig)\ncs.store(group=\"db\", name=\"postgresql\", node=PostGreSQLConfig)\ncs.store(name=\"config\", node=Config)\n\n\n@hydra.main(version_base=None, config_name=\"config\")\ndef my_app(cfg: Config) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/_internal/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.load_configuration_ConfigLoaderImpl.load_configuration.try_.except_OmegaConfBaseExcep.raise_ConfigCompositionEx": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.load_configuration_ConfigLoaderImpl.load_configuration.try_.except_OmegaConfBaseExcep.raise_ConfigCompositionEx", "embedding": null, "metadata": {"file_path": "hydra/_internal/config_loader_impl.py", "file_name": "config_loader_impl.py", "file_type": "text/x-python", "category": "implementation", "start_line": 132, "end_line": 149, "span_ids": ["ConfigLoaderImpl.load_configuration"], "tokens": 137}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigLoaderImpl(ConfigLoader):\n\n def load_configuration(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode,\n from_shell: bool = True,\n validate_sweep_overrides: bool = True,\n ) -> DictConfig:\n try:\n return self._load_configuration_impl(\n config_name=config_name,\n overrides=overrides,\n run_mode=run_mode,\n from_shell=from_shell,\n validate_sweep_overrides=validate_sweep_overrides,\n )\n except OmegaConfBaseException as e:\n raise ConfigCompositionException().with_traceback(sys.exc_info()[2]) from e", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository.load_config_ConfigRepository.load_config.return.ret": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_ConfigRepository.load_config_ConfigRepository.load_config.return.ret", "embedding": null, "metadata": {"file_path": "hydra/_internal/config_repository.py", "file_name": "config_repository.py", "file_type": "text/x-python", "category": "implementation", "start_line": 85, "end_line": 102, "span_ids": ["ConfigRepository.load_config"], "tokens": 159}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigRepository(IConfigRepository):\n\n def load_config(self, config_path: str) -> Optional[ConfigResult]:\n source = self._find_object_source(\n config_path=config_path, object_type=ObjectType.CONFIG\n )\n ret = None\n if source is not None:\n ret = source.load_config(config_path=config_path)\n # if this source is THE schema source, flag the result as coming from it.\n ret.is_schema_source = (\n source.__class__.__name__ == \"StructuredConfigSource\"\n and source.provider == \"schema\"\n )\n\n if ret is not None:\n raw_defaults = self._extract_defaults_list(config_path, ret.config)\n ret.defaults_list = self._create_defaults_list(config_path, raw_defaults)\n\n return ret", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_from_typing_import_List__ConfigSearchPathImpl.find_match.return._1": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_from_typing_import_List__ConfigSearchPathImpl.find_match.return._1", "embedding": null, "metadata": {"file_path": "hydra/_internal/config_search_path_impl.py", "file_name": "config_search_path_impl.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 46, "span_ids": ["ConfigSearchPathImpl.find_first_match", "ConfigSearchPathImpl.find_last_match", "ConfigSearchPathImpl", "ConfigSearchPathImpl.get_path", "docstring", "ConfigSearchPathImpl.find_match", "ConfigSearchPathImpl.__init__"], "tokens": 303}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import List, MutableSequence, Optional, Union\n\nfrom hydra.core.config_search_path import (\n ConfigSearchPath,\n SearchPathElement,\n SearchPathQuery,\n)\n\n\nclass ConfigSearchPathImpl(ConfigSearchPath):\n config_search_path: List[SearchPathElement]\n\n def __init__(self) -> None:\n self.config_search_path = []\n\n def get_path(self) -> MutableSequence[SearchPathElement]:\n return self.config_search_path\n\n def find_last_match(self, reference: SearchPathQuery) -> int:\n return self.find_match(reference, reverse=True)\n\n def find_first_match(self, reference: SearchPathQuery) -> int:\n return self.find_match(reference, reverse=False)\n\n def find_match(self, reference: SearchPathQuery, reverse: bool) -> int:\n p = self.config_search_path\n if reverse:\n iterator = zip(reversed(range(len(p))), reversed(p))\n else:\n iterator = zip(range(len(p)), p)\n for idx, sp in iterator:\n has_prov = reference.provider is not None\n has_path = reference.path is not None\n if has_prov and has_path:\n if reference.provider == sp.provider and reference.path == sp.path:\n return idx\n elif has_prov:\n if reference.provider == sp.provider:\n return idx\n elif has_path:\n if reference.path == sp.path:\n return idx\n else:\n assert False\n return -1", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.append_ConfigSearchPathImpl.append.if_anchor_is_None_.else_.if_idx_1_.else_.self_append_provider_pat": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.append_ConfigSearchPathImpl.append.if_anchor_is_None_.else_.if_idx_1_.else_.self_append_provider_pat", "embedding": null, "metadata": {"file_path": "hydra/_internal/config_search_path_impl.py", "file_name": "config_search_path_impl.py", "file_type": "text/x-python", "category": "implementation", "start_line": 48, "end_line": 63, "span_ids": ["ConfigSearchPathImpl.append"], "tokens": 130}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSearchPathImpl(ConfigSearchPath):\n\n def append(\n self, provider: str, path: str, anchor: Optional[SearchPathQuery] = None\n ) -> None:\n if anchor is None:\n self.config_search_path.append(SearchPathElement(provider, path))\n else:\n if isinstance(anchor, str):\n anchor = SearchPathQuery(anchor, None)\n\n idx = self.find_last_match(anchor)\n if idx != -1:\n self.config_search_path.insert(\n idx + 1, SearchPathElement(provider, path)\n )\n else:\n self.append(provider, path, anchor=None)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.prepend_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_search_path_impl.py_ConfigSearchPathImpl.prepend_", "embedding": null, "metadata": {"file_path": "hydra/_internal/config_search_path_impl.py", "file_name": "config_search_path_impl.py", "file_type": "text/x-python", "category": "implementation", "start_line": 65, "end_line": 99, "span_ids": ["ConfigSearchPathImpl.prepend", "ConfigSearchPathImpl.__str__"], "tokens": 287}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSearchPathImpl(ConfigSearchPath):\n\n def prepend(\n self,\n provider: str,\n path: str,\n anchor: Optional[Union[SearchPathQuery, str]] = None,\n ) -> None:\n \"\"\"\n Prepends to the search path.\n Note, this currently only takes effect if called before the ConfigRepository is instantiated.\n\n :param provider: who is providing this search path, can be Hydra,\n the @hydra.main() function, or individual plugins or libraries.\n :param path: path element, can be a file system path or a package path (For example pkg://hydra.conf)\n :param anchor: if string, acts as provider. if SearchPath can be used to match against provider and / or path\n \"\"\"\n if anchor is None:\n self.config_search_path.insert(0, SearchPathElement(provider, path))\n else:\n if isinstance(anchor, str):\n anchor = SearchPathQuery(anchor, None)\n\n idx = self.find_first_match(anchor)\n if idx != -1:\n if idx > 0:\n self.config_search_path.insert(\n idx, SearchPathElement(provider, path)\n )\n else:\n self.prepend(provider, path, None)\n else:\n self.prepend(provider, path, None)\n\n def __str__(self) -> str:\n return str(self.config_search_path)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_logging_BashCompletion.install.print_script_self__get_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_logging_BashCompletion.install.print_script_self__get_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/bash_completion.py", "file_name": "bash_completion.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 62, "span_ids": ["BashCompletion", "BashCompletion.install", "docstring"], "tokens": 490}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nimport os\nimport sys\nfrom typing import Optional\n\nfrom hydra.plugins.completion_plugin import CompletionPlugin\n\nlog = logging.getLogger(__name__)\n\n\nclass BashCompletion(CompletionPlugin):\n def install(self) -> None:\n # Record the old rule for uninstalling\n script = (\n f\"export _HYDRA_OLD_COMP=$(complete -p {self._get_exec()} 2> /dev/null)\\n\"\n )\n script += \"\"\"hydra_bash_completion()\n{\n words=($COMP_LINE)\n if [ \"${words[0]}\" == \"python\" ]; then\n if (( ${#words[@]} < 2 )); then\n return\n fi\n file_path=$(pwd)/${words[1]}\n if [ ! -f \"$file_path\" ]; then\n return\n fi\n grep \"@hydra.main\" $file_path -q\n helper=\"${words[0]} ${words[1]}\"\n else\n helper=\"${words[0]}\"\n true\n fi\n\n EXECUTABLE=($(command -v $helper))\n if [ \"$HYDRA_COMP_DEBUG\" == \"1\" ]; then\n printf \"EXECUTABLE_FIRST='${EXECUTABLE[0]}'\\\\n\"\n fi\n if ! [ -x \"${EXECUTABLE[0]}\" ]; then\n false\n fi\n\n if [ $? == 0 ]; then\n choices=$( COMP_POINT=$COMP_POINT COMP_LINE=$COMP_LINE $helper -sc query=bash)\n word=${words[$COMP_CWORD]}\n\n if [ \"$HYDRA_COMP_DEBUG\" == \"1\" ]; then\n printf \"\\\\n\"\n printf \"COMP_LINE='$COMP_LINE'\\\\n\"\n printf \"COMP_POINT='$COMP_POINT'\\\\n\"\n printf \"Word='$word'\\\\n\"\n printf \"Output suggestions:\\\\n\"\n printf \"\\\\t%s\\\\n\" ${choices[@]}\n fi\n COMPREPLY=($( compgen -o nospace -o default -W \"$choices\" -- \"$word\" ));\n fi\n}\n\nCOMP_WORDBREAKS=${COMP_WORDBREAKS//=}\nCOMP_WORDBREAKS=$COMP_WORDBREAKS complete -o nospace -o default -F hydra_bash_completion \"\"\"\n print(script + self._get_exec())", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_BashCompletion.uninstall_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/bash_completion.py_BashCompletion.uninstall_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/bash_completion.py", "file_name": "bash_completion.py", "file_type": "text/x-python", "category": "implementation", "start_line": 64, "end_line": 99, "span_ids": ["BashCompletion._get_exec", "BashCompletion.provides", "BashCompletion.help", "BashCompletion.query", "BashCompletion.uninstall"], "tokens": 276}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BashCompletion(CompletionPlugin):\n\n def uninstall(self) -> None:\n print(\"unset hydra_bash_completion\")\n print(os.environ.get(\"_HYDRA_OLD_COMP\", \"\"))\n print(\"unset _HYDRA_OLD_COMP\")\n\n @staticmethod\n def provides() -> str:\n return \"bash\"\n\n def query(self, config_name: Optional[str]) -> None:\n line = os.environ[\"COMP_LINE\"]\n # key = os.environ[\"COMP_POINT \"] if \"COMP_POINT \" in os.environ else len(line)\n\n # if key == \"\":\n # key = 0\n # if isinstance(key, str):\n # key = int(key)\n\n # currently key is ignored.\n line = self.strip_python_or_app_name(line)\n print(\" \".join(self._query(config_name=config_name, line=line)))\n\n @staticmethod\n def help(command: str) -> str:\n assert command in [\"install\", \"uninstall\"]\n return f'eval \"$({{}} -sc {command}=bash)\"'\n\n @staticmethod\n def _get_exec() -> str:\n if sys.argv[0].endswith(\".py\"):\n return \"python\"\n else:\n # Running as an installed app (setuptools entry point)\n executable = os.path.basename(sys.argv[0])\n return executable", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_logging_ConfigStore_instance_st": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_logging_ConfigStore_instance_st", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/basic_launcher.py", "file_name": "basic_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 30, "span_ids": ["impl:3", "BasicLauncherConf", "docstring"], "tokens": 157}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom dataclasses import dataclass\nfrom pathlib import Path\nfrom typing import List, Optional, Sequence\n\nfrom omegaconf import DictConfig, open_dict\n\nfrom hydra.core.config_store import ConfigStore\nfrom hydra.core.utils import (\n JobReturn,\n configure_log,\n filter_overrides,\n run_job,\n setup_globals,\n)\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.types import HydraContext, TaskFunction\n\nlog = logging.getLogger(__name__)\n\n\n@dataclass\nclass BasicLauncherConf:\n _target_: str = \"hydra._internal.core_plugins.basic_launcher.BasicLauncher\"\n\n\nConfigStore.instance().store(\n group=\"hydra/launcher\", name=\"basic\", node=BasicLauncherConf, provider=\"hydra\"\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_BasicLauncher_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_launcher.py_BasicLauncher_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/basic_launcher.py", "file_name": "basic_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 33, "end_line": 84, "span_ids": ["BasicLauncher.__init__", "BasicLauncher.launch", "BasicLauncher.setup", "BasicLauncher"], "tokens": 429}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BasicLauncher(Launcher):\n def __init__(self) -> None:\n super().__init__()\n self.config: Optional[DictConfig] = None\n self.task_function: Optional[TaskFunction] = None\n self.hydra_context: Optional[HydraContext] = None\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n self.config = config\n self.hydra_context = hydra_context\n self.task_function = task_function\n\n def launch(\n self, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n ) -> Sequence[JobReturn]:\n setup_globals()\n assert self.hydra_context is not None\n assert self.config is not None\n assert self.task_function is not None\n\n configure_log(self.config.hydra.hydra_logging, self.config.hydra.verbose)\n sweep_dir = self.config.hydra.sweep.dir\n Path(str(sweep_dir)).mkdir(parents=True, exist_ok=True)\n log.info(f\"Launching {len(job_overrides)} jobs locally\")\n runs: List[JobReturn] = []\n for idx, overrides in enumerate(job_overrides):\n idx = initial_job_idx + idx\n lst = \" \".join(filter_overrides(overrides))\n log.info(f\"\\t#{idx} : {lst}\")\n sweep_config = self.hydra_context.config_loader.load_sweep_config(\n self.config, list(overrides)\n )\n with open_dict(sweep_config):\n sweep_config.hydra.job.id = idx\n sweep_config.hydra.job.num = idx\n ret = run_job(\n hydra_context=self.hydra_context,\n task_function=self.task_function,\n config=sweep_config,\n job_dir_key=\"hydra.sweep.dir\",\n job_subdir_key=\"hydra.sweep.subdir\",\n )\n runs.append(ret)\n configure_log(self.config.hydra.hydra_logging, self.config.hydra.verbose)\n return runs", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_itertools_log.logging_getLogger___name_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_itertools_log.logging_getLogger___name_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/basic_sweeper.py", "file_name": "basic_sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 19, "end_line": 51, "span_ids": ["BasicSweeperConf", "impl", "docstring"], "tokens": 229}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import itertools\nimport logging\nimport time\nfrom collections import OrderedDict\nfrom dataclasses import dataclass\nfrom pathlib import Path\nfrom typing import Any, Dict, Iterable, List, Optional, Sequence\n\nfrom omegaconf import DictConfig, OmegaConf\n\nfrom hydra.core.config_store import ConfigStore\nfrom hydra.core.override_parser.overrides_parser import OverridesParser\nfrom hydra.core.override_parser.types import Override\nfrom hydra.core.utils import JobReturn\nfrom hydra.errors import HydraException\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.plugins.sweeper import Sweeper\nfrom hydra.types import HydraContext, TaskFunction\n\n\n@dataclass\nclass BasicSweeperConf:\n _target_: str = \"hydra._internal.core_plugins.basic_sweeper.BasicSweeper\"\n max_batch_size: Optional[int] = None\n params: Optional[Dict[str, str]] = None\n\n\nConfigStore.instance().store(\n group=\"hydra/sweeper\", name=\"basic\", node=BasicSweeperConf, provider=\"hydra\"\n)\n\n\nlog = logging.getLogger(__name__)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper_BasicSweeper.split_overrides_to_chunks.for_i_in_range_0_len_lst.yield_lst_i_i_n_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper_BasicSweeper.split_overrides_to_chunks.for_i_in_range_0_len_lst.yield_lst_i_i_n_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/basic_sweeper.py", "file_name": "basic_sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 54, "end_line": 104, "span_ids": ["BasicSweeper", "BasicSweeper.setup", "BasicSweeper.split_overrides_to_chunks", "BasicSweeper.__init__"], "tokens": 334}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BasicSweeper(Sweeper):\n \"\"\"\n Basic sweeper\n \"\"\"\n\n def __init__(\n self, max_batch_size: Optional[int], params: Optional[Dict[str, str]] = None\n ) -> None:\n \"\"\"\n Instantiates\n \"\"\"\n super(BasicSweeper, self).__init__()\n\n if params is None:\n params = {}\n self.overrides: Optional[Sequence[Sequence[Sequence[str]]]] = None\n self.batch_index = 0\n self.max_batch_size = max_batch_size\n self.params = params\n\n self.hydra_context: Optional[HydraContext] = None\n self.config: Optional[DictConfig] = None\n self.launcher: Optional[Launcher] = None\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n from hydra.core.plugins import Plugins\n\n self.hydra_context = hydra_context\n self.config = config\n\n self.launcher = Plugins.instance().instantiate_launcher(\n hydra_context=hydra_context,\n task_function=task_function,\n config=config,\n )\n\n @staticmethod\n def split_overrides_to_chunks(\n lst: List[List[str]], n: Optional[int]\n ) -> Iterable[List[List[str]]]:\n if n is None or n == -1:\n n = len(lst)\n assert n > 0\n for i in range(0, len(lst), n):\n yield lst[i : i + n]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper.sweep_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/basic_sweeper.py_BasicSweeper.sweep_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/basic_sweeper.py", "file_name": "basic_sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 148, "end_line": 201, "span_ids": ["BasicSweeper.get_job_batch", "BasicSweeper.is_done", "BasicSweeper.sweep"], "tokens": 463}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BasicSweeper(Sweeper):\n\n def sweep(self, arguments: List[str]) -> Any:\n assert self.config is not None\n assert self.launcher is not None\n assert self.hydra_context is not None\n\n params_conf = self._parse_config()\n params_conf.extend(arguments)\n\n parser = OverridesParser.create(config_loader=self.hydra_context.config_loader)\n overrides = parser.parse_overrides(params_conf)\n\n self.overrides = self.split_arguments(overrides, self.max_batch_size)\n returns: List[Sequence[JobReturn]] = []\n\n # Save sweep run config in top level sweep working directory\n sweep_dir = Path(self.config.hydra.sweep.dir)\n sweep_dir.mkdir(parents=True, exist_ok=True)\n OmegaConf.save(self.config, sweep_dir / \"multirun.yaml\")\n\n initial_job_idx = 0\n while not self.is_done():\n batch = self.get_job_batch()\n tic = time.perf_counter()\n # Validate that jobs can be safely composed. This catches composition errors early.\n # This can be a bit slow for large jobs. can potentially allow disabling from the config.\n self.validate_batch_is_legal(batch)\n elapsed = time.perf_counter() - tic\n log.debug(\n f\"Validated configs of {len(batch)} jobs in {elapsed:0.2f} seconds, {len(batch)/elapsed:.2f} / second)\"\n )\n results = self.launcher.launch(batch, initial_job_idx=initial_job_idx)\n\n for r in results:\n # access the result to trigger an exception in case the job failed.\n _ = r.return_value\n\n initial_job_idx += len(batch)\n returns.append(results)\n\n return returns\n\n def get_job_batch(self) -> Sequence[Sequence[str]]:\n \"\"\"\n :return: A list of lists of strings, each inner list is the overrides for a single job\n that should be executed.\n \"\"\"\n assert self.overrides is not None\n self.batch_index += 1\n return self.overrides[self.batch_index - 1]\n\n def is_done(self) -> bool:\n assert self.overrides is not None\n return self.batch_index >= len(self.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/file_config_source.py_FileConfigSource.available_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/file_config_source.py_FileConfigSource.available_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/file_config_source.py", "file_name": "file_config_source.py", "file_type": "text/x-python", "category": "implementation", "start_line": 50, "end_line": 75, "span_ids": ["FileConfigSource.is_group", "FileConfigSource.is_config", "FileConfigSource.list", "FileConfigSource.available"], "tokens": 215}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class FileConfigSource(ConfigSource):\n\n def available(self) -> bool:\n return self.is_group(\"\")\n\n def is_group(self, config_path: str) -> bool:\n full_path = os.path.realpath(os.path.join(self.path, config_path))\n return os.path.isdir(full_path)\n\n def is_config(self, config_path: str) -> bool:\n config_path = self._normalize_file_name(config_path)\n full_path = os.path.realpath(os.path.join(self.path, config_path))\n return os.path.isfile(full_path)\n\n def list(self, config_path: str, results_filter: Optional[ObjectType]) -> List[str]:\n files: List[str] = []\n full_path = os.path.realpath(os.path.join(self.path, config_path))\n for file in os.listdir(full_path):\n file_path = os.path.join(config_path, file)\n self._list_add_result(\n files=files,\n file_path=file_path,\n file_name=file,\n results_filter=results_filter,\n )\n\n return sorted(list(set(files)))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_logging_FishCompletion.install.print_join_reg_cmd_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_logging_FishCompletion.install.print_join_reg_cmd_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/fish_completion.py", "file_name": "fish_completion.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 40, "span_ids": ["FishCompletion.install", "FishCompletion", "docstring"], "tokens": 266}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nimport os\nimport sys\nfrom typing import List, Optional, Tuple\n\nfrom hydra.plugins.completion_plugin import CompletionPlugin\n\nlog = logging.getLogger(__name__)\n\n\nclass FishCompletion(CompletionPlugin):\n def install(self) -> None:\n script = \"\"\"function hydra_fish_completion\n # Hydra will access COMP_LINE to generate completion candidates\n set -lx COMP_LINE (commandline -cp)\n\n # Find out how to call the underlying script\n set -l parts (commandline -cpo)\n if test \"$parts[1]\" = \"python\" -o \"$parts[1]\" = \"python3\"\n set cmd \"$parts[1] $parts[2]\"\n if not grep -q \"@hydra.main\" $parts[2]\n return\n end\n else\n set cmd \"$parts[1]\"\n end\n\n # Generate candidates\n eval \"$cmd -sc query=fish\"\nend\n \"\"\"\n output = self._get_exec()\n reg_cmd = []\n for name, cond in output:\n reg_cmd.append(\n f\"complete -c {name} {cond}-x -a '(hydra_fish_completion)'\\n\"\n )\n print(script)\n print(\"\".join(reg_cmd))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion.uninstall_FishCompletion.help.return.f_sc_command_fish": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion.uninstall_FishCompletion.help.return.f_sc_command_fish", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/fish_completion.py", "file_name": "fish_completion.py", "file_type": "text/x-python", "category": "implementation", "start_line": 42, "end_line": 59, "span_ids": ["FishCompletion.uninstall", "FishCompletion.query", "FishCompletion.provides", "FishCompletion.help"], "tokens": 156}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class FishCompletion(CompletionPlugin):\n\n def uninstall(self) -> None:\n name = self._get_uninstall_exec()\n print(f\"complete -e -c {name}\")\n print(\"function hydra_fish_completion\\nend\")\n\n @staticmethod\n def provides() -> str:\n return \"fish\"\n\n def query(self, config_name: Optional[str]) -> None:\n line = os.environ[\"COMP_LINE\"]\n line = self.strip_python_or_app_name(line)\n print(\"\\n\".join(self._query(config_name=config_name, line=line)))\n\n @staticmethod\n def help(command: str) -> str:\n assert command in [\"install\", \"uninstall\"]\n return f\"{{}} -sc {command}=fish | source\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion._get_exec_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/core_plugins/fish_completion.py_FishCompletion._get_exec_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/fish_completion.py", "file_name": "fish_completion.py", "file_type": "text/x-python", "category": "implementation", "start_line": 61, "end_line": 82, "span_ids": ["FishCompletion._get_uninstall_exec", "FishCompletion._get_exec"], "tokens": 165}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class FishCompletion(CompletionPlugin):\n\n @staticmethod\n def _get_exec() -> List[Tuple[str, str]]:\n # Running as an installed app (setuptools entry point)\n output = []\n # User scenario 1: python script.py\n name = os.path.basename(sys.executable)\n cond = f\"-n '__fish_seen_subcommand_from {sys.argv[0]}' \"\n output.append((name, cond))\n\n # User scenario 2: ./script.py or src/script.py or script.py\n name = os.path.basename(sys.argv[0])\n cond = \"\"\n output.append((name, cond))\n\n return output\n\n @staticmethod\n def _get_uninstall_exec() -> str:\n name = os.path.basename(sys.argv[0])\n\n return name", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/functions.py_inspect_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/functions.py_inspect_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/functions.py", "file_name": "functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 76, "span_ids": ["Functions", "Functions.eval", "docstring", "FunctionCall", "Functions.register"], "tokens": 533}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import inspect\nfrom dataclasses import dataclass, field\nfrom typing import Any, Callable, Dict, List\n\nfrom omegaconf._utils import type_str\n\nfrom hydra._internal.grammar.utils import is_type_matching\nfrom hydra.core.override_parser.types import QuotedString\nfrom hydra.errors import HydraException\n\n\n@dataclass\nclass FunctionCall:\n name: str\n args: List[Any]\n kwargs: Dict[str, Any]\n\n\n@dataclass\nclass Functions:\n definitions: Dict[str, inspect.Signature] = field(default_factory=dict)\n functions: Dict[str, Callable[..., Any]] = field(default_factory=dict)\n\n def register(self, name: str, func: Callable[..., Any]) -> None:\n if name in self.definitions:\n raise HydraException(f\"Function named '{name}' is already registered\")\n\n self.definitions[name] = inspect.signature(func)\n self.functions[name] = func\n\n def eval(self, func: FunctionCall) -> Any:\n if func.name not in self.definitions:\n raise HydraException(\n f\"Unknown function '{func.name}'\"\n f\"\\nAvailable: {','.join(sorted(self.definitions.keys()))}\\n\"\n )\n sig = self.definitions[func.name]\n\n # unquote strings in args\n args = []\n for arg in func.args:\n if isinstance(arg, QuotedString):\n arg = arg.text\n args.append(arg)\n\n # Unquote strings in kwargs values\n kwargs = {}\n for key, val in func.kwargs.items():\n if isinstance(val, QuotedString):\n val = val.text\n kwargs[key] = val\n\n bound = sig.bind(*args, **kwargs)\n\n for idx, arg in enumerate(bound.arguments.items()):\n name = arg[0]\n value = arg[1]\n expected_type = sig.parameters[name].annotation\n if sig.parameters[name].kind == inspect.Parameter.VAR_POSITIONAL:\n for iidx, v in enumerate(value):\n if not is_type_matching(v, expected_type):\n raise TypeError(\n f\"mismatch type argument {name}[{iidx}]:\"\n f\" {type_str(type(v))} is incompatible with {type_str(expected_type)}\"\n )\n\n else:\n if not is_type_matching(value, expected_type):\n raise TypeError(\n f\"mismatch type argument {name}:\"\n f\" {type_str(type(value))} is incompatible with {type_str(expected_type)}\"\n )\n\n return self.functions[func.name](*bound.args, **bound.kwargs)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_builtins__list_to_simple_choice.return.ChoiceSweep_list_builtins": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_builtins__list_to_simple_choice.return.ChoiceSweep_list_builtins", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 66, "span_ids": ["impl:3", "_list_to_simple_choice", "apply_to_dict_values", "cast_range", "cast_interval", "docstring", "cast_choice"], "tokens": 424}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import builtins\nimport random\nfrom copy import copy\nfrom typing import Any, Callable, Dict, List, Optional, Union\n\nfrom hydra._internal.grammar.utils import is_type_matching\nfrom hydra.core.override_parser.types import (\n ChoiceSweep,\n Glob,\n IntervalSweep,\n ParsedElementType,\n QuotedString,\n RangeSweep,\n Sweep,\n)\n\nElementType = Union[str, int, bool, float, list, dict]\n\n\ndef apply_to_dict_values(\n # val\n value: Dict[Any, Any],\n # func\n function: Callable[..., Any],\n) -> Dict[Any, Any]:\n ret_dict: Dict[str, Any] = {}\n for key, value in value.items():\n ret_dict[key] = function(value)\n return ret_dict\n\n\ndef cast_choice(value: ChoiceSweep, function: Callable[..., Any]) -> ChoiceSweep:\n choices = []\n for item in value.list:\n choice = function(item)\n assert is_type_matching(choice, ElementType)\n choices.append(choice)\n return ChoiceSweep(simple_form=value.simple_form, list=choices)\n\n\ndef cast_interval(value: IntervalSweep, function: Callable[..., Any]) -> IntervalSweep:\n return IntervalSweep(\n start=function(value.start), end=function(value.end), tags=copy(value.tags)\n )\n\n\ndef cast_range(value: RangeSweep, function: Callable[..., Any]) -> RangeSweep:\n if function not in (cast_float, cast_int):\n raise ValueError(\"Range can only be cast to int or float\")\n return RangeSweep(\n start=function(value.start),\n stop=function(value.stop),\n step=function(value.step),\n )\n\n\nCastType = Union[ParsedElementType, Sweep]\n\n\ndef _list_to_simple_choice(*args: Any) -> ChoiceSweep:\n choices: List[ParsedElementType] = []\n for arg in args:\n assert is_type_matching(arg, ParsedElementType)\n choices.append(arg)\n return ChoiceSweep(list=builtins.list(choices), simple_form=True)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__normalize_cast_value__normalize_cast_value.assert_False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__normalize_cast_value__normalize_cast_value.assert_False", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 70, "end_line": 81, "span_ids": ["_normalize_cast_value"], "tokens": 116}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def _normalize_cast_value(*args: CastType, value: Optional[CastType]) -> CastType:\n if len(args) > 0 and value is not None:\n raise TypeError(\"cannot use both position and named arguments\")\n if value is not None:\n return value\n if len(args) == 0:\n raise TypeError(\"No positional args or value specified\")\n if len(args) == 1:\n return args[0]\n if len(args) > 1:\n return _list_to_simple_choice(*args)\n assert False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_int_cast_int.return.int_value_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_int_cast_int.return.int_value_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 84, "end_line": 99, "span_ids": ["cast_int"], "tokens": 159}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def cast_int(*args: CastType, value: Optional[CastType] = None) -> Any:\n value = _normalize_cast_value(*args, value=value)\n if isinstance(value, QuotedString):\n return cast_int(value.text)\n if isinstance(value, dict):\n return apply_to_dict_values(value, cast_int)\n if isinstance(value, list):\n return list(map(cast_int, value))\n elif isinstance(value, ChoiceSweep):\n return cast_choice(value, cast_int)\n elif isinstance(value, RangeSweep):\n return cast_range(value, cast_int)\n elif isinstance(value, IntervalSweep):\n return cast_interval(value, cast_int)\n assert isinstance(value, (int, float, bool, str))\n return int(value)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_float_cast_float.return.float_value_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_float_cast_float.return.float_value_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 102, "end_line": 117, "span_ids": ["cast_float"], "tokens": 159}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def cast_float(*args: CastType, value: Optional[CastType] = None) -> Any:\n value = _normalize_cast_value(*args, value=value)\n if isinstance(value, QuotedString):\n return cast_float(value.text)\n if isinstance(value, dict):\n return apply_to_dict_values(value, cast_float)\n if isinstance(value, list):\n return list(map(cast_float, value))\n elif isinstance(value, ChoiceSweep):\n return cast_choice(value, cast_float)\n elif isinstance(value, RangeSweep):\n return cast_range(value, cast_float)\n elif isinstance(value, IntervalSweep):\n return cast_interval(value, cast_float)\n assert isinstance(value, (int, float, bool, str))\n return float(value)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_str_cast_str.if_isinstance_value_bool.else_.return.str_value_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_str_cast_str.if_isinstance_value_bool.else_.return.str_value_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 119, "end_line": 138, "span_ids": ["cast_str"], "tokens": 179}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def cast_str(*args: CastType, value: Optional[CastType] = None) -> Any:\n value = _normalize_cast_value(*args, value=value)\n if isinstance(value, QuotedString):\n return cast_str(value.text)\n if isinstance(value, dict):\n return apply_to_dict_values(value, cast_str)\n if isinstance(value, list):\n return list(map(cast_str, value))\n elif isinstance(value, ChoiceSweep):\n return cast_choice(value, cast_str)\n elif isinstance(value, RangeSweep):\n return cast_range(value, cast_str)\n elif isinstance(value, IntervalSweep):\n raise ValueError(\"Intervals cannot be cast to str\")\n\n assert isinstance(value, (int, float, bool, str))\n if isinstance(value, bool):\n return str(value).lower()\n else:\n return str(value)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_bool_cast_bool.return.bool_value_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_cast_bool_cast_bool.return.bool_value_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 141, "end_line": 163, "span_ids": ["cast_bool"], "tokens": 197}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def cast_bool(*args: CastType, value: Optional[CastType] = None) -> Any:\n value = _normalize_cast_value(*args, value=value)\n if isinstance(value, QuotedString):\n return cast_bool(value.text)\n if isinstance(value, dict):\n return apply_to_dict_values(value, cast_bool)\n if isinstance(value, list):\n return list(map(cast_bool, value))\n elif isinstance(value, ChoiceSweep):\n return cast_choice(value, cast_bool)\n elif isinstance(value, RangeSweep):\n return cast_range(value, cast_bool)\n elif isinstance(value, IntervalSweep):\n raise ValueError(\"Intervals cannot be cast to bool\")\n\n if isinstance(value, str):\n if value.lower() == \"false\":\n return False\n elif value.lower() == \"true\":\n return True\n else:\n raise ValueError(f\"Cannot cast '{value}' to bool\")\n return bool(value)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_choice_choice._type_ignore": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_choice_choice._type_ignore", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 167, "end_line": 184, "span_ids": ["choice"], "tokens": 136}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def choice(\n *args: Union[str, int, float, bool, Dict[Any, Any], List[Any], ChoiceSweep]\n) -> ChoiceSweep:\n \"\"\"\n A choice sweep over the specified values\n \"\"\"\n if len(args) == 0:\n raise ValueError(\"empty choice is not legal\")\n if len(args) == 1:\n first = args[0]\n if isinstance(first, ChoiceSweep):\n if first.simple_form:\n first.simple_form = False\n return first\n else:\n raise ValueError(\"nesting choices is not supported\")\n\n return ChoiceSweep(list=list(args)) # type: ignore", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_shuffle_shuffle.if_len_args_1_.else_.return.simple_choice": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_shuffle_shuffle.if_len_args_1_.else_.return.simple_choice", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 236, "end_line": 264, "span_ids": ["shuffle"], "tokens": 206}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def shuffle(\n *args: Union[ElementType, ChoiceSweep, RangeSweep],\n sweep: Optional[Union[ChoiceSweep, RangeSweep]] = None,\n list: Optional[List[Any]] = None,\n) -> Union[List[Any], ChoiceSweep, RangeSweep]:\n \"\"\"\n Shuffle input list or sweep (does not support interval)\n \"\"\"\n if list is not None:\n return shuffle(list)\n if sweep is not None:\n return shuffle(sweep)\n\n if len(args) == 1:\n arg = args[0]\n if isinstance(arg, (ChoiceSweep, RangeSweep)):\n sweep = copy(arg)\n sweep.shuffle = True\n return sweep\n if isinstance(arg, builtins.list):\n lst = copy(arg)\n random.shuffle(lst)\n return lst\n else:\n return [arg]\n else:\n simple_choice = _list_to_simple_choice(*args)\n simple_choice.shuffle = True\n return simple_choice", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_sort_sort.if_len_args_1_.else_.if_len_args_0_.elif_len_args_1_.return._sort_sweep_cw_reverse_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_sort_sort.if_len_args_1_.else_.if_len_args_0_.elif_len_args_1_.return._sort_sweep_cw_reverse_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 267, "end_line": 304, "span_ids": ["sort"], "tokens": 308}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def sort(\n *args: Union[ElementType, ChoiceSweep, RangeSweep],\n sweep: Optional[Union[ChoiceSweep, RangeSweep]] = None,\n list: Optional[List[Any]] = None,\n reverse: bool = False,\n) -> Any:\n \"\"\"\n Sort an input list or sweep.\n reverse=True reverses the order\n \"\"\"\n\n if list is not None:\n return sort(list, reverse=reverse)\n if sweep is not None:\n return _sort_sweep(sweep, reverse)\n\n if len(args) == 1:\n arg = args[0]\n if isinstance(arg, (ChoiceSweep, RangeSweep)):\n # choice: sort(choice(a,b,c))\n # range: sort(range(1,10))\n return _sort_sweep(arg, reverse)\n elif isinstance(arg, builtins.list):\n return sorted(arg, reverse=reverse)\n elif is_type_matching(arg, ParsedElementType):\n return arg\n else:\n raise TypeError(f\"Invalid arguments: {args}\")\n else:\n primitives = (int, float, bool, str)\n for arg in args:\n if not isinstance(arg, primitives):\n raise TypeError(f\"Invalid arguments: {args}\")\n if len(args) == 0:\n raise ValueError(\"empty sort input\")\n elif len(args) > 1:\n cw = _list_to_simple_choice(*args)\n return _sort_sweep(cw, reverse)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__sort_sweep__sort_sweep.if_isinstance_sweep_Choi.else_.assert_False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py__sort_sweep__sort_sweep.if_isinstance_sweep_Choi.else_.assert_False", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 306, "end_line": 336, "span_ids": ["_sort_sweep"], "tokens": 242}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def _sort_sweep(\n sweep: Union[ChoiceSweep, RangeSweep], reverse: bool\n) -> Union[ChoiceSweep, RangeSweep]:\n sweep = copy(sweep)\n\n if isinstance(sweep, ChoiceSweep):\n # sorted will raise an error if types cannot be compared\n sweep.list = sorted(sweep.list, reverse=reverse) # type: ignore\n return sweep\n elif isinstance(sweep, RangeSweep):\n assert sweep.start is not None\n assert sweep.stop is not None\n if not reverse:\n # ascending\n if sweep.start > sweep.stop:\n start = sweep.stop + abs(sweep.step)\n stop = sweep.start + abs(sweep.step)\n sweep.start = start\n sweep.stop = stop\n sweep.step = -sweep.step\n else:\n # descending\n if sweep.start < sweep.stop:\n start = sweep.stop - abs(sweep.step)\n stop = sweep.start - abs(sweep.step)\n sweep.start = start\n sweep.stop = stop\n sweep.step = -sweep.step\n return sweep\n else:\n assert False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_glob_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/grammar/grammar_functions.py_glob_", "embedding": null, "metadata": {"file_path": "hydra/_internal/grammar/grammar_functions.py", "file_name": "grammar_functions.py", "file_type": "text/x-python", "category": "implementation", "start_line": 339, "end_line": 357, "span_ids": ["glob"], "tokens": 147}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def glob(\n include: Union[List[str], str], exclude: Optional[Union[List[str], str]] = None\n) -> Glob:\n \"\"\"\n A glob selects from all options in the config group.\n inputs are in glob format. e.g: *, foo*, *foo.\n :param include: a string or a list of strings to use as include globs\n :param exclude: a string or a list of strings to use as exclude globs\n \"\"\"\n\n if isinstance(include, str):\n include = [include]\n if exclude is None:\n exclude = []\n elif isinstance(exclude, str):\n exclude = [exclude]\n\n return Glob(include=include, exclude=exclude)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_copy_log.None": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_copy_log.None", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 37, "span_ids": ["docstring"], "tokens": 265}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nimport logging\nimport string\nimport sys\nfrom argparse import ArgumentParser\nfrom collections import defaultdict\nfrom typing import Any, Callable, DefaultDict, List, Optional, Sequence, Type, Union\n\nfrom omegaconf import Container, DictConfig, OmegaConf, flag_override\n\nfrom hydra._internal.utils import get_column_widths, run_and_report\nfrom hydra.core.config_loader import ConfigLoader\nfrom hydra.core.config_search_path import ConfigSearchPath\nfrom hydra.core.hydra_config import HydraConfig\nfrom hydra.core.plugins import Plugins\nfrom hydra.core.utils import (\n JobReturn,\n JobRuntime,\n configure_log,\n run_job,\n setup_globals,\n simple_stdout_log_config,\n)\nfrom hydra.plugins.completion_plugin import CompletionPlugin\nfrom hydra.plugins.config_source import ConfigSource\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.plugins.search_path_plugin import SearchPathPlugin\nfrom hydra.plugins.sweeper import Sweeper\nfrom hydra.types import HydraContext, RunMode, TaskFunction\n\nfrom ..core.default_element import DefaultsTreeNode, InputDefault\nfrom .callbacks import Callbacks\nfrom .config_loader_impl import ConfigLoaderImpl\nfrom .utils import create_automatic_config_search_path\n\nlog: Optional[logging.Logger] = None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_shell_to_plugin_map_Hydra.get_shell_to_plugin_map.return.shell_to_plugin": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_shell_to_plugin_map_Hydra.get_shell_to_plugin_map.return.shell_to_plugin", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 199, "end_line": 214, "span_ids": ["Hydra.get_shell_to_plugin_map"], "tokens": 151}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n @staticmethod\n def get_shell_to_plugin_map(\n config_loader: ConfigLoader,\n ) -> DefaultDict[str, List[CompletionPlugin]]:\n shell_to_plugin: DefaultDict[str, List[CompletionPlugin]] = defaultdict(list)\n for clazz in Plugins.instance().discover(CompletionPlugin):\n assert issubclass(clazz, CompletionPlugin)\n plugin = clazz(config_loader)\n shell_to_plugin[plugin.provides()].append(plugin)\n\n for shell, plugins in shell_to_plugin.items():\n if len(plugins) > 1:\n lst = \",\".join([type(plugin).__name__ for plugin in plugins])\n raise ValueError(f\"Multiple plugins installed for {shell} : {lst}\")\n\n return shell_to_plugin", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_args_help_Hydra.list_all_config_groups.return.groups": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_args_help_Hydra.list_all_config_groups.return.groups", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 245, "end_line": 272, "span_ids": ["Hydra.list_all_config_groups", "Hydra.format_args_help"], "tokens": 235}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n @staticmethod\n def format_args_help(args_parser: ArgumentParser) -> str:\n s = \"\"\n overrides: Any = None\n for action in args_parser._actions:\n if len(action.option_strings) == 0:\n overrides = action\n else:\n s += f\"{','.join(action.option_strings)} : {action.help}\\n\"\n s += \"Overrides : \" + overrides.help\n return s\n\n def list_all_config_groups(self, parent: str = \"\") -> Sequence[str]:\n from hydra.core.object_type import ObjectType\n\n groups: List[str] = []\n for group in self.config_loader.list_groups(parent):\n if parent == \"\":\n group_name = group\n else:\n group_name = \"{}/{}\".format(parent, group)\n files = self.config_loader.get_group_options(group_name, ObjectType.CONFIG)\n dirs = self.config_loader.get_group_options(group_name, ObjectType.GROUP)\n if len(files) > 0:\n groups.append(group_name)\n if len(dirs) > 0:\n groups.extend(self.list_all_config_groups(group_name))\n return groups", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_config_groups_Hydra.format_config_groups.return.s": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.format_config_groups_Hydra.format_config_groups.return.s", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 274, "end_line": 289, "span_ids": ["Hydra.format_config_groups"], "tokens": 138}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def format_config_groups(\n self, predicate: Callable[[str], bool], compact: bool = True\n ) -> str:\n groups = [x for x in self.list_all_config_groups() if predicate(x)]\n s = \"\"\n for group in sorted(groups):\n options = sorted(self.config_loader.get_group_options(group))\n if compact:\n items = \", \".join(options)\n line = \"{}: {}\".format(group, items)\n else:\n items = \"\\n\".join([\" \" + o for o in options])\n line = \"{}:\\n{}\".format(group, items)\n s += line + \"\\n\"\n\n return s", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_help_Hydra.get_help.return.help_text": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.get_help_Hydra.get_help.return.help_text", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 302, "end_line": 323, "span_ids": ["Hydra.get_help"], "tokens": 172}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def get_help(\n self,\n help_cfg: DictConfig,\n cfg: DictConfig,\n args_parser: ArgumentParser,\n resolve: bool,\n ) -> str:\n s = string.Template(help_cfg.template)\n\n def is_hydra_group(x: str) -> bool:\n return x.startswith(\"hydra/\") or x == \"hydra\"\n\n def is_not_hydra_group(x: str) -> bool:\n return not is_hydra_group(x)\n\n help_text = s.substitute(\n FLAGS_HELP=self.format_args_help(args_parser),\n HYDRA_CONFIG_GROUPS=self.format_config_groups(is_hydra_group),\n APP_CONFIG_GROUPS=self.format_config_groups(is_not_hydra_group),\n CONFIG=OmegaConf.to_yaml(cfg, resolve=resolve),\n )\n return help_text", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.hydra_help_Hydra.hydra_help.print_help_text_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.hydra_help_Hydra.hydra_help.print_help_text_", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 325, "end_line": 337, "span_ids": ["Hydra.hydra_help"], "tokens": 114}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def hydra_help(\n self, config_name: Optional[str], args_parser: ArgumentParser, args: Any\n ) -> None:\n cfg = self.compose_config(\n config_name=None,\n overrides=args.overrides,\n run_mode=RunMode.RUN,\n with_log_configuration=True,\n )\n help_cfg = cfg.hydra.hydra_help\n cfg = self.get_sanitized_hydra_cfg(cfg)\n help_text = self.get_help(help_cfg, cfg, args_parser, resolve=False)\n print(help_text)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.app_help_Hydra._log_footer.log_debug_prefix_lju": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra.app_help_Hydra._log_footer.log_debug_prefix_lju", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 331, "end_line": 359, "span_ids": ["Hydra.app_help", "Hydra._log_header", "Hydra._log_footer"], "tokens": 238}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def app_help(\n self, config_name: Optional[str], args_parser: ArgumentParser, args: Any\n ) -> None:\n cfg = self.compose_config(\n config_name=config_name,\n overrides=args.overrides,\n run_mode=RunMode.RUN,\n with_log_configuration=True,\n )\n HydraConfig.instance().set_config(cfg)\n help_cfg = cfg.hydra.help\n clean_cfg = copy.deepcopy(cfg)\n\n clean_cfg = self.get_sanitized_cfg(clean_cfg, \"job\")\n help_text = self.get_help(\n help_cfg, clean_cfg, args_parser, resolve=args.resolve\n )\n print(help_text)\n\n @staticmethod\n def _log_header(header: str, prefix: str = \"\", filler: str = \"-\") -> None:\n assert log is not None\n log.debug(prefix + header)\n log.debug(prefix + \"\".ljust(len(header), filler))\n\n @staticmethod\n def _log_footer(header: str, prefix: str = \"\", filler: str = \"-\") -> None:\n assert log is not None\n log.debug(prefix + \"\".ljust(len(header), filler))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_Hydra._print_plugins.if_len_all_plugins_0_.for_plugin_name_in_all_pl.log_debug_t_t_format": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_Hydra._print_plugins.if_len_all_plugins_0_.for_plugin_name_in_all_pl.log_debug_t_t_format", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 351, "end_line": 374, "span_ids": ["Hydra._print_plugins"], "tokens": 213}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def _print_plugins(self) -> None:\n assert log is not None\n self._log_header(header=\"Installed Hydra Plugins\", filler=\"*\")\n all_plugins = {p.__name__ for p in Plugins.instance().discover()}\n for plugin_type in [\n ConfigSource,\n CompletionPlugin,\n Launcher,\n Sweeper,\n SearchPathPlugin,\n ]:\n # Mypy false positive?\n plugins = Plugins.instance().discover(plugin_type) # type: ignore\n if len(plugins) > 0:\n Hydra._log_header(header=f\"{plugin_type.__name__}:\", prefix=\"\\t\")\n for plugin in plugins:\n log.debug(\"\\t\\t{}\".format(plugin.__name__))\n if plugin.__name__ in all_plugins:\n all_plugins.remove(plugin.__name__)\n\n if len(all_plugins) > 0:\n Hydra._log_header(header=\"Generic plugins: \", prefix=\"\\t\")\n for plugin_name in all_plugins:\n log.debug(\"\\t\\t{}\".format(plugin_name))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_search_path_Hydra._print_search_path.self__log_footer_header_h": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_search_path_Hydra._print_search_path.self__log_footer_header_h", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 408, "end_line": 447, "span_ids": ["Hydra._print_search_path"], "tokens": 292}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def _print_search_path(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode = RunMode.RUN,\n ) -> None:\n assert log is not None\n log.debug(\"\")\n self._log_header(header=\"Config search path\", filler=\"*\")\n\n box: List[List[str]] = [[\"Provider\", \"Search path\"]]\n\n cfg = self.compose_config(\n config_name=config_name,\n overrides=overrides,\n run_mode=run_mode,\n with_log_configuration=False,\n )\n HydraConfig.instance().set_config(cfg)\n cfg = self.get_sanitized_cfg(cfg, cfg_type=\"hydra\")\n\n sources = cfg.hydra.runtime.config_sources\n\n for sp in sources:\n box.append([sp.provider, f\"{sp.schema}://{sp.path}\"])\n\n provider_pad, search_path_pad = get_column_widths(box)\n header = \"| {} | {} |\".format(\n \"Provider\".ljust(provider_pad), \"Search path\".ljust(search_path_pad)\n )\n self._log_header(header=header, filler=\"-\")\n\n for source in sources:\n log.debug(\n \"| {} | {} |\".format(\n source.provider.ljust(provider_pad),\n f\"{source.schema}://{source.path}\".ljust(search_path_pad),\n )\n )\n self._log_footer(header=header, filler=\"-\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_profiling_info_Hydra._print_plugins_profiling_info.self__log_footer_header_h": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_plugins_profiling_info_Hydra._print_plugins_profiling_info.self__log_footer_header_h", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 441, "end_line": 475, "span_ids": ["Hydra._print_plugins_profiling_info"], "tokens": 335}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def _print_plugins_profiling_info(self, top_n: int) -> None:\n assert log is not None\n stats = Plugins.instance().get_stats()\n if stats is None:\n return\n\n items = list(stats.modules_import_time.items())\n # hide anything that took less than 5ms\n filtered = filter(lambda x: x[1] > 0.0005, items)\n sorted_items = sorted(filtered, key=lambda x: x[1], reverse=True)\n\n top_n = max(len(sorted_items), top_n)\n box: List[List[str]] = [[\"Module\", \"Sec\"]]\n\n for item in sorted_items[0:top_n]:\n box.append([item[0], f\"{item[1]:.3f}\"])\n padding = get_column_widths(box)\n\n log.debug(\"\")\n self._log_header(header=\"Profiling information\", filler=\"*\")\n self._log_header(\n header=f\"Total plugins scan time : {stats.total_time:.3f} seconds\",\n filler=\"-\",\n )\n\n header = f\"| {box[0][0].ljust(padding[0])} | {box[0][1].ljust(padding[1])} |\"\n self._log_header(header=header, filler=\"-\")\n del box[0]\n\n for row in box:\n a = row[0].ljust(padding[0])\n b = row[1].ljust(padding[1])\n log.debug(f\"| {a} | {b} |\")\n\n self._log_footer(header=header, filler=\"-\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_debug_info_Hydra.compose_config.return.cfg": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/hydra.py_Hydra._print_debug_info_Hydra.compose_config.return.cfg", "embedding": null, "metadata": {"file_path": "hydra/_internal/hydra.py", "file_name": "hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 566, "end_line": 606, "span_ids": ["Hydra._print_debug_info", "Hydra.compose_config"], "tokens": 307}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Hydra:\n\n def _print_debug_info(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode = RunMode.RUN,\n ) -> None:\n assert log is not None\n if log.isEnabledFor(logging.DEBUG):\n self._print_all_info(config_name, overrides, run_mode)\n\n def compose_config(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode,\n with_log_configuration: bool = False,\n from_shell: bool = True,\n validate_sweep_overrides: bool = True,\n ) -> DictConfig:\n \"\"\"\n :param config_name:\n :param overrides:\n :param run_mode: compose config for run or for multirun?\n :param with_log_configuration: True to configure logging subsystem from the loaded config\n :param from_shell: True if the parameters are passed from the shell. used for more helpful error messages\n :return:\n \"\"\"\n\n cfg = self.config_loader.load_configuration(\n config_name=config_name,\n overrides=overrides,\n run_mode=run_mode,\n from_shell=from_shell,\n validate_sweep_overrides=validate_sweep_overrides,\n )\n if with_log_configuration:\n configure_log(cfg.hydra.hydra_logging, cfg.hydra.verbose)\n global log\n log = logging.getLogger(__name__)\n self._print_debug_info(config_name, overrides, run_mode)\n return cfg", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/sources_registry.py_from_typing_import_Any_D_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/sources_registry.py_from_typing_import_Any_D_", "embedding": null, "metadata": {"file_path": "hydra/_internal/sources_registry.py", "file_name": "sources_registry.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 37, "span_ids": ["SourcesRegistry", "SourcesRegistry.instance", "docstring", "SourcesRegistry.resolve", "SourcesRegistry.register", "SourcesRegistry.__init__"], "tokens": 257}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Any, Dict, Type\n\nfrom hydra.core.singleton import Singleton\nfrom hydra.plugins.config_source import ConfigSource\n\n\nclass SourcesRegistry(metaclass=Singleton):\n types: Dict[str, Type[ConfigSource]]\n\n def __init__(self) -> None:\n self.types = {}\n\n def register(self, type_: Type[ConfigSource]) -> None:\n scheme = type_.scheme()\n if scheme in self.types:\n if self.types[scheme].__name__ != type_.__name__:\n raise ValueError(\n f\"{scheme} is already registered with a different class\"\n )\n else:\n # Do not replace existing ConfigSource\n return\n self.types[scheme] = type_\n\n def resolve(self, scheme: str) -> Type[ConfigSource]:\n if scheme not in self.types:\n supported = \", \".join(sorted(self.types.keys()))\n raise ValueError(\n f\"No config source registered for schema {scheme}, supported types : [{supported}]\"\n )\n return self.types[scheme]\n\n @staticmethod\n def instance(*args: Any, **kwargs: Any) -> \"SourcesRegistry\":\n return Singleton.instance(SourcesRegistry, *args, **kwargs) # type: ignore", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_argparse__get_module_name_override.return.None": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_argparse__get_module_name_override.return.None", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 34, "span_ids": ["_get_module_name_override", "docstring"], "tokens": 230}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import argparse\nimport inspect\nimport logging.config\nimport os\nimport sys\nimport warnings\nfrom dataclasses import dataclass\nfrom os.path import dirname, join, normpath, realpath\nfrom traceback import print_exc, print_exception\nfrom types import FrameType, TracebackType\nfrom typing import Any, List, Optional, Sequence, Tuple\n\nfrom omegaconf.errors import OmegaConfBaseException\n\nfrom hydra._internal.config_search_path_impl import ConfigSearchPathImpl\nfrom hydra.core.config_search_path import ConfigSearchPath, SearchPathQuery\nfrom hydra.core.utils import get_valid_filename, validate_config_path\nfrom hydra.errors import (\n CompactHydraException,\n InstantiationException,\n SearchPathException,\n)\nfrom hydra.types import RunMode, TaskFunction\n\nlog = logging.getLogger(__name__)\n\n\ndef _get_module_name_override() -> Optional[str]:\n module_envs = [\"HYDRA_MAIN_MODULE\", \"FB_PAR_MAIN_MODULE\", \"FB_XAR_MAIN_MODULE\"]\n for module_env in module_envs:\n if module_env in os.environ:\n return os.environ[module_env]\n return None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_task_function_detect_calling_file_or_module_from_task_function.return.calling_file_calling_mod": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_task_function_detect_calling_file_or_module_from_task_function.return.calling_file_calling_mod", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 37, "end_line": 58, "span_ids": ["detect_calling_file_or_module_from_task_function"], "tokens": 134}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def detect_calling_file_or_module_from_task_function(\n task_function: Any,\n) -> Tuple[Optional[str], Optional[str]]:\n\n mdl = task_function.__module__\n override = _get_module_name_override()\n if override is not None:\n mdl = override\n\n calling_file: Optional[str]\n calling_module: Optional[str]\n if mdl not in (None, \"__main__\"):\n calling_file = None\n calling_module = mdl\n else:\n try:\n calling_file = inspect.getfile(task_function)\n except TypeError:\n calling_file = None\n calling_module = None\n\n return calling_file, calling_module", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_stack_frame_detect_calling_file_or_module_from_stack_frame.return.calling_file_calling_mod": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_detect_calling_file_or_module_from_stack_frame_detect_calling_file_or_module_from_stack_frame.return.calling_file_calling_mod", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 72, "end_line": 95, "span_ids": ["detect_calling_file_or_module_from_stack_frame"], "tokens": 188}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def detect_calling_file_or_module_from_stack_frame(\n stack_depth: int,\n) -> Tuple[Optional[str], Optional[str]]:\n\n stack = inspect.stack()\n frame = stack[stack_depth]\n if is_notebook() and \"_dh\" in frame[0].f_globals:\n pynb_dir = frame[0].f_globals[\"_dh\"][0]\n calling_file = join(pynb_dir, \"notebook.ipynb\")\n return calling_file, None\n\n calling_file = frame.filename\n calling_module = None\n try:\n calling_module = _get_module_name_override()\n if calling_module is None:\n calling_module = frame[0].f_globals[frame[3]].__module__\n except KeyError:\n try:\n calling_module = frame[0].f_locals[\"self\"].__module__\n except KeyError:\n pass\n\n return calling_file, calling_module", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_is_notebook_detect_task_name.return.task_name": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_is_notebook_detect_task_name.return.task_name", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 98, "end_line": 125, "span_ids": ["is_notebook", "detect_task_name"], "tokens": 203}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def is_notebook() -> bool:\n try:\n shell = get_ipython().__class__.__name__ # type: ignore\n if shell == \"ZMQInteractiveShell\":\n return True # Jupyter notebook or qtconsole\n elif shell == \"TerminalInteractiveShell\":\n return False # Terminal running IPython\n else:\n return False # Other type (?)\n except NameError:\n return False\n\n\ndef detect_task_name(calling_file: Optional[str], calling_module: Optional[str]) -> str:\n\n if calling_file is not None:\n target_file = os.path.basename(calling_file)\n task_name = get_valid_filename(os.path.splitext(target_file)[0])\n elif calling_module is not None:\n last_dot = calling_module.rfind(\".\")\n if last_dot != -1:\n task_name = calling_module[last_dot + 1 :]\n else:\n task_name = calling_module\n else:\n raise ValueError()\n\n return task_name", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_compute_search_path_dir_compute_search_path_dir.return.search_path_dir": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_compute_search_path_dir_compute_search_path_dir.return.search_path_dir", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 116, "end_line": 157, "span_ids": ["compute_search_path_dir"], "tokens": 279}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def compute_search_path_dir(\n calling_file: Optional[str],\n calling_module: Optional[str],\n config_path: Optional[str],\n) -> Optional[str]:\n if calling_file is not None:\n abs_base_dir = realpath(dirname(calling_file))\n\n if config_path is not None:\n search_path_dir = join(abs_base_dir, config_path)\n else:\n return None\n\n search_path_dir = normpath(search_path_dir)\n elif calling_module is not None:\n last_dot = calling_module.rfind(\".\")\n if last_dot != -1:\n calling_module = calling_module[0:last_dot]\n else:\n calling_module = \"\"\n\n if config_path is not None:\n config_path = config_path.replace(os.path.sep, \"/\")\n while str.startswith(config_path, \"../\"):\n config_path = config_path[len(\"../\") :]\n last_dot = calling_module.rfind(\".\")\n if last_dot != -1:\n calling_module = calling_module[0:last_dot]\n else:\n calling_module = \"\"\n\n search_path_dir = \"pkg://\" + calling_module\n\n if config_path is not None:\n if calling_module != \"\":\n search_path_dir = search_path_dir + \"/\" + config_path\n else:\n search_path_dir = search_path_dir + config_path\n else:\n raise ValueError()\n\n return search_path_dir", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_run_and_report_run_and_report.try_.except_Exception_as_ex_.sys_exit_1_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_run_and_report_run_and_report.try_.except_Exception_as_ex_.sys_exit_1_", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 211, "end_line": 297, "span_ids": ["run_and_report"], "tokens": 673}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def run_and_report(func: Any) -> Any:\n try:\n return func()\n except Exception as ex:\n if _is_env_set(\"HYDRA_FULL_ERROR\") or is_under_debugger():\n raise ex\n else:\n try:\n if isinstance(ex, CompactHydraException):\n sys.stderr.write(str(ex) + os.linesep)\n if isinstance(ex.__cause__, OmegaConfBaseException):\n sys.stderr.write(str(ex.__cause__) + os.linesep)\n else:\n # Custom printing that strips the Hydra related stack frames from the top\n # And any omegaconf frames from the bottom.\n # It is possible to add additional libraries to sanitize from the bottom later,\n # maybe even make it configurable.\n\n tb = ex.__traceback__\n search_max = 10\n # strip Hydra frames from start of stack\n # will strip until it hits run_job()\n while search_max > 0:\n if tb is None:\n break\n frame = tb.tb_frame\n tb = tb.tb_next\n search_max = search_max - 1\n if inspect.getframeinfo(frame).function == \"run_job\":\n break\n\n if search_max == 0 or tb is None:\n # could not detect run_job, probably a runtime exception before we got there.\n # do not sanitize the stack trace.\n print_exc()\n sys.exit(1)\n\n # strip OmegaConf frames from bottom of stack\n end: Optional[TracebackType] = tb\n num_frames = 0\n while end is not None:\n frame = end.tb_frame\n mdl = inspect.getmodule(frame)\n assert mdl is not None\n name = mdl.__name__\n if name.startswith(\"omegaconf.\"):\n break\n end = end.tb_next\n num_frames = num_frames + 1\n\n @dataclass\n class FakeTracebackType:\n tb_next: Any = None # Optional[\"FakeTracebackType\"]\n tb_frame: Optional[FrameType] = None\n tb_lasti: Optional[int] = None\n tb_lineno: Optional[int] = None\n\n iter_tb = tb\n final_tb = FakeTracebackType()\n cur = final_tb\n added = 0\n while True:\n cur.tb_lasti = iter_tb.tb_lasti\n cur.tb_lineno = iter_tb.tb_lineno\n cur.tb_frame = iter_tb.tb_frame\n\n if added == num_frames - 1:\n break\n added = added + 1\n cur.tb_next = FakeTracebackType()\n cur = cur.tb_next\n assert iter_tb.tb_next is not None\n iter_tb = iter_tb.tb_next\n\n print_exception(None, value=ex, tb=final_tb) # type: ignore\n sys.stderr.write(\n \"\\nSet the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.\\n\"\n )\n except Exception as ex2:\n sys.stderr.write(\n \"An error occurred during Hydra's exception formatting:\"\n + os.linesep\n + repr(ex2)\n + os.linesep\n )\n raise ex\n sys.exit(1)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__run_hydra__run_hydra.try_.finally_.GlobalHydra_instance_cl": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__run_hydra__run_hydra.try_.finally_.GlobalHydra_instance_cl", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 300, "end_line": 422, "span_ids": ["_run_hydra"], "tokens": 800}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def _run_hydra(\n args: argparse.Namespace,\n args_parser: argparse.ArgumentParser,\n task_function: TaskFunction,\n config_path: Optional[str],\n config_name: Optional[str],\n caller_stack_depth: int = 2,\n) -> None:\n\n from hydra.core.global_hydra import GlobalHydra\n\n from .hydra import Hydra\n\n if args.config_name is not None:\n config_name = args.config_name\n\n if args.config_path is not None:\n config_path = args.config_path\n\n (\n calling_file,\n calling_module,\n ) = detect_calling_file_or_module_from_task_function(task_function)\n if calling_file is None and calling_module is None:\n (\n calling_file,\n calling_module,\n ) = detect_calling_file_or_module_from_stack_frame(caller_stack_depth + 1)\n task_name = detect_task_name(calling_file, calling_module)\n\n validate_config_path(config_path)\n\n search_path = create_automatic_config_search_path(\n calling_file, calling_module, config_path\n )\n\n def add_conf_dir() -> None:\n if args.config_dir is not None:\n abs_config_dir = os.path.abspath(args.config_dir)\n if not os.path.isdir(abs_config_dir):\n raise SearchPathException(\n f\"Additional config directory '{abs_config_dir}' not found\"\n )\n search_path.prepend(\n provider=\"command-line\",\n path=f\"file://{abs_config_dir}\",\n anchor=SearchPathQuery(provider=\"schema\"),\n )\n\n run_and_report(add_conf_dir)\n hydra = run_and_report(\n lambda: Hydra.create_main_hydra2(\n task_name=task_name, config_search_path=search_path\n )\n )\n\n try:\n if args.help:\n hydra.app_help(config_name=config_name, args_parser=args_parser, args=args)\n sys.exit(0)\n has_show_cfg = args.cfg is not None\n if args.resolve and (not has_show_cfg and not args.help):\n raise ValueError(\n \"The --resolve flag can only be used in conjunction with --cfg or --help\"\n )\n if args.hydra_help:\n hydra.hydra_help(\n config_name=config_name, args_parser=args_parser, args=args\n )\n sys.exit(0)\n\n num_commands = (\n args.run\n + has_show_cfg\n + args.multirun\n + args.shell_completion\n + (args.info is not None)\n )\n if num_commands > 1:\n raise ValueError(\n \"Only one of --run, --multirun, --cfg, --info and --shell_completion can be specified\"\n )\n if num_commands == 0:\n args.run = True\n\n overrides = args.overrides\n\n if args.run or args.multirun:\n run_mode = hydra.get_mode(config_name=config_name, overrides=overrides)\n _run_app(\n run=args.run,\n multirun=args.multirun,\n mode=run_mode,\n hydra=hydra,\n config_name=config_name,\n task_function=task_function,\n overrides=overrides,\n )\n elif args.cfg:\n run_and_report(\n lambda: hydra.show_cfg(\n config_name=config_name,\n overrides=args.overrides,\n cfg_type=args.cfg,\n package=args.package,\n resolve=args.resolve,\n )\n )\n elif args.shell_completion:\n run_and_report(\n lambda: hydra.shell_completion(\n config_name=config_name, overrides=args.overrides\n )\n )\n elif args.info:\n hydra.show_info(\n args.info, config_name=config_name, overrides=args.overrides\n )\n else:\n sys.stderr.write(\"Command not specified\\n\")\n sys.exit(1)\n finally:\n GlobalHydra.instance().clear()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__get_exec_command__get_completion_help.return.completion_help": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py__get_exec_command__get_completion_help.return.completion_help", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 411, "end_line": 435, "span_ids": ["_get_exec_command", "_get_completion_help"], "tokens": 218}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def _get_exec_command() -> str:\n if sys.argv[0].endswith(\".py\"):\n return f\"python {sys.argv[0]}\"\n else:\n # Running as an installed app (setuptools entry point)\n executable = os.path.basename(sys.argv[0])\n return executable\n\n\ndef _get_completion_help() -> str:\n from hydra.core.plugins import Plugins\n from hydra.plugins.completion_plugin import CompletionPlugin\n\n completion_plugins = Plugins.instance().discover(CompletionPlugin)\n completion_info: List[str] = []\n for plugin_cls in completion_plugins:\n assert issubclass(plugin_cls, CompletionPlugin)\n for cmd in [\"install\", \"uninstall\"]:\n head = f\"{plugin_cls.provides().capitalize()} - {cmd.capitalize()}:\"\n completion_info.append(head)\n completion_info.append(plugin_cls.help(cmd).format(_get_exec_command()))\n completion_info.append(\"\")\n\n completion_help = \"\\n\".join([f\" {x}\" if x else x for x in completion_info])\n return completion_help", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_get_args_parser_get_args_parser.return.parser": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/utils.py_get_args_parser_get_args_parser.return.parser", "embedding": null, "metadata": {"file_path": "hydra/_internal/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 496, "end_line": 590, "span_ids": ["get_args_parser"], "tokens": 603}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def get_args_parser() -> argparse.ArgumentParser:\n from .. import __version__\n\n parser = argparse.ArgumentParser(add_help=False, description=\"Hydra\")\n parser.add_argument(\"--help\", \"-h\", action=\"store_true\", help=\"Application's help\")\n parser.add_argument(\"--hydra-help\", action=\"store_true\", help=\"Hydra's help\")\n parser.add_argument(\n \"--version\",\n action=\"version\",\n help=\"Show Hydra's version and exit\",\n version=f\"Hydra {__version__}\",\n )\n parser.add_argument(\n \"overrides\",\n nargs=\"*\",\n help=\"Any key=value arguments to override config values (use dots for.nested=overrides)\",\n )\n\n parser.add_argument(\n \"--cfg\",\n \"-c\",\n choices=[\"job\", \"hydra\", \"all\"],\n help=\"Show config instead of running [job|hydra|all]\",\n )\n parser.add_argument(\n \"--resolve\",\n action=\"store_true\",\n help=\"Used in conjunction with --cfg, resolve config interpolations before printing.\",\n )\n\n parser.add_argument(\"--package\", \"-p\", help=\"Config package to show\")\n\n parser.add_argument(\"--run\", \"-r\", action=\"store_true\", help=\"Run a job\")\n\n parser.add_argument(\n \"--multirun\",\n \"-m\",\n action=\"store_true\",\n help=\"Run multiple jobs with the configured launcher and sweeper\",\n )\n\n # defer building the completion help string until we actually need to render it\n class LazyCompletionHelp:\n def __repr__(self) -> str:\n return f\"Install or Uninstall shell completion:\\n{_get_completion_help()}\"\n\n parser.add_argument(\n \"--shell-completion\",\n \"-sc\",\n action=\"store_true\",\n help=LazyCompletionHelp(), # type: ignore\n )\n\n parser.add_argument(\n \"--config-path\",\n \"-cp\",\n help=\"\"\"Overrides the config_path specified in hydra.main().\n The config_path is relative to the Python file declaring @hydra.main()\"\"\",\n )\n\n parser.add_argument(\n \"--config-name\",\n \"-cn\",\n help=\"Overrides the config_name specified in hydra.main()\",\n )\n\n parser.add_argument(\n \"--config-dir\",\n \"-cd\",\n help=\"Adds an additional config dir to the config search path\",\n )\n\n parser.add_argument(\n \"--experimental-rerun\",\n help=\"Rerun a job from a previous config pickle\",\n )\n\n info_choices = [\n \"all\",\n \"config\",\n \"defaults\",\n \"defaults-tree\",\n \"plugins\",\n \"searchpath\",\n ]\n parser.add_argument(\n \"--info\",\n \"-i\",\n const=\"all\",\n nargs=\"?\",\n action=\"store\",\n choices=info_choices,\n help=f\"Print Hydra information [{'|'.join(info_choices)}]\",\n )\n return parser", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_from_dataclasses_import_d_OverridesConf.task.field_default_factory_lam": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_from_dataclasses_import_d_OverridesConf.task.field_default_factory_lam", "embedding": null, "metadata": {"file_path": "hydra/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 41, "span_ids": ["RunDir", "OverridesConf", "HydraHelpConf", "HelpConf", "docstring", "SweepDir"], "tokens": 195}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass, field\nfrom typing import Any, Dict, List, Optional\n\nfrom omegaconf import MISSING\n\nfrom hydra.core.config_store import ConfigStore\nfrom hydra.types import RunMode\n\n\n@dataclass\nclass HelpConf:\n app_name: str = MISSING\n header: str = MISSING\n footer: str = MISSING\n template: str = MISSING\n\n\n@dataclass\nclass HydraHelpConf:\n hydra_help: str = MISSING\n template: str = MISSING\n\n\n@dataclass\nclass RunDir:\n dir: str = MISSING\n\n\n@dataclass\nclass SweepDir:\n dir: str = MISSING\n subdir: str = MISSING\n\n\n@dataclass\nclass OverridesConf:\n # Overrides for the hydra configuration\n hydra: List[str] = field(default_factory=lambda: [])\n # Overrides for the task configuration\n task: List[str] = field(default_factory=lambda: [])", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_HydraConf_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_HydraConf_", "embedding": null, "metadata": {"file_path": "hydra/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 109, "end_line": 185, "span_ids": ["HydraConf", "impl"], "tokens": 571}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass HydraConf:\n defaults: List[Any] = field(\n default_factory=lambda: [\n {\"output\": \"default\"},\n {\"launcher\": \"basic\"},\n {\"sweeper\": \"basic\"},\n {\"help\": \"default\"},\n {\"hydra_help\": \"default\"},\n {\"hydra_logging\": \"default\"},\n {\"job_logging\": \"default\"},\n {\"callbacks\": None},\n # env specific overrides\n {\"env\": \"default\"},\n ]\n )\n\n mode: Optional[RunMode] = None\n # Elements to append to the config search path.\n # Note: This can only be configured in the primary config.\n searchpath: List[str] = field(default_factory=list)\n\n # Normal run output configuration\n run: RunDir = RunDir()\n # Multi-run output configuration\n sweep: SweepDir = SweepDir()\n # Logging configuration for Hydra\n hydra_logging: Dict[str, Any] = MISSING\n # Logging configuration for the job\n job_logging: Dict[str, Any] = MISSING\n\n # Sweeper configuration\n sweeper: Any = MISSING\n # Launcher configuration\n launcher: Any = MISSING\n # Callbacks configuration\n callbacks: Dict[str, Any] = field(default_factory=dict)\n\n # Program Help template\n help: HelpConf = HelpConf()\n # Hydra's Help template\n hydra_help: HydraHelpConf = HydraHelpConf()\n\n # Output directory for produced configuration files and overrides.\n # E.g., hydra.yaml, overrides.yaml will go here. Useful for debugging\n # and extra context when looking at past runs.\n # Setting to None will prevent the creation of the output subdir.\n output_subdir: Optional[str] = \".hydra\"\n\n # Those lists will contain runtime overrides\n overrides: OverridesConf = OverridesConf()\n\n job: JobConf = JobConf()\n\n # populated at runtime\n runtime: RuntimeConf = RuntimeConf()\n\n # Can be a boolean, string or a list of strings\n # If a boolean, setting to true will set the log level for the root logger to debug\n # If a string, it's interpreted as a the list [string]\n # If a list, each element is interpreted as a logger to have logging level set to debug.\n # Typical command lines to manipulate hydra.verbose:\n # hydra.verbose=true\n # hydra.verbose=[hydra,__main__]\n # TODO: good use case for Union support in OmegaConf\n verbose: Any = False\n\n\ncs = ConfigStore.instance()\n\ncs.store(\n group=\"hydra\",\n name=\"config\",\n node=HydraConf(),\n provider=\"hydra\",\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/core/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_loader.py_from_abc_import_ABC_abst_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_loader.py_from_abc_import_ABC_abst_", "embedding": null, "metadata": {"file_path": "hydra/core/config_loader.py", "file_name": "config_loader.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 61, "span_ids": ["ConfigLoader.get_sources", "ConfigLoader", "ConfigLoader.get_group_options", "ConfigLoader.load_configuration", "ConfigLoader.compute_defaults_list", "ConfigLoader.load_sweep_config", "ConfigLoader.get_search_path", "docstring", "ConfigLoader.list_groups"], "tokens": 306}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from abc import ABC, abstractmethod\nfrom typing import Any, List, Optional\n\nfrom omegaconf import DictConfig\n\nfrom hydra.core.config_search_path import ConfigSearchPath\nfrom hydra.core.object_type import ObjectType\nfrom hydra.plugins.config_source import ConfigSource\nfrom hydra.types import RunMode\n\n\nclass ConfigLoader(ABC):\n \"\"\"\n Config loader interface\n \"\"\"\n\n @abstractmethod\n def load_configuration(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode,\n from_shell: bool = True,\n validate_sweep_overrides: bool = True,\n ) -> DictConfig:\n ...\n\n @abstractmethod\n def load_sweep_config(\n self, master_config: DictConfig, sweep_overrides: List[str]\n ) -> DictConfig:\n ...\n\n @abstractmethod\n def get_search_path(self) -> ConfigSearchPath:\n ...\n\n @abstractmethod\n def get_sources(self) -> List[ConfigSource]:\n ...\n\n @abstractmethod\n def list_groups(self, parent_name: str) -> List[str]:\n ...\n\n @abstractmethod\n def get_group_options(\n self, group_name: str, results_filter: Optional[ObjectType] = ObjectType.CONFIG\n ) -> List[str]:\n ...\n\n @abstractmethod\n def compute_defaults_list(\n self,\n config_name: Optional[str],\n overrides: List[str],\n run_mode: RunMode,\n ) -> Any:\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_from_abc_import_ABC_abst_SearchPathQuery.path.None": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_from_abc_import_ABC_abst_SearchPathQuery.path.None", "embedding": null, "metadata": {"file_path": "hydra/core/config_search_path.py", "file_name": "config_search_path.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 26, "span_ids": ["SearchPathElement.__str__", "SearchPathElement", "SearchPathElement.__init__", "SearchPathQuery", "docstring", "SearchPathElement.__repr__"], "tokens": 137}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom typing import MutableSequence, Optional, Union\n\n\nclass SearchPathElement:\n def __init__(self, provider: str, search_path: str):\n self.provider = provider\n self.path = search_path\n\n def __str__(self) -> str:\n return repr(self)\n\n def __repr__(self) -> str:\n return f\"provider={self.provider}, path={self.path}\"\n\n\n@dataclass\nclass SearchPathQuery:\n \"\"\"\n Used in append and prepend API\n \"\"\"\n\n provider: Optional[str] = None\n path: Optional[str] = None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath_ConfigSearchPath.append._": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath_ConfigSearchPath.append._", "embedding": null, "metadata": {"file_path": "hydra/core/config_search_path.py", "file_name": "config_search_path.py", "file_type": "text/x-python", "category": "implementation", "start_line": 29, "end_line": 46, "span_ids": ["ConfigSearchPath", "ConfigSearchPath.append", "ConfigSearchPath.get_path"], "tokens": 161}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSearchPath(ABC):\n @abstractmethod\n def get_path(self) -> MutableSequence[SearchPathElement]:\n ...\n\n @abstractmethod\n def append(\n self, provider: str, path: str, anchor: Optional[SearchPathQuery] = None\n ) -> None:\n \"\"\"\n Appends to the search path.\n Note, this currently only takes effect if called before the ConfigRepository is instantiated.\n\n :param provider: who is providing this search path, can be Hydra,\n the @hydra.main() function, or individual plugins or libraries.\n :param path: path element, can be a file system path or a package path (For example pkg://hydra.conf)\n :param anchor: Optional anchor query to append after\n \"\"\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath.__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_search_path.py_ConfigSearchPath.__", "embedding": null, "metadata": {"file_path": "hydra/core/config_search_path.py", "file_name": "config_search_path.py", "file_type": "text/x-python", "category": "implementation", "start_line": 48, "end_line": 68, "span_ids": ["ConfigSearchPath.prepend", "ConfigSearchPath:2", "ConfigSearchPath:3"], "tokens": 152}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSearchPath(ABC):\n\n ...\n\n @abstractmethod\n def prepend(\n self,\n provider: str,\n path: str,\n anchor: Optional[Union[SearchPathQuery, str]] = None,\n ) -> None:\n \"\"\"\n Prepends to the search path.\n Note, this currently only takes effect if called before the ConfigRepository is instantiated.\n\n :param provider: who is providing this search path, can be Hydra,\n the @hydra.main() function, or individual plugins or libraries.\n :param path: path element, can be a file system path or a package path (For example pkg://hydra.conf)\n :param anchor: Optional anchor query to prepend before\n \"\"\"\n\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_copy_ConfigNode.provider": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_copy_ConfigNode.provider", "embedding": null, "metadata": {"file_path": "hydra/core/config_store.py", "file_name": "config_store.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 41, "span_ids": ["ConfigNode", "ConfigStoreWithProvider.store", "ConfigStoreWithProvider.__init__", "ConfigStoreWithProvider.__enter__", "ConfigStoreWithProvider", "ConfigStoreWithProvider.__exit__", "docstring"], "tokens": 237}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nfrom dataclasses import dataclass\nfrom typing import Any, Dict, List, Optional\n\nfrom omegaconf import DictConfig, OmegaConf\n\nfrom hydra.core.object_type import ObjectType\nfrom hydra.core.singleton import Singleton\nfrom hydra.plugins.config_source import ConfigLoadError\n\n\nclass ConfigStoreWithProvider:\n def __init__(self, provider: str) -> None:\n self.provider = provider\n\n def __enter__(self) -> \"ConfigStoreWithProvider\":\n return self\n\n def store(\n self,\n name: str,\n node: Any,\n group: Optional[str] = None,\n package: Optional[str] = None,\n ) -> None:\n ConfigStore.instance().store(\n group=group, name=name, node=node, package=package, provider=self.provider\n )\n\n def __exit__(self, exc_type: Any, exc_value: Any, exc_traceback: Any) -> Any:\n ...\n\n\n@dataclass\nclass ConfigNode:\n name: str\n node: DictConfig\n group: Optional[str]\n package: Optional[str]\n provider: Optional[str]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore_ConfigStore.store.cur_name_ConfigNode_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore_ConfigStore.store.cur_name_ConfigNode_", "embedding": null, "metadata": {"file_path": "hydra/core/config_store.py", "file_name": "config_store.py", "file_type": "text/x-python", "category": "implementation", "start_line": 44, "end_line": 88, "span_ids": ["ConfigStore.__init__", "ConfigStore:2", "ConfigStore", "ConfigStore.store", "ConfigStore.instance"], "tokens": 333}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigStore(metaclass=Singleton):\n @staticmethod\n def instance(*args: Any, **kwargs: Any) -> \"ConfigStore\":\n return Singleton.instance(ConfigStore, *args, **kwargs) # type: ignore\n\n repo: Dict[str, Any]\n\n def __init__(self) -> None:\n self.repo = {}\n\n def store(\n self,\n name: str,\n node: Any,\n group: Optional[str] = None,\n package: Optional[str] = None,\n provider: Optional[str] = None,\n ) -> None:\n \"\"\"\n Stores a config node into the repository\n :param name: config name\n :param node: config node, can be DictConfig, ListConfig,\n Structured configs and even dict and list\n :param group: config group, subgroup separator is '/',\n for example hydra/launcher\n :param package: Config node parent hierarchy.\n Child separator is '.', for example foo.bar.baz\n :param provider: the name of the module/app providing this config.\n Helps debugging.\n \"\"\"\n\n cur = self.repo\n if group is not None:\n for d in group.split(\"/\"):\n if d not in cur:\n cur[d] = {}\n cur = cur[d]\n\n if not name.endswith(\".yaml\"):\n name = f\"{name}.yaml\"\n assert isinstance(cur, dict)\n cfg = OmegaConf.structured(node)\n cur[name] = ConfigNode(\n name=name, node=cfg, group=group, package=package, provider=provider\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.load_ConfigStore._load.if_idx_1_.else_.return.ret": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.load_ConfigStore._load.if_idx_1_.else_.return.ret", "embedding": null, "metadata": {"file_path": "hydra/core/config_store.py", "file_name": "config_store.py", "file_type": "text/x-python", "category": "implementation", "start_line": 90, "end_line": 122, "span_ids": ["ConfigStore.load", "ConfigStore._load"], "tokens": 263}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigStore(metaclass=Singleton):\n\n def load(self, config_path: str) -> ConfigNode:\n ret = self._load(config_path)\n\n # shallow copy to avoid changing the original stored ConfigNode\n ret = copy.copy(ret)\n assert isinstance(ret, ConfigNode)\n # copy to avoid mutations to config effecting subsequent calls\n ret.node = copy.deepcopy(ret.node)\n return ret\n\n def _load(self, config_path: str) -> ConfigNode:\n idx = config_path.rfind(\"/\")\n if idx == -1:\n ret = self._open(config_path)\n if ret is None:\n raise ConfigLoadError(f\"Structured config not found {config_path}\")\n assert isinstance(ret, ConfigNode)\n return ret\n else:\n path = config_path[0:idx]\n name = config_path[idx + 1 :]\n d = self._open(path)\n if d is None or not isinstance(d, dict):\n raise ConfigLoadError(f\"Structured config not found {config_path}\")\n\n if name not in d:\n raise ConfigLoadError(\n f\"Structured config {name} not found in {config_path}\"\n )\n\n ret = d[name]\n assert isinstance(ret, ConfigNode)\n return ret", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.get_type_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/config_store.py_ConfigStore.get_type_", "embedding": null, "metadata": {"file_path": "hydra/core/config_store.py", "file_name": "config_store.py", "file_type": "text/x-python", "category": "implementation", "start_line": 124, "end_line": 153, "span_ids": ["ConfigStore.get_type", "ConfigStore.list", "ConfigStore._open"], "tokens": 189}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigStore(metaclass=Singleton):\n\n def get_type(self, path: str) -> ObjectType:\n d = self._open(path)\n if d is None:\n return ObjectType.NOT_FOUND\n if isinstance(d, dict):\n return ObjectType.GROUP\n else:\n return ObjectType.CONFIG\n\n def list(self, path: str) -> List[str]:\n d = self._open(path)\n if d is None:\n raise IOError(f\"Path not found {path}\")\n\n if not isinstance(d, dict):\n raise IOError(f\"Path points to a file : {path}\")\n\n return sorted(d.keys())\n\n def _open(self, path: str) -> Any:\n d: Any = self.repo\n for frag in path.split(\"/\"):\n if frag == \"\":\n continue\n if frag in d:\n d = d[frag]\n else:\n return None\n return d", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/global_hydra.py_from_typing_import_Any_O_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/global_hydra.py_from_typing_import_Any_O_", "embedding": null, "metadata": {"file_path": "hydra/core/global_hydra.py", "file_name": "global_hydra.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 39, "span_ids": ["GlobalHydra.set_instance", "GlobalHydra.config_loader", "GlobalHydra.__init__", "GlobalHydra", "docstring", "GlobalHydra.is_initialized", "GlobalHydra.instance", "GlobalHydra.initialize", "GlobalHydra.clear"], "tokens": 296}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Any, Optional\n\nfrom hydra._internal.hydra import Hydra\nfrom hydra.core.config_loader import ConfigLoader\nfrom hydra.core.singleton import Singleton\n\n\nclass GlobalHydra(metaclass=Singleton):\n def __init__(self) -> None:\n self.hydra: Optional[Hydra] = None\n\n def initialize(self, hydra: \"Hydra\") -> None:\n assert isinstance(hydra, Hydra), f\"Unexpected Hydra type : {type(hydra)}\"\n if self.is_initialized():\n raise ValueError(\n \"GlobalHydra is already initialized, call GlobalHydra.instance().clear() if you want to re-initialize\"\n )\n self.hydra = hydra\n\n def config_loader(self) -> \"ConfigLoader\":\n assert self.hydra is not None\n return self.hydra.config_loader\n\n def is_initialized(self) -> bool:\n return self.hydra is not None\n\n def clear(self) -> None:\n self.hydra = None\n\n @staticmethod\n def instance(*args: Any, **kwargs: Any) -> \"GlobalHydra\":\n return Singleton.instance(GlobalHydra, *args, **kwargs) # type: ignore\n\n @staticmethod\n def set_instance(instance: \"GlobalHydra\") -> None:\n assert isinstance(instance, GlobalHydra)\n Singleton._instances[GlobalHydra] = instance # type: ignore", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_from_typing_import_Any_O_HydraConfig.set_config.None_6": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_from_typing_import_Any_O_HydraConfig.set_config.None_6", "embedding": null, "metadata": {"file_path": "hydra/core/hydra_config.py", "file_name": "hydra_config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 25, "span_ids": ["HydraConfig.__init__", "HydraConfig", "HydraConfig.set_config", "docstring"], "tokens": 242}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Any, Optional\n\nfrom omegaconf import DictConfig, OmegaConf\n\nfrom hydra.conf import HydraConf\nfrom hydra.core.singleton import Singleton\n\n\nclass HydraConfig(metaclass=Singleton):\n def __init__(self) -> None:\n self.cfg: Optional[HydraConf] = None\n\n def set_config(self, cfg: DictConfig) -> None:\n assert cfg is not None\n OmegaConf.set_readonly(cfg.hydra, True)\n hydra_node_type = OmegaConf.get_type(cfg, \"hydra\")\n assert hydra_node_type is not None and issubclass(hydra_node_type, HydraConf)\n # THis is emulating a node that is hidden.\n # It's quiet a hack but it will be much better once\n # https://github.com/omry/omegaconf/issues/280 is done\n # The motivation is that this allows for interpolations from the hydra node\n # into the user's config.\n self.cfg = OmegaConf.masked_copy(cfg, \"hydra\") # type: ignore\n self.cfg.hydra._set_parent(cfg) # type: ignore", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_HydraConfig.get_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/hydra_config.py_HydraConfig.get_", "embedding": null, "metadata": {"file_path": "hydra/core/hydra_config.py", "file_name": "hydra_config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 26, "end_line": 41, "span_ids": ["HydraConfig.instance", "HydraConfig.initialized", "HydraConfig.get"], "tokens": 127}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class HydraConfig(metaclass=Singleton):\n\n @staticmethod\n def get() -> HydraConf:\n instance = HydraConfig.instance()\n if instance.cfg is None:\n raise ValueError(\"HydraConfig was not set\")\n return instance.cfg.hydra # type: ignore\n\n @staticmethod\n def initialized() -> bool:\n instance = HydraConfig.instance()\n return instance.cfg is not None\n\n @staticmethod\n def instance(*args: Any, **kwargs: Any) -> \"HydraConfig\":\n return Singleton.instance(HydraConfig, *args, **kwargs) # type: ignore", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/object_type.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/object_type.py__", "embedding": null, "metadata": {"file_path": "hydra/core/object_type.py", "file_name": "object_type.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 9, "span_ids": ["ObjectType", "docstring"], "tokens": 44}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom enum import Enum\n\n\nclass ObjectType(Enum):\n NOT_FOUND = 0\n CONFIG = 1\n GROUP = 2", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_create_functions_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_parser.py_create_functions_", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_parser.py", "file_name": "overrides_parser.py", "file_type": "text/x-python", "category": "implementation", "start_line": 98, "end_line": 115, "span_ids": ["create_functions"], "tokens": 174}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def create_functions() -> Functions:\n functions = Functions()\n # casts\n functions.register(name=\"int\", func=grammar_functions.cast_int)\n functions.register(name=\"str\", func=grammar_functions.cast_str)\n functions.register(name=\"bool\", func=grammar_functions.cast_bool)\n functions.register(name=\"float\", func=grammar_functions.cast_float)\n # sweeps\n functions.register(name=\"choice\", func=grammar_functions.choice)\n functions.register(name=\"range\", func=grammar_functions.range)\n functions.register(name=\"interval\", func=grammar_functions.interval)\n # misc\n functions.register(name=\"tag\", func=grammar_functions.tag)\n functions.register(name=\"sort\", func=grammar_functions.sort)\n functions.register(name=\"shuffle\", func=grammar_functions.shuffle)\n functions.register(name=\"glob\", func=grammar_functions.glob)\n return functions", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_sys_try_.except_ModuleNotFoundErro.sys_exit_1_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_sys_try_.except_ModuleNotFoundErro.sys_exit_1_", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_visitor.py", "file_name": "overrides_visitor.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 36, "span_ids": ["docstring"], "tokens": 220}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import sys\nimport warnings\nfrom typing import Any, Dict, List, Optional, Tuple, Union\n\nfrom antlr4 import ParserRuleContext, TerminalNode, Token\nfrom antlr4.error.ErrorListener import ErrorListener\nfrom antlr4.tree.Tree import TerminalNodeImpl\n\nfrom hydra._internal.grammar.functions import FunctionCall, Functions\nfrom hydra._internal.grammar.utils import _ESC_QUOTED_STR\nfrom hydra.core.override_parser.types import (\n ChoiceSweep,\n Glob,\n IntervalSweep,\n Key,\n Override,\n OverrideType,\n ParsedElementType,\n Quote,\n QuotedString,\n RangeSweep,\n ValueType,\n)\nfrom hydra.errors import HydraException\n\ntry:\n from hydra.grammar.gen.OverrideLexer import OverrideLexer\n from hydra.grammar.gen.OverrideParser import OverrideParser\n from hydra.grammar.gen.OverrideParserVisitor import OverrideParserVisitor\n\nexcept ModuleNotFoundError:\n print(\n \"Error importing generated parsers, run `python setup.py antlr` to regenerate.\"\n )\n sys.exit(1)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitOverride_HydraOverrideVisitor.visitOverride.return.Override_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitOverride_HydraOverrideVisitor.visitOverride.return.Override_", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_visitor.py", "file_name": "overrides_visitor.py", "file_type": "text/x-python", "category": "implementation", "start_line": 136, "end_line": 194, "span_ids": ["HydraOverrideVisitor.visitOverride"], "tokens": 437}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class HydraOverrideVisitor(OverrideParserVisitor):\n\n def visitOverride(self, ctx: OverrideParser.OverrideContext) -> Override:\n override_type = OverrideType.CHANGE\n children = ctx.getChildren()\n first_node = next(children)\n if isinstance(first_node, TerminalNodeImpl):\n symbol_text = first_node.symbol.text\n if symbol_text == \"+\":\n override_type = OverrideType.ADD\n key_node = next(children)\n if self.is_matching_terminal(key_node, OverrideLexer.PLUS):\n override_type = OverrideType.FORCE_ADD\n key_node = next(children)\n\n elif symbol_text == \"~\":\n override_type = OverrideType.DEL\n key_node = next(children)\n else:\n assert False\n else:\n key_node = first_node\n\n key = self.visitKey(key_node)\n value: Union[ChoiceSweep, RangeSweep, IntervalSweep, ParsedElementType]\n eq_node = next(children)\n if (\n override_type == OverrideType.DEL\n and isinstance(eq_node, TerminalNode)\n and eq_node.symbol.type == Token.EOF\n ):\n value = None\n value_type = None\n else:\n assert self.is_matching_terminal(eq_node, OverrideLexer.EQUAL)\n if ctx.value() is None:\n value = \"\"\n value_type = ValueType.ELEMENT\n else:\n value = self.visitValue(ctx.value())\n if isinstance(value, ChoiceSweep):\n if value.simple_form:\n value_type = ValueType.SIMPLE_CHOICE_SWEEP\n else:\n value_type = ValueType.CHOICE_SWEEP\n elif isinstance(value, Glob):\n value_type = ValueType.GLOB_CHOICE_SWEEP\n elif isinstance(value, IntervalSweep):\n value_type = ValueType.INTERVAL_SWEEP\n elif isinstance(value, RangeSweep):\n value_type = ValueType.RANGE_SWEEP\n else:\n value_type = ValueType.ELEMENT\n\n return Override(\n type=override_type,\n key_or_group=key.key_or_group,\n _value=value,\n value_type=value_type,\n package=key.package,\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.is_matching_terminal_HydraOverrideVisitor.visitSimpleChoiceSweep.return.ChoiceSweep_simple_form_T": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.is_matching_terminal_HydraOverrideVisitor.visitSimpleChoiceSweep.return.ChoiceSweep_simple_form_T", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_visitor.py", "file_name": "overrides_visitor.py", "file_type": "text/x-python", "category": "implementation", "start_line": 261, "end_line": 272, "span_ids": ["HydraOverrideVisitor.visitSimpleChoiceSweep", "HydraOverrideVisitor.is_matching_terminal"], "tokens": 125}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class HydraOverrideVisitor(OverrideParserVisitor):\n\n def is_matching_terminal(self, node: Any, symbol_type: int) -> bool:\n return isinstance(node, TerminalNodeImpl) and node.symbol.type == symbol_type\n\n def visitSimpleChoiceSweep(\n self, ctx: OverrideParser.SimpleChoiceSweepContext\n ) -> ChoiceSweep:\n ret = []\n for child in ctx.getChildren(\n predicate=lambda x: not self.is_matching_terminal(x, OverrideLexer.COMMA)\n ):\n ret.append(self.visitElement(child))\n return ChoiceSweep(simple_form=True, list=ret)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitFunction_HydraOverrideVisitor.visitFunction.try_.except_Exception_as_e_.raise_HydraException_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraOverrideVisitor.visitFunction_HydraOverrideVisitor.visitFunction.try_.except_Exception_as_e_.raise_HydraException_", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_visitor.py", "file_name": "overrides_visitor.py", "file_type": "text/x-python", "category": "implementation", "start_line": 274, "end_line": 306, "span_ids": ["HydraOverrideVisitor.visitFunction"], "tokens": 252}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class HydraOverrideVisitor(OverrideParserVisitor):\n\n def visitFunction(self, ctx: OverrideParser.FunctionContext) -> Any:\n args = []\n kwargs = {}\n children = ctx.getChildren()\n func_name = next(children).getText()\n assert self.is_matching_terminal(next(children), OverrideLexer.POPEN)\n in_kwargs = False\n while True:\n cur = next(children)\n if self.is_matching_terminal(cur, OverrideLexer.PCLOSE):\n break\n\n if isinstance(cur, OverrideParser.ArgNameContext):\n in_kwargs = True\n name = cur.getChild(0).getText()\n cur = next(children)\n value = self.visitElement(cur)\n kwargs[name] = value\n else:\n if self.is_matching_terminal(cur, OverrideLexer.COMMA):\n continue\n if in_kwargs:\n raise HydraException(\"positional argument follows keyword argument\")\n value = self.visitElement(cur)\n args.append(value)\n\n function = FunctionCall(name=func_name, args=args, kwargs=kwargs)\n try:\n return self.functions.eval(function)\n except Exception as e:\n raise HydraException(\n f\"{type(e).__name__} while evaluating '{ctx.getText()}': {e}\"\n ) from e", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraErrorListener_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/overrides_visitor.py_HydraErrorListener_", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/overrides_visitor.py", "file_name": "overrides_visitor.py", "file_type": "text/x-python", "category": "implementation", "start_line": 297, "end_line": 354, "span_ids": ["HydraErrorListener.reportAmbiguity", "HydraErrorListener.reportContextSensitivity", "HydraErrorListener.reportAttemptingFullContext", "HydraErrorListener.syntaxError", "HydraErrorListener"], "tokens": 323}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class HydraErrorListener(ErrorListener): # type: ignore\n def syntaxError(\n self,\n recognizer: Any,\n offending_symbol: Any,\n line: Any,\n column: Any,\n msg: Any,\n e: Any,\n ) -> None:\n if msg is not None:\n raise HydraException(msg) from e\n else:\n raise HydraException(str(e)) from e\n\n def reportAmbiguity(\n self,\n recognizer: Any,\n dfa: Any,\n startIndex: Any,\n stopIndex: Any,\n exact: Any,\n ambigAlts: Any,\n configs: Any,\n ) -> None:\n warnings.warn(\n message=\"reportAmbiguity: please file an issue with minimal repro instructions\",\n category=UserWarning,\n )\n\n def reportAttemptingFullContext(\n self,\n recognizer: Any,\n dfa: Any,\n startIndex: Any,\n stopIndex: Any,\n conflictingAlts: Any,\n configs: Any,\n ) -> None:\n warnings.warn(\n message=\"reportAttemptingFullContext: please file an issue with a minimal repro instructions\",\n category=UserWarning,\n )\n\n def reportContextSensitivity(\n self,\n recognizer: Any,\n dfa: Any,\n startIndex: Any,\n stopIndex: Any,\n prediction: Any,\n configs: Any,\n ) -> None:\n warnings.warn(\n message=\"reportContextSensitivity: please file an issue with minimal a repro instructions\",\n category=UserWarning,\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_RangeSweep_RangeSweep.range.if_.else_.return.FloatRange_start_stop_s": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_RangeSweep_RangeSweep.range.if_.else_.return.FloatRange_start_stop_s", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/types.py", "file_name": "types.py", "file_type": "text/x-python", "category": "implementation", "start_line": 93, "end_line": 119, "span_ids": ["RangeSweep", "RangeSweep.range"], "tokens": 166}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass RangeSweep(Sweep):\n \"\"\"\n Discrete range of numbers\n \"\"\"\n\n start: Optional[Union[int, float]] = None\n stop: Optional[Union[int, float]] = None\n step: Union[int, float] = 1\n\n shuffle: bool = False\n\n def range(self) -> Union[range, FloatRange]:\n assert self.start is not None\n assert self.stop is not None\n\n start = self.start\n stop = self.stop\n step = self.step\n if (\n isinstance(start, int)\n and isinstance(stop, int)\n and (step is None or isinstance(step, int))\n ):\n return range(start, stop, step)\n else:\n return FloatRange(start, stop, step)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override._get_value_element_as_str_Override._get_value_element_as_str.if_value_is_None_.else_.assert_False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/override_parser/types.py_Override._get_value_element_as_str_Override._get_value_element_as_str.if_value_is_None_.else_.assert_False", "embedding": null, "metadata": {"file_path": "hydra/core/override_parser/types.py", "file_name": "types.py", "file_type": "text/x-python", "category": "implementation", "start_line": 387, "end_line": 426, "span_ids": ["Override._get_value_element_as_str"], "tokens": 320}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass Override:\n\n @staticmethod\n def _get_value_element_as_str(\n value: ParsedElementType, space_after_sep: bool = False\n ) -> str:\n # str, QuotedString, int, bool, float, List[Any], Dict[str, Any]\n comma = \", \" if space_after_sep else \",\"\n colon = \": \" if space_after_sep else \":\"\n if value is None:\n return \"null\"\n elif isinstance(value, QuotedString):\n return value.with_quotes()\n elif isinstance(value, list):\n s = comma.join(\n [\n Override._get_value_element_as_str(\n x, space_after_sep=space_after_sep\n )\n for x in value\n ]\n )\n return \"[\" + s + \"]\"\n elif isinstance(value, dict):\n str_items = []\n for k, v in value.items():\n str_key = Override._get_value_element_as_str(k)\n str_value = Override._get_value_element_as_str(\n v, space_after_sep=space_after_sep\n )\n str_items.append(f\"{str_key}{colon}{str_value}\")\n return \"{\" + comma.join(str_items) + \"}\"\n elif isinstance(value, str):\n return escape_special_characters(value)\n elif isinstance(value, (int, bool, float)):\n return str(value)\n elif is_structured_config(value):\n return Override._get_value_element_as_str(\n OmegaConf.to_container(OmegaConf.structured(value))\n )\n else:\n assert False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_importlib_ScanStats.modules_import_time.field_default_factory_dic": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_importlib_ScanStats.modules_import_time.field_default_factory_dic", "embedding": null, "metadata": {"file_path": "hydra/core/plugins.py", "file_name": "plugins.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 40, "span_ids": ["ScanStats", "docstring"], "tokens": 244}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import importlib\nimport importlib.util\nimport inspect\nimport pkgutil\nimport sys\nimport warnings\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field\nfrom timeit import default_timer as timer\nfrom typing import Any, Dict, List, Optional, Tuple, Type\n\nfrom omegaconf import DictConfig\n\nfrom hydra._internal.sources_registry import SourcesRegistry\nfrom hydra.core.singleton import Singleton\nfrom hydra.plugins.completion_plugin import CompletionPlugin\nfrom hydra.plugins.config_source import ConfigSource\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.plugins.plugin import Plugin\nfrom hydra.plugins.search_path_plugin import SearchPathPlugin\nfrom hydra.plugins.sweeper import Sweeper\nfrom hydra.types import HydraContext, TaskFunction\nfrom hydra.utils import instantiate\n\nPLUGIN_TYPES: List[Type[Plugin]] = [\n Plugin,\n ConfigSource,\n CompletionPlugin,\n Launcher,\n Sweeper,\n SearchPathPlugin,\n]\n\n\n@dataclass\nclass ScanStats:\n total_time: float = 0\n total_modules_import_time: float = 0\n modules_import_time: Dict[str, float] = field(default_factory=dict)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins_Plugins.__init__.self__initialize_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins_Plugins.__init__.self__initialize_", "embedding": null, "metadata": {"file_path": "hydra/core/plugins.py", "file_name": "plugins.py", "file_type": "text/x-python", "category": "implementation", "start_line": 33, "end_line": 44, "span_ids": ["Plugins.__init__", "Plugins", "Plugins.instance"], "tokens": 121}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Plugins(metaclass=Singleton):\n @staticmethod\n def instance(*args: Any, **kwargs: Any) -> \"Plugins\":\n ret = Singleton.instance(Plugins, *args, **kwargs)\n assert isinstance(ret, Plugins)\n return ret\n\n def __init__(self) -> None:\n self.plugin_type_to_subclass_list: Dict[Type[Plugin], List[Type[Plugin]]] = {}\n self.class_name_to_class: Dict[str, Type[Plugin]] = {}\n self.stats: Optional[ScanStats] = None\n self._initialize()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.get_stats_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.get_stats_", "embedding": null, "metadata": {"file_path": "hydra/core/plugins.py", "file_name": "plugins.py", "file_type": "text/x-python", "category": "implementation", "start_line": 239, "end_line": 273, "span_ids": ["Plugins.get_stats", "_is_concrete_plugin_type", "Plugins.discover", "Plugins.check_usage"], "tokens": 266}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Plugins(metaclass=Singleton):\n\n def get_stats(self) -> Optional[ScanStats]:\n return self.stats\n\n def discover(\n self, plugin_type: Optional[Type[Plugin]] = None\n ) -> List[Type[Plugin]]:\n \"\"\"\n :param plugin_type: class of plugin to discover, None for all\n :return: a list of plugins implementing the plugin type (or all if plugin type is None)\n \"\"\"\n Plugins.check_usage(self)\n ret: List[Type[Plugin]] = []\n if plugin_type is None:\n plugin_type = Plugin\n assert issubclass(plugin_type, Plugin)\n if plugin_type not in self.plugin_type_to_subclass_list:\n return []\n for clazz in self.plugin_type_to_subclass_list[plugin_type]:\n ret.append(clazz)\n\n return ret\n\n @staticmethod\n def check_usage(self_: Any) -> None:\n if not isinstance(self_, Plugins):\n raise ValueError(\n f\"Plugins is now a Singleton. usage: Plugins.instance().{inspect.stack()[1][3]}(...)\"\n )\n\n\ndef _is_concrete_plugin_type(obj: Any) -> bool:\n return (\n inspect.isclass(obj) and issubclass(obj, Plugin) and not inspect.isabstract(obj)\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_copy_simple_stdout_log_config.root_addHandler_handler_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_copy_simple_stdout_log_config.root_addHandler_handler_", "embedding": null, "metadata": {"file_path": "hydra/core/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 33, "span_ids": ["simple_stdout_log_config", "docstring"], "tokens": 201}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nimport logging\nimport os\nimport re\nimport sys\nfrom contextlib import contextmanager\nfrom dataclasses import dataclass\nfrom datetime import datetime\nfrom enum import Enum\nfrom os.path import splitext\nfrom pathlib import Path\nfrom textwrap import dedent\nfrom typing import Any, Dict, Optional, Sequence, Union, cast\n\nfrom omegaconf import DictConfig, OmegaConf, open_dict, read_write\n\nfrom hydra import version\nfrom hydra._internal.deprecation_warning import deprecation_warning\nfrom hydra.core.hydra_config import HydraConfig\nfrom hydra.core.singleton import Singleton\nfrom hydra.types import HydraContext, TaskFunction\n\nlog = logging.getLogger(__name__)\n\n\ndef simple_stdout_log_config(level: int = logging.INFO) -> None:\n root = logging.getLogger()\n root.setLevel(level)\n handler = logging.StreamHandler(sys.stdout)\n formatter = logging.Formatter(\"%(message)s\")\n handler.setFormatter(formatter)\n root.addHandler(handler)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_configure_log_configure_log.if_isinstance_verbose_con.else_.for_logger_in_verbose_lis.logging_getLogger_logger_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py_configure_log_configure_log.if_isinstance_verbose_con.else_.for_logger_in_verbose_lis.logging_getLogger_logger_", "embedding": null, "metadata": {"file_path": "hydra/core/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 35, "end_line": 68, "span_ids": ["configure_log"], "tokens": 262}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def configure_log(\n log_config: DictConfig,\n verbose_config: Union[bool, str, Sequence[str]] = False,\n) -> None:\n assert isinstance(verbose_config, (bool, str)) or OmegaConf.is_list(verbose_config)\n if log_config is not None:\n conf: Dict[str, Any] = OmegaConf.to_container( # type: ignore\n log_config, resolve=True\n )\n if conf[\"root\"] is not None:\n logging.config.dictConfig(conf)\n else:\n # default logging to stdout\n root = logging.getLogger()\n root.setLevel(logging.INFO)\n handler = logging.StreamHandler(sys.stdout)\n formatter = logging.Formatter(\n \"[%(asctime)s][%(name)s][%(levelname)s] - %(message)s\"\n )\n handler.setFormatter(formatter)\n root.addHandler(handler)\n if isinstance(verbose_config, bool):\n if verbose_config:\n logging.getLogger().setLevel(logging.DEBUG)\n else:\n if isinstance(verbose_config, str):\n verbose_list = OmegaConf.create([verbose_config])\n elif OmegaConf.is_list(verbose_config):\n verbose_list = verbose_config # type: ignore\n else:\n assert False\n\n for logger in verbose_list:\n logging.getLogger(logger).setLevel(logging.DEBUG)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py__save_config_filter_overrides.return._x_for_x_in_overrides_if_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py__save_config_filter_overrides.return._x_for_x_in_overrides_if_", "embedding": null, "metadata": {"file_path": "hydra/core/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 74, "end_line": 85, "span_ids": ["filter_overrides", "_save_config"], "tokens": 127}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def _save_config(cfg: DictConfig, filename: str, output_dir: Path) -> None:\n output_dir.mkdir(parents=True, exist_ok=True)\n with open(str(output_dir / filename), \"w\", encoding=\"utf-8\") as file:\n file.write(OmegaConf.to_yaml(cfg))\n\n\ndef filter_overrides(overrides: Sequence[str]) -> Sequence[str]:\n \"\"\"\n :param overrides: overrides list\n :return: returning a new overrides list with all the keys starting with hydra. filtered.\n \"\"\"\n return [x for x in overrides if not x.startswith(\"hydra.\")]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/errors.py_from_typing_import_Option_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/errors.py_from_typing_import_Option_", "embedding": null, "metadata": {"file_path": "hydra/errors.py", "file_name": "errors.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 46, "span_ids": ["MissingConfigException.__init__", "CompactHydraException", "InstantiationException", "MissingConfigException", "HydraDeprecationError", "OverrideParseException.__init__", "OverrideParseException", "docstring", "ConfigCompositionException", "SearchPathException", "HydraException"], "tokens": 208}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Optional, Sequence\n\n\nclass HydraException(Exception):\n ...\n\n\nclass CompactHydraException(HydraException):\n ...\n\n\nclass OverrideParseException(CompactHydraException):\n def __init__(self, override: str, message: str) -> None:\n super(OverrideParseException, self).__init__(message)\n self.override = override\n self.message = message\n\n\nclass InstantiationException(CompactHydraException):\n ...\n\n\nclass ConfigCompositionException(CompactHydraException):\n ...\n\n\nclass SearchPathException(CompactHydraException):\n ...\n\n\nclass MissingConfigException(IOError, ConfigCompositionException):\n def __init__(\n self,\n message: str,\n missing_cfg_file: Optional[str],\n options: Optional[Sequence[str]] = None,\n ) -> None:\n super(MissingConfigException, self).__init__(message)\n self.missing_cfg_file = missing_cfg_file\n self.options = options\n\n\nclass HydraDeprecationError(HydraException):\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/experimental/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 11, "span_ids": ["docstring"], "tokens": 63}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom .compose import compose\nfrom .initialize import initialize, initialize_config_dir, initialize_config_module\n\n__all__ = [\n \"compose\",\n \"initialize\",\n \"initialize_config_module\",\n \"initialize_config_dir\",\n]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_copy_restore_gh_from_backup.if__gh_backup_is_None_.else_.Singleton__instances_Glob": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_copy_restore_gh_from_backup.if__gh_backup_is_None_.else_.Singleton__instances_Glob", "embedding": null, "metadata": {"file_path": "hydra/experimental/initialize.py", "file_name": "initialize.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 23, "span_ids": ["restore_gh_from_backup", "get_gh_backup", "docstring"], "tokens": 149}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nfrom typing import Any, Optional\n\nfrom hydra import version\nfrom hydra._internal.deprecation_warning import deprecation_warning\nfrom hydra.core.global_hydra import GlobalHydra\nfrom hydra.core.singleton import Singleton\nfrom hydra.initialize import _UNSPECIFIED_\n\n\ndef get_gh_backup() -> Any:\n if GlobalHydra in Singleton._instances:\n return copy.deepcopy(Singleton._instances[GlobalHydra])\n else:\n return None\n\n\ndef restore_gh_from_backup(_gh_backup: Any) -> Any:\n if _gh_backup is None:\n del Singleton._instances[GlobalHydra]\n else:\n Singleton._instances[GlobalHydra] = _gh_backup", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_initialize.__repr__.return._hydra_experimental_initi": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_initialize.__repr__.return._hydra_experimental_initi", "embedding": null, "metadata": {"file_path": "hydra/experimental/initialize.py", "file_name": "initialize.py", "file_type": "text/x-python", "category": "implementation", "start_line": 26, "end_line": 58, "span_ids": ["initialize", "initialize.__enter__", "initialize.__init__", "initialize.__exit__", "initialize.__repr__"], "tokens": 231}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class initialize:\n def __init__(\n self,\n config_path: Optional[str] = _UNSPECIFIED_,\n job_name: Optional[str] = None,\n caller_stack_depth: int = 1,\n ) -> None:\n from hydra import initialize as real_initialize\n\n message = (\n \"hydra.experimental.initialize() is no longer experimental. \"\n \"Use hydra.initialize()\"\n )\n\n if version.base_at_least(\"1.2\"):\n raise ImportError(message)\n\n deprecation_warning(message=message)\n\n self.delegate = real_initialize(\n config_path=config_path,\n job_name=job_name,\n caller_stack_depth=caller_stack_depth + 1,\n )\n\n def __enter__(self, *args: Any, **kwargs: Any) -> None:\n self.delegate.__enter__(*args, **kwargs)\n\n def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:\n self.delegate.__exit__(exc_type, exc_val, exc_tb)\n\n def __repr__(self) -> str:\n return \"hydra.experimental.initialize()\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_module_initialize_config_module.__repr__.return._hydra_experimental_initi": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_module_initialize_config_module.__repr__.return._hydra_experimental_initi", "embedding": null, "metadata": {"file_path": "hydra/experimental/initialize.py", "file_name": "initialize.py", "file_type": "text/x-python", "category": "implementation", "start_line": 61, "end_line": 93, "span_ids": ["initialize_config_module.__repr__", "initialize_config_module.__enter__", "initialize_config_module.__exit__", "initialize_config_module", "initialize_config_module.__init__"], "tokens": 285}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class initialize_config_module:\n \"\"\"\n Initializes Hydra and add the config_module to the config search path.\n The config module must be importable (an __init__.py must exist at its top level)\n :param config_module: absolute module name, for example \"foo.bar.conf\".\n :param job_name: the value for hydra.job.name (default is 'app')\n \"\"\"\n\n def __init__(self, config_module: str, job_name: str = \"app\") -> None:\n from hydra import initialize_config_module as real_initialize_config_module\n\n message = (\n \"hydra.experimental.initialize_config_module() is no longer experimental. \"\n \"Use hydra.initialize_config_module().\"\n )\n\n if version.base_at_least(\"1.2\"):\n raise ImportError(message)\n\n deprecation_warning(message=message)\n\n self.delegate = real_initialize_config_module(\n config_module=config_module, job_name=job_name\n )\n\n def __enter__(self, *args: Any, **kwargs: Any) -> None:\n self.delegate.__enter__(*args, **kwargs)\n\n def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:\n self.delegate.__exit__(exc_type, exc_val, exc_tb)\n\n def __repr__(self) -> str:\n return \"hydra.experimental.initialize_config_module()\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_dir_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_dir_", "embedding": null, "metadata": {"file_path": "hydra/experimental/initialize.py", "file_name": "initialize.py", "file_type": "text/x-python", "category": "implementation", "start_line": 96, "end_line": 130, "span_ids": ["initialize_config_dir", "initialize_config_dir.__enter__", "initialize_config_dir.__exit__", "initialize_config_dir.__init__", "initialize_config_dir.__repr__"], "tokens": 290}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class initialize_config_dir:\n \"\"\"\n Initializes Hydra and add an absolute config dir to the to the config search path.\n The config_dir is always a path on the file system and is must be an absolute path.\n Relative paths will result in an error.\n :param config_dir: absolute file system path\n :param job_name: the value for hydra.job.name (default is 'app')\n \"\"\"\n\n def __init__(self, config_dir: str, job_name: str = \"app\") -> None:\n from hydra import initialize_config_dir as real_initialize_config_dir\n\n message = (\n \"hydra.experimental.initialize_config_dir() is no longer experimental. \"\n \"Use hydra.initialize_config_dir().\"\n )\n\n if version.base_at_least(\"1.2\"):\n raise ImportError(message)\n\n deprecation_warning(message=message)\n\n self.delegate = real_initialize_config_dir(\n config_dir=config_dir, job_name=job_name\n )\n\n def __enter__(self, *args: Any, **kwargs: Any) -> None:\n self.delegate.__enter__(*args, **kwargs)\n\n def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:\n self.delegate.__exit__(exc_type, exc_val, exc_tb)\n\n def __repr__(self) -> str:\n return \"hydra.experimental.initialize_config_dir()\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/extra/pytest_plugin.py_hydra_task_runner_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/extra/pytest_plugin.py_hydra_task_runner_", "embedding": null, "metadata": {"file_path": "hydra/extra/pytest_plugin.py", "file_name": "pytest_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 61, "end_line": 91, "span_ids": ["hydra_task_runner"], "tokens": 170}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@fixture(scope=\"function\")\ndef hydra_task_runner() -> Callable[\n [\n Optional[str],\n Optional[str],\n Optional[str],\n Optional[str],\n Optional[List[str]],\n bool,\n ],\n TaskTestFunction,\n]:\n def _(\n calling_file: Optional[str],\n calling_module: Optional[str],\n config_path: Optional[str],\n config_name: Optional[str],\n overrides: Optional[List[str]] = None,\n configure_logging: bool = False,\n ) -> TaskTestFunction:\n task = TaskTestFunction()\n task.overrides = overrides or []\n task.calling_file = calling_file\n task.config_name = config_name\n task.calling_module = calling_module\n task.config_path = config_path\n task.configure_logging = configure_logging\n return task\n\n return _", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/grammar/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/grammar/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/grammar/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/plugins/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_os_CompletionPlugin.help._": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_os_CompletionPlugin.help._", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 8, "end_line": 60, "span_ids": ["CompletionPlugin.provides", "CompletionPlugin.help", "CompletionPlugin.query", "CompletionPlugin.__init__", "CompletionPlugin", "docstring", "CompletionPlugin.install", "CompletionPlugin.uninstall"], "tokens": 269}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\nimport re\nimport sys\nfrom abc import abstractmethod\n\nfrom hydra.errors import ConfigCompositionException\nfrom omegaconf import (\n Container,\n DictConfig,\n MissingMandatoryValue,\n OmegaConf,\n ListConfig,\n)\nfrom typing import Any, List, Optional, Tuple\n\nfrom hydra.core.config_loader import ConfigLoader\nfrom hydra.core.object_type import ObjectType\nfrom hydra.plugins.plugin import Plugin\nfrom hydra.types import RunMode\n\n\nclass CompletionPlugin(Plugin):\n def __init__(self, config_loader: ConfigLoader) -> None:\n self.config_loader = config_loader\n\n @abstractmethod\n def install(self) -> None:\n ...\n\n @abstractmethod\n def uninstall(self) -> None:\n ...\n\n @staticmethod\n @abstractmethod\n def provides() -> str:\n \"\"\"\n :return: the name of the shell this plugin provides completion for\n \"\"\"\n ...\n\n @abstractmethod\n def query(self, config_name: Optional[str]) -> None:\n ...\n\n @staticmethod\n @abstractmethod\n def help(command: str) -> str:\n \"\"\"\n :param command: \"install\" or \"uninstall\"\n :return: command the user can run to install or uninstall this shell completion on the appropriate shell\n \"\"\"\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_filename_CompletionPlugin.complete_files.return.ret": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_filename_CompletionPlugin.complete_files.return.ret", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 60, "end_line": 95, "span_ids": ["CompletionPlugin.complete_files", "CompletionPlugin._get_filename"], "tokens": 261}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CompletionPlugin(Plugin):\n\n @staticmethod\n def _get_filename(filename: str) -> Tuple[Optional[str], Optional[str]]:\n last = filename.rfind(\"=\")\n if last != -1:\n key_eq = filename[0 : last + 1]\n filename = filename[last + 1 :]\n prefixes = [\".\", \"/\", \"\\\\\", \"./\", \".\\\\\"]\n if sys.platform.startswith(\"win\"):\n for drive in range(ord(\"a\"), ord(\"z\")):\n prefixes.append(f\"{chr(drive)}:\")\n\n if not filename:\n return None, None\n for prefix in prefixes:\n if filename.lower().startswith(prefix):\n return key_eq, filename\n return None, None\n\n @staticmethod\n def complete_files(word: str) -> List[str]:\n if os.path.isdir(word):\n dirname = word\n files = os.listdir(word)\n file_prefix = \"\"\n else:\n dirname = os.path.dirname(word)\n if os.path.isdir(dirname):\n files = os.listdir(dirname)\n else:\n files = []\n file_prefix = os.path.basename(word)\n ret = []\n for file in files:\n if file.startswith(file_prefix):\n ret.append(os.path.join(dirname, file))\n return ret", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_matches_CompletionPlugin._get_matches.return.matches": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._get_matches_CompletionPlugin._get_matches.return.matches", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 99, "end_line": 158, "span_ids": ["CompletionPlugin._get_matches"], "tokens": 459}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CompletionPlugin(Plugin):\n\n @staticmethod\n def _get_matches(config: Container, word: str) -> List[str]:\n def str_rep(in_key: Any, in_value: Any) -> str:\n if OmegaConf.is_config(in_value):\n return f\"{in_key}.\"\n else:\n return f\"{in_key}=\"\n\n if config is None:\n return []\n elif OmegaConf.is_config(config):\n matches = []\n if word.endswith(\".\") or word.endswith(\"=\"):\n exact_key = word[0:-1]\n try:\n conf_node = OmegaConf.select(\n config, exact_key, throw_on_missing=True\n )\n except MissingMandatoryValue:\n conf_node = \"\"\n if conf_node is not None:\n if OmegaConf.is_config(conf_node):\n key_matches = CompletionPlugin._get_matches(conf_node, \"\")\n else:\n # primitive\n if isinstance(conf_node, bool):\n conf_node = str(conf_node).lower()\n key_matches = [conf_node]\n else:\n key_matches = []\n\n matches.extend([f\"{word}{match}\" for match in key_matches])\n else:\n last_dot = word.rfind(\".\")\n if last_dot != -1:\n base_key = word[0:last_dot]\n partial_key = word[last_dot + 1 :]\n conf_node = OmegaConf.select(config, base_key)\n key_matches = CompletionPlugin._get_matches(conf_node, partial_key)\n matches.extend([f\"{base_key}.{match}\" for match in key_matches])\n else:\n if isinstance(config, DictConfig):\n for key, value in config.items_ex(resolve=False):\n str_key = str(key)\n if str_key.startswith(word):\n matches.append(str_rep(key, value))\n elif OmegaConf.is_list(config):\n assert isinstance(config, ListConfig)\n for idx in range(len(config)):\n try:\n value = config[idx]\n if str(idx).startswith(word):\n matches.append(str_rep(idx, value))\n except MissingMandatoryValue:\n matches.append(str_rep(idx, \"\"))\n\n else:\n assert False, f\"Object is not an instance of config : {type(config)}\"\n\n return matches", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_config_groups_CompletionPlugin._query_config_groups.return.matched_groups_exact_mat": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_config_groups_CompletionPlugin._query_config_groups.return.matched_groups_exact_mat", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 160, "end_line": 207, "span_ids": ["CompletionPlugin._query_config_groups"], "tokens": 428}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CompletionPlugin(Plugin):\n\n def _query_config_groups(self, word: str) -> Tuple[List[str], bool]:\n is_addition = word.startswith(\"+\")\n is_deletion = word.startswith(\"~\")\n if is_addition or is_deletion:\n prefix, word = word[0], word[1:]\n else:\n prefix = \"\"\n last_eq_index = word.rfind(\"=\")\n last_slash_index = word.rfind(\"/\")\n exact_match: bool = False\n if last_eq_index != -1:\n parent_group = word[0:last_eq_index]\n results_filter = ObjectType.CONFIG\n else:\n results_filter = ObjectType.GROUP\n if last_slash_index == -1:\n parent_group = \"\"\n else:\n parent_group = word[0:last_slash_index]\n\n all_matched_groups = self.config_loader.get_group_options(\n group_name=parent_group, results_filter=results_filter\n )\n matched_groups: List[str] = []\n if results_filter == ObjectType.CONFIG:\n for match in all_matched_groups:\n name = f\"{parent_group}={match}\" if parent_group != \"\" else match\n if name.startswith(word):\n matched_groups.append(name)\n exact_match = True\n elif results_filter == ObjectType.GROUP:\n for match in all_matched_groups:\n name = f\"{parent_group}/{match}\" if parent_group != \"\" else match\n if name.startswith(word):\n files = self.config_loader.get_group_options(\n group_name=name, results_filter=ObjectType.CONFIG\n )\n dirs = self.config_loader.get_group_options(\n group_name=name, results_filter=ObjectType.GROUP\n )\n if len(dirs) == 0 and len(files) > 0 and not is_deletion:\n name = name + \"=\"\n elif len(dirs) > 0 and len(files) == 0:\n name = name + \"/\"\n matched_groups.append(name)\n\n matched_groups = [f\"{prefix}{group}\" for group in matched_groups]\n return matched_groups, exact_match", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_CompletionPlugin._query.return.sorted_result_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin._query_CompletionPlugin._query.return.sorted_result_", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 202, "end_line": 241, "span_ids": ["CompletionPlugin._query"], "tokens": 338}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CompletionPlugin(Plugin):\n\n def _query(self, config_name: Optional[str], line: str) -> List[str]:\n from .._internal.utils import get_args\n\n new_word = len(line) == 0 or line[-1] == \" \"\n parsed_args = get_args(line.split())\n words = parsed_args.overrides\n if new_word or len(words) == 0:\n word = \"\"\n else:\n word = words[-1]\n words = words[0:-1]\n\n fname_prefix, filename = CompletionPlugin._get_filename(word)\n if filename is not None:\n assert fname_prefix is not None\n result = CompletionPlugin.complete_files(filename)\n result = [fname_prefix + file for file in result]\n else:\n matched_groups, exact_match = self._query_config_groups(word)\n config_matches: List[str] = []\n if not exact_match:\n\n run_mode = RunMode.MULTIRUN if parsed_args.multirun else RunMode.RUN\n config_matches = []\n try:\n config = self.config_loader.load_configuration(\n config_name=config_name, overrides=words, run_mode=run_mode\n )\n config_matches = CompletionPlugin._get_matches(config, word)\n except ConfigCompositionException:\n # if config fails to load for whatever reason, do not provide config matches.\n # possible reasons:\n # - missing entry in defaults list (- group: ???) and not populated in command line\n # - a config file is not found\n # etc.\n pass\n\n result = list(set(matched_groups + config_matches))\n\n return sorted(result)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin.strip_python_or_app_name_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/completion_plugin.py_CompletionPlugin.strip_python_or_app_name_", "embedding": null, "metadata": {"file_path": "hydra/plugins/completion_plugin.py", "file_name": "completion_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 230, "end_line": 273, "span_ids": ["DefaultCompletionPlugin.provides", "DefaultCompletionPlugin.help", "CompletionPlugin.strip_python_or_app_name", "DefaultCompletionPlugin.install", "DefaultCompletionPlugin.query", "DefaultCompletionPlugin", "DefaultCompletionPlugin.uninstall"], "tokens": 317}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CompletionPlugin(Plugin):\n\n @staticmethod\n def strip_python_or_app_name(line: str) -> str:\n \"\"\"\n Take the command line received from shell completion, and strip the app name from it\n which could be at the form of python script.py or some_app.\n it also corrects the key (COMP_INDEX) to reflect the same location in the striped command line.\n :param line: input line, may contain python file.py followed=by_args..\n :return: tuple(args line, key of cursor in args line)\n \"\"\"\n python_args = r\"^\\s*[\\w\\/]*python[3]?\\s*[\\w/\\.]*\\s*(.*)\"\n app_args = r\"^\\s*[\\w_\\-=\\./]+\\s*(.*)\"\n match = re.match(python_args, line)\n if match:\n return match.group(1)\n else:\n match = re.match(app_args, line)\n if match:\n return match.group(1)\n else:\n raise RuntimeError(f\"Error parsing line '{line}'\")\n\n\nclass DefaultCompletionPlugin(CompletionPlugin):\n \"\"\"\n A concrete instance of CompletionPlugin that is used for testing.\n \"\"\"\n\n def install(self) -> None:\n ...\n\n def uninstall(self) -> None:\n ...\n\n @staticmethod\n def provides() -> str:\n ...\n\n def query(self, config_name: Optional[str]) -> None:\n ...\n\n @staticmethod\n def help(command: str) -> str:\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource._list_add_result_ConfigSource._list_add_result.None_1.files_append_file_name_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/config_source.py_ConfigSource._list_add_result_ConfigSource._list_add_result.None_1.files_append_file_name_", "embedding": null, "metadata": {"file_path": "hydra/plugins/config_source.py", "file_name": "config_source.py", "file_type": "text/x-python", "category": "implementation", "start_line": 91, "end_line": 117, "span_ids": ["ConfigSource._list_add_result"], "tokens": 190}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSource(Plugin):\n\n def _list_add_result(\n self,\n files: List[str],\n file_path: str,\n file_name: str,\n results_filter: Optional[ObjectType],\n ) -> None:\n filtered = [\"__pycache__\", \"__init__.py\"]\n is_group = self.is_group(file_path)\n is_config = self.is_config(file_path)\n if (\n is_group\n and (results_filter is None or results_filter == ObjectType.GROUP)\n and file_name not in filtered\n ):\n files.append(file_name)\n if (\n is_config\n and file_name not in filtered\n and (results_filter is None or results_filter == ObjectType.CONFIG)\n ):\n # strip extension\n last_dot = file_name.rfind(\".\")\n if last_dot != -1:\n file_name = file_name[0:last_dot]\n\n files.append(file_name)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/launcher.py_from_abc_import_abstractm_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/launcher.py_from_abc_import_abstractm_", "embedding": null, "metadata": {"file_path": "hydra/plugins/launcher.py", "file_name": "launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 5, "end_line": 40, "span_ids": ["Launcher", "Launcher.launch", "Launcher.setup", "docstring"], "tokens": 178}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from abc import abstractmethod\nfrom typing import Sequence\n\nfrom omegaconf import DictConfig\n\nfrom hydra.core.utils import JobReturn\n\nfrom hydra.types import TaskFunction, HydraContext\n\nfrom .plugin import Plugin\n\n\nclass Launcher(Plugin):\n @abstractmethod\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n \"\"\"\n Sets this launcher instance up.\n \"\"\"\n raise NotImplementedError()\n\n @abstractmethod\n def launch(\n self, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n ) -> Sequence[JobReturn]:\n \"\"\"\n :param job_overrides: a batch of job arguments\n :param initial_job_idx: Initial job idx. used by sweepers that executes several batches\n \"\"\"\n raise NotImplementedError()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/plugin.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/plugin.py__", "embedding": null, "metadata": {"file_path": "hydra/plugins/plugin.py", "file_name": "plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 7, "span_ids": ["Plugin", "docstring"], "tokens": 29}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom abc import ABC\n\n\nclass Plugin(ABC):\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/search_path_plugin.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/search_path_plugin.py__", "embedding": null, "metadata": {"file_path": "hydra/plugins/search_path_plugin.py", "file_name": "search_path_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 13, "span_ids": ["SearchPathPlugin", "SearchPathPlugin.manipulate_search_path", "docstring"], "tokens": 71}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom abc import abstractmethod\n\nfrom hydra.core.config_search_path import ConfigSearchPath\n\nfrom .plugin import Plugin\n\n\nclass SearchPathPlugin(Plugin):\n @abstractmethod\n def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_from_abc_import_abstractm_Sweeper.sweep._": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_from_abc_import_abstractm_Sweeper.sweep._", "embedding": null, "metadata": {"file_path": "hydra/plugins/sweeper.py", "file_name": "sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 5, "end_line": 46, "span_ids": ["Sweeper.sweep", "Sweeper.setup", "Sweeper", "docstring"], "tokens": 245}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from abc import abstractmethod\nfrom typing import Any, List, Sequence, Optional\n\nfrom hydra.types import TaskFunction\nfrom omegaconf import DictConfig\nfrom .launcher import Launcher\n\nfrom .plugin import Plugin\nfrom hydra.types import HydraContext\n\n\nclass Sweeper(Plugin):\n \"\"\"\n An abstract sweeper interface\n Sweeper takes the command line arguments, generates a and launches jobs\n (where each job typically takes a different command line arguments)\n \"\"\"\n\n hydra_context: Optional[HydraContext]\n config: Optional[DictConfig]\n launcher: Optional[Launcher]\n\n @abstractmethod\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n raise NotImplementedError()\n\n @abstractmethod\n def sweep(self, arguments: List[str]) -> Any:\n \"\"\"\n Execute a sweep\n :param arguments: list of strings describing what this sweeper should do.\n exact structure is determine by the concrete Sweeper class.\n :return: the return objects of all thy launched jobs. structure depends on the Sweeper\n implementation.\n \"\"\"\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_Sweeper.validate_batch_is_legal_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/plugins/sweeper.py_Sweeper.validate_batch_is_legal_", "embedding": null, "metadata": {"file_path": "hydra/plugins/sweeper.py", "file_name": "sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 48, "end_line": 66, "span_ids": ["Sweeper.validate_batch_is_legal"], "tokens": 168}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class Sweeper(Plugin):\n\n def validate_batch_is_legal(self, batch: Sequence[Sequence[str]]) -> None:\n \"\"\"\n Ensures that the given batch can be composed.\n This repeat work the launcher will do, but as the launcher may be performing this in a different\n process/machine it's important to do it here as well to detect failures early.\n \"\"\"\n config_loader = (\n self.hydra_context.config_loader\n if hasattr(self, \"hydra_context\") and self.hydra_context is not None\n else self.config_loader # type: ignore\n )\n assert config_loader is not None\n\n assert self.config is not None\n for overrides in batch:\n config_loader.load_sweep_config(\n master_config=self.config, sweep_overrides=list(overrides)\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/a_module.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/a_module.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/a_module.py", "file_name": "a_module.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["experiment", "impl", "docstring"], "tokens": 56}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main()\ndef experiment(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n experiment()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/completion.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/completion.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/completion.py", "file_name": "completion.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 16, "span_ids": ["run_cli", "impl", "docstring"], "tokens": 87}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(\n version_base=None, config_path=\"configs/completion_test\", config_name=\"config\"\n)\ndef run_cli(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n run_cli()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_is_config_ConfigSourceTestSuite.test_is_config.assert_ret_expected": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_is_config_ConfigSourceTestSuite.test_is_config.assert_ret_expected", "embedding": null, "metadata": {"file_path": "hydra/test_utils/config_source_common_tests.py", "file_name": "config_source_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 58, "end_line": 79, "span_ids": ["ConfigSourceTestSuite.test_is_config"], "tokens": 186}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSourceTestSuite:\n\n @mark.parametrize(\n \"config_path, expected\",\n [\n (\"\", False),\n (\"optimizer\", False),\n (\"dataset/imagenet\", True),\n (\"dataset/imagenet.yaml\", True),\n (\"dataset/imagenet.foobar\", False),\n (\"configs_with_defaults_list/global_package\", True),\n (\"configs_with_defaults_list/group_package\", True),\n (\"level1\", False),\n (\"level1/level2\", False),\n (\"level1/level2/nested1\", True),\n (\"not_found\", False),\n ],\n )\n def test_is_config(\n self, type_: Type[ConfigSource], path: str, config_path: str, expected: bool\n ) -> None:\n src = type_(provider=\"foo\", path=path)\n ret = src.is_config(config_path=config_path)\n assert ret == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_list_ConfigSourceTestSuite.test_list.assert_ret_sorted_ret_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_list_ConfigSourceTestSuite.test_list.assert_ret_sorted_ret_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/config_source_common_tests.py", "file_name": "config_source_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 99, "end_line": 135, "span_ids": ["ConfigSourceTestSuite.test_list"], "tokens": 362}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSourceTestSuite:\n\n @mark.parametrize(\n \"config_path,results_filter,expected\",\n [\n # groups\n (\"\", ObjectType.GROUP, [\"dataset\", \"level1\", \"optimizer\"]),\n (\"dataset\", ObjectType.GROUP, []),\n (\"optimizer\", ObjectType.GROUP, []),\n (\"level1\", ObjectType.GROUP, [\"level2\"]),\n (\"level1/level2\", ObjectType.GROUP, []),\n # Configs\n (\"\", ObjectType.CONFIG, [\"config_without_group\"]),\n (\"dataset\", ObjectType.CONFIG, [\"cifar10\", \"imagenet\"]),\n (\"optimizer\", ObjectType.CONFIG, [\"adam\", \"nesterov\"]),\n (\"level1\", ObjectType.CONFIG, []),\n (\"level1/level2\", ObjectType.CONFIG, [\"nested1\", \"nested2\"]),\n # both\n (\"\", None, [\"config_without_group\", \"dataset\", \"level1\", \"optimizer\"]),\n (\"dataset\", None, [\"cifar10\", \"imagenet\"]),\n (\"optimizer\", None, [\"adam\", \"nesterov\"]),\n (\"level1\", None, [\"level2\"]),\n (\"level1/level2\", None, [\"nested1\", \"nested2\"]),\n (\"\", None, [\"config_without_group\", \"dataset\", \"level1\", \"optimizer\"]),\n ],\n )\n def test_list(\n self,\n type_: Type[ConfigSource],\n path: str,\n config_path: str,\n results_filter: Optional[ObjectType],\n expected: List[str],\n ) -> None:\n src = type_(provider=\"foo\", path=path)\n ret = src.list(config_path=config_path, results_filter=results_filter)\n for x in expected:\n assert x in ret\n assert ret == sorted(ret)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_package_behavior_ConfigSourceTestSuite.test_package_behavior.assert_cfg_config_expe": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_package_behavior_ConfigSourceTestSuite.test_package_behavior.assert_cfg_config_expe", "embedding": null, "metadata": {"file_path": "hydra/test_utils/config_source_common_tests.py", "file_name": "config_source_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 268, "end_line": 295, "span_ids": ["ConfigSourceTestSuite.test_package_behavior"], "tokens": 251}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSourceTestSuite:\n\n @mark.parametrize(\n \"config_path, expected_result, expected_package\",\n [\n param(\"package_test/none\", {\"foo\": \"bar\"}, None, id=\"none\"),\n param(\"package_test/explicit\", {\"foo\": \"bar\"}, \"a.b\", id=\"explicit\"),\n param(\"package_test/global\", {\"foo\": \"bar\"}, \"_global_\", id=\"global\"),\n param(\"package_test/group\", {\"foo\": \"bar\"}, \"_group_\", id=\"group\"),\n param(\n \"package_test/group_name\",\n {\"foo\": \"bar\"},\n \"foo._group_._name_\",\n id=\"group_name\",\n ),\n param(\"package_test/name\", {\"foo\": \"bar\"}, \"_name_\", id=\"name\"),\n ],\n )\n def test_package_behavior(\n self,\n type_: Type[ConfigSource],\n path: str,\n config_path: str,\n expected_result: Any,\n expected_package: str,\n ) -> None:\n src = type_(provider=\"foo\", path=path)\n cfg = src.load_config(config_path=config_path)\n assert cfg.header[\"package\"] == expected_package\n assert cfg.config == expected_result", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_default_package_for_primary_config_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/config_source_common_tests.py_ConfigSourceTestSuite.test_default_package_for_primary_config_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/config_source_common_tests.py", "file_name": "config_source_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 297, "end_line": 310, "span_ids": ["ConfigSourceTestSuite.test_default_package_for_primary_config", "ConfigSourceTestSuite.test_primary_config_with_non_global_package"], "tokens": 136}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class ConfigSourceTestSuite:\n\n def test_default_package_for_primary_config(\n self, type_: Type[ConfigSource], path: str\n ) -> None:\n src = type_(provider=\"foo\", path=path)\n cfg = src.load_config(config_path=\"primary_config\")\n assert cfg.header[\"package\"] == None\n\n def test_primary_config_with_non_global_package(\n self, type_: Type[ConfigSource], path: str\n ) -> None:\n src = type_(provider=\"foo\", path=path)\n cfg = src.load_config(config_path=\"primary_config_with_non_global_package\")\n assert cfg.header[\"package\"] == \"foo\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/configs/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/package_tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/configs/package_tests/__init__.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/configs/package_tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/example_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/example_app.py__", "embedding": null, "metadata": {"file_path": "hydra/test_utils/example_app.py", "file_name": "example_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["run_cli", "impl", "docstring"], "tokens": 82}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"configs\", config_name=\"db_conf\")\ndef run_cli(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n run_cli()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_copy_LauncherTestSuite.test_sweep_2_jobs.sweep_2_jobs_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_copy_LauncherTestSuite.test_sweep_2_jobs.sweep_2_jobs_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 5, "end_line": 57, "span_ids": ["LauncherTestSuite.test_sweep_2_jobs", "LauncherTestSuite.get_task_function", "LauncherTestSuite", "docstring", "LauncherTestSuite.test_sweep_1_job"], "tokens": 318}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nimport os\nimport re\nfrom pathlib import Path\nfrom typing import Any, Callable, List, Optional, Set\n\nfrom omegaconf import DictConfig, OmegaConf\nfrom pytest import mark, param, raises\n\nfrom hydra import TaskFunction\nfrom hydra.errors import HydraException\nfrom hydra.test_utils.test_utils import (\n TSweepRunner,\n integration_test,\n verify_dir_outputs,\n)\n\n\n@mark.usefixtures(\"hydra_restore_singletons\")\nclass LauncherTestSuite:\n def get_task_function(self) -> Optional[Callable[[Any], Any]]:\n def task_func(_: DictConfig) -> Any:\n return 100\n\n return task_func\n\n def test_sweep_1_job(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n sweep_1_job(\n hydra_sweep_runner,\n overrides=[\"hydra/launcher=\" + launcher_name] + overrides,\n task_function=self.get_task_function(),\n temp_dir=tmpdir,\n )\n\n def test_sweep_2_jobs(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n sweep_2_jobs(\n hydra_sweep_runner,\n overrides=[\"hydra/launcher=\" + launcher_name] + overrides,\n task_function=self.get_task_function(),\n temp_dir=tmpdir,\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_1_job_strict_LauncherTestSuite.test_sweep_2_optimizers.sweep_two_config_groups_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_1_job_strict_LauncherTestSuite.test_sweep_2_optimizers.sweep_two_config_groups_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 88, "end_line": 131, "span_ids": ["LauncherTestSuite.test_sweep_2_optimizers", "LauncherTestSuite.test_sweep_1_job_strict_and_bad_key", "LauncherTestSuite.test_sweep_1_job_strict"], "tokens": 342}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass LauncherTestSuite:\n\n def test_sweep_1_job_strict(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n sweep_1_job(\n hydra_sweep_runner,\n overrides=[\"hydra/launcher=\" + launcher_name] + overrides,\n task_function=self.get_task_function(),\n temp_dir=tmpdir,\n )\n\n def test_sweep_1_job_strict_and_bad_key(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n # Ideally this would be KeyError, This can't be more specific because some launcher plugins\n # like submitit raises a different exception on job failure and not the underlying exception.\n with raises(Exception):\n sweep_1_job(\n hydra_sweep_runner,\n overrides=[\"hydra/launcher=\" + launcher_name, \"boo=bar\"] + overrides,\n task_function=self.get_task_function(),\n temp_dir=tmpdir,\n )\n\n def test_sweep_2_optimizers(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n sweep_two_config_groups(\n hydra_sweep_runner,\n overrides=[\"hydra/launcher=\" + launcher_name] + overrides,\n task_function=self.get_task_function(),\n temp_dir=tmpdir,\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default_LauncherTestSuite.test_sweep_over_unspecified_mandatory_default.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 133, "end_line": 159, "span_ids": ["LauncherTestSuite.test_sweep_over_unspecified_mandatory_default"], "tokens": 276}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass LauncherTestSuite:\n\n def test_sweep_over_unspecified_mandatory_default(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n base_overrides = [\"hydra/launcher=\" + launcher_name, \"group1=file1,file2\"]\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=self.get_task_function(),\n config_path=\"configs\",\n config_name=\"unspecified_mandatory_default\",\n overrides=base_overrides + overrides,\n temp_dir=tmpdir,\n )\n expected_overrides = [[\"group1=file1\"], [\"group1=file2\"]]\n expected_conf = [OmegaConf.create({\"foo\": 10}), OmegaConf.create({\"foo\": 20})]\n with sweep:\n assert sweep.returns is not None\n assert len(sweep.returns[0]) == 2\n for i in range(2):\n job_ret = sweep.returns[0][i]\n assert job_ret.overrides == expected_overrides[i]\n assert job_ret.cfg == expected_conf[i]\n verify_dir_outputs(job_ret, job_ret.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_and_override_LauncherTestSuite.test_sweep_and_override.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_LauncherTestSuite.test_sweep_and_override_LauncherTestSuite.test_sweep_and_override.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 161, "end_line": 209, "span_ids": ["LauncherTestSuite.test_sweep_and_override"], "tokens": 412}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass LauncherTestSuite:\n\n def test_sweep_and_override(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n \"\"\"\n Tests that we can override things in the configs merged in only during the sweep config construction\n db.user=someone does not exist db_conf.yaml, and is only appear when we merge in db=mysql or db=postgresql.\n This presents a tricky situation when operating in strict mode, this tests verifies it's handled correctly.\n \"\"\"\n base_overrides = [\n \"hydra/launcher=\" + launcher_name,\n \"db=mysql,postgresql\",\n \"db.user=someone\",\n ]\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=None,\n config_path=\"configs\",\n config_name=\"db_conf.yaml\",\n overrides=base_overrides + overrides,\n temp_dir=tmpdir,\n )\n expected_overrides = [\n [\"db=mysql\", \"db.user=someone\"],\n [\"db=postgresql\", \"db.user=someone\"],\n ]\n expected_conf = [\n {\"db\": {\"driver\": \"mysql\", \"password\": \"secret\", \"user\": \"someone\"}},\n {\n \"db\": {\n \"user\": \"someone\",\n \"driver\": \"postgresql\",\n \"password\": \"drowssap\",\n \"timeout\": 10,\n }\n },\n ]\n with sweep:\n assert sweep.returns is not None\n assert len(sweep.returns[0]) == 2\n for i in range(2):\n job_ret = sweep.returns[0][i]\n assert job_ret.overrides == expected_overrides[i]\n assert job_ret.cfg == expected_conf[i]\n verify_dir_outputs(job_ret, job_ret.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_BatchedSweeperTestSuite_BatchedSweeperTestSuite.test_sweep_2_jobs_2_batches._and_a_total_of_6_unique": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_BatchedSweeperTestSuite_BatchedSweeperTestSuite.test_sweep_2_jobs_2_batches._and_a_total_of_6_unique", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 245, "end_line": 307, "span_ids": ["BatchedSweeperTestSuite.test_sweep_2_jobs_2_batches", "BatchedSweeperTestSuite"], "tokens": 589}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass BatchedSweeperTestSuite:\n def test_sweep_2_jobs_2_batches(\n self,\n hydra_sweep_runner: TSweepRunner,\n launcher_name: str,\n overrides: List[str],\n tmpdir: Path,\n ) -> None:\n job_overrides = [\"group1=file1,file2\", \"bar=100,200,300\"]\n hydra_overrides = [\"hydra/launcher=\" + launcher_name]\n overrides.extend(job_overrides)\n overrides.extend(hydra_overrides)\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=None,\n config_path=\"configs\",\n config_name=\"compose.yaml\",\n overrides=overrides,\n temp_dir=tmpdir,\n )\n expected_overrides = [\n [\"group1=file1\", \"bar=100\"],\n [\"group1=file1\", \"bar=200\"],\n [\"group1=file1\", \"bar=300\"],\n [\"group1=file2\", \"bar=100\"],\n [\"group1=file2\", \"bar=200\"],\n [\"group1=file2\", \"bar=300\"],\n ]\n\n expected_conf = [\n {\"foo\": 10, \"bar\": 100},\n {\"foo\": 10, \"bar\": 200},\n {\"foo\": 10, \"bar\": 300},\n {\"foo\": 20, \"bar\": 100},\n {\"foo\": 20, \"bar\": 200},\n {\"foo\": 20, \"bar\": 300},\n ]\n\n dirs: Set[str] = set()\n with sweep:\n temp_dir = sweep.temp_dir\n assert temp_dir is not None\n multirun_cfg_path = Path(temp_dir) / \"multirun.yaml\"\n assert multirun_cfg_path.exists()\n multirun_cfg = OmegaConf.load(multirun_cfg_path)\n assert multirun_cfg.hydra.overrides.task == job_overrides\n\n assert sweep.returns is not None\n # expecting 3 batches of 2\n assert len(sweep.returns) == 3\n for batch in sweep.returns:\n assert len(batch) == 2\n\n flat = [rt for batch in sweep.returns for rt in batch]\n assert len(flat) == 6 # with a total of 6 jobs\n for idx, job_ret in enumerate(flat):\n assert job_ret.overrides == expected_overrides[idx]\n assert job_ret.cfg == expected_conf[idx]\n dirs.add(job_ret.working_dir)\n verify_dir_outputs(job_ret, job_ret.overrides)\n assert len(dirs) == 6 # and a total of 6 unique output directories", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_1_job_sweep_1_job.with_sweep_.verify_dir_outputs_sweep_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_1_job_sweep_1_job.with_sweep_.verify_dir_outputs_sweep_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 310, "end_line": 340, "span_ids": ["sweep_1_job"], "tokens": 268}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def sweep_1_job(\n hydra_sweep_runner: TSweepRunner,\n overrides: List[str],\n task_function: Optional[TaskFunction],\n temp_dir: Path,\n) -> None:\n \"\"\"\n Runs a sweep with one job\n \"\"\"\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=task_function,\n config_path=\"configs\",\n config_name=\"compose.yaml\",\n overrides=overrides,\n temp_dir=temp_dir,\n )\n\n with sweep:\n assert sweep.returns is not None\n job_ret = sweep.returns[0]\n assert len(job_ret) == 1\n assert job_ret[0].overrides == []\n assert job_ret[0].cfg == {\"foo\": 10, \"bar\": 100}\n assert job_ret[0].hydra_cfg.hydra.job.name == \"a_module\", (\n \"Unexpected job name: \" + job_ret[0].hydra_cfg.hydra.job.name\n )\n assert job_ret[0].hydra_cfg.hydra.job.id is not None\n assert job_ret[0].hydra_cfg.hydra.job.num is not None\n verify_dir_outputs(sweep.returns[0][0])", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_2_jobs_sweep_2_jobs.with_sweep_.for_i_in_range_2_.assert_path_exists_f_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_2_jobs_sweep_2_jobs.with_sweep_.for_i_in_range_2_.assert_path_exists_f_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 343, "end_line": 392, "span_ids": ["sweep_2_jobs"], "tokens": 442}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def sweep_2_jobs(\n hydra_sweep_runner: TSweepRunner,\n overrides: List[str],\n task_function: Optional[TaskFunction],\n temp_dir: Path,\n) -> None:\n \"\"\"\n Runs a sweep with two jobs\n \"\"\"\n job_overrides = [\"+a=0,1\"]\n overrides.extend(job_overrides)\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=task_function,\n config_path=\"configs\",\n config_name=\"compose\",\n overrides=overrides,\n temp_dir=temp_dir,\n )\n base_cfg = {\"foo\": 10, \"bar\": 100, \"a\": 0}\n\n with sweep:\n assert sweep.temp_dir is not None\n assert sweep.returns is not None\n\n temp_dir = Path(sweep.temp_dir)\n\n multirun_cfg_path = temp_dir / \"multirun.yaml\"\n assert multirun_cfg_path.exists()\n multirun_cfg = OmegaConf.load(multirun_cfg_path)\n assert multirun_cfg.hydra.overrides.task == job_overrides\n\n assert len(sweep.returns[0]) == 2\n for i in range(2):\n job_ret = sweep.returns[0][i]\n expected_conf = OmegaConf.create(base_cfg)\n expected_conf.a = i\n assert job_ret.overrides == [f\"+a={i}\"]\n assert job_ret.cfg == expected_conf\n assert job_ret.hydra_cfg.hydra.job.name == \"a_module\", (\n \"Unexpected job name: \" + job_ret.hydra_cfg.hydra.job.name\n )\n assert job_ret.hydra_cfg.hydra.job.id is not None\n assert job_ret.hydra_cfg.hydra.job.num is not None\n\n verify_dir_outputs(job_ret, job_ret.overrides)\n path = temp_dir / str(i)\n lst = [x for x in temp_dir.iterdir() if x.is_dir()]\n assert path.exists(), f\"'{path}' does not exist, dirs: {lst}\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_two_config_groups_sweep_two_config_groups.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_sweep_two_config_groups_sweep_two_config_groups.with_sweep_.for_i_in_range_2_.verify_dir_outputs_job_re", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 357, "end_line": 389, "span_ids": ["sweep_two_config_groups"], "tokens": 274}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def sweep_two_config_groups(\n hydra_sweep_runner: TSweepRunner,\n overrides: List[str],\n task_function: Optional[TaskFunction],\n temp_dir: Path,\n) -> None:\n \"\"\"\n Make sure that optimizers=adam,nesterov is interpreted correctly\n \"\"\"\n overrides = copy.deepcopy(overrides)\n overrides.extend([\"group1=file1,file2\"])\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n task_function=task_function,\n config_path=\"configs\",\n config_name=\"compose\",\n overrides=overrides,\n temp_dir=temp_dir,\n )\n expected_overrides = [[\"group1=file1\"], [\"group1=file2\"]]\n expected_conf = [\n OmegaConf.create({\"foo\": 10, \"bar\": 100}),\n OmegaConf.create({\"foo\": 20, \"bar\": 100}),\n ]\n with sweep:\n assert sweep.returns is not None\n assert len(sweep.returns[0]) == 2\n for i in range(2):\n job_ret = sweep.returns[0][i]\n assert job_ret.overrides == expected_overrides[i]\n assert job_ret.cfg == expected_conf[i]\n verify_dir_outputs(job_ret, job_ret.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_custom_sweeper_run_workdir_IntegrationTestSuite.test_custom_sweeper_run_workdir.integration_test_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_custom_sweeper_run_workdir_IntegrationTestSuite.test_custom_sweeper_run_workdir.integration_test_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 515, "end_line": 627, "span_ids": ["IntegrationTestSuite.test_custom_sweeper_run_workdir"], "tokens": 748}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass IntegrationTestSuite:\n\n @mark.parametrize(\n \"task_config, overrides, expected_dir\",\n [\n param(\n {\n \"hydra\": {\n \"sweep\": {\n \"dir\": \"task_cfg\",\n \"subdir\": \"task_cfg_${hydra.job.num}\",\n }\n }\n },\n [],\n \"task_cfg/task_cfg_0\",\n id=\"sweep_dir_config_override\",\n ),\n param(\n {},\n [\n \"hydra.sweep.dir=cli_dir\",\n \"hydra.sweep.subdir=cli_dir_${hydra.job.num}\",\n ],\n \"cli_dir/cli_dir_0\",\n id=\"sweep_dir_cli_override\",\n ),\n param(\n {\n \"hydra\": {\n \"sweep\": {\n \"dir\": \"task_cfg\",\n \"subdir\": \"task_cfg_${hydra.job.num}\",\n }\n }\n },\n [\n \"hydra.sweep.dir=cli_dir\",\n \"hydra.sweep.subdir=cli_dir_${hydra.job.num}\",\n ],\n \"cli_dir/cli_dir_0\",\n id=\"sweep_dir_cli_overridding_config\",\n ),\n param(\n {\n \"hydra\": {\n \"sweep\": {\n \"dir\": \"hydra_cfg\",\n \"subdir\": \"${hydra.job.override_dirname}\",\n }\n },\n \"a\": \"hello\",\n \"b\": 20,\n },\n [\"a=1\", \"b=2\"],\n \"hydra_cfg/a=1,b=2\",\n id=\"subdir:override_dirname\",\n ),\n param(\n # Test override_dirname integration\n {\n \"hydra\": {\n \"sweep\": {\n \"dir\": \"hydra_cfg\",\n \"subdir\": \"${hydra.job.override_dirname}\",\n },\n \"job\": {\n \"config\": {\n \"override_dirname\": {\n \"kv_sep\": \"_\",\n \"item_sep\": \"+\",\n \"exclude_keys\": [\"seed\"],\n }\n }\n },\n },\n \"a\": \"hello\",\n \"b\": 20,\n \"seed\": \"???\",\n },\n [\"a=1\", \"b=2\", \"seed=10\"],\n \"hydra_cfg/a_1+b_2\",\n id=\"subdir:custom_override_dirname\",\n ),\n ],\n )\n def test_custom_sweeper_run_workdir(\n self,\n tmpdir: Path,\n task_config: str,\n overrides: List[str],\n expected_dir: str,\n task_launcher_cfg: DictConfig,\n extra_flags: List[str],\n ) -> None:\n overrides = extra_flags + overrides\n task_launcher_cfg = OmegaConf.create(task_launcher_cfg or {})\n task_config = OmegaConf.create(task_config or {}) # type: ignore\n cfg = OmegaConf.merge(task_launcher_cfg, task_config)\n assert isinstance(cfg, DictConfig)\n test_app_dir = self.get_test_app_working_dir()\n expected_outputs = (\n str(self.get_test_scratch_dir(test_app_dir) / expected_dir)\n if test_app_dir\n else str(self.get_test_scratch_dir(tmpdir) / expected_dir)\n )\n\n integration_test(\n tmpdir=self.get_test_scratch_dir(tmpdir),\n task_config=cfg,\n overrides=overrides + [\"hydra.job.chdir=True\"],\n prints=\"os.getcwd()\",\n expected_outputs=expected_outputs,\n generate_custom_cmd=self.generate_custom_cmd(),\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_get_orig_dir_multirun_IntegrationTestSuite.test_get_orig_dir_multirun.integration_test_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_get_orig_dir_multirun_IntegrationTestSuite.test_get_orig_dir_multirun.integration_test_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 629, "end_line": 645, "span_ids": ["IntegrationTestSuite.test_get_orig_dir_multirun"], "tokens": 166}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass IntegrationTestSuite:\n\n def test_get_orig_dir_multirun(\n self, tmpdir: Path, task_launcher_cfg: DictConfig, extra_flags: List[str]\n ) -> None:\n overrides = extra_flags\n task_launcher_cfg = OmegaConf.create(task_launcher_cfg or {})\n task_config = OmegaConf.create()\n cfg = OmegaConf.merge(task_launcher_cfg, task_config)\n assert isinstance(cfg, DictConfig)\n\n integration_test(\n tmpdir=self.get_test_scratch_dir(tmpdir),\n task_config=cfg,\n overrides=overrides,\n prints=\"hydra.utils.get_original_cwd()\",\n expected_outputs=os.path.realpath(str(self.get_test_scratch_dir(tmpdir))),\n generate_custom_cmd=self.generate_custom_cmd(),\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_to_absolute_path_multirun_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/launcher_common_tests.py_IntegrationTestSuite.test_to_absolute_path_multirun_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/launcher_common_tests.py", "file_name": "launcher_common_tests.py", "file_type": "text/x-python", "category": "test", "start_line": 647, "end_line": 684, "span_ids": ["IntegrationTestSuite.test_to_absolute_path_multirun"], "tokens": 350}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\nclass IntegrationTestSuite:\n\n def test_to_absolute_path_multirun(\n self, tmpdir: Path, task_launcher_cfg: DictConfig, extra_flags: List[str]\n ) -> None:\n expected_dir = \"cli_dir/cli_dir_0\"\n overrides = extra_flags + [\n \"hydra.job.chdir=True\",\n \"hydra.sweep.dir=cli_dir\",\n \"hydra.sweep.subdir=cli_dir_${hydra.job.num}\",\n ]\n task_launcher_cfg = OmegaConf.create(task_launcher_cfg or {})\n task_config = OmegaConf.create()\n cfg = OmegaConf.merge(task_launcher_cfg, task_config)\n assert isinstance(cfg, DictConfig)\n path = str(Path(\"/foo/bar\").absolute())\n integration_test(\n tmpdir=self.get_test_scratch_dir(tmpdir),\n task_config=cfg,\n overrides=overrides,\n prints=\"hydra.utils.to_absolute_path('/foo/bar')\",\n expected_outputs=path,\n generate_custom_cmd=self.generate_custom_cmd(),\n )\n test_app_dir = self.get_test_app_working_dir()\n working_dir = test_app_dir if test_app_dir else tmpdir\n\n outputs = [\n os.path.realpath(str(self.get_test_scratch_dir(tmpdir) / \"foo/bar\")),\n str(self.get_test_scratch_dir(working_dir) / expected_dir),\n ]\n integration_test(\n tmpdir=self.get_test_scratch_dir(tmpdir),\n task_config=cfg,\n overrides=overrides,\n prints=[\"hydra.utils.to_absolute_path('foo/bar')\", \"os.getcwd()\"],\n expected_outputs=outputs,\n generate_custom_cmd=self.generate_custom_cmd(),\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_copy_does_not_raise.yield_enter_result": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_copy_does_not_raise.yield_enter_result", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 5, "end_line": 36, "span_ids": ["does_not_raise", "docstring"], "tokens": 199}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import copy\nimport logging\nimport os\nimport re\nimport shutil\nimport string\nimport subprocess\nimport sys\nimport tempfile\nfrom contextlib import contextmanager\nfrom difflib import unified_diff\nfrom pathlib import Path\nfrom subprocess import PIPE, Popen\nfrom typing import Any, Callable, Dict, Iterator, List, Optional, Tuple, Union\n\nfrom omegaconf import Container, DictConfig, OmegaConf\n\nfrom hydra._internal.hydra import Hydra\nfrom hydra._internal.utils import detect_task_name\nfrom hydra.core.global_hydra import GlobalHydra\nfrom hydra.core.utils import JobReturn, validate_config_path\nfrom hydra.types import TaskFunction\n\nif sys.version_info >= (3, 8, 0):\n from typing import Protocol\nelse:\n from typing_extensions import Protocol # type: ignore\n\n\n@contextmanager\ndef does_not_raise(enter_result: Any = None) -> Iterator[Any]:\n yield enter_result", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction_TaskTestFunction.__call__.return.100": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction_TaskTestFunction.__call__.return.100", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 39, "end_line": 60, "span_ids": ["TaskTestFunction.__init__", "TaskTestFunction", "TaskTestFunction.__call__"], "tokens": 158}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class TaskTestFunction:\n \"\"\"\n Context function\n \"\"\"\n\n def __init__(self) -> None:\n self.temp_dir: Optional[str] = None\n self.overrides: Optional[List[str]] = None\n self.calling_file: Optional[str] = None\n self.calling_module: Optional[str] = None\n self.config_path: Optional[str] = None\n self.config_name: Optional[str] = None\n self.hydra: Optional[Hydra] = None\n self.job_ret: Optional[JobReturn] = None\n self.configure_logging: bool = False\n\n def __call__(self, cfg: DictConfig) -> Any:\n \"\"\"\n Actual function being executed by Hydra\n \"\"\"\n\n return 100", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction.__enter___TaskTestFunction.__exit__.shutil_rmtree_self_temp_d": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TaskTestFunction.__enter___TaskTestFunction.__exit__.shutil_rmtree_self_temp_d", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 62, "end_line": 93, "span_ids": ["TaskTestFunction.__enter__", "TaskTestFunction.__exit__"], "tokens": 246}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class TaskTestFunction:\n\n def __enter__(self) -> \"TaskTestFunction\":\n try:\n validate_config_path(self.config_path)\n\n job_name = detect_task_name(self.calling_file, self.calling_module)\n\n self.hydra = Hydra.create_main_hydra_file_or_module(\n calling_file=self.calling_file,\n calling_module=self.calling_module,\n config_path=self.config_path,\n job_name=job_name,\n )\n self.temp_dir = tempfile.mkdtemp()\n overrides = copy.deepcopy(self.overrides)\n assert overrides is not None\n overrides.append(f\"hydra.run.dir={self.temp_dir}\")\n self.job_ret = self.hydra.run(\n config_name=self.config_name,\n task_function=self,\n overrides=overrides,\n with_log_configuration=self.configure_logging,\n )\n return self\n finally:\n GlobalHydra().clear()\n\n def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:\n # release log file handles.\n if self.configure_logging:\n logging.shutdown()\n assert self.temp_dir is not None\n shutil.rmtree(self.temp_dir, ignore_errors=True)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TTaskRunner_SweepTaskFunction.__call__.return.100": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_TTaskRunner_SweepTaskFunction.__call__.return.100", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 96, "end_line": 135, "span_ids": ["SweepTaskFunction.__call__", "TTaskRunner.__call__", "TTaskRunner", "SweepTaskFunction", "SweepTaskFunction.__init__"], "tokens": 277}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class TTaskRunner(Protocol):\n def __call__(\n self,\n calling_file: Optional[str],\n calling_module: Optional[str],\n config_path: Optional[str],\n config_name: Optional[str],\n overrides: Optional[List[str]] = None,\n configure_logging: bool = False,\n ) -> TaskTestFunction:\n ...\n\n\nclass SweepTaskFunction:\n \"\"\"\n Context function\n \"\"\"\n\n def __init__(self) -> None:\n \"\"\"\n if sweep_dir is None, we use a temp dir, else we will create dir with the path from sweep_dir.\n \"\"\"\n self.temp_dir: Optional[str] = None\n self.overrides: Optional[List[str]] = None\n self.calling_file: Optional[str] = None\n self.calling_module: Optional[str] = None\n self.task_function: Optional[TaskFunction] = None\n self.config_path: Optional[str] = None\n self.config_name: Optional[str] = None\n self.sweeps = None\n self.returns = None\n self.configure_logging: bool = False\n\n def __call__(self, cfg: DictConfig) -> Any:\n \"\"\"\n Actual function being executed by Hydra\n \"\"\"\n if self.task_function is not None:\n return self.task_function(cfg)\n return 100", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_SweepTaskFunction.__enter___SweepTaskFunction.__exit__.shutil_rmtree_self_temp_d": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_SweepTaskFunction.__enter___SweepTaskFunction.__exit__.shutil_rmtree_self_temp_d", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 137, "end_line": 172, "span_ids": ["SweepTaskFunction.__exit__", "SweepTaskFunction.__enter__"], "tokens": 267}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class SweepTaskFunction:\n\n def __enter__(self) -> \"SweepTaskFunction\":\n overrides = copy.deepcopy(self.overrides)\n assert overrides is not None\n if self.temp_dir:\n Path(self.temp_dir).mkdir(parents=True, exist_ok=True)\n else:\n self.temp_dir = tempfile.mkdtemp()\n overrides.append(f\"hydra.sweep.dir={self.temp_dir}\")\n\n try:\n validate_config_path(self.config_path)\n job_name = detect_task_name(self.calling_file, self.calling_module)\n\n hydra_ = Hydra.create_main_hydra_file_or_module(\n calling_file=self.calling_file,\n calling_module=self.calling_module,\n config_path=self.config_path,\n job_name=job_name,\n )\n\n self.returns = hydra_.multirun(\n config_name=self.config_name,\n task_function=self,\n overrides=overrides,\n with_log_configuration=self.configure_logging,\n )\n finally:\n GlobalHydra().clear()\n\n return self\n\n def __exit__(self, exc_type: Any, exc_val: Any, exc_tb: Any) -> None:\n if self.configure_logging:\n logging.shutdown()\n assert self.temp_dir is not None\n shutil.rmtree(self.temp_dir, ignore_errors=True)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_verify_dir_outputs__get_statements.return.code": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_verify_dir_outputs__get_statements.return.code", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 218, "end_line": 252, "span_ids": ["verify_dir_outputs", "_get_statements"], "tokens": 281}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def verify_dir_outputs(\n job_return: JobReturn, overrides: Optional[List[str]] = None\n) -> None:\n \"\"\"\n Verify that directory output makes sense\n \"\"\"\n assert isinstance(job_return, JobReturn)\n assert job_return.working_dir is not None\n assert job_return.task_name is not None\n assert job_return.hydra_cfg is not None\n\n assert os.path.exists(\n os.path.join(job_return.working_dir, job_return.task_name + \".log\")\n )\n hydra_dir = os.path.join(\n job_return.working_dir, job_return.hydra_cfg.hydra.output_subdir\n )\n assert os.path.exists(os.path.join(hydra_dir, \"config.yaml\"))\n assert os.path.exists(os.path.join(hydra_dir, \"overrides.yaml\"))\n assert OmegaConf.load(\n os.path.join(hydra_dir, \"overrides.yaml\")\n ) == OmegaConf.create(overrides or [])\n\n\ndef _get_statements(indent: str, statements: Union[None, str, List[str]]) -> str:\n if isinstance(statements, str):\n statements = [statements]\n\n code = \"\"\n if statements is None or len(statements) == 0:\n code = \"pass\"\n else:\n for p in statements:\n code += f\"{indent}{p}\\n\"\n return code", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_integration_test_integration_test.try_.finally_.os_chdir_orig_dir_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/test_utils/test_utils.py_integration_test_integration_test.try_.finally_.os_chdir_orig_dir_", "embedding": null, "metadata": {"file_path": "hydra/test_utils/test_utils.py", "file_name": "test_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 265, "end_line": 349, "span_ids": ["integration_test"], "tokens": 663}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def integration_test(\n tmpdir: Path,\n task_config: Any,\n overrides: List[str],\n prints: Union[str, List[str]],\n expected_outputs: Union[str, List[str]],\n prolog: Union[None, str, List[str]] = None,\n filename: str = \"task.py\",\n env_override: Optional[Dict[str, str]] = None,\n clean_environment: bool = False,\n generate_custom_cmd: Callable[..., List[str]] = lambda cmd, *args, **kwargs: cmd,\n) -> str:\n Path(tmpdir).mkdir(parents=True, exist_ok=True)\n if isinstance(expected_outputs, str):\n expected_outputs = [expected_outputs]\n if not isinstance(task_config, Container):\n task_config = OmegaConf.create(task_config)\n if isinstance(prints, str):\n prints = [prints]\n prints = [f'f.write({p} + \"\\\\n\")' for p in prints]\n\n s = string.Template(\n \"\"\"import hydra\nimport os\nfrom hydra.core.hydra_config import HydraConfig\n\n$PROLOG\n\n@hydra.main(version_base=None, config_path='.', config_name='config')\ndef experiment(cfg):\n with open(\"$OUTPUT_FILE\", \"w\") as f:\n$PRINTS\n\nif __name__ == \"__main__\":\n experiment()\n\"\"\"\n )\n\n print_code = _get_statements(indent=\" \", statements=prints)\n prolog_code = _get_statements(indent=\"\", statements=prolog)\n\n if task_config is not None:\n cfg_file = tmpdir / \"config.yaml\"\n with open(str(cfg_file), \"w\") as f:\n f.write(\"# @package _global_\\n\")\n OmegaConf.save(task_config, f)\n output_file = str(tmpdir / \"output.txt\")\n # replace Windows path separator \\ with an escaped version \\\\\n output_file = output_file.replace(\"\\\\\", \"\\\\\\\\\")\n code = s.substitute(\n PRINTS=print_code,\n OUTPUT_FILE=output_file,\n PROLOG=prolog_code,\n )\n task_file = tmpdir / filename\n task_file.write_text(str(code), encoding=\"utf-8\")\n\n cmd = [sys.executable, str(task_file)]\n orig_dir = os.getcwd()\n try:\n os.chdir(str(tmpdir))\n cmd = generate_custom_cmd(cmd, filename)\n cmd.extend(overrides)\n if clean_environment:\n modified_env = {}\n else:\n modified_env = os.environ.copy()\n if env_override is not None:\n modified_env.update(env_override)\n subprocess.check_call(cmd, env=modified_env)\n\n with open(output_file, \"r\") as f:\n file_str = f.read()\n output = str.splitlines(file_str)\n\n if expected_outputs is not None:\n assert len(output) == len(\n expected_outputs\n ), f\"Unexpected number of output lines from {task_file}, output lines:\\n\\n{file_str}\"\n for idx in range(len(output)):\n assert_regex_match(expected_outputs[idx], output[idx])\n # some tests are parsing the file output for more specialized testing.\n return file_str\n finally:\n os.chdir(orig_dir)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/utils.py_to_absolute_path_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/utils.py_to_absolute_path_", "embedding": null, "metadata": {"file_path": "hydra/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 107, "end_line": 125, "span_ids": ["to_absolute_path"], "tokens": 128}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def to_absolute_path(path: str) -> str:\n \"\"\"\n converts the specified path to be absolute path.\n if the input path is relative, it's interpreted as relative to the original working directory\n if it's absolute, it's returned as is\n :param path: path to convert\n :return:\n \"\"\"\n p = Path(path)\n if not HydraConfig.initialized():\n base = Path(os.getcwd())\n else:\n base = Path(get_original_cwd())\n if p.is_absolute():\n ret = p\n else:\n ret = base / p\n return str(ret)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_get_plugin_os_names_get_plugin_os_names.if_len_oses_1_and_ose.else_.return._p_split_1_strip_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_get_plugin_os_names_get_plugin_os_names.if_len_oses_1_and_ose.else_.return._p_split_1_strip_", "embedding": null, "metadata": {"file_path": "noxfile.py", "file_name": "noxfile.py", "file_type": "text/x-python", "category": "implementation", "start_line": 114, "end_line": 123, "span_ids": ["get_plugin_os_names"], "tokens": 121}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def get_plugin_os_names(classifiers: List[str]) -> List[str]:\n oses = list(filter(lambda line: \"Operating System\" in line, classifiers))\n if len(oses) == 0:\n # No Os is specified so all oses are supported\n return DEFAULT_OS_NAMES\n if len(oses) == 1 and oses[0] == \"Operating System :: OS Independent\":\n # All oses are supported\n return DEFAULT_OS_NAMES\n else:\n return [p.split(\"::\")[-1].strip() for p in oses]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/example/banana.py_logging_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/example/banana.py_logging_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/example/banana.py", "file_name": "banana.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 24, "span_ids": ["banana", "impl:3", "docstring"], "tokens": 143}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom typing import Any\n\nimport hydra\nfrom omegaconf import DictConfig\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef banana(cfg: DictConfig) -> Any:\n x = cfg.banana.x\n y = cfg.banana.y\n a = 1\n b = 100\n z = (a - x) ** 2 + b * ((y - x**2) ** 2)\n log.info(f\"Banana_Function(x={x}, y={y})={z}\")\n return z\n\n\nif __name__ == \"__main__\":\n banana()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper_CoreAxSweeper.setup.self.sweep_dir.config_hydra_sweep_dir": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper_CoreAxSweeper.setup.self.sweep_dir.config_hydra_sweep_dir", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 105, "end_line": 142, "span_ids": ["CoreAxSweeper.__init__", "CoreAxSweeper", "CoreAxSweeper.setup"], "tokens": 345}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CoreAxSweeper(Sweeper):\n \"\"\"Class to interface with the Ax Platform\"\"\"\n\n def __init__(self, ax_config: AxConfig, max_batch_size: Optional[int]):\n self.config: Optional[DictConfig] = None\n self.launcher: Optional[Launcher] = None\n self.hydra_context: Optional[HydraContext] = None\n\n self.job_results = None\n self.experiment: ExperimentConfig = ax_config.experiment\n self.early_stopper: EarlyStopper = EarlyStopper(\n max_epochs_without_improvement=ax_config.early_stop.max_epochs_without_improvement,\n epsilon=ax_config.early_stop.epsilon,\n minimize=ax_config.early_stop.minimize,\n )\n self.ax_client_config: ClientConfig = ax_config.client\n self.max_trials = ax_config.max_trials\n self.ax_params: DictConfig = OmegaConf.create({})\n if hasattr(ax_config, \"params\"):\n self.ax_params.update(ax_config.params)\n self.sweep_dir: str\n self.job_idx: Optional[int] = None\n self.max_batch_size = max_batch_size\n self.is_noisy: bool = ax_config.is_noisy\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n self.config = config\n self.hydra_context = hydra_context\n self.launcher = Plugins.instance().instantiate_launcher(\n config=config, hydra_context=hydra_context, task_function=task_function\n )\n self.sweep_dir = config.hydra.sweep.dir", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_CoreAxSweeper.sweep.log_info_Best_parameters": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_CoreAxSweeper.sweep.log_info_Best_parameters", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 144, "end_line": 205, "span_ids": ["CoreAxSweeper.sweep"], "tokens": 505}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CoreAxSweeper(Sweeper):\n\n def sweep(self, arguments: List[str]) -> None:\n self.job_idx = 0\n ax_client = self.setup_ax_client(arguments)\n\n num_trials_left = self.max_trials\n max_parallelism = ax_client.get_max_parallelism()\n current_parallelism_index = 0\n # Index to track the parallelism value we are using right now.\n is_search_space_exhausted = False\n # Ax throws an exception if the search space is exhausted. We catch\n # the exception and set the flag to True\n\n best_parameters = {}\n while num_trials_left > 0 and not is_search_space_exhausted:\n current_parallelism = max_parallelism[current_parallelism_index]\n num_trials, max_parallelism_setting = current_parallelism\n num_trials_so_far = 0\n while (\n num_trials > num_trials_so_far or num_trials == -1\n ) and num_trials_left > 0:\n trial_batch = get_one_batch_of_trials(\n ax_client=ax_client,\n parallelism=current_parallelism,\n num_trials_so_far=num_trials_so_far,\n num_max_trials_to_do=num_trials_left,\n )\n\n list_of_trials_to_launch = trial_batch.list_of_trials[:num_trials_left]\n is_search_space_exhausted = trial_batch.is_search_space_exhausted\n\n log.info(\n \"AxSweeper is launching {} jobs\".format(\n len(list_of_trials_to_launch)\n )\n )\n\n self.sweep_over_batches(\n ax_client=ax_client, list_of_trials=list_of_trials_to_launch\n )\n\n num_trials_so_far += len(list_of_trials_to_launch)\n num_trials_left -= len(list_of_trials_to_launch)\n\n best_parameters, predictions = ax_client.get_best_parameters()\n metric = predictions[0][ax_client.objective_name]\n\n if self.early_stopper.should_stop(metric, best_parameters):\n num_trials_left = -1\n break\n\n if is_search_space_exhausted:\n log.info(\"Ax has exhausted the search space\")\n break\n\n current_parallelism_index += 1\n\n results_to_serialize = {\"optimizer\": \"ax\", \"ax\": best_parameters}\n OmegaConf.save(\n OmegaConf.create(results_to_serialize),\n f\"{self.sweep_dir}/optimization_results.yaml\",\n )\n log.info(\"Best parameters: \" + str(best_parameters))", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_over_batches_CoreAxSweeper.sweep_over_batches.for_batch_in_chunked_batc.for_idx_in_range_len_batc.ax_client_complete_trial_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.sweep_over_batches_CoreAxSweeper.sweep_over_batches.for_batch_in_chunked_batc.for_idx_in_range_len_batc.ax_client_complete_trial_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 207, "end_line": 236, "span_ids": ["CoreAxSweeper.sweep_over_batches"], "tokens": 319}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CoreAxSweeper(Sweeper):\n\n def sweep_over_batches(\n self, ax_client: AxClient, list_of_trials: List[Trial]\n ) -> None:\n assert self.launcher is not None\n assert self.job_idx is not None\n\n chunked_batches = self.chunks(list_of_trials, self.max_batch_size)\n for batch in chunked_batches:\n overrides = [x.overrides for x in batch]\n self.validate_batch_is_legal(overrides)\n rets = self.launcher.launch(\n job_overrides=overrides, initial_job_idx=self.job_idx\n )\n self.job_idx += len(rets)\n for idx in range(len(batch)):\n val: Any = rets[idx].return_value\n # Ax expects a measured value (int or float), which can optionally\n # be given in a tuple along with the error of that measurement\n assert isinstance(val, (int, float, tuple))\n # is_noisy specifies how Ax should behave when not given an error value.\n # if true (default), the error of each measurement is inferred by Ax.\n # if false, the error of each measurement is set to 0.\n if isinstance(val, (int, float)):\n if self.is_noisy:\n val = (val, None) # specify unknown noise\n else:\n val = (val, 0) # specify no noise\n ax_client.complete_trial(\n trial_index=batch[idx].trial_index, raw_data=val\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.setup_ax_client_CoreAxSweeper.setup_ax_client.return.ax_client": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.setup_ax_client_CoreAxSweeper.setup_ax_client.return.ax_client", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 238, "end_line": 271, "span_ids": ["CoreAxSweeper.setup_ax_client"], "tokens": 291}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CoreAxSweeper(Sweeper):\n\n def setup_ax_client(self, arguments: List[str]) -> AxClient:\n \"\"\"Method to setup the Ax Client\"\"\"\n parameters: List[Dict[Any, Any]] = []\n for key, value in self.ax_params.items():\n param = OmegaConf.to_container(value, resolve=True)\n assert isinstance(param, Dict)\n if param[\"type\"] == \"range\":\n bounds = param[\"bounds\"]\n if not (all(isinstance(x, int) for x in bounds)):\n # Type mismatch. Promote all to float\n param[\"bounds\"] = [float(x) for x in bounds]\n\n parameters.append(param)\n parameters[-1][\"name\"] = key\n commandline_params = self.parse_commandline_args(arguments)\n for cmd_param in commandline_params:\n for param in parameters:\n if param[\"name\"] == cmd_param[\"name\"]:\n for key, value in cmd_param.items():\n param[key] = value\n break\n else:\n parameters.append(cmd_param)\n\n log.info(\n f\"AxSweeper is optimizing the following parameters: {encoder_parameters_into_string(parameters)}\"\n )\n ax_client = AxClient(\n verbose_logging=self.ax_client_config.verbose_logging,\n random_seed=self.ax_client_config.random_seed,\n )\n ax_client.create_experiment(parameters=parameters, **self.experiment)\n\n return ax_client", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.parse_commandline_args_CoreAxSweeper.chunks.for_i_in_range_0_len_bat.yield_batch_i_i_n_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py_CoreAxSweeper.parse_commandline_args_CoreAxSweeper.chunks.for_i_in_range_0_len_bat.yield_batch_i_i_n_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 273, "end_line": 304, "span_ids": ["CoreAxSweeper.parse_commandline_args", "CoreAxSweeper.chunks"], "tokens": 294}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class CoreAxSweeper(Sweeper):\n\n def parse_commandline_args(\n self, arguments: List[str]\n ) -> List[Dict[str, Union[ax_types.TParamValue, List[ax_types.TParamValue]]]]:\n \"\"\"Method to parse the command line arguments and convert them into Ax parameters\"\"\"\n parser = OverridesParser.create()\n parsed = parser.parse_overrides(arguments)\n parameters: List[Dict[str, Any]] = []\n for override in parsed:\n if override.is_sweep_override():\n if override.is_choice_sweep():\n param = create_choice_param_from_choice_override(override)\n elif override.is_range_sweep():\n param = create_choice_param_from_range_override(override)\n elif override.is_interval_sweep():\n param = create_range_param_using_interval_override(override)\n elif not override.is_hydra_override():\n param = create_fixed_param_from_element_override(override)\n parameters.append(param)\n\n return parameters\n\n @staticmethod\n def chunks(batch: List[Any], n: Optional[int]) -> Iterable[List[Any]]:\n \"\"\"\n Chunk the batch into chunks of upto to n items (each)\n \"\"\"\n if n is None:\n n = len(batch)\n if n < 1:\n raise ValueError(\"n must be an integer greater than 0\")\n for i in range(0, len(batch), n):\n yield batch[i : i + n]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_logging_EarlyStopper.__init__.self.current_epochs_without_improvement.0": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_logging_EarlyStopper.__init__.self.current_epochs_without_improvement.0", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py", "file_name": "_earlystopper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 24, "span_ids": ["EarlyStopper.__init__", "EarlyStopper", "docstring"], "tokens": 166}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom typing import Optional\n\nfrom ax import ParameterType # type: ignore\n\nlog = logging.getLogger(__name__)\n\n\nclass EarlyStopper:\n \"\"\"Class to implement the early stopping mechanism.\n The optimization process is stopped when the performance does not\n improve for a threshold number of consecutive epochs. The performance\n is considered to have improved when the change is more than a given\n threshold (epsilon).\"\"\"\n\n def __init__(\n self, max_epochs_without_improvement: int, epsilon: float, minimize: bool\n ):\n self.max_epochs_without_improvement = max_epochs_without_improvement\n self.epsilon = epsilon\n self.minimize = minimize\n self.current_best_value: Optional[float] = None\n self.current_epochs_without_improvement = 0", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_EarlyStopper.should_stop_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py_EarlyStopper.should_stop_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/_earlystopper.py", "file_name": "_earlystopper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 26, "end_line": 62, "span_ids": ["EarlyStopper.should_stop"], "tokens": 255}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class EarlyStopper:\n\n def should_stop(\n self, potential_best_value: float, best_parameters: ParameterType\n ) -> bool:\n \"\"\"Check if the optimization process should be stopped.\"\"\"\n is_improving = True\n if self.current_best_value is not None:\n if self.minimize:\n is_improving = (\n potential_best_value + self.epsilon < self.current_best_value\n )\n else:\n is_improving = (\n potential_best_value - self.epsilon > self.current_best_value\n )\n\n if is_improving:\n self.current_epochs_without_improvement = 0\n self.current_best_value = potential_best_value\n log.info(\n f\"New best value: {potential_best_value}, best parameters: {best_parameters}\"\n )\n\n return False\n else:\n self.current_epochs_without_improvement += 1\n\n if (\n self.current_epochs_without_improvement\n >= self.max_epochs_without_improvement\n ):\n log.info(\n f\"Early stopping, best known value {self.current_best_value}\"\n f\" did not improve for {self.current_epochs_without_improvement} epochs\"\n )\n return True\n return False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/ax_sweeper.py_from_typing_import_List__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/ax_sweeper.py_from_typing_import_List__", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/ax_sweeper.py", "file_name": "ax_sweeper.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 32, "span_ids": ["AxSweeper.__init__", "AxSweeper.sweep", "docstring", "AxSweeper", "AxSweeper.setup"], "tokens": 197}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import List, Optional\n\nfrom hydra.plugins.sweeper import Sweeper\nfrom hydra.types import HydraContext, TaskFunction\nfrom omegaconf import DictConfig\n\nfrom .config import AxConfig\n\n\nclass AxSweeper(Sweeper):\n \"\"\"Class to interface with the Ax Platform\"\"\"\n\n def __init__(self, ax_config: AxConfig, max_batch_size: Optional[int]):\n from ._core import CoreAxSweeper\n\n self.sweeper = CoreAxSweeper(ax_config, max_batch_size)\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n return self.sweeper.setup(\n hydra_context=hydra_context, task_function=task_function, config=config\n )\n\n def sweep(self, arguments: List[str]) -> None:\n return self.sweeper.sweep(arguments)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_from_dataclasses_import_d_ExperimentConfig.status_quo.None": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_from_dataclasses_import_d_ExperimentConfig.status_quo.None", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 32, "span_ids": ["ExperimentConfig", "EarlyStopConfig", "docstring"], "tokens": 205}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass, field\nfrom typing import Any, Dict, List, Optional\n\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass EarlyStopConfig:\n minimize: bool = True\n\n max_epochs_without_improvement: int = 10\n\n # An improvement larger than epsilon is considered significant\n epsilon: float = 0.00001\n\n\n@dataclass\nclass ExperimentConfig:\n # Experiment name\n name: Optional[str] = None\n\n # Name of metric to optimize or null if you only return one metric\n objective_name: str = \"objective\"\n\n # Defaults to minimize, set to false to maximize\n minimize: bool = True\n\n # For the remaining parameters, refer the Ax documentation: https://ax.dev/api/core.html#experiment\n parameter_constraints: Optional[List[str]] = None\n outcome_constraints: Optional[List[str]] = None\n status_quo: Optional[Dict[str, Any]] = None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_ClientConfig_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py_ClientConfig_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/hydra_plugins/hydra_ax_sweeper/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 35, "end_line": 69, "span_ids": ["impl", "ClientConfig", "AxConfig", "AxSweeperConf"], "tokens": 256}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass ClientConfig:\n\n verbose_logging: bool = False\n\n # set random seed here to make Ax results reproducible\n random_seed: Optional[int] = None\n\n\n@dataclass\nclass AxConfig:\n\n # max_trials is application-specific. Tune it for your use case\n max_trials: int = 10\n early_stop: EarlyStopConfig = EarlyStopConfig()\n experiment: ExperimentConfig = ExperimentConfig()\n client: ClientConfig = ClientConfig()\n params: Dict[str, Any] = field(default_factory=dict)\n # is_noisy = True indicates measurements have unknown uncertainty\n # is_noisy = False indicates measurements have an uncertainty of zero\n is_noisy: bool = True\n\n\n@dataclass\nclass AxSweeperConf:\n _target_: str = \"hydra_plugins.hydra_ax_sweeper.ax_sweeper.AxSweeper\"\n # Maximum number of trials to run in parallel\n max_batch_size: Optional[int] = None\n ax_config: AxConfig = AxConfig()\n\n\nConfigStore.instance().store(\n group=\"hydra/sweeper\", name=\"ax\", node=AxSweeperConf, provider=\"ax_sweeper\"\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/apps/polynomial.py_from_typing_import_Any_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/apps/polynomial.py_from_typing_import_Any_", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/apps/polynomial.py", "file_name": "polynomial.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 22, "span_ids": ["polynomial", "impl", "docstring"], "tokens": 120}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from typing import Any\n\nimport hydra\nfrom omegaconf import DictConfig\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"polynomial\")\ndef polynomial(cfg: DictConfig) -> Any:\n x = cfg.polynomial.x\n y = cfg.polynomial.y\n z = cfg.polynomial.x\n a = 100\n b = 10\n c = 1\n result = a * (x**2) + b * y + c * z\n return result\n\n\nif __name__ == \"__main__\":\n polynomial()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_config_test_jobs_configured_via_config.with_sweep_.None_5": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_config_test_jobs_configured_via_config.with_sweep_.None_5", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py", "file_name": "test_ax_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 90, "end_line": 110, "span_ids": ["test_jobs_configured_via_config"], "tokens": 225}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"test_conf\", [\"basic\", \"logscale\"])\ndef test_jobs_configured_via_config(\n hydra_sweep_runner: TSweepRunner, test_conf: str\n) -> None:\n sweep = hydra_sweep_runner(\n calling_file=\"tests/test_ax_sweeper_plugin.py\",\n calling_module=None,\n task_function=quadratic,\n config_path=\"config\",\n config_name=\"config.yaml\",\n overrides=[\"hydra/launcher=basic\", f\"params={test_conf}\"],\n )\n with sweep:\n assert sweep.returns is None\n returns = OmegaConf.load(f\"{sweep.temp_dir}/optimization_results.yaml\")\n assert isinstance(returns, DictConfig)\n assert returns[\"optimizer\"] == \"ax\"\n assert len(returns) == 2\n best_parameters = returns.ax\n assert math.isclose(best_parameters[\"quadratic.x\"], 0.0, abs_tol=1e-4)\n assert math.isclose(best_parameters[\"quadratic.y\"], -1.0, abs_tol=1e-4)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_test_jobs_configured_via_cmd.with_sweep_.None_5": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_test_jobs_configured_via_cmd.with_sweep_.None_5", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py", "file_name": "test_ax_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 113, "end_line": 144, "span_ids": ["test_jobs_configured_via_cmd"], "tokens": 309}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"test_conf, override, expected_x\",\n [\n (\"basic\", \"int(interval(1, 5))\", 1.0),\n (\"logscale\", \"tag(log, interval(0.00001, 1))\", 0.00001),\n ],\n)\ndef test_jobs_configured_via_cmd(\n hydra_sweep_runner: TSweepRunner, test_conf: str, override: str, expected_x: float\n) -> None:\n sweep = hydra_sweep_runner(\n calling_file=\"tests/test_ax_sweeper_plugin.py\",\n calling_module=None,\n task_function=quadratic,\n config_path=\"config\",\n config_name=\"config.yaml\",\n overrides=[\n \"hydra/launcher=basic\",\n f\"quadratic.x={override}\",\n \"quadratic.y=int(interval(-2, 2))\",\n f\"params={test_conf}\",\n ],\n )\n with sweep:\n assert sweep.returns is None\n returns = OmegaConf.load(f\"{sweep.temp_dir}/optimization_results.yaml\")\n assert isinstance(returns, DictConfig)\n assert returns[\"optimizer\"] == \"ax\"\n assert len(returns) == 2\n best_parameters = returns.ax\n assert math.isclose(best_parameters[\"quadratic.x\"], expected_x, abs_tol=1e-4)\n assert math.isclose(best_parameters[\"quadratic.y\"], -2.0, abs_tol=1e-4)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_and_config_test_jobs_configured_via_cmd_and_config.with_sweep_.None_5": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_jobs_configured_via_cmd_and_config_test_jobs_configured_via_cmd_and_config.with_sweep_.None_5", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py", "file_name": "test_ax_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 135, "end_line": 157, "span_ids": ["test_jobs_configured_via_cmd_and_config"], "tokens": 236}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_jobs_configured_via_cmd_and_config(hydra_sweep_runner: TSweepRunner) -> None:\n sweep = hydra_sweep_runner(\n calling_file=\"tests/test_ax_sweeper_plugin.py\",\n calling_module=None,\n task_function=quadratic,\n config_path=\"config\",\n config_name=\"config.yaml\",\n overrides=[\n \"hydra/launcher=basic\",\n \"hydra.sweeper.ax_config.max_trials=2\",\n \"quadratic.x=int(interval(-5, -2))\",\n \"params=basic\",\n ],\n )\n with sweep:\n assert sweep.returns is None\n returns = OmegaConf.load(f\"{sweep.temp_dir}/optimization_results.yaml\")\n assert isinstance(returns, DictConfig)\n assert returns[\"optimizer\"] == \"ax\"\n assert len(returns) == 2\n best_parameters = returns.ax\n assert math.isclose(best_parameters[\"quadratic.x\"], -2.0, abs_tol=1e-4)\n assert math.isclose(best_parameters[\"quadratic.y\"], 1.0, abs_tol=1e-4)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_configuration_set_via_cmd_and_default_config_test_configuration_set_via_cmd_and_default_config.with_sweep_.assert_quadratic_y_in_b": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_configuration_set_via_cmd_and_default_config_test_configuration_set_via_cmd_and_default_config.with_sweep_.assert_quadratic_y_in_b", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py", "file_name": "test_ax_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 160, "end_line": 184, "span_ids": ["test_configuration_set_via_cmd_and_default_config"], "tokens": 223}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_configuration_set_via_cmd_and_default_config(\n hydra_sweep_runner: TSweepRunner,\n) -> None:\n sweep = hydra_sweep_runner(\n calling_file=\"tests/test_ax_sweeper_plugin.py\",\n calling_module=None,\n task_function=quadratic,\n config_path=\"config\",\n config_name=\"config.yaml\",\n overrides=[\n \"hydra/launcher=basic\",\n \"hydra.sweeper.ax_config.max_trials=2\",\n \"hydra.sweeper.ax_config.early_stop.max_epochs_without_improvement=2\",\n \"quadratic=basic\",\n \"quadratic.x=interval(-5, -2)\",\n \"quadratic.y=interval(-1, 1)\",\n ],\n )\n with sweep:\n assert sweep.returns is None\n returns = OmegaConf.load(f\"{sweep.temp_dir}/optimization_results.yaml\")\n assert isinstance(returns, DictConfig)\n best_parameters = returns.ax\n assert \"quadratic.x\" in best_parameters\n assert \"quadratic.y\" in best_parameters", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_ax_logging_test_ax_logging.assert_polynomial_z_fix": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py_test_ax_logging_test_ax_logging.assert_polynomial_z_fix", "embedding": null, "metadata": {"file_path": "plugins/hydra_ax_sweeper/tests/test_ax_sweeper_plugin.py", "file_name": "test_ax_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 187, "end_line": 216, "span_ids": ["test_ax_logging"], "tokens": 425}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"cmd_arg, expected_str\",\n [\n (\"polynomial.y=choice(-1, 0, 1)\", \"polynomial.y: choice=[-1, 0, 1]\"),\n (\"polynomial.y=range(-1, 2)\", \"polynomial.y: choice=[-1, 0, 1]\"),\n (\"polynomial.y=range(-1, 3, 1)\", \"polynomial.y: choice=[-1, 0, 1, 2]\"),\n (\n \"polynomial.y=range(-1, 2, 0.5)\",\n \"polynomial.y: choice=[-1.0, -0.5, 0.0, 0.5, 1.0, 1.5]\",\n ),\n (\"polynomial.y=int(interval(-1, 2))\", \"polynomial.y: range=[-1, 2]\"),\n (\"polynomial.y=interval(-1, 2)\", \"polynomial.y: range=[-1.0, 2.0]\"),\n (\"polynomial.y=2\", \"polynomial.y: fixed=2\"),\n (\"polynomial.y=2.0\", \"polynomial.y: fixed=2.0\"),\n ],\n)\ndef test_ax_logging(tmpdir: Path, cmd_arg: str, expected_str: str) -> None:\n cmd = [\n \"tests/apps/polynomial.py\",\n \"-m\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n \"polynomial.x=interval(-5, -2)\",\n \"polynomial.z=10\",\n \"hydra.sweeper.ax_config.max_trials=2\",\n ] + [cmd_arg]\n result, _ = run_python_script(cmd)\n assert \"polynomial.x: range=[-5.0, -2.0]\" in result\n assert expected_str in result\n assert \"polynomial.z: fixed=10\" in result", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/colorlog.py_from_hydra_core_config_se_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/colorlog.py_from_hydra_core_config_se_", "embedding": null, "metadata": {"file_path": "plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/colorlog.py", "file_name": "colorlog.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 10, "span_ids": ["HydraColorlogSearchPathPlugin", "HydraColorlogSearchPathPlugin.manipulate_search_path", "docstring"], "tokens": 92}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from hydra.core.config_search_path import ConfigSearchPath\nfrom hydra.plugins.search_path_plugin import SearchPathPlugin\n\n\nclass HydraColorlogSearchPathPlugin(SearchPathPlugin):\n def manipulate_search_path(self, search_path: ConfigSearchPath) -> None:\n # Appends the search path for this plugin to the end of the search path\n search_path.append(\"hydra-colorlog\", \"pkg://hydra_plugins.hydra_colorlog.conf\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_colorlog/hydra_plugins/hydra_colorlog/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_colorlog/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_colorlog/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/example/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/example/my_app.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/example/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 21, "span_ids": ["my_app", "impl:3", "docstring"], "tokens": 102}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport logging\nimport os\nimport time\n\nimport hydra\nfrom omegaconf import DictConfig\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n log.info(f\"Process ID {os.getpid()} executing task {cfg.task} ...\")\n\n time.sleep(1)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_logging_log.logging_getLogger___name_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_logging_log.logging_getLogger___name_", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 21, "span_ids": ["docstring"], "tokens": 118}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom pathlib import Path\nfrom typing import Any, Dict, List, Sequence\n\nfrom hydra.core.hydra_config import HydraConfig\nfrom hydra.core.singleton import Singleton\nfrom hydra.core.utils import (\n JobReturn,\n configure_log,\n filter_overrides,\n run_job,\n setup_globals,\n)\nfrom hydra.types import HydraContext, TaskFunction\nfrom joblib import Parallel, delayed # type: ignore\nfrom omegaconf import DictConfig, open_dict\n\nfrom .joblib_launcher import JoblibLauncher\n\nlog = logging.getLogger(__name__)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_launch_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py_launch_", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 66, "end_line": 119, "span_ids": ["launch"], "tokens": 422}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def launch(\n launcher: JoblibLauncher,\n job_overrides: Sequence[Sequence[str]],\n initial_job_idx: int,\n) -> Sequence[JobReturn]:\n \"\"\"\n :param job_overrides: a List of List, where each inner list is the arguments for one job run.\n :param initial_job_idx: Initial job idx in batch.\n :return: an array of return values from run_job with indexes corresponding to the input list indexes.\n \"\"\"\n setup_globals()\n assert launcher.config is not None\n assert launcher.task_function is not None\n assert launcher.hydra_context is not None\n\n configure_log(launcher.config.hydra.hydra_logging, launcher.config.hydra.verbose)\n sweep_dir = Path(str(launcher.config.hydra.sweep.dir))\n sweep_dir.mkdir(parents=True, exist_ok=True)\n\n # Joblib's backend is hard-coded to loky since the threading\n # backend is incompatible with Hydra\n joblib_cfg = launcher.joblib\n joblib_cfg[\"backend\"] = \"loky\"\n process_joblib_cfg(joblib_cfg)\n\n log.info(\n \"Joblib.Parallel({}) is launching {} jobs\".format(\n \",\".join([f\"{k}={v}\" for k, v in joblib_cfg.items()]),\n len(job_overrides),\n )\n )\n log.info(\"Launching jobs, sweep output dir : {}\".format(sweep_dir))\n for idx, overrides in enumerate(job_overrides):\n log.info(\"\\t#{} : {}\".format(idx, \" \".join(filter_overrides(overrides))))\n\n singleton_state = Singleton.get_state()\n\n runs = Parallel(**joblib_cfg)(\n delayed(execute_job)(\n initial_job_idx + idx,\n overrides,\n launcher.hydra_context,\n launcher.config,\n launcher.task_function,\n singleton_state,\n )\n for idx, overrides in enumerate(job_overrides)\n )\n\n assert isinstance(runs, List)\n for run in runs:\n assert isinstance(run, JobReturn)\n return runs", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/config.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/config.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 52, "span_ids": ["JobLibLauncherConf", "impl", "docstring"], "tokens": 350}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\nfrom typing import Optional\n\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass JobLibLauncherConf:\n _target_: str = \"hydra_plugins.hydra_joblib_launcher.joblib_launcher.JoblibLauncher\"\n\n # maximum number of concurrently running jobs. if -1, all CPUs are used\n n_jobs: int = -1\n\n # allows to hard-code backend, otherwise inferred based on prefer and require\n backend: Optional[str] = None\n\n # processes or threads, soft hint to choose backend\n prefer: str = \"processes\"\n\n # null or sharedmem, sharedmem will select thread-based backend\n require: Optional[str] = None\n\n # if greater than zero, prints progress messages\n verbose: int = 0\n\n # timeout limit for each task. Unit dependent on backend implementation; miliseconds for loky.\n timeout: Optional[float] = None\n\n # number of batches to be pre-dispatched\n pre_dispatch: str = \"2*n_jobs\"\n\n # number of atomic tasks to dispatch at once to each worker\n batch_size: str = \"auto\"\n\n # path used for memmapping large arrays for sharing memory with workers\n temp_folder: Optional[str] = None\n\n # thresholds size of arrays that triggers automated memmapping\n max_nbytes: Optional[str] = None\n\n # memmapping mode for numpy arrays passed to workers\n mmap_mode: str = \"r\"\n\n\nConfigStore.instance().store(\n group=\"hydra/launcher\",\n name=\"joblib\",\n node=JobLibLauncherConf,\n provider=\"joblib_launcher\",\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/joblib_launcher.py_logging_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/joblib_launcher.py_logging_", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/hydra_plugins/hydra_joblib_launcher/joblib_launcher.py", "file_name": "joblib_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 48, "span_ids": ["JoblibLauncher", "docstring", "JoblibLauncher.launch", "JoblibLauncher.setup", "JoblibLauncher.__init__"], "tokens": 327}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom typing import Any, Optional, Sequence\n\nfrom hydra.core.utils import JobReturn\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.types import HydraContext, TaskFunction\nfrom omegaconf import DictConfig\n\nlog = logging.getLogger(__name__)\n\n\nclass JoblibLauncher(Launcher):\n def __init__(self, **kwargs: Any) -> None:\n \"\"\"Joblib Launcher\n\n Launches parallel jobs using Joblib.Parallel. For details, refer to:\n https://joblib.readthedocs.io/en/latest/generated/joblib.Parallel.html\n\n This plugin is based on the idea and inital implementation of @emilemathieutmp:\n https://github.com/facebookresearch/hydra/issues/357\n \"\"\"\n self.config: Optional[DictConfig] = None\n self.task_function: Optional[TaskFunction] = None\n self.hydra_context: Optional[HydraContext] = None\n\n self.joblib = kwargs\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n self.config = config\n self.task_function = task_function\n self.hydra_context = hydra_context\n\n def launch(\n self, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n ) -> Sequence[JobReturn]:\n from . import _core\n\n return _core.launch(\n launcher=self, job_overrides=job_overrides, initial_job_idx=initial_job_idx\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_joblib_launcher/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_joblib_launcher/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_from_dataclasses_import_d_ScalarConfigSpec.log.False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_from_dataclasses_import_d_ScalarConfigSpec.log.False", "embedding": null, "metadata": {"file_path": "plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 33, "span_ids": ["ScalarConfigSpec", "docstring"], "tokens": 177}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass, field\nfrom typing import Any, Dict, Optional\n\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass ScalarConfigSpec:\n \"\"\"Representation of all the options to define\n a scalar.\n \"\"\"\n\n # lower bound if any\n lower: Optional[float] = None\n\n # upper bound if any\n upper: Optional[float] = None\n\n # initial value\n # default to the middle point if completely bounded\n init: Optional[float] = None\n\n # step size for an update\n # defaults to 1 if unbounded\n # or 1/6 of the range if completely bounded\n step: Optional[float] = None\n\n # cast to integer\n integer: bool = False\n\n # logarithmically distributed\n log: bool = False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_NevergradSweeperConf_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py_NevergradSweeperConf_", "embedding": null, "metadata": {"file_path": "plugins/hydra_nevergrad_sweeper/hydra_plugins/hydra_nevergrad_sweeper/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 67, "end_line": 90, "span_ids": ["NevergradSweeperConf", "impl"], "tokens": 165}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass NevergradSweeperConf:\n _target_: str = (\n \"hydra_plugins.hydra_nevergrad_sweeper.nevergrad_sweeper.NevergradSweeper\"\n )\n\n # configuration of the optimizer\n optim: OptimConf = OptimConf()\n\n # default parametrization of the search space\n # can be specified:\n # - as a string, like commandline arguments\n # - as a list, for categorical variables\n # - as a full scalar specification\n parametrization: Dict[str, Any] = field(default_factory=dict)\n\n\nConfigStore.instance().store(\n group=\"hydra/sweeper\",\n name=\"nevergrad\",\n node=NevergradSweeperConf,\n provider=\"nevergrad\",\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_nevergrad_sweeper/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_launched_jobs_test_launched_jobs.with_sweep_.assert_sweep_returns_is_N": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py_test_launched_jobs_test_launched_jobs.with_sweep_.assert_sweep_returns_is_N", "embedding": null, "metadata": {"file_path": "plugins/hydra_nevergrad_sweeper/tests/test_nevergrad_sweeper_plugin.py", "file_name": "test_nevergrad_sweeper_plugin.py", "file_type": "text/x-python", "category": "test", "start_line": 50, "end_line": 68, "span_ids": ["test_launched_jobs"], "tokens": 157}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_launched_jobs(hydra_sweep_runner: TSweepRunner) -> None:\n budget = 8\n sweep = hydra_sweep_runner(\n calling_file=None,\n calling_module=\"hydra.test_utils.a_module\",\n config_path=\"configs\",\n config_name=\"compose.yaml\",\n task_function=None,\n overrides=[\n \"hydra/sweeper=nevergrad\",\n \"hydra/launcher=basic\",\n f\"hydra.sweeper.optim.budget={budget}\", # small budget to test fast\n \"hydra.sweeper.optim.num_workers=3\",\n \"foo=1,2\",\n \"bar=4:8\",\n ],\n )\n with sweep:\n assert sweep.returns is None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/example/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/example/my_app.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/example/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 21, "span_ids": ["my_app", "impl:3", "docstring"], "tokens": 102}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport logging\nimport os\nimport time\n\nimport hydra\nfrom omegaconf import DictConfig\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n log.info(f\"Process ID {os.getpid()} executing task {cfg.task} ...\")\n\n time.sleep(1)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py_launch_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py_launch_", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/_core.py", "file_name": "_core.py", "file_type": "text/x-python", "category": "implementation", "start_line": 51, "end_line": 164, "span_ids": ["StopAfterEnqueue", "launch"], "tokens": 877}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def launch(\n launcher: RQLauncher, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n) -> Sequence[JobReturn]:\n \"\"\"\n :param job_overrides: a List of List, where each inner list is the arguments for one job run.\n :param initial_job_idx: Initial job idx in batch.\n :return: an array of return values from run_job with indexes corresponding to the input list indexes.\n \"\"\"\n setup_globals()\n assert launcher.config is not None\n assert launcher.task_function is not None\n assert launcher.hydra_context is not None\n\n configure_log(launcher.config.hydra.hydra_logging, launcher.config.hydra.verbose)\n sweep_dir = Path(str(launcher.config.hydra.sweep.dir))\n sweep_dir.mkdir(parents=True, exist_ok=True)\n\n # RQ configuration\n rq_cfg = launcher.rq\n\n # Redis configuration\n is_async = not rq_cfg.redis.mock\n if is_async:\n connection = Redis(\n host=rq_cfg.redis.host,\n port=rq_cfg.redis.port,\n db=rq_cfg.redis.db,\n password=rq_cfg.redis.password,\n ssl=rq_cfg.redis.ssl,\n ssl_ca_certs=rq_cfg.redis.ssl_ca_certs,\n )\n else:\n log.info(\"Running in synchronous mode\")\n connection = FakeStrictRedis()\n queue = Queue(\n name=rq_cfg.queue,\n connection=connection,\n is_async=is_async,\n serializer=cloudpickle,\n )\n\n # Enqueue jobs\n jobs: List[Any] = []\n singleton_state = Singleton.get_state()\n log.info(\n f\"RQ Launcher is enqueuing {len(job_overrides)} job(s) in queue : {rq_cfg.queue}\"\n )\n log.info(\"Sweep output dir : {}\".format(sweep_dir))\n if not sweep_dir.is_absolute():\n log.warn(\n \"Using relative sweep dir: Please be aware that dir will be relative to where workers are started from.\"\n )\n\n for idx, overrides in enumerate(job_overrides):\n description = \" \".join(filter_overrides(overrides))\n\n enqueue_keywords = OmegaConf.to_container(rq_cfg.enqueue, resolve=True)\n assert isinstance(enqueue_keywords, dict)\n if enqueue_keywords[\"job_timeout\"] is None:\n enqueue_keywords[\"job_timeout\"] = -1\n if enqueue_keywords[\"result_ttl\"] is None:\n enqueue_keywords[\"result_ttl\"] = -1\n if enqueue_keywords[\"failure_ttl\"] is None:\n enqueue_keywords[\"failure_ttl\"] = -1\n if enqueue_keywords[\"job_id\"] is None:\n enqueue_keywords[\"job_id\"] = str(uuid.uuid4())\n if enqueue_keywords[\"description\"] is None:\n enqueue_keywords[\"description\"] = description\n\n sweep_config = launcher.hydra_context.config_loader.load_sweep_config(\n launcher.config, list(overrides)\n )\n with open_dict(sweep_config):\n sweep_config.hydra.job.id = enqueue_keywords[\"job_id\"]\n sweep_config.hydra.job.num = initial_job_idx + idx\n\n job = queue.enqueue(\n execute_job,\n hydra_context=launcher.hydra_context,\n sweep_config=sweep_config,\n task_function=launcher.task_function,\n singleton_state=singleton_state,\n **enqueue_keywords,\n )\n jobs.append(job)\n\n log.info(f\"Enqueued {job.get_id()}\")\n log.info(f\"\\t#{idx+1} : {description}\")\n\n log.info(\"Finished enqueuing\")\n if rq_cfg.stop_after_enqueue:\n raise StopAfterEnqueue\n\n log.info(f\"Polling job statuses every {rq_cfg.wait_polling} sec\")\n while True:\n job_ids_done = [\n job.get_id() for job in jobs if job.get_status() in [\"finished\", \"failed\"]\n ]\n if len(job_ids_done) == len(jobs):\n break\n else:\n time.sleep(rq_cfg.wait_polling)\n\n runs: List[JobReturn] = []\n for job in jobs:\n result = job.result if job.result is not None else None\n runs.append(result)\n\n return runs\n\n\nclass StopAfterEnqueue(Exception):\n pass", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_EnqueueConf_EnqueueConf.description.None": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_EnqueueConf_EnqueueConf.description.None", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 24, "end_line": 39, "span_ids": ["EnqueueConf"], "tokens": 262}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass EnqueueConf:\n # maximum runtime of the job before it's killed (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n job_timeout: Optional[str] = None\n # maximum queued time before the job before is discarded (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n ttl: Optional[str] = None\n # how long successful jobs and their results are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n result_ttl: Optional[str] = None\n # specifies how long failed jobs are kept (e.g. \"1d\" for 1 day, units: d/h/m/s), default: no limit\n failure_ttl: Optional[str] = None\n # place job at the front of the queue, instead of the back\n at_front: bool = False\n # job id, will be overidden automatically by a uuid unless specified explicitly\n job_id: Optional[str] = None\n # description, will be overidden automatically unless specified explicitly\n description: Optional[str] = None", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_RQLauncherConf_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py_RQLauncherConf_", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/config.py", "file_name": "config.py", "file_type": "text/x-python", "category": "implementation", "start_line": 41, "end_line": 59, "span_ids": ["RQLauncherConf", "impl"], "tokens": 149}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass RQLauncherConf:\n _target_: str = \"hydra_plugins.hydra_rq_launcher.rq_launcher.RQLauncher\"\n # enqueue configuration\n enqueue: EnqueueConf = EnqueueConf()\n # queue name\n queue: str = \"default\"\n # redis configuration\n redis: RedisConf = RedisConf()\n # stop after enqueueing by raising custom exception\n stop_after_enqueue: bool = False\n # wait time in seconds when polling results\n wait_polling: float = 1.0\n\n\nConfigStore.instance().store(\n group=\"hydra/launcher\", name=\"rq\", node=RQLauncherConf, provider=\"rq_launcher\"\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/rq_launcher.py_logging_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/rq_launcher.py_logging_", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/hydra_plugins/hydra_rq_launcher/rq_launcher.py", "file_name": "rq_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 47, "span_ids": ["RQLauncher.__init__", "RQLauncher.setup", "docstring", "RQLauncher", "RQLauncher.launch"], "tokens": 306}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nfrom typing import Any, Optional, Sequence\n\nfrom hydra.core.utils import JobReturn\nfrom hydra.plugins.launcher import Launcher\nfrom hydra.types import HydraContext, TaskFunction\nfrom omegaconf import DictConfig, OmegaConf\n\nfrom .config import RQLauncherConf\n\nlog = logging.getLogger(__name__)\n\n\nclass RQLauncher(Launcher):\n def __init__(self, **params: Any) -> None:\n \"\"\"RQ Launcher\n\n Launches jobs using RQ (Redis Queue). For details, refer to:\n https://python-rq.org\n \"\"\"\n self.config: Optional[DictConfig] = None\n self.task_function: Optional[TaskFunction] = None\n self.hydra_context: Optional[HydraContext] = None\n\n self.rq = OmegaConf.structured(RQLauncherConf(**params))\n\n def setup(\n self,\n *,\n hydra_context: HydraContext,\n task_function: TaskFunction,\n config: DictConfig,\n ) -> None:\n self.config = config\n self.task_function = task_function\n self.hydra_context = hydra_context\n\n def launch(\n self, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n ) -> Sequence[JobReturn]:\n from . import _core\n\n return _core.launch(\n launcher=self, job_overrides=job_overrides, initial_job_idx=initial_job_idx\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/conftest.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_rq_launcher/tests/conftest.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_rq_launcher/tests/conftest.py", "file_name": "conftest.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 11, "span_ids": ["env_setup", "docstring"], "tokens": 75}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom typing import Any\n\nfrom pytest import fixture\n\n\n@fixture(autouse=True)\ndef env_setup(monkeypatch: Any) -> None:\n # Tests use fake redis server by setting REDIS_MOCK to True\n monkeypatch.setenv(\"REDIS_MOCK\", \"True\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/example/my_app.py_logging_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/example/my_app.py_logging_", "embedding": null, "metadata": {"file_path": "plugins/hydra_submitit_launcher/example/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 22, "span_ids": ["my_app", "impl:3", "docstring"], "tokens": 107}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import logging\nimport os\nimport time\n\nimport hydra\nimport submitit\nfrom omegaconf import DictConfig\n\nlog = logging.getLogger(__name__)\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n env = submitit.JobEnvironment()\n log.info(f\"Process ID {os.getpid()} executing task {cfg.task}, with {env}\")\n time.sleep(1)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 4, "span_ids": ["docstring"], "tokens": 28}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\n\n__version__ = \"1.2.0\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.__call___BaseSubmititLauncher.checkpoint.return.submitit_helpers_DelayedS": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.__call___BaseSubmititLauncher.checkpoint.return.submitit_helpers_DelayedS", "embedding": null, "metadata": {"file_path": "plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py", "file_name": "submitit_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 45, "end_line": 84, "span_ids": ["BaseSubmititLauncher.__call__", "BaseSubmititLauncher.checkpoint"], "tokens": 307}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BaseSubmititLauncher(Launcher):\n\n def __call__(\n self,\n sweep_overrides: List[str],\n job_dir_key: str,\n job_num: int,\n job_id: str,\n singleton_state: Dict[type, Singleton],\n ) -> JobReturn:\n # lazy import to ensure plugin discovery remains fast\n import submitit\n\n assert self.hydra_context is not None\n assert self.config is not None\n assert self.task_function is not None\n\n Singleton.set_state(singleton_state)\n setup_globals()\n sweep_config = self.hydra_context.config_loader.load_sweep_config(\n self.config, sweep_overrides\n )\n\n with open_dict(sweep_config.hydra.job) as job:\n # Populate new job variables\n job.id = submitit.JobEnvironment().job_id # type: ignore\n sweep_config.hydra.job.num = job_num\n\n return run_job(\n hydra_context=self.hydra_context,\n task_function=self.task_function,\n config=sweep_config,\n job_dir_key=job_dir_key,\n job_subdir_key=\"hydra.sweep.subdir\",\n )\n\n def checkpoint(self, *args: Any, **kwargs: Any) -> Any:\n \"\"\"Resubmit the current callable at its current state with the same initial arguments.\"\"\"\n # lazy import to ensure plugin discovery remains fast\n import submitit\n\n return submitit.helpers.DelayedSubmission(self, *args, **kwargs)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.launch_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py_BaseSubmititLauncher.launch_", "embedding": null, "metadata": {"file_path": "plugins/hydra_submitit_launcher/hydra_plugins/hydra_submitit_launcher/submitit_launcher.py", "file_name": "submitit_launcher.py", "file_type": "text/x-python", "category": "implementation", "start_line": 90, "end_line": 159, "span_ids": ["SlurmLauncher", "BaseSubmititLauncher.launch", "LocalLauncher"], "tokens": 516}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "class BaseSubmititLauncher(Launcher):\n\n def launch(\n self, job_overrides: Sequence[Sequence[str]], initial_job_idx: int\n ) -> Sequence[JobReturn]:\n # lazy import to ensure plugin discovery remains fast\n import submitit\n\n assert self.config is not None\n\n num_jobs = len(job_overrides)\n assert num_jobs > 0\n params = self.params\n # build executor\n init_params = {\"folder\": self.params[\"submitit_folder\"]}\n specific_init_keys = {\"max_num_timeout\"}\n\n init_params.update(\n **{\n f\"{self._EXECUTOR}_{x}\": y\n for x, y in params.items()\n if x in specific_init_keys\n }\n )\n init_keys = specific_init_keys | {\"submitit_folder\"}\n executor = submitit.AutoExecutor(cluster=self._EXECUTOR, **init_params)\n\n # specify resources/parameters\n baseparams = set(OmegaConf.structured(BaseQueueConf).keys())\n params = {\n x if x in baseparams else f\"{self._EXECUTOR}_{x}\": y\n for x, y in params.items()\n if x not in init_keys\n }\n executor.update_parameters(**params)\n\n log.info(\n f\"Submitit '{self._EXECUTOR}' sweep output dir : \"\n f\"{self.config.hydra.sweep.dir}\"\n )\n sweep_dir = Path(str(self.config.hydra.sweep.dir))\n sweep_dir.mkdir(parents=True, exist_ok=True)\n if \"mode\" in self.config.hydra.sweep:\n mode = int(str(self.config.hydra.sweep.mode), 8)\n os.chmod(sweep_dir, mode=mode)\n\n job_params: List[Any] = []\n for idx, overrides in enumerate(job_overrides):\n idx = initial_job_idx + idx\n lst = \" \".join(filter_overrides(overrides))\n log.info(f\"\\t#{idx} : {lst}\")\n job_params.append(\n (\n list(overrides),\n \"hydra.sweep.dir\",\n idx,\n f\"job_id_for_{idx}\",\n Singleton.get_state(),\n )\n )\n\n jobs = executor.map_array(self, *zip(*job_params))\n return [j.results()[0] for j in jobs]\n\n\nclass LocalLauncher(BaseSubmititLauncher):\n _EXECUTOR = \"local\"\n\n\nclass SlurmLauncher(BaseSubmititLauncher):\n _EXECUTOR = \"slurm\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_submitit_launcher/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "plugins/hydra_submitit_launcher/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/setup.py_pathlib_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/setup.py_pathlib_", "embedding": null, "metadata": {"file_path": "setup.py", "file_name": "setup.py", "file_type": "text/x-python", "category": "implementation", "start_line": 3, "end_line": 63, "span_ids": ["docstring"], "tokens": 427}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import pathlib\n\nimport pkg_resources\nfrom setuptools import find_packages, setup\n\nfrom build_helpers.build_helpers import (\n ANTLRCommand,\n BuildPyCommand,\n CleanCommand,\n Develop,\n SDistCommand,\n find_version,\n)\n\nwith pathlib.Path(\"requirements/requirements.txt\").open() as requirements_txt:\n install_requires = [\n str(requirement)\n for requirement in pkg_resources.parse_requirements(requirements_txt)\n ]\n\n\nwith open(\"README.md\", \"r\") as fh:\n LONG_DESC = fh.read()\n setup(\n cmdclass={\n \"antlr\": ANTLRCommand,\n \"clean\": CleanCommand,\n \"sdist\": SDistCommand,\n \"build_py\": BuildPyCommand,\n \"develop\": Develop,\n },\n name=\"hydra-core\",\n version=find_version(\"hydra\", \"__init__.py\"),\n author=\"Omry Yadan\",\n author_email=\"omry@fb.com\",\n description=\"A framework for elegantly configuring complex applications\",\n license=\"MIT\",\n long_description=LONG_DESC,\n long_description_content_type=\"text/markdown\",\n url=\"https://github.com/facebookresearch/hydra\",\n keywords=\"command-line configuration yaml tab-completion\",\n packages=find_packages(include=[\"hydra\"]),\n include_package_data=True,\n classifiers=[\n \"License :: OSI Approved :: MIT License\",\n \"Development Status :: 4 - Beta\",\n \"Programming Language :: Python :: 3.6\",\n \"Programming Language :: Python :: 3.7\",\n \"Programming Language :: Python :: 3.8\",\n \"Programming Language :: Python :: 3.9\",\n \"Programming Language :: Python :: 3.10\",\n \"Operating System :: POSIX :: Linux\",\n \"Operating System :: MacOS\",\n \"Operating System :: Microsoft :: Windows\",\n ],\n install_requires=install_requires,\n entry_points={\"pytest11\": [\"hydra_pytest = hydra.extra.pytest_plugin\"]},\n # Install development dependencies with\n # pip install -r requirements/dev.txt -e .\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/jupyter/a_module.py_from_pathlib_import_Path_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/jupyter/a_module.py_from_pathlib_import_Path_", "embedding": null, "metadata": {"file_path": "tests/jupyter/a_module.py", "file_name": "a_module.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 20, "span_ids": ["hydra_initialize_config_dir", "hydra_initialize_config_module", "hydra_initialize", "docstring"], "tokens": 117}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from pathlib import Path\n\nfrom hydra import initialize, initialize_config_dir, initialize_config_module\n\n\ndef hydra_initialize() -> None:\n initialize(version_base=None, config_path=\"../../hydra/test_utils/configs\")\n\n\ndef hydra_initialize_config_dir() -> None:\n abs_conf_dir = Path.cwd() / \"../../hydra/test_utils/configs\"\n initialize_config_dir(version_base=None, config_dir=str(abs_conf_dir))\n\n\ndef hydra_initialize_config_module() -> None:\n initialize_config_module(\n version_base=None, config_module=\"hydra.test_utils.configs\"\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__not_hidden_plugin.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__not_hidden_plugin.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/__not_hidden_plugin.py", "file_name": "__not_hidden_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 7, "span_ids": ["NotHiddenTestPlugin", "docstring"], "tokens": 35}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom hydra.plugins.plugin import Plugin\n\n\nclass NotHiddenTestPlugin(Plugin):\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/_hidden_plugin.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/_hidden_plugin.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/_hidden_plugin.py", "file_name": "_hidden_plugin.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 7, "span_ids": ["HiddenTestPlugin", "docstring"], "tokens": 34}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom hydra.plugins.plugin import Plugin\n\n\nclass HiddenTestPlugin(Plugin):\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/discovery_test.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/discovery_test.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/hydra_plugins/discovery_test/discovery_test.py", "file_name": "discovery_test.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["DiscoveryTestPlugin", "docstring"], "tokens": 76}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport os\nfrom pathlib import Path\n\nfrom hydra.plugins.plugin import Plugin\n\nif \"TMP_FILE\" in os.environ:\n with Path(os.environ[\"TMP_FILE\"]).open(mode=\"a\") as f:\n f.write(\"imported\\n\")\n\n\nclass DiscoveryTestPlugin(Plugin):\n ...", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/test_discovery.py_os_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/discovery_test_plugin/tests/test_discovery.py_os_", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/discovery_test_plugin/tests/test_discovery.py", "file_name": "test_discovery.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 28, "span_ids": ["test_number_of_imports", "test_skipped_imports", "docstring"], "tokens": 208}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\nfrom pathlib import Path\n\nfrom hydra.core.plugins import Plugins\nfrom hydra.plugins.plugin import Plugin\n\n\ndef test_number_of_imports(tmpdir: Path) -> None:\n os.environ[\"TMP_FILE\"] = str(tmpdir / \"import.log\")\n # Tests that this plugin can be discovered via the plugins subsystem when looking at all Plugins\n assert \"DiscoveryTestPlugin\" in [\n x.__name__ for x in Plugins.instance().discover(Plugin)\n ]\n\n with Path(os.environ[\"TMP_FILE\"]) as f:\n txt = str(f.read_text())\n assert txt.split(\"\\n\").count(\"imported\") == 1\n\n\ndef test_skipped_imports(tmpdir: Path) -> None:\n # Tests that modules starting with an \"_\" (but not \"__\") are skipped\n\n discovered_plugins = [x.__name__ for x in Plugins.instance().discover(Plugin)]\n assert \"HiddenTestPlugin\" not in discovered_plugins\n\n assert \"NotHiddenTestPlugin\" in discovered_plugins", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/initialization_test_app/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/initialization_test_app/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/main.py_os_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/initialization_test_app/main.py_os_", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/initialization_test_app/main.py", "file_name": "main.py", "file_type": "text/x-python", "category": "implementation", "start_line": 2, "end_line": 53, "span_ids": ["main", "impl", "docstring"], "tokens": 442}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\nimport sys\n\nfrom hydra import compose, initialize, initialize_config_dir, initialize_config_module\n\n\ndef main() -> None:\n with initialize(version_base=None, config_path=\"conf\"):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"main\"\n\n with initialize(version_base=None, config_path=\"conf\", job_name=\"test_job\"):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"test_job\"\n\n abs_config_dir = os.path.abspath(\"initialization_test_app/conf\")\n with initialize_config_dir(version_base=None, config_dir=abs_config_dir):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"app\"\n\n with initialize_config_dir(\n version_base=None, config_dir=abs_config_dir, job_name=\"test_job\"\n ):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"test_job\"\n\n # Those tests can only work if the module is installed\n if len(sys.argv) > 1 and sys.argv[1] == \"module_installed\":\n with initialize_config_module(\n version_base=None, config_module=\"initialization_test_app.conf\"\n ):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"app\"\n\n with initialize_config_module(\n version_base=None,\n config_module=\"initialization_test_app.conf\",\n job_name=\"test_job\",\n ):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"test_job\"\n\n\nif __name__ == \"__main__\":\n main()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/tests/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/test_app.py_subprocess_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/initialization_test_app/tests/test_app.py_subprocess_", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/initialization_test_app/tests/test_app.py", "file_name": "test_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 25, "span_ids": ["test_initialization_full_app_installed", "docstring"], "tokens": 135}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import subprocess\nimport sys\nfrom typing import List\n\nfrom pytest import mark, param\n\n\n@mark.parametrize(\n \"run_cmd\",\n [\n param([\"initialization-test-app\", \"module_installed\"], id=\"run_as_app\"),\n param(\n [sys.executable, \"-m\", \"initialization_test_app.main\", \"module_installed\"],\n id=\"run_as_module\",\n ),\n param(\n [sys.executable, \"initialization_test_app/main.py\", \"module_installed\"],\n id=\"run_as_script\",\n ),\n ],\n)\ndef test_initialization_full_app_installed(run_cmd: List[str]) -> None:\n subprocess.check_call(run_cmd)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/test_namespace.py_test_config_in_dir_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/test_namespace.py_test_config_in_dir_", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/namespace_pkg_config_source_test/namespace_test/test_namespace.py", "file_name": "test_namespace.py", "file_type": "text/x-python", "category": "test", "start_line": 29, "end_line": 40, "span_ids": ["test_config_in_dir"], "tokens": 138}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_config_in_dir() -> None:\n with initialize(\n version_base=None, config_path=\"../some_namespace/namespace_test/dir\"\n ):\n config_loader = GlobalHydra.instance().config_loader()\n assert \"cifar10\" in config_loader.get_group_options(\"dataset\")\n assert \"imagenet\" in config_loader.get_group_options(\"dataset\")\n assert \"level1\" in config_loader.list_groups(\"\")\n assert \"level2\" in config_loader.list_groups(\"level1\")\n assert \"nested1\" in config_loader.get_group_options(\"level1/level2\")\n assert \"nested2\" in config_loader.get_group_options(\"level1/level2\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/some_namespace/namespace_test/dir/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/standalone_apps/namespace_pkg_config_source_test/some_namespace/namespace_test/dir/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/standalone_apps/namespace_pkg_config_source_test/some_namespace/namespace_test/dir/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "implementation", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 70}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg_groups/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg_groups/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg_groups/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 16, "span_ids": ["my_app", "impl", "docstring"], "tokens": 78}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom typing import Any\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> Any:\n return cfg\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg_groups_no_header/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_cfg_groups_no_header/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_cfg_groups_no_header/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_config_with_free_group/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_config_with_free_group/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_config_with_free_group/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_config_with_free_group/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 71}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_custom_launcher/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_custom_launcher/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_custom_launcher/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 62}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_multiple_config_dirs/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir1/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir1/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_multiple_config_dirs/dir1/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir2/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/dir2/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_multiple_config_dirs/dir2/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_multiple_config_dirs/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_multiple_config_dirs/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 75}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\".\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_runtime_config_error/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_runtime_config_error/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_runtime_config_error/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 18, "span_ids": ["my_app", "foo", "impl", "docstring"], "tokens": 98}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\ndef foo(cfg: DictConfig) -> None:\n cfg.foo = \"bar\" # does not exist in the config\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n foo(cfg)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_split_cfg/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_with_split_cfg/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_with_split_cfg/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 62}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_without_config/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/app_without_config/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/app_without_config/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 61}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None)\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/config_source_test/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/dir/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/dir/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/config_source_test/dir/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/structured.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/config_source_test/structured.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "tests/test_apps/config_source_test/structured.py", "file_name": "structured.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 108, "span_ids": ["Nesterov", "Adam", "ConfigWithoutExt", "Optimizer", "impl", "ConfigWithUnicode", "Cifar10", "ImageNet", "docstring", "ConfigWithoutGroup"], "tokens": 697}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\nfrom typing import Any\n\nfrom omegaconf import MISSING\n\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass ConfigWithoutGroup:\n group: bool = False\n\n\n@dataclass\nclass ConfigWithUnicode:\n group: str = \"\u6570\u636e\u5e93\"\n\n\n@dataclass\nclass Cifar10:\n name: str = \"cifar10\"\n path: str = \"/datasets/cifar10\"\n\n\n@dataclass\nclass ImageNet:\n name: str = \"imagenet\"\n path: str = \"/datasets/imagenet\"\n\n\n@dataclass\nclass ConfigWithoutExt:\n foo: str = \"bar\"\n\n\n@dataclass\nclass Adam:\n type: str = \"adam\"\n lr: float = 0.1\n beta: float = 0.01\n\n\n@dataclass\nclass Nesterov:\n type: str = \"nesterov\"\n lr: float = 0.001\n\n\n@dataclass\nclass Optimizer:\n optimizer: Any = MISSING\n\n\ns = ConfigStore.instance()\ns.store(name=\"config_without_group\", node=ConfigWithoutGroup)\ns.store(name=\"config_with_unicode\", node=ConfigWithUnicode)\ns.store(name=\"dataset\", node={\"dataset_yaml\": True})\ns.store(group=\"dataset\", name=\"cifar10\", node=Cifar10)\ns.store(group=\"dataset\", name=\"imagenet.yaml\", node=ImageNet)\ns.store(group=\"optimizer\", name=\"adam\", node=Adam)\ns.store(group=\"optimizer\", name=\"nesterov\", node=Nesterov)\ns.store(group=\"level1/level2\", name=\"nested1\", node={\"l1_l2_n1\": True})\ns.store(group=\"level1/level2\", name=\"nested2\", node={\"l1_l2_n2\": True})\ns.store(group=\"package_test\", name=\"none\", node={\"foo\": \"bar\"}, package=None)\ns.store(group=\"package_test\", name=\"explicit\", node={\"foo\": \"bar\"}, package=\"a.b\")\ns.store(group=\"package_test\", name=\"global\", node={\"foo\": \"bar\"}, package=\"_global_\")\ns.store(group=\"package_test\", name=\"group\", node={\"foo\": \"bar\"}, package=\"_group_\")\ns.store(\n group=\"package_test\",\n name=\"group_name\",\n node={\"foo\": \"bar\"},\n package=\"foo._group_._name_\",\n)\ns.store(group=\"package_test\", name=\"name\", node={\"foo\": \"bar\"}, package=\"_name_\")\ns.store(name=\"primary_config\", node={\"primary\": True}, package=None)\ns.store(\n name=\"primary_config_with_non_global_package\", node={\"primary\": True}, package=\"foo\"\n)\n\ns.store(\n name=\"config_with_defaults_list\",\n node={\n \"defaults\": [{\"dataset\": \"imagenet\"}],\n \"key\": \"value\",\n },\n)\n\ns.store(\n group=\"configs_with_defaults_list\",\n name=\"global_package\",\n node={\n \"defaults\": [{\"foo\": \"bar\"}],\n \"x\": 10,\n },\n package=\"_global_\",\n)\n\ns.store(\n group=\"configs_with_defaults_list\",\n name=\"group_package\",\n node={\n \"defaults\": [{\"foo\": \"bar\"}],\n \"x\": 10,\n },\n package=\"_group_\",\n)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_in_schema_missing/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_in_schema_missing/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "tests/test_apps/defaults_in_schema_missing/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 44, "span_ids": ["impl", "my_app", "Config", "docstring", "MySQLConfig", "impl:5", "DBConfig"], "tokens": 224}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\nfrom typing import Any, List\n\nfrom omegaconf import MISSING, DictConfig, OmegaConf\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass DBConfig:\n driver: str = MISSING\n host: str = \"localhost\"\n port: int = MISSING\n\n\n@dataclass\nclass MySQLConfig(DBConfig):\n driver: str = \"mysql\"\n port: int = 3306\n user: str = MISSING\n password: str = MISSING\n\n\n@dataclass\nclass Config:\n defaults: List[Any] = MISSING\n db: DBConfig = MISSING\n\n\ncs = ConfigStore.instance()\ncs.store(group=\"db\", name=\"mysql\", node=MySQLConfig, provider=\"main\")\ncs.store(name=\"config\", node=Config, provider=\"main\")\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/defaults_pkg_with_dot/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/defaults_pkg_with_dot/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/defaults_pkg_with_dot/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 72}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(cfg)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/hydra_main_rerun/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_main_rerun/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/hydra_main_rerun/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 15, "span_ids": ["my_app", "impl", "docstring"], "tokens": 62}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main()\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_to_cfg_interpolation/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/hydra_to_cfg_interpolation/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/hydra_to_cfg_interpolation/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 73}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(cfg.c)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/init_in_app_without_module/main.py_os_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/init_in_app_without_module/main.py_os_", "embedding": null, "metadata": {"file_path": "tests/test_apps/init_in_app_without_module/main.py", "file_name": "main.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 29, "span_ids": ["docstring"], "tokens": 259}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\n\nfrom hydra import compose, initialize, initialize_config_dir\n\nif __name__ == \"__main__\":\n with initialize(version_base=None, config_path=\".\"):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"main\"\n\n with initialize(version_base=None, config_path=\".\", job_name=\"test_job\"):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"test_job\"\n\n abs_config__dir = os.path.abspath(\"\")\n with initialize_config_dir(version_base=None, config_dir=abs_config__dir):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"app\"\n\n with initialize_config_dir(\n version_base=None, config_dir=abs_config__dir, job_name=\"test_job\"\n ):\n cfg = compose(config_name=\"config\", return_hydra_config=True)\n assert cfg.config == {\"hello\": \"world\"}\n assert cfg.hydra.job.name == \"test_job\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/interpolating_dir_hydra_to_app/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/interpolating_dir_hydra_to_app/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/interpolating_dir_hydra_to_app/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 62}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n pass\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/multirun_structured_conflict/my_app.py_from_dataclasses_import_d_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/multirun_structured_conflict/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "tests/test_apps/multirun_structured_conflict/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 26, "span_ids": ["impl:4", "impl", "TestConfig", "run", "docstring"], "tokens": 112}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "from dataclasses import dataclass\n\nfrom omegaconf import MISSING, DictConfig\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\n\n\n@dataclass\nclass TestConfig:\n param: int = MISSING\n\n\nconfig_store = ConfigStore.instance()\nconfig_store.store(group=\"test\", name=\"default\", node=TestConfig)\n\n\n@hydra.main(version_base=None, config_path=\".\", config_name=\"config\")\ndef run(config: DictConfig) -> None:\n print(config.test.param)\n\n\nif __name__ == \"__main__\":\n run()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_dir_test/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/my_app.py_time_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/run_dir_test/my_app.py_time_", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_dir_test/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 22, "span_ids": ["my_app", "impl", "docstring"], "tokens": 118}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import time\nfrom pathlib import Path\n\nfrom omegaconf import DictConfig\n\nimport hydra\nfrom hydra.core.hydra_config import HydraConfig\nfrom hydra.utils import get_original_cwd\n\n\n@hydra.main(version_base=None)\ndef my_app(_: DictConfig) -> None:\n run_dir = str(Path.cwd().relative_to(get_original_cwd()))\n time.sleep(2)\n run_dir_after_sleep = str(Path(HydraConfig.get().run.dir))\n assert run_dir == run_dir_after_sleep\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/setting_env/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/setting_env/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/setting_env/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 17, "span_ids": ["my_app", "impl", "docstring"], "tokens": 87}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport os\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(config_name=\"config\")\ndef my_app(_: DictConfig) -> None:\n print(f\"foo={os.environ['foo']}\")\n print(f\"bar={os.environ['bar']}\")\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/simple_app/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/simple_app/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/simple_app/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 74}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None)\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg, resolve=True))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/sweep_complex_defaults/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/conf/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/conf/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/sweep_complex_defaults/conf/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sweep_complex_defaults/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/sweep_complex_defaults/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/sys_exit/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/sys_exit/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/sys_exit/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 16, "span_ids": ["my_app", "impl", "docstring"], "tokens": 67}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nimport sys\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(version_base=None)\ndef my_app(_: DictConfig) -> None:\n sys.exit(42)\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/user-config-dir/my_app.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/user-config-dir/my_app.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/user-config-dir/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 14, "span_ids": ["my_app", "impl", "docstring"], "tokens": 81}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved\nfrom omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(version_base=None, config_path=\"conf\", config_name=\"config\")\ndef my_app(cfg: DictConfig) -> None:\n print(OmegaConf.to_yaml(cfg))\n\n\nif __name__ == \"__main__\":\n my_app()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_is_fish_supported_is_fish_supported.if_version_parse_fish_ver.else_.return.False": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_is_fish_supported_is_fish_supported.if_version_parse_fish_ver.else_.return.False", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 26, "end_line": 45, "span_ids": ["is_fish_supported"], "tokens": 169}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def is_fish_supported() -> bool:\n if shutil.which(\"fish\") is None:\n return False\n\n proc = subprocess.run(\n [\"fish\", \"--version\"], stdout=subprocess.PIPE, encoding=\"utf-8\"\n )\n matches = re.match(r\".*version\\s+(\\d\\.\\d\\.\\d)(.*)\", proc.stdout)\n if not matches:\n return False\n\n fish_version, git_version = matches.groups()\n\n # Release after 3.1.2 or git build after 3.1.2 contain space fix.\n if version.parse(fish_version) > version.parse(\"3.1.2\"):\n return True\n elif version.parse(fish_version) >= version.parse(\"3.1.2\") and git_version:\n return True\n else:\n return False", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_create_config_loader_base_completion_list._": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_create_config_loader_base_completion_list._", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 68, "end_line": 100, "span_ids": ["create_config_loader", "impl:2", "test_bash_completion_with_dot_in_path"], "tokens": 204}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def create_config_loader() -> ConfigLoaderImpl:\n return ConfigLoaderImpl(\n config_search_path=create_config_search_path(\n search_path_dir=os.path.realpath(\"hydra/test_utils/configs/completion_test\")\n )\n )\n\n\n@mark.skipif(sys.platform == \"win32\", reason=\"does not run on windows\")\ndef test_bash_completion_with_dot_in_path() -> None:\n process = subprocess.Popen(\n \"tests/scripts/test_bash_dot_in_path.bash\",\n shell=False,\n stdout=subprocess.PIPE,\n stderr=subprocess.PIPE,\n env={\"PATH\": os.environ[\"PATH\"]},\n )\n stdout, stderr = process.communicate()\n assert stderr == b\"\"\n assert stdout == b\"TRUE\\n\"\n return\n\n\nbase_completion_list: List[str] = [\n \"dict.\",\n \"dict_prefix=\",\n \"group=\",\n \"hydra\",\n \"hydra.\",\n \"list.\",\n \"list_prefix=\",\n \"test_hydra/\",\n]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_file_completion_test_file_completion.try_.finally_.os_chdir_pwd_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_file_completion_test_file_completion.try_.finally_.os_chdir_pwd_", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 303, "end_line": 352, "span_ids": ["test_file_completion"], "tokens": 409}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"relative\", [True, False])\n@mark.parametrize(\"line_prefix\", [\"\", \"dict.key1=val1 \"])\n@mark.parametrize(\n \"key_eq, fname_prefix, files, expected\",\n [\n (\"abc=\", \"\", [\"foo.txt\"], [\"foo.txt\"]),\n (\"abc=\", \"fo\", [\"foo.txt\"], [\"foo.txt\"]),\n (\"abc=\", \"foo.txt\", [\"foo.txt\"], [\"foo.txt\"]),\n (\"abc=\", \"foo\", [\"foo1.txt\", \"foo2.txt\"], [\"foo1.txt\", \"foo2.txt\"]),\n (\"abc=\", \"foo1\", [\"foo1.txt\", \"foo2.txt\"], [\"foo1.txt\"]),\n (\"abc=\", \"foo/bar\", [], []),\n ],\n)\ndef test_file_completion(\n tmpdir: Path,\n files: List[str],\n line_prefix: str,\n key_eq: str,\n fname_prefix: str,\n expected: List[str],\n relative: bool,\n) -> None:\n def create_files(in_files: List[str]) -> None:\n for f in in_files:\n path = Path(f)\n dirname = path.parent\n if str(dirname) != \".\":\n Path.mkdir(dirname, parents=True)\n Path(f).touch(exist_ok=True)\n\n config_loader = create_config_loader()\n try:\n pwd = os.getcwd()\n os.chdir(str(tmpdir))\n create_files(files)\n bc = DefaultCompletionPlugin(config_loader)\n probe = line_prefix + key_eq\n if relative:\n prefix = \".\" + os.path.sep\n probe += prefix + fname_prefix\n else:\n prefix = os.path.realpath(\".\")\n probe += os.path.join(prefix, fname_prefix)\n\n ret = bc._query(config_name=\"config.yaml\", line=probe)\n assert len(expected) == len(ret)\n for idx, file in enumerate(expected):\n assert key_eq + os.path.join(prefix, file) == ret[idx]\n finally:\n os.chdir(pwd)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_strip_test_strip.assert_result_line_arg": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_strip_test_strip.assert_result_line_arg", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 355, "end_line": 391, "span_ids": ["test_strip"], "tokens": 276}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"prefix\", [\"\", \" \", \"\\t\", \"/foo/bar\", \" /foo/bar/\"])\n@mark.parametrize(\n \"app_prefix\",\n [\n \"python foo.py\",\n \"hydra_app\",\n \"hydra_app \",\n \"hy1-_=ra_app\",\n \"foo.par\",\n \"f_o-o1=2.par\",\n \"python foo.py\",\n \"python tutorials/hydra_app/example/hydra_app/main.py\",\n \"python foo.py\",\n ],\n)\n@mark.parametrize(\n \"args_line, args_line_index\",\n [\n (\"\", None),\n (\"foo=bar\", None),\n (\"foo=bar bar=baz0\", None),\n (\"\", 0),\n (\"foo=bar\", 3),\n (\"foo=bar bar=baz0\", 3),\n (\"dict.\", 0),\n (\"dict.\", 5),\n ],\n)\ndef test_strip(\n prefix: str, app_prefix: str, args_line: str, args_line_index: int\n) -> None:\n app_prefix = prefix + app_prefix\n if args_line:\n app_prefix = app_prefix + \" \"\n line = f\"{app_prefix}{args_line}\"\n result_line = BashCompletion.strip_python_or_app_name(line)\n assert result_line == args_line", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_install_uninstall_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_test_install_uninstall_", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 394, "end_line": 415, "span_ids": ["test_install_uninstall"], "tokens": 180}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.skipif(sys.platform == \"win32\", reason=\"does not run on windows\")\n@mark.parametrize(\n \"shell,script,comp_func\",\n [\n (\n \"bash\",\n \"tests/scripts/test_bash_install_uninstall.sh\",\n \"hydra_bash_completion\",\n ),\n (\n \"fish\",\n \"tests/scripts/test_fish_install_uninstall.fish\",\n \"hydra_fish_completion\",\n ),\n ],\n)\ndef test_install_uninstall(shell: str, script: str, comp_func: str) -> None:\n if shell == \"fish\" and not is_fish_supported():\n skip(\"fish is not installed or the version is too old\")\n cmd = [shell, script, \"python hydra/test_utils/completion.py\", comp_func]\n subprocess.check_call(cmd, env={\"PATH\": os.environ[\"PATH\"]})", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_with_config_path_test_initialize_with_config_path.assert_idx_1": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_with_config_path_test_initialize_with_config_path.assert_idx_1", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 99, "end_line": 111, "span_ids": ["test_initialize_with_config_path"], "tokens": 125}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_initialize_with_config_path(hydra_restore_singletons: Any) -> None:\n assert not GlobalHydra().is_initialized()\n initialize(version_base=None, config_path=\"../hydra/test_utils/configs\")\n assert GlobalHydra().is_initialized()\n\n gh = GlobalHydra.instance()\n assert gh.hydra is not None\n config_search_path = gh.hydra.config_loader.get_search_path()\n assert isinstance(config_search_path, ConfigSearchPathImpl)\n idx = config_search_path.find_first_match(\n SearchPathQuery(provider=\"main\", path=None)\n )\n assert idx != -1", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestComposeInits_TestComposeInits.test_initialize_config_module_ctx.with_initialize_config_mo.assert_ret_expected": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_TestComposeInits_TestComposeInits.test_initialize_config_module_ctx.with_initialize_config_mo.assert_ret_expected", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 160, "end_line": 266, "span_ids": ["TestComposeInits.test_initialize_config_dir_ctx_with_relative_dir", "TestComposeInits.test_initialize_config_module_ctx", "TestComposeInits.test_initialize_ctx", "TestComposeInits"], "tokens": 754}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.usefixtures(\"hydra_restore_singletons\")\n@mark.parametrize(\n \"config_file, overrides, expected\",\n [\n # empty\n (None, [], {}),\n (\n None,\n [\"+db=sqlite\"],\n {\n \"db\": {\n \"driver\": \"sqlite\",\n \"user\": \"???\",\n \"pass\": \"???\",\n \"file\": \"test.db\",\n }\n },\n ),\n (\n None,\n [\"+db=mysql\", \"+environment=production\"],\n {\"db\": {\"driver\": \"mysql\", \"user\": \"mysql\", \"pass\": \"r4Zn*jQ9JB1Rz2kfz\"}},\n ),\n (\n None,\n [\"+db=mysql\", \"+environment=production\", \"+application=donkey\"],\n {\n \"db\": {\"driver\": \"mysql\", \"user\": \"mysql\", \"pass\": \"r4Zn*jQ9JB1Rz2kfz\"},\n \"donkey\": {\"name\": \"kong\", \"rank\": \"king\"},\n },\n ),\n (\n None,\n [\n \"+db=mysql\",\n \"+environment=production\",\n \"+application=donkey\",\n \"donkey.name=Dapple\",\n \"donkey.rank=squire_donkey\",\n ],\n {\n \"db\": {\"driver\": \"mysql\", \"user\": \"mysql\", \"pass\": \"r4Zn*jQ9JB1Rz2kfz\"},\n \"donkey\": {\"name\": \"Dapple\", \"rank\": \"squire_donkey\"},\n },\n ),\n # load config\n (\n \"config\",\n [],\n {\n \"db\": {\n \"driver\": \"sqlite\",\n \"user\": \"test\",\n \"pass\": \"test\",\n \"file\": \"test.db\",\n },\n \"cloud\": {\"name\": \"local\", \"host\": \"localhost\", \"port\": 9876},\n },\n ),\n (\n \"config\",\n [\"environment=production\", \"db=mysql\"],\n {\n \"db\": {\"driver\": \"mysql\", \"user\": \"mysql\", \"pass\": \"r4Zn*jQ9JB1Rz2kfz\"},\n \"cloud\": {\"name\": \"local\", \"host\": \"localhost\", \"port\": 9876},\n },\n ),\n ],\n)\nclass TestComposeInits:\n def test_initialize_ctx(\n self, config_file: str, overrides: List[str], expected: Any\n ) -> None:\n with initialize(\n version_base=None,\n config_path=\"../examples/jupyter_notebooks/cloud_app/conf\",\n ):\n ret = compose(config_file, overrides)\n assert ret == expected\n\n def test_initialize_config_dir_ctx_with_relative_dir(\n self, config_file: str, overrides: List[str], expected: Any\n ) -> None:\n with raises(\n HydraException,\n match=re.escape(\n \"initialize_config_dir() requires an absolute config_dir as input\"\n ),\n ):\n with initialize_config_dir(\n config_dir=\"../examples/jupyter_notebooks/cloud_app/conf\",\n version_base=None,\n job_name=\"job_name\",\n ):\n ret = compose(config_file, overrides)\n assert ret == expected\n\n def test_initialize_config_module_ctx(\n self, config_file: str, overrides: List[str], expected: Any\n ) -> None:\n with initialize_config_module(\n config_module=\"examples.jupyter_notebooks.cloud_app.conf\",\n version_base=None,\n job_name=\"job_name\",\n ):\n ret = compose(config_file, overrides)\n assert ret == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_ctx_with_absolute_dir_test_initialize_config_dir_ctx_with_absolute_dir.with_initialize_config_di.assert_ret_test_grou": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_ctx_with_absolute_dir_test_initialize_config_dir_ctx_with_absolute_dir.with_initialize_config_di.assert_ret_test_grou", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 269, "end_line": 295, "span_ids": ["test_initialize_config_dir_ctx_with_absolute_dir", "test_initialize_ctx_with_absolute_dir"], "tokens": 215}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_initialize_ctx_with_absolute_dir(\n hydra_restore_singletons: Any, tmpdir: Any\n) -> None:\n with raises(\n HydraException, match=re.escape(\"config_path in initialize() must be relative\")\n ):\n with initialize(version_base=None, config_path=str(tmpdir)):\n compose(overrides=[\"+test_group=test\"])\n\n\ndef test_initialize_config_dir_ctx_with_absolute_dir(\n hydra_restore_singletons: Any, tmpdir: Any\n) -> None:\n tmpdir = Path(tmpdir)\n (tmpdir / \"test_group\").mkdir(parents=True)\n cfg = OmegaConf.create({\"foo\": \"bar\"})\n\n cfg_file = tmpdir / \"test_group\" / \"test.yaml\"\n with open(str(cfg_file), \"w\") as f:\n OmegaConf.save(cfg, f)\n\n with initialize_config_dir(\n config_dir=str(tmpdir),\n version_base=None,\n ):\n ret = compose(overrides=[\"+test_group=test\"])\n assert ret == {\"test_group\": cfg}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_jobname_override_initialize_ctx_test_jobname_override_initialize_config_dir_ctx.with_initialize_config_di.assert_ret_hydra_job_name": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_jobname_override_initialize_ctx_test_jobname_override_initialize_config_dir_ctx.with_initialize_config_di.assert_ret_hydra_job_name", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 298, "end_line": 320, "span_ids": ["test_jobname_override_initialize_ctx", "test_jobname_override_initialize_config_dir_ctx"], "tokens": 187}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"job_name,expected\", [(None, \"test_compose\"), (\"test_job\", \"test_job\")]\n)\ndef test_jobname_override_initialize_ctx(\n hydra_restore_singletons: Any, job_name: Optional[str], expected: str\n) -> None:\n with initialize(\n version_base=None,\n config_path=\"../examples/jupyter_notebooks/cloud_app/conf\",\n job_name=job_name,\n ):\n ret = compose(return_hydra_config=True)\n assert ret.hydra.job.name == expected\n\n\ndef test_jobname_override_initialize_config_dir_ctx(\n hydra_restore_singletons: Any, tmpdir: Any\n) -> None:\n with initialize_config_dir(\n config_dir=str(tmpdir), version_base=None, job_name=\"test_job\"\n ):\n ret = compose(return_hydra_config=True)\n assert ret.hydra.job.name == \"test_job\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_config_module_ctx_test_initialize_config_module_ctx.None_2.assert_ret_hydra_job_name": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_test_initialize_config_module_ctx_test_initialize_config_module_ctx.None_2.assert_ret_hydra_job_name", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 323, "end_line": 345, "span_ids": ["test_initialize_config_module_ctx"], "tokens": 178}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_initialize_config_module_ctx(hydra_restore_singletons: Any) -> None:\n with initialize_config_module(\n config_module=\"examples.jupyter_notebooks.cloud_app.conf\",\n version_base=None,\n ):\n ret = compose(return_hydra_config=True)\n assert ret.hydra.job.name == \"app\"\n\n with initialize_config_module(\n config_module=\"examples.jupyter_notebooks.cloud_app.conf\",\n job_name=\"test_job\",\n version_base=None,\n ):\n ret = compose(return_hydra_config=True)\n assert ret.hydra.job.name == \"test_job\"\n\n with initialize_config_module(\n config_module=\"examples.jupyter_notebooks.cloud_app.conf\",\n job_name=\"test_job\",\n version_base=None,\n ):\n ret = compose(return_hydra_config=True)\n assert ret.hydra.job.name == \"test_job\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader_TestConfigLoader.test_load_with_optional_default.assert_cfg_foo_10_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader_TestConfigLoader.test_load_with_optional_default.assert_cfg_foo_10_", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 42, "end_line": 81, "span_ids": ["TestConfigLoader.test_load_with_optional_default", "TestConfigLoader", "TestConfigLoader.test_load_configuration", "TestConfigLoader.test_load_with_missing_default"], "tokens": 302}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"path\",\n [\n param(\"file://hydra/test_utils/configs\", id=\"file\"),\n param(\"pkg://hydra.test_utils.configs\", id=\"pkg\"),\n ],\n)\nclass TestConfigLoader:\n def test_load_configuration(self, path: str) -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(path)\n )\n cfg = config_loader.load_configuration(\n config_name=\"config.yaml\",\n overrides=[\"+abc=123\"],\n run_mode=RunMode.RUN,\n )\n with open_dict(cfg):\n del cfg[\"hydra\"]\n assert cfg == {\"normal_yaml_config\": True, \"abc\": 123}\n\n def test_load_with_missing_default(self, path: str) -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(path)\n )\n with raises(MissingConfigException):\n config_loader.load_configuration(\n config_name=\"missing-default.yaml\", overrides=[], run_mode=RunMode.RUN\n )\n\n def test_load_with_optional_default(self, path: str) -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(path)\n )\n cfg = config_loader.load_configuration(\n config_name=\"optional-default.yaml\", overrides=[], run_mode=RunMode.RUN\n )\n with open_dict(cfg):\n del cfg[\"hydra\"]\n assert cfg == {\"foo\": 10}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_override_compose_two_package_one_group_TestConfigLoader.test_override_compose_two_package_one_group.assert_cfg_expected": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_TestConfigLoader.test_override_compose_two_package_one_group_TestConfigLoader.test_override_compose_two_package_one_group.assert_cfg_expected", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 83, "end_line": 120, "span_ids": ["TestConfigLoader.test_override_compose_two_package_one_group"], "tokens": 309}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"path\",\n [\n param(\"file://hydra/test_utils/configs\", id=\"file\"),\n param(\"pkg://hydra.test_utils.configs\", id=\"pkg\"),\n ],\n)\nclass TestConfigLoader:\n\n @mark.parametrize(\n \"overrides,expected\",\n [\n param(\n [],\n {\"pkg1\": {\"group1_option1\": True}, \"pkg2\": {\"group1_option1\": True}},\n id=\"baseline\",\n ),\n param(\n [\"+group1@pkg3=option1\"],\n {\n \"pkg1\": {\"group1_option1\": True},\n \"pkg2\": {\"group1_option1\": True},\n \"pkg3\": {\"group1_option1\": True},\n },\n id=\"append\",\n ),\n param(\n [\"~group1@pkg1\"],\n {\"pkg2\": {\"group1_option1\": True}},\n id=\"delete_package\",\n ),\n ],\n )\n def test_override_compose_two_package_one_group(\n self, path: str, overrides: List[str], expected: Any\n ) -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(f\"{path}/package_tests\")\n )\n cfg = config_loader.load_configuration(\n config_name=\"two_packages_one_group\",\n overrides=overrides,\n run_mode=RunMode.RUN,\n )\n with open_dict(cfg):\n del cfg[\"hydra\"]\n assert cfg == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_defaults_not_list_exception_test_override_hydra_config_value_from_config_file.assert_cfg_hydra_run_dir_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_defaults_not_list_exception_test_override_hydra_config_value_from_config_file.assert_cfg_hydra_run_dir_", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 364, "end_line": 386, "span_ids": ["test_override_hydra_config_value_from_config_file", "test_defaults_not_list_exception"], "tokens": 154}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_defaults_not_list_exception() -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(\"hydra/test_utils/configs\")\n )\n with raises(ValueError):\n config_loader.load_configuration(\n config_name=\"defaults_not_list.yaml\",\n overrides=[],\n run_mode=RunMode.RUN,\n )\n\n\ndef test_override_hydra_config_value_from_config_file() -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(\"hydra/test_utils/configs\")\n )\n\n cfg = config_loader.load_configuration(\n config_name=\"overriding_output_dir.yaml\",\n overrides=[],\n run_mode=RunMode.RUN,\n )\n assert cfg.hydra.run.dir == \"foo\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_list_groups_test_list_groups.assert_sorted_config_load": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_list_groups_test_list_groups.assert_sorted_config_load", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 389, "end_line": 413, "span_ids": ["test_list_groups"], "tokens": 133}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_list_groups() -> None:\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(\n \"examples/jupyter_notebooks/cloud_app/conf\"\n )\n )\n groups = config_loader.list_groups(\"\")\n assert sorted(groups) == [\n \"application\",\n \"cloud_provider\",\n \"db\",\n \"environment\",\n \"hydra\",\n ]\n\n assert sorted(config_loader.list_groups(\"hydra\")) == [\n \"env\",\n \"help\",\n \"hydra_help\",\n \"hydra_logging\",\n \"job_logging\",\n \"launcher\",\n \"output\",\n \"sweeper\",\n ]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_Plugin_Config.plugin.Plugin_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_Plugin_Config.plugin.Plugin_", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 740, "end_line": 765, "span_ids": ["Plugin", "Config", "InvalidPlugin", "ConcretePlugin", "ConcretePlugin.FoobarParams", "ConcretePlugin:4"], "tokens": 113}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@dataclass\nclass Plugin:\n name: str = MISSING\n params: Any = MISSING\n\n\n@dataclass\nclass ConcretePlugin(Plugin):\n name: str = \"foobar_plugin\"\n\n @dataclass\n class FoobarParams:\n foo: int = 10\n\n params: FoobarParams = FoobarParams()\n\n\n@dataclass\n# A plugin that does not extend the parent Plugin class\nclass InvalidPlugin:\n name: str = \"invalid_plugin\"\n\n\n@dataclass\nclass Config:\n plugin: Plugin = Plugin()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_invalid_plugin_merge_test_job_env_copy.with_env_override_zonk_.assert_cfg_hydra_job_env_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_loader.py_test_invalid_plugin_merge_test_job_env_copy.with_env_override_zonk_.assert_cfg_hydra_job_env_", "embedding": null, "metadata": {"file_path": "tests/test_config_loader.py", "file_name": "test_config_loader.py", "file_type": "text/x-python", "category": "test", "start_line": 504, "end_line": 524, "span_ids": ["test_invalid_plugin_merge", "test_job_env_copy"], "tokens": 191}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_invalid_plugin_merge(hydra_restore_singletons: Any) -> Any:\n cs = ConfigStore.instance()\n cs.store(name=\"config\", node=Config)\n cs.store(group=\"plugin\", name=\"invalid\", node=InvalidPlugin)\n\n cl = ConfigLoaderImpl(config_search_path=create_config_search_path(None))\n with raises(HydraException):\n cl.load_configuration(\n config_name=\"config\", overrides=[\"plugin=invalid\"], run_mode=RunMode.RUN\n )\n\n\ndef test_job_env_copy() -> None:\n config_loader = ConfigLoaderImpl(config_search_path=create_config_search_path(None))\n with env_override({\"zonk\": \"123456\"}):\n cfg = config_loader.load_configuration(\n config_name=None,\n overrides=[\"hydra.job.env_copy=[zonk]\"],\n run_mode=RunMode.RUN,\n )\n assert cfg.hydra.job.env_set == {\"zonk\": \"123456\"}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestCoreConfigSources_create_config_search_path.return.csp": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestCoreConfigSources_create_config_search_path.return.csp", "embedding": null, "metadata": {"file_path": "tests/test_config_repository.py", "file_name": "test_config_repository.py", "file_type": "text/x-python", "category": "test", "start_line": 32, "end_line": 59, "span_ids": ["create_config_search_path", "TestCoreConfigSources"], "tokens": 160}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"type_, path\",\n [\n param(\n FileConfigSource,\n \"file://tests/test_apps/config_source_test/dir\",\n id=\"FileConfigSource\",\n ),\n param(\n ImportlibResourcesConfigSource,\n \"pkg://tests.test_apps.config_source_test.dir\",\n id=\"ImportlibResourcesConfigSource\",\n ),\n param(\n StructuredConfigSource,\n \"structured://tests.test_apps.config_source_test.structured\",\n id=\"StructuredConfigSource\",\n ),\n ],\n)\nclass TestCoreConfigSources(ConfigSourceTestSuite):\n pass\n\n\ndef create_config_search_path(path: str) -> ConfigSearchPathImpl:\n csp = ConfigSearchPathImpl()\n csp.append(provider=\"test\", path=path)\n return csp", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestConfigRepository_TestConfigRepository.test_config_repository_exists.assert_not_repo_config_ex": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_repository.py_TestConfigRepository_TestConfigRepository.test_config_repository_exists.assert_not_repo_config_ex", "embedding": null, "metadata": {"file_path": "tests/test_config_repository.py", "file_name": "test_config_repository.py", "file_type": "text/x-python", "category": "test", "start_line": 62, "end_line": 88, "span_ids": ["TestConfigRepository.test_config_repository_load", "TestConfigRepository", "TestConfigRepository.test_config_repository_exists"], "tokens": 239}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"path\",\n [\n \"file://tests/test_apps/config_source_test/dir\",\n \"pkg://tests.test_apps.config_source_test.dir\",\n ],\n)\nclass TestConfigRepository:\n def test_config_repository_load(\n self, hydra_restore_singletons: Any, path: str\n ) -> None:\n Plugins.instance() # initializes\n config_search_path = create_config_search_path(path)\n repo = ConfigRepository(config_search_path=config_search_path)\n ret = repo.load_config(config_path=\"dataset/imagenet.yaml\")\n assert ret is not None\n assert ret.config == {\"name\": \"imagenet\", \"path\": \"/datasets/imagenet\"}\n assert repo.load_config(config_path=\"not_found.yaml\") is None\n\n def test_config_repository_exists(\n self, hydra_restore_singletons: Any, path: str\n ) -> None:\n Plugins.instance() # initializes\n config_search_path = create_config_search_path(path)\n repo = ConfigRepository(config_search_path=config_search_path)\n assert repo.config_exists(\"dataset/imagenet.yaml\")\n assert not repo.config_exists(\"not_found.yaml\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_os_to_tuples_list.return._x_provider_x_path_for": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_os_to_tuples_list.return._x_provider_x_path_for", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 22, "span_ids": ["to_tuples_list", "create_search_path", "docstring"], "tokens": 170}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\nfrom os.path import realpath\nfrom typing import List, Optional, Tuple\n\nfrom pytest import mark\n\nfrom hydra._internal.config_search_path_impl import ConfigSearchPathImpl\nfrom hydra._internal.utils import compute_search_path_dir\nfrom hydra.core.config_search_path import SearchPathElement, SearchPathQuery\n\n\ndef create_search_path(base_list: List[Tuple[str, str]]) -> ConfigSearchPathImpl:\n csp = ConfigSearchPathImpl()\n csp.config_search_path = [SearchPathElement(x[0], x[1]) for x in base_list]\n return csp\n\n\ndef to_tuples_list(\n search_path: ConfigSearchPathImpl,\n) -> List[Tuple[Optional[str], Optional[str]]]:\n return [(x.provider, x.path) for x in search_path.config_search_path]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_last_match_test_find_last_match.assert_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_last_match_test_find_last_match.assert_", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 25, "end_line": 41, "span_ids": ["test_find_last_match"], "tokens": 199}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"input_list, reference, expected_idx\",\n [\n ([], (\"\", \"\"), -1),\n ([(\"a\", \"10\")], (\"a\", None), 0),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"a\", None), 2),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"b\", None), 1),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"a\", \"10\"), 0),\n ],\n)\ndef test_find_last_match(\n input_list: List[Tuple[str, str]], reference: str, expected_idx: int\n) -> None:\n csp = create_search_path(input_list)\n assert (\n csp.find_last_match(SearchPathQuery(reference[0], reference[1])) == expected_idx\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_first_match_test_find_first_match.assert_csp_find_first_mat": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_find_first_match_test_find_first_match.assert_csp_find_first_mat", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 44, "end_line": 59, "span_ids": ["test_find_first_match"], "tokens": 199}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"input_list, reference, expected_idx\",\n [\n ([], (\"\", \"\"), -1),\n ([(\"a\", \"10\")], (\"a\", None), 0),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"a\", None), 0),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"b\", None), 1),\n ([(\"a\", \"10\"), (\"b\", \"20\"), (\"a\", \"30\")], (\"a\", \"10\"), 0),\n ],\n)\ndef test_find_first_match(\n input_list: List[Tuple[str, str]], reference: str, expected_idx: int\n) -> None:\n csp = create_search_path(input_list)\n sp = SearchPathQuery(reference[0], reference[1])\n assert csp.find_first_match(sp) == expected_idx", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_append_test_append.assert_to_tuples_list_csp": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_append_test_append.assert_to_tuples_list_csp", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 62, "end_line": 104, "span_ids": ["test_append"], "tokens": 368}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"base_list, provider, path, anchor_provider, result_list\",\n [\n # appending to an empty list\n ([], \"foo\", \"/path\", None, [(\"foo\", \"/path\")]),\n # appending to a non empty list\n ([(\"f1\", \"/p1\")], \"f2\", \"/p2\", None, [(\"f1\", \"/p1\"), (\"f2\", \"/p2\")]),\n # appending after an anchor at key 0\n (\n [(\"f1\", \"A\"), (\"f2\", \"B\")],\n \"f3\",\n \"B\",\n SearchPathQuery(None, \"A\"),\n [(\"f1\", \"A\"), (\"f3\", \"B\"), (\"f2\", \"B\")],\n ),\n # appending after an anchor at the end of the list\n (\n [(\"f1\", \"A\"), (\"f2\", \"B\")],\n \"f3\",\n \"B\",\n SearchPathQuery(None, \"B\"),\n [(\"f1\", \"A\"), (\"f2\", \"B\"), (\"f3\", \"B\")],\n ),\n # appending after a non existent anchor\n (\n [],\n \"new_provider\",\n \"/path\",\n \"unregister_provider\",\n [(\"new_provider\", \"/path\")],\n ),\n ],\n)\ndef test_append(\n base_list: List[Tuple[str, str]],\n provider: str,\n path: str,\n anchor_provider: SearchPathQuery,\n result_list: List[Tuple[str, str]],\n) -> None:\n csp = create_search_path(base_list)\n csp.append(provider=provider, path=path, anchor=anchor_provider)\n assert to_tuples_list(csp) == result_list", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_prepend_test_prepend.assert_to_tuples_list_csp": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_prepend_test_prepend.assert_to_tuples_list_csp", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 107, "end_line": 149, "span_ids": ["test_prepend"], "tokens": 376}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"base_list, provider, path, anchor_provider, result_list\",\n [\n # prepending to an empty list\n ([], \"foo\", \"/path\", None, [(\"foo\", \"/path\")]),\n # prepending to a full list\n (\n [(\"foo\", \"/path\")],\n \"foo2\",\n \"/path2\",\n None,\n [(\"foo2\", \"/path2\"), (\"foo\", \"/path\")],\n ),\n # prepending in front of an anchor at key 0\n (\n [(\"foo\", \"/path\")],\n \"foo2\",\n \"/path2\",\n SearchPathQuery(\"foo\", \"/path\"),\n [(\"foo2\", \"/path2\"), (\"foo\", \"/path\")],\n ),\n # prepending in front of an anchor at key 1\n (\n [(\"foo\", \"/path\"), (\"foo2\", \"/path2\")],\n \"foo3\",\n \"/path3\",\n SearchPathQuery(\"foo2\", \"/path2\"),\n [(\"foo\", \"/path\"), (\"foo3\", \"/path3\"), (\"foo2\", \"/path2\")],\n ),\n # prepending in front of a none existing anchor results in prepending to the head of the list\n ([], \"foo2\", \"/path2\", \"does not exist\", [(\"foo2\", \"/path2\")]),\n ],\n)\ndef test_prepend(\n base_list: List[Tuple[str, str]],\n provider: str,\n path: str,\n anchor_provider: SearchPathQuery,\n result_list: List[Tuple[str, str]],\n) -> None:\n csp = create_search_path(base_list)\n csp.prepend(provider=provider, path=path, anchor=anchor_provider)\n assert to_tuples_list(csp) == result_list", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_compute_search_path_dir_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_config_search_path.py_test_compute_search_path_dir_", "embedding": null, "metadata": {"file_path": "tests/test_config_search_path.py", "file_name": "test_config_search_path.py", "file_type": "text/x-python", "category": "test", "start_line": 152, "end_line": 181, "span_ids": ["test_compute_search_path_dir"], "tokens": 303}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module, config_path, expected\",\n [\n (\"foo.py\", None, None, None),\n (\"foo/bar.py\", None, None, None),\n (\"foo/bar.py\", None, \"conf\", realpath(\"foo/conf\")),\n (\"foo/bar.py\", None, \"../conf\", realpath(\"conf\")),\n (\"c:/foo/bar.py\", None, \"conf\", realpath(\"c:/foo/conf\")),\n (\"c:/foo/bar.py\", None, \"../conf\", realpath(\"c:/conf\")),\n (None, \"module\", None, \"pkg://\"),\n (None, \"package.module\", None, \"pkg://package\"),\n (None, \"package.module\", \"conf\", \"pkg://package/conf\"),\n # This is an unusual one. this behavior is intentional.\n (None, \"package.module\", \"../conf\", \"pkg://conf\"),\n (None, \"package1.rename_package_to.module\", \"../conf\", \"pkg://package1/conf\"),\n # prefer directory\n (\n \"foo\",\n \"package1.rename_package_to.module\",\n \"../conf\",\n os.path.realpath(os.path.join(os.getcwd(), \"../conf\")),\n ),\n ],\n)\ndef test_compute_search_path_dir(\n calling_file: str, calling_module: str, config_path: str, expected: str\n) -> None:\n res = compute_search_path_dir(calling_file, calling_module, config_path)\n assert res == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_sys_test_accessing_hydra_config.assert_cfg_config_name_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_sys_test_accessing_hydra_config.assert_cfg_config_name_", "embedding": null, "metadata": {"file_path": "tests/test_core_utils.py", "file_name": "test_core_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 27, "span_ids": ["test_accessing_hydra_config", "docstring"], "tokens": 198}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import sys\nfrom typing import Any\n\nfrom omegaconf import OmegaConf, open_dict\n\nfrom hydra._internal.config_loader_impl import ConfigLoaderImpl\nfrom hydra._internal.utils import create_config_search_path\nfrom hydra.core import utils\nfrom hydra.core.hydra_config import HydraConfig\nfrom hydra.types import RunMode\n\n\ndef test_accessing_hydra_config(hydra_restore_singletons: Any) -> Any:\n utils.setup_globals()\n\n config_loader = ConfigLoaderImpl(\n config_search_path=create_config_search_path(\"pkg://hydra.test_utils.configs\")\n )\n cfg = config_loader.load_configuration(\n config_name=\"accessing_hydra_config\", run_mode=RunMode.RUN, overrides=[]\n )\n HydraConfig.instance().set_config(cfg)\n with open_dict(cfg):\n del cfg[\"hydra\"]\n assert cfg.job_name == \"UNKNOWN_NAME\"\n assert cfg.config_name == \"accessing_hydra_config\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_test_py_version_resolver_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_core_utils.py_test_py_version_resolver_", "embedding": null, "metadata": {"file_path": "tests/test_core_utils.py", "file_name": "test_core_utils.py", "file_type": "text/x-python", "category": "test", "start_line": 30, "end_line": 37, "span_ids": ["test_py_version_resolver"], "tokens": 138}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_py_version_resolver(hydra_restore_singletons: Any, monkeypatch: Any) -> Any:\n monkeypatch.setattr(sys, \"version_info\", (3, 7, 2))\n utils.setup_globals()\n assert OmegaConf.create({\"key\": \"${python_version:}\"}).key == \"3.7\"\n assert OmegaConf.create({\"key\": \"${python_version:major}\"}).key == \"3\"\n assert OmegaConf.create({\"key\": \"${python_version:minor}\"}).key == \"3.7\"\n assert OmegaConf.create({\"key\": \"${python_version:micro}\"}).key == \"3.7.2\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_examples/__init__.py", "file_name": "__init__.py", "file_type": "text/x-python", "category": "test", "start_line": 1, "end_line": 2, "span_ids": ["docstring"], "tokens": 16}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_re_test_tutorial_simple_cli_app.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_re_test_tutorial_simple_cli_app.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 44, "span_ids": ["test_tutorial_simple_cli_app", "docstring"], "tokens": 267}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import re\nimport subprocess\nfrom pathlib import Path\nfrom typing import Any, List\n\nfrom _pytest.python_api import RaisesContext\nfrom omegaconf import DictConfig, OmegaConf\nfrom pytest import mark, raises\n\nfrom hydra.test_utils.test_utils import (\n TSweepRunner,\n TTaskRunner,\n chdir_hydra_root,\n run_python_script,\n verify_dir_outputs,\n)\n\nchdir_hydra_root()\n\n\n@mark.parametrize(\n \"args,output_conf\",\n [\n ([], OmegaConf.create()),\n (\n [\"+db.driver=mysql\", \"+db.user=omry\", \"+db.password=secret\"],\n OmegaConf.create(\n {\"db\": {\"driver\": \"mysql\", \"user\": \"omry\", \"password\": \"secret\"}}\n ),\n ),\n ],\n)\ndef test_tutorial_simple_cli_app(\n tmpdir: Path, args: List[str], output_conf: DictConfig\n) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/1_simple_cli/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(args)\n result, _err = run_python_script(cmd)\n assert OmegaConf.create(result) == output_conf", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_working_directory_test_tutorial_logging.for_i_in_range_len_lines_.assert_re_findall_re_esca": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_working_directory_test_tutorial_logging.for_i_in_range_len_lines_.assert_re_findall_re_esca", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 47, "end_line": 75, "span_ids": ["test_tutorial_working_directory", "test_tutorial_logging"], "tokens": 251}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_tutorial_working_directory(tmpdir: Path) -> None:\n cmd = [\n \"examples/tutorials/basic/running_your_hydra_app/3_working_directory/my_app.py\",\n f\"hydra.run.dir={tmpdir}\",\n \"hydra.job.chdir=True\",\n ]\n result, _err = run_python_script(cmd)\n assert result == \"Working directory : {}\".format(tmpdir)\n\n\n@mark.parametrize(\n \"args,expected\",\n [\n ([], [\"Info level message\"]),\n ([\"hydra.verbose=[__main__]\"], [\"Info level message\", \"Debug level message\"]),\n ],\n)\ndef test_tutorial_logging(tmpdir: Path, args: List[str], expected: List[str]) -> None:\n cmd = [\n \"examples/tutorials/basic/running_your_hydra_app/4_logging/my_app.py\",\n f\"hydra.run.dir={tmpdir}\",\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(args)\n result, _err = run_python_script(cmd)\n lines = result.splitlines()\n assert len(lines) == len(expected)\n for i in range(len(lines)):\n assert re.findall(re.escape(expected[i]), lines[i])", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_file_test_tutorial_config_file.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_file_test_tutorial_config_file.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 78, "end_line": 97, "span_ids": ["test_tutorial_config_file"], "tokens": 148}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"args,output_conf\",\n [\n (\n [],\n OmegaConf.create(\n {\"db\": {\"driver\": \"mysql\", \"password\": \"secret\", \"user\": \"omry\"}}\n ),\n )\n ],\n)\ndef test_tutorial_config_file(tmpdir: Path, args: List[str], output_conf: Any) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(args)\n result, _err = run_python_script(cmd)\n assert OmegaConf.create(result) == output_conf", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_groups_test_tutorial_config_groups.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_config_groups_test_tutorial_config_groups.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 131, "end_line": 160, "span_ids": ["test_tutorial_config_groups"], "tokens": 184}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"args,output_conf\",\n [\n ([], OmegaConf.create()),\n (\n [\"+db=postgresql\"],\n OmegaConf.create(\n {\n \"db\": {\n \"driver\": \"postgresql\",\n \"password\": \"drowssap\",\n \"timeout\": 10,\n \"user\": \"postgres_user\",\n }\n }\n ),\n ),\n ],\n)\ndef test_tutorial_config_groups(\n tmpdir: Path, args: List[str], output_conf: DictConfig\n) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/4_config_groups/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(args)\n result, _err = run_python_script(cmd)\n assert OmegaConf.create(result) == output_conf", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_defaults_test_tutorial_defaults.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_tutorial_defaults_test_tutorial_defaults.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 163, "end_line": 199, "span_ids": ["test_tutorial_defaults"], "tokens": 251}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"args,expected\",\n [\n ([], {\"db\": {\"driver\": \"mysql\", \"pass\": \"secret\", \"user\": \"omry\"}}),\n (\n [\"db=postgresql\"],\n {\n \"db\": {\n \"driver\": \"postgresql\",\n \"pass\": \"drowssap\",\n \"timeout\": 10,\n \"user\": \"postgres_user\",\n }\n },\n ),\n (\n [\"db=postgresql\", \"db.timeout=20\"],\n {\n \"db\": {\n \"driver\": \"postgresql\",\n \"pass\": \"drowssap\",\n \"timeout\": 20,\n \"user\": \"postgres_user\",\n }\n },\n ),\n ],\n)\ndef test_tutorial_defaults(tmpdir: Path, args: List[str], expected: DictConfig) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(args)\n result, _err = run_python_script(cmd)\n assert OmegaConf.create(result) == OmegaConf.create(expected)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_composition_config_example_test_composition_config_example.with_hydra_task_runner_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_composition_config_example_test_composition_config_example.with_hydra_task_runner_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 195, "end_line": 228, "span_ids": ["test_composition_config_example"], "tokens": 257}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_composition_config_example(\n hydra_restore_singletons: Any, hydra_task_runner: TTaskRunner\n) -> None:\n with hydra_task_runner(\n calling_file=\"examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py\",\n calling_module=None,\n config_path=\"conf\",\n config_name=\"config.yaml\",\n overrides=[\"schema=school\"],\n configure_logging=True,\n ) as task:\n assert task.job_ret is not None\n assert task.job_ret.cfg == {\n \"db\": {\"driver\": \"mysql\", \"user\": \"omry\", \"pass\": \"secret\"},\n \"ui\": {\"windows\": {\"create_db\": True, \"view\": True}},\n \"schema\": {\n \"database\": \"school\",\n \"tables\": [\n {\n \"name\": \"students\",\n \"fields\": [{\"name\": \"string\"}, {\"class\": \"int\"}],\n },\n {\n \"name\": \"exams\",\n \"fields\": [\n {\"profession\": \"string\"},\n {\"time\": \"data\"},\n {\"class\": \"int\"},\n ],\n },\n ],\n },\n }\n verify_dir_outputs(task.job_ret, overrides=task.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_sweeping_example_test_sweeping_example.with_hydra_sweep_runner_.for_ret_in_sweep_returns_.assert_tuple_ret_override": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_examples/test_tutorials_basic.py_test_sweeping_example_test_sweeping_example.with_hydra_sweep_runner_.for_ret_in_sweep_returns_.assert_tuple_ret_override", "embedding": null, "metadata": {"file_path": "tests/test_examples/test_tutorials_basic.py", "file_name": "test_tutorials_basic.py", "file_type": "text/x-python", "category": "test", "start_line": 227, "end_line": 247, "span_ids": ["test_sweeping_example"], "tokens": 192}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_sweeping_example(\n hydra_restore_singletons: Any, hydra_sweep_runner: TSweepRunner\n) -> None:\n with hydra_sweep_runner(\n calling_file=\"examples/tutorials/basic/your_first_hydra_app/6_composition/my_app.py\",\n calling_module=None,\n config_path=\"conf\",\n config_name=\"config.yaml\",\n task_function=None,\n overrides=[\"schema=warehouse,support\", \"db=mysql,postgresql\"],\n ) as sweep:\n overrides = {\n (\"schema=warehouse\", \"db=mysql\"),\n (\"schema=warehouse\", \"db=postgresql\"),\n (\"schema=support\", \"db=mysql\"),\n (\"schema=support\", \"db=postgresql\"),\n }\n\n assert sweep.returns is not None and len(sweep.returns[0]) == 4\n for ret in sweep.returns[0]:\n assert tuple(ret.overrides) in overrides", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_os_chdir_hydra_root_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_os_chdir_hydra_root_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 29, "span_ids": ["docstring"], "tokens": 145}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "import os\nimport re\nimport subprocess\nimport sys\nfrom logging import getLogger\nfrom pathlib import Path\nfrom textwrap import dedent\nfrom typing import Any, List, Optional, Set\n\nfrom omegaconf import DictConfig, OmegaConf\nfrom pytest import mark, param, raises\n\nfrom hydra import MissingConfigException, version\nfrom hydra.test_utils.test_utils import (\n TSweepRunner,\n TTaskRunner,\n assert_multiline_regex_search,\n assert_regex_match,\n assert_text_same,\n chdir_hydra_root,\n integration_test,\n normalize_newlines,\n run_python_script,\n run_with_error,\n verify_dir_outputs,\n)\n\nchdir_hydra_root()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config___no_overrides_test_app_without_config___no_overrides.with_hydra_task_runner_.assert_task_job_ret_cfg_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config___no_overrides_test_app_without_config___no_overrides.with_hydra_task_runner_.assert_task_job_ret_cfg_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 75, "end_line": 95, "span_ids": ["test_app_without_config___no_overrides"], "tokens": 143}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_without_config/my_app.py\", None),\n (None, \"tests.test_apps.app_without_config.my_app\"),\n ],\n)\ndef test_app_without_config___no_overrides(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=None,\n config_name=None,\n ) as task:\n assert task.job_ret is not None\n assert task.job_ret.cfg == {}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_main_rerun_test_hydra_main_rerun.with_hydra_task_runner_.assert_task_job_ret_cfg_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_main_rerun_test_hydra_main_rerun.with_hydra_task_runner_.assert_task_job_ret_cfg_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 98, "end_line": 118, "span_ids": ["test_hydra_main_rerun"], "tokens": 150}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/hydra_main_rerun/my_app.py\", None),\n (None, \"tests.test_apps.hydra_main_rerun.my_app\"),\n ],\n)\ndef test_hydra_main_rerun(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=None,\n config_name=None,\n ) as task:\n assert task.job_ret is not None\n assert task.job_ret.cfg == {}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config__with_append_test_app_without_config__with_append.with_hydra_task_runner_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_without_config__with_append_test_app_without_config__with_append.with_hydra_task_runner_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 121, "end_line": 145, "span_ids": ["test_app_without_config__with_append"], "tokens": 195}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_without_config/my_app.py\", None),\n (None, \"tests.test_apps.app_without_config.my_app\"),\n ],\n)\ndef test_app_without_config__with_append(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\"\",\n config_name=None,\n overrides=[\"+abc=123\", \"+a.b=1\", \"+a.a=2\"],\n configure_logging=True,\n ) as task:\n assert task.job_ret is not None and task.job_ret.cfg == dict(\n abc=123, a=dict(b=1, a=2)\n )\n verify_dir_outputs(task.job_ret, task.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__no_overrides_test_app_with_config_file__no_overrides.with_task_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__no_overrides_test_app_with_config_file__no_overrides.with_task_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 148, "end_line": 173, "span_ids": ["test_app_with_config_file__no_overrides"], "tokens": 181}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_cfg/my_app.py\", None),\n (None, \"tests.test_apps.app_with_cfg.my_app\"),\n ],\n)\ndef test_app_with_config_file__no_overrides(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n task = hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\".\",\n config_name=\"config.yaml\",\n configure_logging=True,\n )\n with task:\n assert task.job_ret is not None and task.job_ret.cfg == {\n \"dataset\": {\"name\": \"imagenet\", \"path\": \"/datasets/imagenet\"}\n }\n\n verify_dir_outputs(task.job_ret)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__with_overide_test_app_with_config_file__with_overide.with_hydra_task_runner_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_file__with_overide_test_app_with_config_file__with_overide.with_hydra_task_runner_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 209, "end_line": 233, "span_ids": ["test_app_with_config_file__with_overide"], "tokens": 192}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_cfg/my_app.py\", None),\n (None, \"tests.test_apps.app_with_cfg.my_app\"),\n ],\n)\ndef test_app_with_config_file__with_overide(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\".\",\n config_name=\"config.yaml\",\n overrides=[\"dataset.path=/datasets/imagenet2\"],\n configure_logging=True,\n ) as task:\n assert task.job_ret is not None and task.job_ret.cfg == dict(\n dataset=dict(name=\"imagenet\", path=\"/datasets/imagenet2\")\n )\n verify_dir_outputs(task.job_ret, task.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_split_config_test_app_with_split_config.with_hydra_task_runner_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_split_config_test_app_with_split_config.with_hydra_task_runner_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 236, "end_line": 260, "span_ids": ["test_app_with_split_config"], "tokens": 188}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_split_cfg/my_app.py\", None),\n (None, \"tests.test_apps.app_with_split_cfg.my_app\"),\n ],\n)\ndef test_app_with_split_config(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\".\",\n config_name=\"config.yaml\",\n configure_logging=True,\n ) as task:\n assert task.job_ret is not None and task.job_ret.cfg == dict(\n dataset=dict(name=\"imagenet\", path=\"/datasets/imagenet\"),\n optimizer=dict(lr=0.001, type=\"nesterov\"),\n )\n verify_dir_outputs(task.job_ret)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_groups__override_all_configs_test_app_with_config_groups__override_all_configs.with_hydra_task_runner_.verify_dir_outputs_task_j": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_config_groups__override_all_configs_test_app_with_config_groups__override_all_configs.with_hydra_task_runner_.verify_dir_outputs_task_j", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 288, "end_line": 312, "span_ids": ["test_app_with_config_groups__override_all_configs"], "tokens": 198}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_cfg_groups/my_app.py\", None),\n (None, \"tests.test_apps.app_with_cfg_groups.my_app\"),\n ],\n)\ndef test_app_with_config_groups__override_all_configs(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\"conf\",\n config_name=None,\n overrides=[\"+optimizer=adam\", \"optimizer.lr=10\"],\n configure_logging=True,\n ) as task:\n assert task.job_ret is not None and task.job_ret.cfg == dict(\n optimizer=dict(type=\"adam\", lr=10, beta=0.01)\n )\n verify_dir_outputs(task.job_ret, overrides=task.overrides)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_sweep_cfg__override_to_basic_launcher_test_app_with_sweep_cfg__override_to_basic_launcher.with_hydra_task_runner_.assert_len_task_job_ret_h": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_app_with_sweep_cfg__override_to_basic_launcher_test_app_with_sweep_cfg__override_to_basic_launcher.with_hydra_task_runner_.assert_len_task_job_ret_h", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 315, "end_line": 342, "span_ids": ["test_app_with_sweep_cfg__override_to_basic_launcher"], "tokens": 223}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_custom_launcher/my_app.py\", None),\n (None, \"tests.test_apps.app_with_custom_launcher.my_app\"),\n ],\n)\ndef test_app_with_sweep_cfg__override_to_basic_launcher(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\".\",\n config_name=\"config.yaml\",\n overrides=[\"hydra/launcher=basic\"],\n ) as task:\n assert task.job_ret is not None\n assert task.job_ret.hydra_cfg is not None\n hydra_cfg = task.job_ret.hydra_cfg\n assert (\n hydra_cfg.hydra.launcher._target_\n == \"hydra._internal.core_plugins.basic_launcher.BasicLauncher\"\n )\n assert len(task.job_ret.hydra_cfg.hydra.launcher) == 1", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_short_module_name_test_hydra_main_module_override_name.integration_test_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_short_module_name_test_hydra_main_module_override_name.integration_test_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 348, "end_line": 369, "span_ids": ["test_short_module_name", "test_hydra_main_module_override_name"], "tokens": 188}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "def test_short_module_name(tmpdir: Path) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n out, _err = run_python_script(cmd)\n assert OmegaConf.create(out) == {\n \"db\": {\"driver\": \"mysql\", \"password\": \"secret\", \"user\": \"omry\"}\n }\n\n\ndef test_hydra_main_module_override_name(tmpdir: Path) -> None:\n cfg = OmegaConf.create()\n integration_test(\n tmpdir=tmpdir,\n task_config=cfg,\n overrides=[],\n prints=\"HydraConfig.get().job.name\",\n expected_outputs=\"Foo\",\n env_override={\"HYDRA_MAIN_MODULE\": \"hydra.test_utils.configs.Foo\"},\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_env_override_test_module_env_override.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_env_override_test_module_env_override.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 372, "end_line": 387, "span_ids": ["test_module_env_override"], "tokens": 165}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"env_name\", [\"HYDRA_MAIN_MODULE\", \"FB_PAR_MAIN_MODULE\", \"FB_XAR_MAIN_MODULE\"]\n)\ndef test_module_env_override(tmpdir: Path, env_name: str) -> None:\n \"\"\"\n Tests that module name overrides are working.\n \"\"\"\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/2_config_file/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n modified_env = os.environ.copy()\n modified_env[env_name] = \"hydra.test_utils.configs.Foo\"\n result, _err = run_python_script(cmd, env=modified_env)\n assert OmegaConf.create(result) == {\"normal_yaml_config\": True}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_test_cfg.for_key_in_expected_keys_.assert_key_in_conf": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_test_cfg.for_key_in_expected_keys_.assert_key_in_conf", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 390, "end_line": 407, "span_ids": ["test_cfg"], "tokens": 172}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"resolve\", [True, False])\n@mark.parametrize(\n \"flag,expected_keys\",\n [(\"--cfg=all\", [\"db\", \"hydra\"]), (\"--cfg=hydra\", [\"hydra\"]), (\"--cfg=job\", [\"db\"])],\n)\ndef test_cfg(tmpdir: Path, flag: str, resolve: bool, expected_keys: List[str]) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n flag,\n ]\n if resolve:\n cmd.append(\"--resolve\")\n result, _err = run_python_script(cmd)\n conf = OmegaConf.create(result)\n for key in expected_keys:\n assert key in conf", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_with_package_test_cfg_with_package.assert_normalize_newlines": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_cfg_with_package_test_cfg_with_package.assert_normalize_newlines", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 410, "end_line": 465, "span_ids": ["test_cfg_with_package"], "tokens": 318}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"resolve\", [True, False])\n@mark.parametrize(\n \"flags,expected\",\n [\n param(\n [\"--cfg=job\"],\n dedent(\n \"\"\"\\\n db:\n driver: mysql\n user: omry\n pass: secret\n \"\"\"\n ),\n id=\"no-package\",\n ),\n param(\n [\"--cfg=job\", \"--package=_global_\"],\n dedent(\n \"\"\"\\\n db:\n driver: mysql\n user: omry\n pass: secret\n \"\"\"\n ),\n id=\"package=_global_\",\n ),\n param(\n [\"--cfg=job\", \"--package=db\"],\n dedent(\n \"\"\"\\\n # @package db\n driver: mysql\n user: omry\n pass: secret\n \"\"\"\n ),\n id=\"package=db\",\n ),\n param([\"--cfg=job\", \"--package=db.driver\"], \"mysql\\n\", id=\"package=db.driver\"),\n ],\n)\ndef test_cfg_with_package(\n tmpdir: Path, flags: List[str], resolve: bool, expected: str\n) -> None:\n cmd = [\n \"examples/tutorials/basic/your_first_hydra_app/5_defaults/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ] + flags\n if resolve:\n cmd.append(\"--resolve\")\n\n result, _err = run_python_script(cmd)\n assert normalize_newlines(result) == expected.rstrip()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_with_free_override_test_multirun_with_free_override.with_sweep_.None_4": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_with_free_override_test_multirun_with_free_override.with_sweep_.None_4", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 453, "end_line": 481, "span_ids": ["test_multirun_with_free_override"], "tokens": 286}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_config_with_free_group/my_app.py\", None),\n (None, \"tests.test_apps.app_with_config_with_free_group.my_app\"),\n ],\n)\n@mark.parametrize(\"overrides\", [[\"+free_group=opt1,opt2\"]])\ndef test_multirun_with_free_override(\n hydra_restore_singletons: Any,\n hydra_sweep_runner: TSweepRunner,\n calling_file: str,\n calling_module: str,\n overrides: List[str],\n) -> None:\n sweep = hydra_sweep_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\"conf/\",\n config_name=\"config.yaml\",\n task_function=None,\n overrides=overrides,\n )\n with sweep:\n assert sweep.returns is not None and len(sweep.returns[0]) == 2\n assert sweep.returns[0][0].overrides == [\"+free_group=opt1\"]\n assert sweep.returns[0][0].cfg == {\"group_opt1\": True, \"free_group_opt1\": True}\n assert sweep.returns[0][1].overrides == [\"+free_group=opt2\"]\n assert sweep.returns[0][1].cfg == {\"group_opt1\": True, \"free_group_opt2\": True}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_sweep_complex_defaults_test_sweep_complex_defaults.with_hydra_sweep_runner_.assert_sweep_returns_0_1": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_sweep_complex_defaults_test_sweep_complex_defaults.with_hydra_sweep_runner_.assert_sweep_returns_0_1", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 484, "end_line": 507, "span_ids": ["test_sweep_complex_defaults"], "tokens": 212}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n param(\"tests/test_apps/sweep_complex_defaults/my_app.py\", None, id=\"file_path\"),\n param(None, \"tests.test_apps.sweep_complex_defaults.my_app\", id=\"pkg_path\"),\n ],\n)\ndef test_sweep_complex_defaults(\n hydra_restore_singletons: Any,\n hydra_sweep_runner: TSweepRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n with hydra_sweep_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\"conf\",\n config_name=\"config.yaml\",\n task_function=None,\n overrides=[\"optimizer=adam,nesterov\"],\n ) as sweep:\n assert sweep.returns is not None and len(sweep.returns[0]) == 2\n assert sweep.returns[0][0].overrides == [\"optimizer=adam\"]\n assert sweep.returns[0][1].overrides == [\"optimizer=nesterov\"]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_interpolating_dir_hydra_to_app_test_sys_exit.assert_subprocess_run_cmd": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_interpolating_dir_hydra_to_app_test_sys_exit.assert_subprocess_run_cmd", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 816, "end_line": 850, "span_ids": ["test_sys_exit", "test_interpolating_dir_hydra_to_app"], "tokens": 257}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/interpolating_dir_hydra_to_app/my_app.py\", None),\n (None, \"tests.test_apps.interpolating_dir_hydra_to_app.my_app\"),\n ],\n)\ndef test_interpolating_dir_hydra_to_app(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n) -> None:\n basedir = \"foo\"\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=\".\",\n config_name=\"config.yaml\",\n overrides=[\"experiment.base_dir=\" + basedir],\n ) as task:\n assert task.temp_dir is not None\n path = Path(task.temp_dir) / basedir\n assert path.exists()\n\n\ndef test_sys_exit(tmpdir: Path) -> None:\n cmd = [\n sys.executable,\n \"-Werror\",\n \"tests/test_apps/sys_exit/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n assert subprocess.run(cmd).returncode == 42", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_local_run_workdir_test_local_run_workdir.integration_test_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_local_run_workdir_test_local_run_workdir.integration_test_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 883, "end_line": 923, "span_ids": ["test_local_run_workdir"], "tokens": 351}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"task_config, overrides, expected_dir\",\n [\n ({\"hydra\": {\"run\": {\"dir\": \"foo\"}}}, [\"hydra.job.chdir=True\"], \"foo\"),\n ({}, [\"hydra.run.dir=bar\", \"hydra.job.chdir=True\"], \"bar\"),\n (\n {\"hydra\": {\"run\": {\"dir\": \"foo\"}}},\n [\"hydra.run.dir=boom\", \"hydra.job.chdir=True\"],\n \"boom\",\n ),\n (\n {\n \"hydra\": {\"run\": {\"dir\": \"foo-${hydra.job.override_dirname}\"}},\n \"app\": {\"a\": 1, \"b\": 2},\n },\n [\"app.a=20\", \"hydra.job.chdir=True\"],\n \"foo-app.a=20\",\n ),\n (\n {\n \"hydra\": {\"run\": {\"dir\": \"foo-${hydra.job.override_dirname}\"}},\n \"app\": {\"a\": 1, \"b\": 2},\n },\n [\"app.b=10\", \"app.a=20\", \"hydra.job.chdir=True\"],\n \"foo-app.a=20,app.b=10\",\n ),\n ],\n)\ndef test_local_run_workdir(\n tmpdir: Path, task_config: DictConfig, overrides: List[str], expected_dir: str\n) -> None:\n cfg = OmegaConf.create(task_config)\n assert isinstance(cfg, DictConfig)\n expected_dir1 = tmpdir / expected_dir\n integration_test(\n tmpdir=tmpdir,\n task_config=cfg,\n overrides=overrides,\n prints=\"os.getcwd()\",\n expected_outputs=str(expected_dir1),\n )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_config_name_and_path_overrides_test_config_name_and_path_overrides.assert_result_f_confi": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_config_name_and_path_overrides_test_config_name_and_path_overrides.assert_result_f_confi", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 976, "end_line": 991, "span_ids": ["test_config_name_and_path_overrides"], "tokens": 166}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\"config_path\", [\"dir1\", \"dir2\"])\n@mark.parametrize(\"config_name\", [\"cfg1\", \"cfg2\"])\ndef test_config_name_and_path_overrides(\n tmpdir: Path, config_path: str, config_name: str\n) -> None:\n cmd = [\n \"tests/test_apps/app_with_multiple_config_dirs/my_app.py\",\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n f\"--config-name={config_name}\",\n f\"--config-path={config_path}\",\n ]\n result, _err = run_python_script(cmd)\n # normalize newlines on Windows to make testing easier\n result = result.replace(\"\\r\\n\", \"\\n\")\n assert result == f\"{config_path}_{config_name}: true\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_output_dir_test_hydra_output_dir.with_hydra_task_runner_.assert_files_expected_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_output_dir_test_hydra_output_dir.with_hydra_task_runner_.assert_files_expected_", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 856, "end_line": 889, "span_ids": ["test_hydra_output_dir"], "tokens": 239}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"overrides, expected_files\",\n [\n ([], {\".hydra\"}),\n ([\"hydra.output_subdir=foo\"], {\"foo\"}),\n ([\"hydra.output_subdir=null\"], set()),\n ],\n)\n@mark.parametrize(\n \"calling_file, calling_module\",\n [\n (\"tests/test_apps/app_with_cfg/my_app.py\", None),\n (None, \"tests.test_apps.app_with_cfg.my_app\"),\n ],\n)\ndef test_hydra_output_dir(\n hydra_restore_singletons: Any,\n hydra_task_runner: TTaskRunner,\n calling_file: str,\n calling_module: str,\n overrides: List[str],\n expected_files: Set[str],\n) -> None:\n with hydra_task_runner(\n calling_file=calling_file,\n calling_module=calling_module,\n config_path=None,\n config_name=None,\n overrides=overrides,\n ) as task:\n assert task.temp_dir is not None\n path = Path(task.temp_dir)\n files = set([str(x)[len(task.temp_dir) + 1 :] for x in path.iterdir()])\n assert files == expected_files", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_run_test_module_run.if_error_is_not_None_.else_.assert_OmegaConf_create_r": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_module_run_test_module_run.if_error_is_not_None_.else_.assert_OmegaConf_create_r", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 1064, "end_line": 1094, "span_ids": ["test_module_run"], "tokens": 282}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"directory,file,module, error\",\n [\n (\n \"tests/test_apps/run_as_module_1\",\n \"my_app.py\",\n \"my_app\",\n \"Primary config module is empty\",\n ),\n (\"tests/test_apps/run_as_module_2\", \"my_app.py\", \"my_app\", None),\n (\"tests/test_apps/run_as_module_3\", \"module/my_app.py\", \"module.my_app\", None),\n (\"tests/test_apps/run_as_module_4\", \"module/my_app.py\", \"module.my_app\", None),\n ],\n)\ndef test_module_run(\n tmpdir: Any, directory: str, file: str, module: str, error: Optional[str]\n) -> None:\n cmd = [\n directory + \"/\" + file,\n \"hydra.run.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n modified_env = os.environ.copy()\n modified_env[\"PYTHONPATH\"] = directory\n modified_env[\"HYDRA_MAIN_MODULE\"] = module\n if error is not None:\n ret = run_with_error(cmd, modified_env)\n assert re.search(re.escape(error), ret) is not None\n else:\n result, _err = run_python_script(cmd, env=modified_env)\n assert OmegaConf.create(result) == {\"x\": 10}", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_structured_conflict_test_multirun_structured_conflict.if_error_.else_.assert_ret_expected": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_multirun_structured_conflict_test_multirun_structured_conflict.if_error_.else_.assert_ret_expected", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 1097, "end_line": 1153, "span_ids": ["test_multirun_structured_conflict"], "tokens": 484}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"overrides,error,expected\",\n [\n param([\"test.param=1\"], False, \"1\", id=\"run:value\"),\n param(\n [\"test.param=1,2\"],\n True,\n dedent(\n r\"\"\"\n Ambiguous value for argument 'test\\.param=1,2'\n 1\\. To use it as a list, use key=\\[value1,value2\\]\n 2\\. To use it as string, quote the value: key=\\\\'value1,value2\\\\'\n 3\\. To sweep over it, add --multirun to your command line\n\n Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace\\.\"\"\"\n ).strip(),\n id=\"run:choice_sweep\",\n ),\n param(\n [\"test.param=[1,2]\"],\n True,\n dedent(\n r\"\"\"\n Error merging override test.param=\\[1,2\\]\n Value '\\[1, 2\\]'( of type 'list')? could not be converted to Integer\n full_key: test\\.param\n object_type=TestConfig\n\n Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace\\.\"\"\"\n ).strip(),\n id=\"run:list_value\",\n ),\n param([\"test.param=1\", \"-m\"], False, \"1\", id=\"multirun:value\"),\n param([\"test.param=1,2\", \"-m\"], False, \"1\\n2\", id=\"multirun:choice_sweep\"),\n ],\n)\ndef test_multirun_structured_conflict(\n tmpdir: Any, overrides: List[str], error: bool, expected: Any\n) -> None:\n cmd = [\n \"tests/test_apps/multirun_structured_conflict/my_app.py\",\n \"hydra.sweep.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n ]\n cmd.extend(overrides)\n if error:\n expected = normalize_newlines(expected)\n ret = run_with_error(cmd)\n assert_multiline_regex_search(\n pattern=expected,\n string=ret,\n from_name=\"Expected output\",\n to_name=\"Actual output\",\n )\n else:\n ret, _err = run_python_script(cmd)\n assert ret == expected", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {value}", "metadata_seperator": "\n", "class_name": "TextNode"}, "__type__": "1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns_TestVariousRuns.test_run_with_missing_default.assert_re_search_re_escap": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_TestVariousRuns_TestVariousRuns.test_run_with_missing_default.assert_re_search_re_escap", "embedding": null, "metadata": {"file_path": "tests/test_hydra.py", "file_name": "test_hydra.py", "file_type": "text/x-python", "category": "test", "start_line": 1122, "end_line": 1151, "span_ids": ["TestVariousRuns", "TestVariousRuns.test_run_with_missing_default"], "tokens": 222}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_line", "end_line", "tokens"], "excluded_llm_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date"], "relationships": {}, "text": "@mark.parametrize(\n \"cmd_base\",\n [([\"tests/test_apps/simple_app/my_app.py\", \"hydra/hydra_logging=disabled\"])],\n)\nclass TestVariousRuns:\n @mark.parametrize(\n \"sweep\",\n [\n param(False, id=\"run\"),\n param(True, id=\"sweep\"),\n ],\n )\n def test_run_with_missing_default(\n self, cmd_base: List[str], tmpdir: Any, sweep: bool\n ) -> None:\n cmd = cmd_base + [\n \"hydra.sweep.dir=\" + str(tmpdir),\n \"hydra.job.chdir=True\",\n \"--config-name=unspecified_mandatory_default\",\n \"--config-path=../../../hydra/test_utils/configs\",\n ]\n if sweep:\n cmd.append(\"-m\")\n expected = \"\"\"You must specify 'group1', e.g, group1=