diff --git "a/facebookresearch__hydra-1783/docstore.json" "b/facebookresearch__hydra-1783/docstore.json" new file mode 100644--- /dev/null +++ "b/facebookresearch__hydra-1783/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": "fe02ee2665e3fc47c474d0d8a525836a1fb32c788affe7ac66418148eec8e3a0"}, "/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": "1c80d71795fc17bb8ac237e4bd9ada9353bcc1428fbfa68665f63739a3b5b729"}, "/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_run_antlr_run_antlr.try_.except_OSError_as_e_.if_e_errno_errno_ENOEN.else_.raise": {"doc_hash": "95df3b0d9c6ae7c8d85a51c11079fcdb58fcec97c84adac881557e7ab083cef3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_BuildPyCommand_SDistCommand.run.sdist_sdist_run_self_": {"doc_hash": "94ae158fa8b9c7670cafbf5271b3963dc014ff5b117e0b26b2e25a2b41c77ef0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_ANTLRCommand_": {"doc_hash": "f449ccf56c3f01061ed9b5e255a37b81dc4e53cf770e87fdfc3a9f4f9877c7dc"}, "/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": "4d46b5891eaba93dcf2006b3ae65f13c5a6885f943031a3b7ef8c848906cedc3"}, "/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": "6a4aa0d38834260a5a4c2160222ac6ef154f68a460583bf413b2a61aa929ae03"}, "/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": "d580399fca8178839a543c05b6145754cc79ce63ce071adb76c74bd6d3629e8b"}, "/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": "447278726081dd642744f473bb36df2558996fe03051d1182688a617a7dacdaf"}, "/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": "f9181eaaa1a26cff06986150b591d0b91bd8ce43e5ea033a18c974a7083071bb"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/advanced/package_overrides/two_packages.py__": {"doc_hash": "02864ed626718b4a7a5a07802636011e7075377826b6522a60a7cd6e247f1d4f"}, "/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": "8d0dd4a5999157ac02ca5bba403a3b3b8c357a81c2213545536f51b1c8b4f377"}, "/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": "7f3ec0626072fa4ea5c13a507569988338b2c5fa4102c5c7b6778a55f26c252c"}, "/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": "a9279e04deb38edd4452d926653631a23e41ef2d5e0889b241bd01c8efc703af"}, "/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": "51c97a7dcb75475b61c7983efb5c66909224f879c365835b301db5e34535e5b8"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/configure_hydra/logging/my_app.py__": {"doc_hash": "e91529a46f05f018dffa5955e1502d09aba3eefbc45e16d15dd9d895e566d6b2"}, "/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": "bbc0a0329196122b4c4b209dc4d048b28423766b28cdc13c2c2523b3dad79b4e"}, "/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": "a44060601755968001122bb654b079e3e9ce97a8d07bc01697b1a4fd29d457fc"}, "/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": "96b3cf48804054a601b7fd374c871f280cbcc51fa876ae7261b3f928dd331a44"}, "/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": "ba6809668df55e4b5de6ad0d7ecd492d9dd2bb97d61e4cc59569d61f399e1186"}, "/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": "5d7faa14c44b3794227f1c429bc675aa32817c10c04139f0f28bdd534d2897e7"}, "/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": "d7481a61a68fe260d6ef1d6af314f372e99589bd25078e11ab8e659854bab6d3"}, "/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": "8c8a34608d835929248cc1a464cc5d32cab25037240ea9491632b996f4afc66e"}, "/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": "86248314d90156ef594accdc3984766a4e823e8febc133082c1acc4276b7a62d"}, "/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": "9e3e9cd68d7c114ece871b242b2f94de6c4911990511c0109919d161a088fa51"}, "/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": "62443e3337e948cfc35440c578d0213c2335f9bf54b1a77516faa4b00d9dc500"}, "/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": "e37415f237f84251c12429a1378b66a52fb9f9b2a3bd03808339d43df65bb64a"}, "/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": "38cbe694773261929cae4a5dfafc00fec1bdcd0d2e7909d9f1c4a14150395144"}, "/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": "12b97e78028da74c66f357800401efe74a9c02fd195d93641abd69733048044a"}, "/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": "baf436eae1756801b4348939d7d645285578e3338a3f5e144c6dd6a8295011ee"}, "/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": "f14943b66bca0b1626463ed4523d95a064d4688078c3ad7afc3ff7a34d59615b"}, "/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": "9fa1151e3a65757f3ac850b4900c99c3872d944a9e4287c8904e5eec510e249c"}, "/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": "f75aabb49d3cc54cc7170504c43c361a4c458151360087027a99f650107f4824"}, "/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": "14ce68e2faeffcd31499c58ac1bac1bb35ce9f3a200e8f57a7db748aa33789ac"}, "/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": "bcd8b57fbca6259927876fe2d8ef653b5e769753c705e47ad107e9547030ef75"}, "/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": "a636da5996aca9e1b668ab7071e7142f6ed5ad198a321201a3954737e793ef6e"}, "/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.split_arguments.if_max_batch_size_is_None.else_.return._x_for_x_in_chunks_iter_": {"doc_hash": "d003d8ff7e0cc2288203728df611769f11e3ebdce7ac29233bf4d23fec6cd5ed"}, "/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": "8196954a90ca98b2d3e951bff90cd9ab6f30886a4f09cffbe31f667e95d70907"}, "/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/core_plugins/importlib_resources_config_source.py_ImportlibResourcesConfigSource.list_": {"doc_hash": "cd9a60e916ffb883d0a666610a388fe440f4cccede4408f9b6a0b38156736cae"}, "/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": "4b3f5d8199a97ee093fe37fb721be129b0f8149d68cb94a47b8e4e078086bf34"}, "/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": "6531da67674741baf3951907f8e8370ba930abfbac88f7665b1eead5cc99ec3b"}, "/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": "26a3b71aa1fec9a3b7a689e6ab7da2981fd349dd337d63c4befd6cb767565942"}, "/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": "526b915f2dccc1a00ca22e9c52e7aaf044052ea6a8e092cc1c89f79de2d2f970"}, "/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": "33fe3d1d8a3f9fdcade314024012d0c768efbe83f422feba064b53cce865410d"}, "/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": "db6a733fc807f1a0268a553a0be4bf1a078b747fcbfc8cfe4f2f9c5c15a007d4"}, "/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": "9920e62916cbfb3e3a6e6a689cb50e43b2e5221924c175aaf77c3f2e5722469d"}, "/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": "9820989687e0e2315b5e51b6dd75ca9be178dd9f13d0c15a7c6dd19d13da643a"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/conf/__init__.py_HydraConf_": {"doc_hash": "6b49fd817e95c58763e1c377813dcc5ebdbc996c609b356ee7566eb074421ea2"}, "/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": "577425f4d30ee00acbb98df3eb6545a0900772cdedeb4c9a666d651a85796e1e"}, "/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": "c6be63a1e759b56f976b8954f7bfadae2c26875827300668c636c027d7272ba4"}, "/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": "18cefc5b88b73d1d7e6e94e78c52b625fe0d27caf043201b4c5f22a1847bdb93"}, "/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": "b9d8be9e63f819c62d12e88a48f583b390cfed27f71b484e6a7179f109b16e8d"}, "/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._initialize_Plugins._initialize.for_source_in_self_plugin.SourcesRegistry_instance_": {"doc_hash": "7872ca0572fc50344d13a7ca81f50fc753b8e82254c60eda4b5d35906073f4a8"}, "/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.ret_stats": {"doc_hash": "574f1aeb566846e7a41df602acff5f569937558eb1f8d486052a6effc05ce601"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.get_stats_": {"doc_hash": "d528382bc7fd2598517d829469085abfebf77a78b1af74b187e58146034caec2"}, "/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": "c083e083bbf862911dfee417f285dbc9ec11cf0df6bd5840fe0233c2cd0aefab"}, "/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/core/utils.py_run_job_run_job.try_.finally_.os_chdir_old_cwd_": {"doc_hash": "cd6877031159b339f30635d53d44c8617dbe9267aebaed7aa6624043611dad53"}, "/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": "937c54b8615ba2b01dff73afb5c7d0ac9971ab823ded29dfbace3f2759510f30"}, "/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": "655eccc59ac0a2266ff057ddf4b9d054ed557014787cdcc31f1e7510d6a4f3f5"}, "/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": "68958609945dc9e7aa077093591ca12150ceecae740d0a74b69ffc2c7aa0166c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/experimental/initialize.py_initialize_config_dir_": {"doc_hash": "eeca5f6984f2677b0821945fdc2866203e1b82459a5864c80235f7d0b50bcff1"}, "/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": "9d5d3abb30e663a43bf758e5d7924fc58229d78c09b7a42e8ec9731b6ffc13dd"}, "/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": "a9088ea371414285a7cde0353200a292b7bfb219b875e98f7dc12d812c25d21c"}, "/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": "cc243bfe01c898c2777b1e49360be7ccb737092dae19f51f7bda189bd2482e4f"}, "/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": "8ea67bbec2a57802760538795ec47e8d3f7d316472afd21845f759ec5a17182a"}, "/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": "d63905d6558e4c5335393046c338ef0d2a3c06bc39aad2fc4110c36346dbee67"}, "/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": "1dd4b4926e04107035844952e2fc6acf453d0a96b2d8b650642edd6c9df6c361"}, "/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": "47ef5909e441e425fe04360e8b78365df1ab2fe3b19feb744de1927192dc1911"}, "/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/noxfile.py_select_plugins_select_plugins.return.ret": {"doc_hash": "4ef6ec466d418c884b1c2dc6b5b49d47d211d15bb8ae3cf6939a11954a37367f"}, "/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": "70778fcf63d6dba63f4f046db93a786e8ec9d0a3744bf05a6a02db22a912b729"}, "/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": "030a26051b5e1b3065a02abd077145f0761b39b4176d180074f7bd9297f4dc25"}, "/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": "8cf6d9e17869233ada7642693862a5418c6e89cc19819497b82b0a13ec967bbf"}, "/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": "e692131ecc578fcbbd145e209ecafcaf9aaf9422b6abd8db9e27d4de8e3692c5"}, "/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": "38887b45f35de2a2d5e902cf28aa46d75b0d315679a72855cfe52500b132b3ea"}, "/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": "ec515f45064ebd25ad151cc15131fa1f4459c2714cd9d563970f50247615ae45"}, "/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": "099d8ab495c9845fa03a637b35fbd74b7fb2ec9fdcdf412b45c597c4be517612"}, "/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": "3f0d9134e89309d5dfa1b81d78a0d6c4f3c356ccdf6457c25ad1e5b426952a4e"}, "/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": "dbbf81a42e609ceb0941a8b28f8d28535aa3c10eeb6999fb467ff56cf8ef5abc"}, "/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": "eb8d6499adf295736e01e758f7eeed083be4258f14bfef423087bad992fb12dd"}, "/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": "3ca6d5b004b2c854624ba95757c8ffa5c8e2ade62949b757dc7da1188cb853bf"}, "/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": "3786f88ddb990db85b17df1baf46a9275b0ecba3b41008e76f77c33b7aa06e4f"}, "/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": "ca074f646e611ad5ce07fabd30ac7b0175daffbf3e50b5699c651fdcc35113c8"}, "/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": "1db9ae5ee69c675d4b9fcea022c4ab1799c19dac47d186fda7e3eed10155c277"}, "/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": "e20fa2ddf4a790544d4f17b6d7da885ea686f7d87cfc41f80ad80ff1b63bd1b7"}, "/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": "0189805528c0d6f3d659b7268f60b82896a458f21badb8a7dbd9632dc490047e"}, "/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": "921f62ab0d97f7a53f3b7ddbf9a842dba748c6e825941915ea9e491c705352a5"}, "/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": "c2810da7b11dfb05155bcc13ab5428685e5d117ce09f5875d5319562d8432455"}, "/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": "2f2eb66561d7d3a832fe6bea553953c388f0b01876ed4df295ee268f01121788"}, "/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": "403fcffc5520670904144faeb4d88fb7ba7547d8b78e643ac5af8d2fab3232e8"}, "/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": "b9f8a3fcd9c17a26dd46162232d9631aba9de3f25db06c109113f0a08db02196"}, "/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": "577a737b41e6e7e90fc9e7d5ea0f8452f3de3254d353f2ea66b2cfb8e0ac5b3a"}, "/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": "fbdc8ce4c6d79880dc9330c92b56c6b579fa73d42203d741ec9a36796511e2a5"}, "/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": "6c9a8ddcc4213441327602a832d3937f165de241669910c61bae42b1e618ee22"}, "/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": "5e76582b1577c10e3037c1bb3841471078c1aed2eecdf4e510fa110456e84231"}, "/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": "5955b9153edf4d9250be07c4b1d69a7d1c83400f93d7d09784ed454ef058969a"}, "/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": "de614616fef75ee0fbdd8325e4004abc8f20235618249f287d0f376f027cd4f8"}, "/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": "3a7585835d15914eef8b73847785607def3eaeedbf468486786ce84a2da0e15f"}, "/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": "523a994f31ad3df30c7f533340d9a96fa5502fd67951a3cbae691c5ca18d6aca"}, "/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": "7026acc757fc07634de3391e94560bc8ddb0170a7f995127982e50e7851591b1"}, "/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": "8a76ce20e607dd227574f8dde2eb52e59906a7012c703e7d5ff452e5f940eefa"}, "/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": "38b1d5bef617ec57f48ada32da71d974ddb907f7f5af82fe15617dd6735a62fc"}, "/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": "1f4ffa14c40dbdfca96d206427d4bc6a2367bdddf53361d807f6e39d24c2e6ee"}, "/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": "4ad119724d21f6dae8d2376688940824fba3c33114ee2733985aec2925e49dc6"}, "/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": "e601019ec371a7d15aca47b2d8922396ca07f6fe26c6cb0a20378a336e5022cb"}, "/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": "b0c9ed79059ab684a9016dc766c48a516c4a799af3cd1b6500fa72e18065026d"}, "/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": "1f8f29a7e265f85a3c76ab289addddc5e83b35e406235ca84e34b3c23f12fee8"}, "/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": "8835075381e0cbb77458cbe3997113a87f5f408dd60de4865fdddd107b5849af"}, "/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": "ca88c9791e185e3cae5c7b50970c3714ce43496772e32b38b8ded9dcd786e892"}, "/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": "319db2346ebfcc1809ec83bb06caab00b05a05956ea8d0862a7eb6fad3eaf55c"}, "/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": "881a165c0ae3581e996ef1a42aaf3702486e27114e3bdd34430c747e1ded8412"}, "/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": "234e23f7222ab9cb7e0f69548366c0889c44c30480354e725a5f8326064da104"}, "/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": "0161fefddbb1b90e6dc2df20963ce321a7de5d8cbc2c5af4748748ebdc1ad594"}, "/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": "60afb0000bc090c052560429340acc6b6e3ceb47400eef33b2bb03990b43fab0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_distutils.spawn_is_expect_exists.return.distutils_spawn_find_exec": {"doc_hash": "69faabb0204791ed1170bab4c4b0087ec981f0f69a1c85f371dd22f108aeb4b3"}, "/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": "43d1094e31c00ea84be947e359ce9913c767d9d3e6039d604caabb4e7009234e"}, "/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_re_test_initialize.assert_GlobalHydra_is_i": {"doc_hash": "87063a9bcf43c639dc6cfa08315770e568b1433380ab78a55b56ab65a838cd3e"}, "/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": "8b8f754fbc0c86f2f2cf47869bdf6d104408cac01dd366d43162f8c86c27ec74"}, "/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": "d501b178cfc48642290f519c08ebea6d53eb99287480dc0b91785f209f849478"}, "/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": "1763a8a815743f2dc8b1fc253613df0c0a575e97f0ff835d9c68ae263b76b1fd"}, "/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": "4274d35adbb36669cabfa9de6d60bb6f572b2bb8d776972c5f56a376f5cc730d"}, "/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": "d0066947d624e2dc1eb5d63d6c78c03244d59365e9b2536c7ca0298e1527a6b6"}, "/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": "667a77108d0bb87030c2c3102022cc4b2b22247e82a8fe60ed7a879549ee3c36"}, "/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": "97111740b5269e4b738e3acc32ff625ccd46c18f23c16799311a80dcb7ea8085"}, "/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": "b0a151775181e5d2487876bbb478ce7ee0e51829db419c098d821599fb7369da"}, "/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": "0352c8080fd3078e1f911f5156039217b63b1dfcd1f6fdb342a6bb0c7db4ddf7"}, "/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": "d50c7a6d3e3dfcec4e6058e48f3447d3cc3c42085339150138cffb069a097f94"}, "/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": "022d3c25636deec06e3769769a16ba691dfb5664d87f66a035ff636e434bc689"}, "/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": "8f02cedec08c08948cf927e1866d4c489bdc978ebbd375ecccb4b9595016f51f"}, "/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": "3ac89cf89d3caaa1b21b81b06093280fa7e2fa3311fd130c09a21ae7e25e8afc"}, "/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": "7b557724ac40cac634e589a34f00fd7ee336bea31e30c6f16219afa04ca72506"}, "/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": "4c151735aa5394245eaa27e5769553939dbe736dfeab13fc9233abbbac055a34"}, "/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": "a20a6885421732b65910cd127d70d93b042a7e99c078b2dc0c602521b4d7e8a0"}, "/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": "1b070839e6d7f952e33d2fd22e0f43e62d02272a85472de5eca6a94b32227d9b"}, "/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": "e05b0177a5469bfb81c020c347ff43e87eca06c85848c8c68b3b4605c9d93ede"}, "/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": "14e32fb2b15b105fc10726dcfa3da88a741c76037abb3f2a5eb4615f9ad99036"}, "/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": "31ccb51bd4a2d54e8393931b7fe65939cceeb9c717abfe773e8bfbc64acbd985"}, "/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": "5e6ab7a4e1b339f3fea668206cb0b5f74fbaf97b5150f8bee880f5d0e480e54e"}, "/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": "792faf29191f6b773b99ad4f9c5edddd570e91ec5b9a5ba1bcd9586773b73ccc"}, "/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": "5fb545c45917a0ca9d1d1d2825c83a2b3ca7b52500386746856458129421b0e3"}, "/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": "c4920a51331a655baae214e2e5e650d6665ac9da942aec138b7802dc3b510ba5"}, "/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": "4f416900df5e1a6ae8ed47c34c4d4508f07e57ad96d0ee1c5d547ea20eb7aa8b"}, "/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_math_eq.if_isinstance_item1_floa.else_._type_ignore": {"doc_hash": "4259ba100c18a0eeabe3963dec8ee631a01b8292e9ac98a70a5c872486818c3d"}, "/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": "1554717254dc33d6c6d1e88eafbd4c92efa38e6030bbdd6fa4069a4cd1881941"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_plugin_interface.py_test_discover_": {"doc_hash": "a24ca4c142e811ea34bb1f90d667250d46cb8c8821f76fb7f2395ccde0cb6043"}, "/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": "e0ea0360021b83ceba58aa4216abc33f30e1eb39cfe0f01cae9aacc607839e54"}, "/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": "7e507afd22a87c6fdea1ffb9abc7a3bc56e401d9d977f2fb34521884f6b115c8"}, "/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": "364d7a4d21168e2d3a01cc03be61223a3a7765919505c67c4dd0801fe97489ae"}, "/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": "12ff38440183c3a6a9d1b117dd3c7355e4ab41f68b3784beae003627cf42f174"}, "/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": "c4a8f4592e63c38bdc39b0405a6f5d53c80e78551e67973526d06f17fb4214e0"}, "/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": "566163a0cab6266c5615f0acd9fce73263d37a2b39413d8e8596317f4ef89856"}, "/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": "001916364c05257503ff3e50305388827320ef338cfba53fa116da18528646f1"}, "/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": "26f78256a94d90bf6f660ac2a80c14a3f7ef0d524d4d8561912c39b21c648be2"}, "/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": "74cc0476fb2fcc2e8691ddcc096548b72d3e6d9ceea343542a7de4e52021957c"}, "/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": "407ed4b8683b130684218e610b154117ace8a986c4baf28f98f05e08e3eb4e4a"}, "/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": "573c196b2f2eea4a7eaed77af9c8d490c5cecf5a112690557c0595d8ce7558fe"}, "/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": "de542c3f0c41b70a7b4dfd975b9cfe343abb260110b9452c55d24a037e7a797b"}, "/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_copy_get_setup_python_versions.return._p_len_Programming_Langu": {"doc_hash": "670eeb2ac42915b91e91d50458593f8dff8aef6e93a823a3224a9ddafcbcf9c5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_install_dev_deps_lint.session_run_bandit_": {"doc_hash": "2f8cc7981289edfd28c31b25da9d67132b1e43d5d6aef9828c1d44f25481cab4"}, "/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": "d3b7818d97f844727c22d30b784a8e14b26f54693d32deecc6fd8b4eaa609ba2"}, "/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": "14d26d0294bbe31dd90e4900d3f83d140e7c27f5ff55ed5ed77e19a855ef5ab5"}, "/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": "57f32bc17226a0fc7efc938401cfa47e1a3095630a28b7f330f87ed59ac6f968"}, "/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": "f0f6b559c2c948dc39239cbbf7946b7abdc8b5dd27f6d9d3b94fc7b87367388c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_coverage_coverage.None_6": {"doc_hash": "47efc1c51347ff9c496d1bee2e32715d173d275177fb58c0ad6cd534fc0b613b"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_test_jupyter_notebooks_": {"doc_hash": "f66685030206a13149a17d2fcc7840d62425cdb93cfa79e9d118935eabfcbf90"}, "/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_from_dataclasses_import_d_BaseQueueConf.name._hydra_job_name_": {"doc_hash": "8b7076bda731e95b50ff62bd277b43117e32d684b1039d8270531f29db5aec27"}, "/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": "a1b9c3ae816fffd2fa80967bc3f810158122e7171ce792bbc8dc1f5d5d10a09a"}, "/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_assign_null.assert_cfg_normal_ya": {"doc_hash": "d5afc69c78464791704547bdf1d614adccef484a8480ea0196078c45c0eb2a3c"}, "/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": "44010fb3cfb0e7fe2257047c30d9eabf90b03ab6622c8f6d13205999619ff826"}, "/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": "09eb930c1928919d3749ec3c4696a1fc36f7484d27076daa76c93b9864eccc8a"}, "/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": "f1b3f24cedd4eedc706f5251def133307cad8daf14b8fb7247b5ea1b92b440b4"}, "/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": "3e922015ab63b664f4337ce473405cdfb0a03699cae051a3f118fa5981448120"}, "/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": "fa1e8f4806a38b2553072a4f90e975e77b4d375e1fef9a6a9c3dc7e2dde02e06"}, "/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": "d3d412abebef2ad71a01b09704ab61bfd28d9c19b031a99e23a99cba8f1b71ba"}, "/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": "093cd210b5a9a9766728e7cefa645c40f83f809560f380bd6ed641a041784d16"}, "/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": "43a3d8397c707c733a44beaeaa69175934d82b9cdda5e6de15eab3491f8d2b4e"}, "/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": "2a3f477173bf9c26f4fee55ea40faba66d1d20aa9f9c66e614cf9d4cf275e61b"}, "/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": "6c9ccf5bdad8ea1241d2555a4d70ecd7e67995a20fe2ea1db77bcb107b0bdabf"}, "/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": "20c1989660e71e71b75224a23c4b992c890892b9872d5fe68ac3f83d356c62c1"}, "/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_test_schema_overrides_hydra_test_defaults_pkg_with_dot.assert_OmegaConf_create_r": {"doc_hash": "821fb96ae4a5a0a8711c9d5d441ab151d39d672395b91f4ba609f619a293aa46"}, "/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_inspect_ClassInfo.target": {"doc_hash": "78108d06a7d49be950d1d61fe84758b7ca86fa90e758d7173c6ed1a795016267"}, "/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": "37f0e58b3b099a29454809e9a501945f788ebc523d4c9a4018d13726d3e39a7b"}, "/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": "b67b7a959c7903d07fca0d55c3d11ccf53491851cc5fb8ebaaab57f1fdf23fdc"}, "/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": "abb4cd5c4d68ce5847dbe3e22e8a6434382df09d5cf1ed1ea03f226d2ce1e32f"}, "/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": "40b45ff247460029a9f240800a353f079b9b232c0855146474e427e1629be6d3"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tools/configen/configen/utils.py_collect_imports_": {"doc_hash": "9fa2c8aa3edf54bdbdd448525a792e52cfcab0dc9301a76d8b873dc7d1f0bb77"}, "/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": "8df9aa90f335a03ca54a21b482df814ab8c93880fa45f5d88de3f146de5ed519"}, "/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": "389fa7abda6129f4f75d36e73747808fbf05de3b68571c65750d08d72207c80d"}, "/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": "b83a1d81168c9d85b5bd336745cb50d1ba833c8d47b4a0fa1b287ac565a28da1"}, "/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": "795150063153c55594d4d393ee835fab205443b44ca0d466e1e744b06dba799e"}, "/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": "a9a24e916630dc703735f8c98ae43a1f40c6f131469b7c09ed53be474e51a1eb"}, "/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": "c7b799db465b4281beb7376d0e7e20cc2f207193cfa69b211936a9e950b486d8"}, "/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": "d4de4be1e5cd70e100c68af6fea8c93e6399a14335c7ce455a7c05f55b2c4f31"}, "/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": "c8ddcac288f58c9396610e0f709b7991b69ca891d306b2b782d21bf4cb7198c3"}, "/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": "470c34ad7f6e514735437c2c189eb5b416ba0795fc809fa154d6c51c43a0f53a"}, "/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": "9481ca750e75ecc58d6331d214f33d646d2482ce80d6376747779181ba906c23"}, "/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": "b333f7c04a7d2caf113cd21549ad19ec0598058534e04bc6ebb702cee7449a38"}, "/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": "160139d9704f3d4c1b7b1e6fb3c4b2014a428cb62913d2731123c1057837300e"}, "/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": "79727141d91d00eae540e2799c5df2ab6b298340c4285b5cb8a84907f17d97e3"}, "/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": "401a9c93b651f393a30996101549345eb454ae3576634ffa9be07c2dfbe40d55"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/configuring_experiments/my_app.py__": {"doc_hash": "bab3215533ff2e6a14f937c89cbc6d99200d66e193bab8588b7bdca3b2d60ea6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/extending_configs/my_app.py__": {"doc_hash": "281cfea9cdbb860d12fc531cd3d79ee30feab1e6a8a26596ac1c1f8502ac267c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/examples/patterns/multi-select/my_app.py__": {"doc_hash": "643c5e9dd52a9462ff99ae2c5f0af9e2b75acce1720c1b0187e807b87b3b8abe"}, "/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": "744cd66cad8c54ebab8bebf83fea974c82fb96f7993aad91cda892245727213f"}, "/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": "c7295786b40439358b67a37f1ad586b969fce05acfce1fd6f15d0663371c10e9"}, "/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": "badbbf1192a79e4293fd4ce71f4a09461f5a21bd227024b1355a81524d398f08"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/__init__.py___version___": {"doc_hash": "45e5c576014e23e2a3044124b8da0fbff474755d2bd9f08da20eb255d9586ada"}, "/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": "2f00d84a5a0485412b9b020b1631333e749d8e81321841d7f0f029244a122897"}, "/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": "526b5e18f9aed8548b349f660a3c0649cb3b215abf279a69cc30baaf8c808c9e"}, "/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_loader_impl.py_ConfigLoaderImpl._compose_config_from_defaults_list_ConfigLoaderImpl.get_sources.return.self_repository_get_sourc": {"doc_hash": "4b729a073855a4d2a4f7d322fe6a4774bd7b2fb3f34a994c3a81074df2d4684c"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_loader_impl.py_ConfigLoaderImpl.compute_defaults_list_": {"doc_hash": "711de426a82a9a81e5f23975c183dc3cf801f4537ee442ba64ecd2c239b8bbc0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/config_repository.py_copy_SourcesRegistry": {"doc_hash": "98cdaa74c9910c14781fbb44519bc0065f1625e3bb6c3ca8e34ca5acaaae2975"}, "/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": "61554fb703d2fef3086e7801bf89bb8ad0793f21a27f0cfdc2194e6ce7bc4d86"}, "/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": "8ebbd92164c927760f164d921c8c312e22a3e73b871e00e9986210d83c58b91a"}, "/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_os_if_sys_version_info_major.else_._Use_importlib_backport_": {"doc_hash": "5af5954abbedfe1c739d2d51a8cad713336af747ee72f851564f3bb58aaf9c85"}, "/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/importlib_resources_config_source.py_ImportlibResourcesConfigSource.load_config_ImportlibResourcesConfigSource.is_config.return.ret": {"doc_hash": "324d486bc5db30207de321b33d319430688126bb5c76d9f3678ac5751933e622"}, "/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": "fae6bce0ba17ea03cf1d4f3be9e699c52fd18adf360662c7dc3edb018ec3adfe"}, "/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": "186fecdd4e777b60a98477163d058842e0ebfe213c84696dc7277b29d6932c5c"}, "/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_Hydra.__init__.JobRuntime_set_name_": {"doc_hash": "43563cd36a1fb392fca2335cbd34ee732975c40ef5f2c7311691fd9364bbccce"}, "/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": "3d6525948f4844b82b92e514aac021ec9969143967e7e49b28669d8cabef6f7f"}, "/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": "6b0836c055ac947592ccf3b25d5ed1bd1ee854dac276e2583eb63b6bd81ffc57"}, "/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": "91e9b1e471c70a30dc5b70de656302d95711242120a4a33cd43b3db0840f9b4b"}, "/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": "7fb2dea98d5f659752a0ed4287ec7d80c40578e01ca39eeb663d17782ecb3e33"}, "/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": "bd00476a900e156aa63208772feaddff2f9a28dc86a8e90b45346a6295122cf7"}, "/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": "103f4731a68c43fcbb66250b19f2944cba9370350b374485bbb9ae8e6eae9b99"}, "/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": "bdde0b3f38c50adbe7f089565e7adfa1dd49dd7d16398654d89e1991bf420dbe"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__call_target__call_target.try_.except_Exception_as_e_.raise_type_e_": {"doc_hash": "5dc033411daf242aa406f1d5ed969895021930beda98380ba771ec0ebc940ae6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__convert_target_to_string__resolve_target.raise_InstantiationExcept": {"doc_hash": "d69bbaecad417636813f3df12f5401b3bfcbd9b317f26c5173da67d8feff05c9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py_instantiate_instantiate.if_OmegaConf_is_dict_conf.else_.raise_InstantiationExcept": {"doc_hash": "7e16ad3843937558a3c13d81f528900423defc09072d170191cbe662a74c79d4"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/_internal/instantiate/_instantiate2.py__convert_node_": {"doc_hash": "af85e3549e971b3c68d9837f29c902e0b7b6a516d8905cc223f891a498f3aa09"}, "/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": "a8a320cf804ffd78069ff47045535becfbcba3a28c033efb92400e9b3bb02a16"}, "/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": "21d9e0218f64ecf69eb51d4c8dd59dc80a7fbb6de92a803cdffeb7b647f98375"}, "/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": "207963be013061341442b72afd4b020a5efd4951791d1a1b30aec749fc3381d3"}, "/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": "8ef3e8e1040f6ec973f44b090fb892ccf7434e8c79e3ffdff4fbdb6c43eab559"}, "/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": "e25ee59899a373dd03bbe4249ffa01af4d7960ce1e5f4ddc5d41d34e1900e90a"}, "/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": "9462983eec4b27d409f74314b0d2fb5639bdd4130016db57b25496dbf1783052"}, "/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": "54595122f89339d6d021d5c161f4afa4779a2563bed64fe3e24b46b43c641a20"}, "/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/experimental/callback.py_logging_": {"doc_hash": "fe7d4c3e19f2ac04244efe4a7a207d7ed4c02e3a3aff5b8b68b430e127032bc5"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_copy__UNSPECIFIED_.object_": {"doc_hash": "b2d04dc753d57f76b645d9ba9a45688e36a368f8c05cee4e78100f6814fce65f"}, "/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": "cc9a14e3b9d775e80c58e12b5bafa34e6837209e665d5b731459fe38320cf708"}, "/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": "e0b9c63a5dc749943ead48d01794844f7f0c1259edde8ba0b2af817a014f4d31"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/initialize.py_initialize_config_dir_": {"doc_hash": "443bd7676d04ecf87c967f82b7ec9fdd4302dbe7e2abd0853ad4e0975f6e41b9"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py_functools_main.if_config_path_is__UNSPEC.config_path._": {"doc_hash": "08fad5f7a7f86fa9fb8d82bf25c2eaf59cf30fa9fa86766b8ffd95ced42bbf10"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/main.py_main.main_decorator_": {"doc_hash": "2b3b8340d31398fc43b7406fc0ebf72047240742c318100699851ed8a5bedd64"}, "/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": "858f6b5412a4351fa4b334fd22b7a3823fcd260156af4ec53a62032dae36e393"}, "/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": "d662658c8e6cd76b719a094b410fb7c3848f93ce4fc7c0b43af16b285af893d5"}, "/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": "33aca5d2d6faecb99fd9467be50da4dac44fa208ce647513601faf8d44d0ef46"}, "/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": "51a5bce4d4e50f14ee497205ecd8f33e0aceaec9c46633ddb1ed1fac05eff170"}, "/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": "665bdccecd756a18d4f2c8313a06339df8e1fdedcae53526b61beb4319664c74"}, "/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": "947cb7aadc8848a6112fb6c847d109cc8bd71cdee8456f58d2d6e2b8e688c663"}, "/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_": {"doc_hash": "e09603bb6611d138cc0228398acffcae41281fe6702e76daa81aecb921a7995d"}, "/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": "54017fcb1fb45f6d8ff26358872d5f4b64138f6b38932b2ac2aa512ca27c1ccd"}, "/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": "7545a8cba4e4ba25b54f6da9e7ce9a2d1f857533484d4f9e464171f0e8cbb587"}, "/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": "3d020efd5dec30b6a75d4f6ff4a977fdb45ae933d5fb0fa2dcc10b33b151dd4d"}, "/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": "cfd2273f28be5bec365c07ea7da75fa48b468f1c7c3a275effcdf0d85cc59430"}, "/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": "00e7a2b1c84c64ce5f528e8b2d22626c16ca649f29cfb70861de7a40447fb60a"}, "/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": "90edc96104f060b6786ecbd719c1d4af448f84b803ff46fedfd799fa22a4089e"}, "/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": "2f3c74c6f8f2dc7058f35afa2dfe44a3a4d88afcf80856392c3a2dcec39e6487"}, "/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": "2b49694c51c4f80328b982d99d1492fc55363f678b781e9040d7af66fbd7d7fb"}, "/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": "0b66b0f4b12a11a1005ddd651fd875b7079d0b51486e50742eb2a70f46a08dc9"}, "/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": "bb54d142a82b2ac93a494f1a73085dae3a0c32b2a4c19c81493b7de000b87a27"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/plugins/hydra_optuna_sweeper/example/sphere.py__": {"doc_hash": "eb687fa70a8ebf4334053261771f65ac3b5e678a9632e6a6e9396a476a265c63"}, "/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": "f72b2b05fa75ce75be96be450569ff13665635b4a2eaa62dbd30ada0c87f2d85"}, "/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_logging_log.logging_getLogger___name_": {"doc_hash": "01ca8ec5ee81e350fd9a9b685f42b0933774d225c1049fac64ae03d0ca27dcb9"}, "/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": "ed64a80ababe0dc6d0753ec97323012aa83d1b9e94f00dca7f841b3a8b59a052"}, "/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.setup.self.sweep_dir.config_hydra_sweep_dir": {"doc_hash": "efd12f684d9461f1d909fcde3c2b0a5b7c37d911d87a3f1fc8ac7798e9e7f957"}, "/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.results_to_serialize": {"doc_hash": "ff63cfe254fea7a77e4dee64d10268a464d1c8cf8df6210905bddce9e9361e63"}, "/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.if_len_directions_2__": {"doc_hash": "8ec41433eec41a8d92846064c64cd37875805be05556d0ec410793c02c1850cb"}, "/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_TPESamplerConfig.warn_independent_sampling.True": {"doc_hash": "d58a5c7c373c0b003c15cd50900bbe988faf338b3e4d07d521e0d49d07a84879"}, "/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_RandomSamplerConfig_CmaEsSamplerConfig.source_trials.None": {"doc_hash": "bfa932550d0cab067bbb892799b02c84c7a195a7a60bc87ca47f7071c048f276"}, "/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_MOTPESamplerConfig.n_ehvi_candidates.24": {"doc_hash": "19542fa180e0baaf429ee88453c781083bd7c1359e550a1e67a62dbc86af8ff7"}, "/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_OptunaSweeperConf_OptunaSweeperConf.search_space.field_default_factory_dic": {"doc_hash": "d6e07383d1d9c9777309495dbbb5051d12bf4b879c1b4d81e7cd851b8651b2f7"}, "/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": "f902b7a75beec0648dada029754f4b45e55b6e72f11aace1c5cad796c983615c"}, "/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": "fb2befaed629a21e9a9f32a716cd695aecd2f29a2f2220f22cbda59020d97264"}, "/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": "0025625f4d7393f47229909822fd39f9a53f2cc9b646d3987dc159de925f3d61"}, "/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": "7f7b34e9636bf89ed7582f18205f210edc94cabfda9684f8fcb26eee5cf6932b"}, "/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": "7cff6536e52666edccc37bfba91a15236789435db5657a6704c81c9507899e21"}, "/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": "b7db440e69e69b2148ebc2075ef0eaa3161b19089df0355d7fd68781d37f82ab"}, "/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/_config.py_RayClusterConf_RayClusterConf.worker_start_ray_commands.field_": {"doc_hash": "072068f7d526d33055b48f33137132e6b9ce9559c1ca6803e98044a78665fac8"}, "/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_RayAWSConf_": {"doc_hash": "7db36fd13c7279e7b39f893c828f0c5cccb27d95e90cb39b756d80cfb7a0a9e7"}, "/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": "c63fb52eb83f253122e93b787fd9f611962ee3db19778cf2c58098fc6b9da43f"}, "/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": "6bcb93081851848350a7e8aa4d9b85975ce181770ba9fa030c11674b9535e9d5"}, "/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": "2bb769e843fa71c1f43a4e7b8b7ed7ac552cf80e22cff39154a8dd3d33a1a5b7"}, "/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": "3ee57bf73f5b7679d20d677c585564be9d1bb537bab142e598fe61cf74dbc91b"}, "/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_chdir_plugin_root_": {"doc_hash": "344fe66ef69afa44e965055aadd76d4feef03477ffbac23ffa88788e1d5a6a3c"}, "/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_ray_launcher_wheel.return.plugin_wheel": {"doc_hash": "cc0a2c30fcb5f8ec0ebb4e95f2a08b6185494fec2fcb29dd4ddb8fc8d77385c1"}, "/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_core_wheel_build_core_wheel.return.wheel": {"doc_hash": "e6da0046b626dc9d4a90057250a1817cdf4b675cae3c909b1fa2952b3466b137"}, "/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_validate_lib_version_test_discovery.assert_RayAWSLauncher___n": {"doc_hash": "063bda807f8877c7f29021e5d03a7e6c88a39166e934ead0625bedadb533ae92"}, "/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": "5bdc42ce9f2a4b5f90d0bd25ce6a0a85354f02bdfad1886714ea6e03809891e0"}, "/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": "fb671820fc852e963282ad378b6b42835a15ecf2c98b8a49f3e59fada9ba9873"}, "/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": "0b83377fb2402b734d014b6c6e835aed9c777c62780be65dca61cd000185fa82"}, "/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": "42d7f1073f0dcabdfa50cf2fbb9ac5080803496b073c23688759e7cfb6fc2e83"}, "/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": "cce355f427b4c489ab966d5e38b17c64c219e53550632c06acca5a73a294aa93"}, "/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_deprecated_optional_test_deprecated_optional.assert_result_defaults_li": {"doc_hash": "9a53f74369e916627c2fb6a7194191c7dfcd4f5424d0901b63403aa2761ff59d"}, "/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": "a202be8c3fdaf50d5a370b1ff74225aa291aad0663f44115774bb26ac4d5d892"}, "/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": "46652bfe20b0d5a1b65329af3085ab1a927424d350375a5a9bc1f652967405e2"}, "/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": "337b09dc5131625750765631c1d2912f89de04b678ec70a75fc7a5d4df6a0d20"}, "/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": "8901bbbc94dba3bd83dcc44674c3cad041f6aa7e78a0f5c5c030034cdd663f8d"}, "/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_test_legacy_hydra_overrides_from_primary_config.with_warns_expected_warni._test_defaults_tree_impl_": {"doc_hash": "3a92a070f9b98c7beaa5cc566e911eb3cd64637d29db82dd43c3f25ebd997ddc"}, "/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": "97d208b0acfba1d29181c83df6f8223b8a0887e305eb6dcc230f76cbcf5487e3"}, "/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": "3376ed9686aa5df14b9aa9d06c52108fd082eac373dc6da349edfba5c9dc5a24"}, "/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_legacy_interpolation_test_legacy_interpolation.with_warns_expected_warni._test_defaults_tree_impl_": {"doc_hash": "0077b6af069ae3a4e095622fcdeb7d3ebf30e79b3f85c81dc3a5ac44c34cef23"}, "/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": "03cf739d596ad3fc5199e1295b180ad6ec9c6377d902bc50d0f125cdcfc042e6"}, "/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_collections_ArgsClass.__eq__.if_isinstance_other_Args.else_.return.NotImplemented": {"doc_hash": "03f59bc080652568bb4407138a8c762d6494ff795d1b8075d202a5c789091f96"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py_add_values_Compose.__eq__.if_isinstance_other_type.else_.return.False": {"doc_hash": "4f4bed5aaebd63aa43bd4e95c5bd15d1a6b87c8d671c63ff1894fbaea86b0fd8"}, "/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": "0faf81575e4a65c76a80c3874de2d69c2768194ead3ccc94964f2935a5ce0d1d"}, "/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": "b414bff66533fe273615b917f2e4d8639949664b0a5a7b95f244cf4a8c73fd90"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/__init__.py__Configs_": {"doc_hash": "2e177ef4782a2a7d8fcce48a8ee53899cb75e751cbeb6d4c056e3f7da3a86117"}, "/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_helpers.py_re_": {"doc_hash": "1924e67b8c282115da6a99a80befe73d7b1b42e20e605c4399a938b77abd969a"}, "/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": "d4a125e477c6db4f9f08ae91b4d47d9ca7107611c5dbb08084c5cda14d563b7f"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/instantiate/test_instantiate.py_test_class_instantiate_test_class_instantiate.assert_obj_expected": {"doc_hash": "1d0e00dc2fd41eea7209296d97f6f76a95895d44945757bb6912f00c8f74b156"}, "/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": "30fe6d4e219c808671d775f5854200dcfd5bfe3e921490414c97df01760c66a6"}, "/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_regression_1483.pickle_dumps_res_kwargs_": {"doc_hash": "d920e1dcda7826eb22a108500aeba3f524f4ada396e7bf5abda6821106b848a7"}, "/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": "36ad9ff782a7b861a7f8f3615a0cbc2f06221ee21152360ca3d6de1c90948a07"}, "/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_targetconf_deprecated_test_pass_extra_variables.assert_instantiate_func_c": {"doc_hash": "1082870446659f151d7f1d27b908371fa7911857bc04cb169a04a4b6b3914332"}, "/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_instantiate_from_dataclass_in_dict_fails_test_instantiate_from_dataclass_in_dict_fails.with_raises_.assert_instantiate_func_c": {"doc_hash": "ebe6d33a9d89b602d775676460b82392206709d7c3aee21c91854e9d21c8e244"}, "/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_from_typing_import_Any_test_instantiate_args_kwargs.assert_instantiate_cfg_": {"doc_hash": "1019b80aae0988f172ef851382431decd9e2c82fc58f250328805300658bdd47"}, "/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": "2fb46576b79534a8ae35c136f0addc9a1c6bd90cc4703b07316b01119e6a5d82"}, "/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": "eb664f7ff51954e9e269b9dce34ec639f196cb029a189284bcc67d1e959bb2a0"}, "/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": "b279731f782938c0b0290657cd951e950b71ff49487468280a6d948391cb4836"}, "/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": "02ee375320cc2a4a90b05a45b113a80d261450b04ba78f85d507c93b061dad12"}, "/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": "c2085d08812043389243ef03dc5d36d03496661feba2711b4b96f567dde593ab"}, "/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": "26d105de3c78b7d41ba6a69db33914150761aa5cdbad6dbb1d46dffcf392f6d6"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_callbacks.py_from_pathlib_import_Path_": {"doc_hash": "f6b6d07a7c6bb88484767f02f118cd47702820acb58db881cda2829bfe729e2f"}, "/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": "0da29a442effa3cc215c1e9c8888a500cbb052071f1bc89064f38fcf52d8c5ec"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_TestRunCompletion_TestRunCompletion.test_shell_integration.ret.subprocess_check_output_": {"doc_hash": "c3167173e9726797451f5e1ebd95aaea42ffec3f9ed80c3c906d73bc849773a8"}, "/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": "c5864e6e30b579b6e9cc982e264c89b2526e6f00d50c10722b3a85033fbe071a"}, "/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": "ddfa7416f093da8c6017d6b9e23d35a68c04ae68d1ab9f6736abdc060665b8a3"}, "/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": "51f61e2d18d4fa761d7148936d5e290ef86180286767463ef10aa1e3030c05ed"}, "/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": "b555e7b903e0d866812efb83533c591d7430d1e62329e8d80c8fc93aaccc1c24"}, "/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": "725d288e77f641fbc61bbc40e8fa1feb2735b09f393cee878ab52d7141ebe973"}, "/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": "269be3ba719552c1a507e55fdb02d221e4b52a462fa3c5c1300560499497d76f"}, "/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": "632e3bb91674e5c4f01b00e5254a9e3d47c5eb0c43528f1d24bde7f15393fd7f"}, "/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": "36f3343f3d381b220d12372ea7f19d4cd7f3564e846574517af22d307ebf99d1"}, "/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": "90fdeeded9ab8ae67e8fbc603e0d222b98b103d2df99e8f28aa2606cc314f027"}, "/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": "d17acdf07b3360bc89ebc3a27e10865836131a6069338f0f216a5fa091b25971"}, "/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": "e95185d09bbbc21b11b9b852494ddac28203accd9830c50bfe9fb1cc1df1c8da"}, "/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": "916b5459896186c4703af9ce0b6f22e0b7dc8ded8b672b23cdae5c2d218a3349"}, "/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": "cd7fc5c296a3bfc3a7d09f3fe5e44bf75416c8df908c1fd1f4a914255604707f"}, "/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": "d29570276ecfe3678ee9ddeaed69f617c176dddf656594e49d6a75db06f731c1"}, "/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_test_instantiate_schema.assert_result_output": {"doc_hash": "9bbc59890dc955b77231cc5a8b350ed7f036dfbff3593109843b2cf263b33f32"}, "/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": "f9aa001d3044a24b1b6c6d69f807e9f37a17267f11ae9ae3018340fd5586d81e"}, "/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": "fd9ab663ba27e1ef68da1a10e9fadd508f3e2b1bc9c042900875bc9c1f38b696"}, "/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": "f109d8397858534953d19bb4bffe7651c1983ca2fee001cb156b440301c2c930"}, "/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": "73511f1420f571067740d3abdf509133f781b317bef6cae157824de8f10cc519"}, "/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": "6c341e201028986c4c164e6c2f0914d8ba076b652bbeeb38fe4228cb353c94ef"}, "/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": "83b3a3245c76333b994a575a5dd770dd76193e3894b97b446a15827af641c6c3"}, "/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": "915d5a52e40881421b1aa9f6b397aec956c8df6674540a4ac0473f0c9d2c8650"}, "/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_missing_conf_file_test_run_dir.run_python_script_tests": {"doc_hash": "6a4a5b88b03e8baf5dd7dfbe57952c6811cba84dada17b06a016de7c78667d7a"}, "/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": "e04d80f8045bc3e406e0a35ee8622f8c50660d0ed6b452cde9feeb11ed59b774"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_internal_utils.py_from_typing_import_Any_": {"doc_hash": "2b12eaf219bb78a557aee2ec5398131c3967c94da17583afbfbc12fc673d7ea6"}, "/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": "579fe1d7d3fd460b0e0a3c6c79126cbdc15612b46ada4fcf4f60d00a80b27def"}, "/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": "a67c78927b810f870a33117d2af07dcc67d9a04fb9b6d95efe8a575a0502743c"}, "/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": "27ff6f9b4a3cb6969c059f65c684fceb3b150fae2e485cce56f968f3a6a6e926"}, "/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": "59d0c21a0545b6b64143f50d5f87ea9387e16b02454c1328fdc03fb3b204cd73"}, "/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": "27d6594575b7217ece691972d1fcb9023eb7d443d8d1d7be1e03553616a0d24b"}, "/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": "b7ad5eab51c0e085cbea08b09713510754ed144a92d83eababccb783ac3b1e39"}, "/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": "0ad574cf63bcea2e5d3ef288472e757626ce2464f4d571a4be814c8430443efc"}, "/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": "812a1aeb004e0ee3c98dae2f0792b696010f5f20b7945b302ac75c692e73e907"}, "/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": "4f4fe932ce4792b867b67ba6798a48b372743a9d443b18be63327ad32be15a4f"}, "/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": "4c61cb6329ff08c3c5d0d5fcffd2630043f49de11887b8b471826fbb681117e0"}, "/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": "05be8ffc350782af461f5344d9e23ed11979b920d98ce4304f7e4b79a8aee224"}, "/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": "4f63d294349a7670209c9a10f32814fac6dd398ea2389f749ffbcb336f5f6351"}, "/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_Plugins.is_in_toplevel_plugins_module.return.clazz_startswith_hydra_p": {"doc_hash": "0503ede20dd00dc4a260c8259c285fc209972de64be037e92253561a9dfa2517"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins._setup_plugin_Plugins._setup_plugin.return.plugin": {"doc_hash": "84d6fa26343ed5c775c677cf5fb3fc36c3df053155ac7f88d985e43e7f5bbcc1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins.instantiate_sweeper_Plugins.instantiate_sweeper.return.sweeper": {"doc_hash": "9dfdaa906783c246824295b35491b10348b1dbc3043529ccccb0bd9c9b8e23bd"}, "/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": "f63e0c0ab5487d26a28b0e96cfa3a15e61d38cabef474648c51e3a774e9835b0"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/utils.py__get_callbacks_for_run_job__get_callbacks_for_run_job.return.callbacks": {"doc_hash": "e21c05a2c63ab62ec22a11fd3eb7bc7bf5a2d08a56bca025835d32f6e49a2e5c"}, "/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": "5f960fd50e6942d28fbab8bcde37f33f9847b35243127df7eac68b85c3a55d97"}, "/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": "d984fc356e08aecf378d62b3bb14e2995760e4c4bf251f04c63841fac974434b"}, "/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": "92145b6a63bc3cf73df61539c6c68e918972415bccdd591cbf49c980118c954d"}, "/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": "656f100761af617bf572b9b2e0e1d9d8221a7eaff479aeb5c80382f43aaea279"}, "/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": "e8d7d587f25251dcd2feff98cb2d4d9fa1a1296817cc4622b8043f06110b2e1f"}, "/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": "527dea6f264b1355123975d987a167cacb3980c866bf4eea1b9450b823a3297d"}, "/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": "3f55d4b92eb05fb4d84ba81ee21486be9450b166e89ed066cc5de1513d62440b"}, "/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_id_and_num_in_sweep.integration_test_": {"doc_hash": "aca72265a7ec74821c526064742e208ed9dc3e12c159f1961c385fe51a13efa9"}, "/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": "5c7d310d55090eee4e0d150e1af3f154e7e47064e352a10f1638ddb78a0b9a82"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra_context_warnings.py_test_setup_plugins_test_setup_plugins.with_warns_expected_warni.if_isinstance_plugin_Lau.else_.Plugins_instance_instan": {"doc_hash": "60a5cd7fcd4d672f732db1f2ce43314b86e228fd099bb033043176bd959d7e20"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra_context_warnings.py_test_run_job_": {"doc_hash": "709702cbd97f8b4408028026af4b615eaa1bdc86a5c4fe7d0600a936aa9c272e"}, "/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": "9abc36fa4837a11174ab3cc55bbf13f09c03161b129716afef05d0f6253a0bd4"}, "/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": "38202849cc495b3742f62234967f4ae25854297b150702c01fbbc79d919ddaca"}, "/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": "0f03fdb4f5b2b65ebd17576cfd7507654e5774758f5b54a415527476767536c7"}, "/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.is_external_append.raise_NotImplementedError": {"doc_hash": "c5d3c1cc010590d6632ddc61155823eb2a5b481c05e724f5b9469703e60b3b3b"}, "/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": "d57aa875f8c4d5b518c0424eb565ee47853560261fb167708796096bf59d1b35"}, "/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": "ae19b45be6bcd4915a5eab1a82b32b29c350bde993d460fc259720c526f221c0"}, "/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": "166648912c9fe2eabea64bd2d402f70be2e218988afcce4a3ecb581d199db2cf"}, "/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_parse_python_minor_version.return.version_micro_start_": {"doc_hash": "009816e58a01cbcb8117dc44719b74037a345b914f3f3642d1122924b78cab7b"}, "/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": "bbf4c2a79cc595f871739d35b265b4fca8e778eb77af5b975e1fbdf7c306f812"}, "/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": "4f21e6432555a6a5809c03ac9b6165797ea6aa4212cf03a465cbb8b9c2cb2c4f"}, "/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": "106d847d0526a76eaa1766373b537fa7391fbd35668abe8fc25be3c3a3f7544f"}, "/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_deprecated_compose_test_initialize_without_config_path.with_warns_expected_warni.with_initialize_.pass": {"doc_hash": "ba2503595562a038f9fcafed7fb0c174474914e5401d75fef0d7c53376224167"}, "/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_compose.py_test_deprecated_compose_strict_flag_": {"doc_hash": "5378ac8f3eaafab6f1ccec232ccf2698343a450bcf36b849b15c25f34efef250"}, "/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": "15e2c6aa612d4cfa8b09b7f9854beb7e65261263d5df0b92d9fc502212cd4338"}, "/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_app_with_unicode_config.assert_out_config_\u6570\u636e": {"doc_hash": "dff0684b4e74f32f5e073c974b0c613b5432eeb083c21aa957e940f358cd7768"}, "/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": "58f5d3b32a92d1c06488b3472b06caa634233cd6a2a4e31ec518038505689cf1"}, "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_hydra.py_test_hydra_deprecation_warning_": {"doc_hash": "298c97aaf700b736114c1a7b7c1904a1fd6c209e91584ebbb1f4b0e12af504ab"}, "/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": "8be677d6042d70ec365d0fdbe7aa6f8bdd22318a52a6036b029179664d53e029"}, "/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": "6c098654b41e94cdc0895881cb4347c98775aeee5d838e8087eb50922d120c7f"}, "/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": "436d779aaa1913f591f19bbed62d6c062853c521d9ee6fbcea3a22b5e74af550"}, "/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": "718605fd650510d74cd065a1be40f6d7e5d4fb2c8d33dfa47b25530b0de32750"}, "/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": "9f713b92e8c61d6a3584afc994431e899afc6df05b13868245adc72c05d942f0"}, "/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_": {"doc_hash": "a8773ef4df8a3b1779a938f8f558809b8c44a3423b0a82fe5014913f64b44025"}, "/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"}}, "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": 4, "span_ids": ["docstring"], "tokens": 39}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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\nimport distutils # 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": 30, "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 distutils.log\nimport errno\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 # type: ignore\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_run_antlr_run_antlr.try_.except_OSError_as_e_.if_e_errno_errno_ENOEN.else_.raise": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_run_antlr_run_antlr.try_.except_OSError_as_e_.if_e_errno_errno_ENOEN.else_.raise", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 133, "end_line": 144, "span_ids": ["run_antlr"], "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 run_antlr(cmd: Command) -> None:\n try:\n cmd.announce(\"Generating parsers with antlr4\", level=distutils.log.INFO)\n cmd.run_command(\"antlr\")\n except OSError as e:\n if e.errno == errno.ENOENT:\n msg = f\"| Unable to generate parsers: {e} |\"\n msg = \"=\" * len(msg) + \"\\n\" + msg + \"\\n\" + \"=\" * len(msg)\n cmd.announce(f\"{msg}\", level=distutils.log.FATAL)\n exit(1)\n else:\n raise", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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_BuildPyCommand_SDistCommand.run.sdist_sdist_run_self_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/build_helpers/build_helpers.py_BuildPyCommand_SDistCommand.run.sdist_sdist_run_self_", "embedding": null, "metadata": {"file_path": "build_helpers/build_helpers.py", "file_name": "build_helpers.py", "file_type": "text/x-python", "category": "implementation", "start_line": 147, "end_line": 167, "span_ids": ["BuildPyCommand.run", "Develop", "SDistCommand", "Develop.run", "SDistCommand.run", "BuildPyCommand"], "tokens": 146}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 BuildPyCommand(build_py.build_py): # type: ignore\n def run(self) -> None:\n if not self.dry_run:\n self.run_command(\"clean\")\n run_antlr(self)\n build_py.build_py.run(self)\n\n\nclass Develop(develop.develop): # type: ignore\n def run(self) -> None:\n if not self.dry_run:\n run_antlr(self)\n develop.develop.run(self)\n\n\nclass SDistCommand(sdist.sdist): # type: ignore\n def run(self) -> None:\n if not self.dry_run:\n self.run_command(\"clean\")\n run_antlr(self)\n sdist.sdist.run(self)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 170, "end_line": 207, "span_ids": ["ANTLRCommand.finalize_options", "ANTLRCommand.initialize_options", "ANTLRCommand", "ANTLRCommand.run"], "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 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.8-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 self.announce(\n f\"Generating parser for Python3: {command}\", level=distutils.log.INFO\n )\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": 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 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(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": 139}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 46, "span_ids": ["test_with_initialize", "TestWithUnittest.test_generated_config", "test_with_initialize_config_module", "TestWithUnittest", "docstring"], "tokens": 471}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(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(config_module=\"hydra_app.conf\"):\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": 49, "end_line": 63, "span_ids": ["test_user_logic", "TestWithUnittest.test_generated_config"], "tokens": 171}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 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 omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(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": 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": "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(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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_path=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": 85}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 84}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 91}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_path=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(config_path=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(config_path=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(config_path=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": 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(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": 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, OmegaConf\n\nimport hydra\n\n\n@hydra.main(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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_path=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(config_path=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(config_path=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(config_path=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(config_path=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(config_path=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": 138, "end_line": 153, "span_ids": ["ConfigLoaderImpl.load_configuration"], "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": "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 ) -> 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 )\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": 301}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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\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": 96, "span_ids": ["ConfigSearchPathImpl.prepend", "ConfigSearchPathImpl.__str__"], "tokens": 280}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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, provider: str, path: str, anchor: Optional[SearchPathQuery] = 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": 49, "span_ids": ["BasicSweeperConf", "impl", "docstring"], "tokens": 209}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 dataclasses import dataclass\nfrom pathlib import Path\nfrom typing import Any, 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\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": 52, "end_line": 96, "span_ids": ["BasicSweeper", "BasicSweeper.setup", "BasicSweeper.split_overrides_to_chunks", "BasicSweeper.__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": "class BasicSweeper(Sweeper):\n \"\"\"\n Basic sweeper\n \"\"\"\n\n def __init__(self, max_batch_size: Optional[int]) -> None:\n \"\"\"\n Instantiates\n \"\"\"\n super(BasicSweeper, self).__init__()\n self.overrides: Optional[Sequence[Sequence[Sequence[str]]]] = None\n self.batch_index = 0\n self.max_batch_size = max_batch_size\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.split_arguments_BasicSweeper.split_arguments.if_max_batch_size_is_None.else_.return._x_for_x_in_chunks_iter_": {"__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.split_arguments_BasicSweeper.split_arguments.if_max_batch_size_is_None.else_.return._x_for_x_in_chunks_iter_", "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": 96, "end_line": 126, "span_ids": ["BasicSweeper.split_arguments"], "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": "class BasicSweeper(Sweeper):\n\n @staticmethod\n def split_arguments(\n overrides: List[Override], max_batch_size: Optional[int]\n ) -> List[List[List[str]]]:\n\n lists = []\n for override in overrides:\n if override.is_sweep_override():\n if override.is_discrete_sweep():\n key = override.get_key_element()\n sweep = [f\"{key}={val}\" for val in override.sweep_string_iterator()]\n lists.append(sweep)\n else:\n assert override.value_type is not None\n raise HydraException(\n f\"{BasicSweeper.__name__} does not support sweep type : {override.value_type.name}\"\n )\n else:\n key = override.get_key_element()\n value = override.get_value_element_as_str()\n lists.append([f\"{key}={value}\"])\n\n all_batches = [list(x) for x in itertools.product(*lists)]\n assert max_batch_size is None or max_batch_size > 0\n if max_batch_size is None:\n return [all_batches]\n else:\n chunks_iter = BasicSweeper.split_overrides_to_chunks(\n all_batches, max_batch_size\n )\n return [x for x in chunks_iter]", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 130, "end_line": 180, "span_ids": ["BasicSweeper.get_job_batch", "BasicSweeper.is_done", "BasicSweeper.sweep"], "tokens": 447}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 parser = OverridesParser.create(config_loader=self.hydra_context.config_loader)\n overrides = parser.parse_overrides(arguments)\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/core_plugins/importlib_resources_config_source.py_ImportlibResourcesConfigSource.list_": {"__data__": {"id_": "/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.list_", "embedding": null, "metadata": {"file_path": "hydra/_internal/core_plugins/importlib_resources_config_source.py", "file_name": "importlib_resources_config_source.py", "file_type": "text/x-python", "category": "implementation", "start_line": 96, "end_line": 111, "span_ids": ["ImportlibResourcesConfigSource.list"], "tokens": 123}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ImportlibResourcesConfigSource(ConfigSource):\n\n def list(self, config_path: str, results_filter: Optional[ObjectType]) -> List[str]:\n files: List[str] = []\n for file in (\n resources.files(self.path).joinpath(config_path).iterdir() # type:ignore\n ):\n fname = file.name\n fpath = os.path.join(config_path, fname)\n self._list_add_result(\n files=files,\n file_path=fpath,\n file_name=fname,\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/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": 386, "end_line": 422, "span_ids": ["Hydra._print_search_path"], "tokens": 280}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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, config_name: Optional[str], overrides: List[str]\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=RunMode.RUN,\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": 520, "end_line": 557, "span_ids": ["Hydra._print_debug_info", "Hydra.compose_config"], "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 Hydra:\n\n def _print_debug_info(\n self,\n config_name: Optional[str],\n overrides: List[str],\n ) -> None:\n assert log is not None\n if log.isEnabledFor(logging.DEBUG):\n self._print_all_info(config_name, overrides)\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 ) -> 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 )\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)\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": 33, "span_ids": ["_get_module_name_override", "docstring"], "tokens": 228}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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\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, Callable, List, Optional, Sequence, Tuple, Union\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 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": 49, "end_line": 69, "span_ids": ["detect_calling_file_or_module_from_task_function"], "tokens": 140}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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], 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 calling_file = task_function.__code__.co_filename\n calling_module = None\n\n task_name = detect_task_name(calling_file, mdl)\n\n return calling_file, calling_module, 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_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": 209, "end_line": 295, "span_ids": ["run_and_report"], "tokens": 675}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(etype=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": 288, "end_line": 406, "span_ids": ["_run_hydra"], "tokens": 738}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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_parser: argparse.ArgumentParser,\n task_function: TaskFunction,\n config_path: Optional[str],\n config_name: Optional[str],\n) -> None:\n\n from hydra.core.global_hydra import GlobalHydra\n\n from .hydra import Hydra\n\n args = args_parser.parse_args()\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 task_name,\n ) = detect_calling_file_or_module_from_task_function(task_function)\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 if args.run:\n run_and_report(\n lambda: hydra.run(\n config_name=config_name,\n task_function=task_function,\n overrides=args.overrides,\n )\n )\n elif args.multirun:\n run_and_report(\n lambda: hydra.multirun(\n config_name=config_name,\n task_function=task_function,\n overrides=args.overrides,\n )\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": 436, "end_line": 525, "span_ids": ["get_args_parser"], "tokens": 575}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 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": 40, "span_ids": ["RunDir", "OverridesConf", "HydraHelpConf", "HelpConf", "docstring", "SweepDir"], "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": "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\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": 102, "end_line": 177, "span_ids": ["HydraConf", "impl"], "tokens": 560}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 # 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": 60, "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": 295}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ) -> 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": 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": "from abc import ABC, abstractmethod\nfrom dataclasses import dataclass\nfrom typing import MutableSequence, Optional\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": 65, "span_ids": ["ConfigSearchPath.prepend", "ConfigSearchPath:2", "ConfigSearchPath:3"], "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": "class ConfigSearchPath(ABC):\n\n ...\n\n @abstractmethod\n def prepend(\n self, provider: str, path: str, anchor: Optional[SearchPathQuery] = 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": 35, "span_ids": ["ScanStats", "docstring"], "tokens": 249}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 inspect\nimport pkgutil\nimport sys\nimport warnings\nfrom collections import defaultdict\nfrom dataclasses import dataclass, field\nfrom inspect import signature\nfrom textwrap import dedent\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.callbacks import Callbacks\nfrom hydra._internal.deprecation_warning import deprecation_warning\nfrom hydra._internal.sources_registry import SourcesRegistry\nfrom hydra.core.config_loader import ConfigLoader\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\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._initialize_Plugins._initialize.for_source_in_self_plugin.SourcesRegistry_instance_": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/hydra/core/plugins.py_Plugins._initialize_Plugins._initialize.for_source_in_self_plugin.SourcesRegistry_instance_", "embedding": null, "metadata": {"file_path": "hydra/core/plugins.py", "file_name": "plugins.py", "file_type": "text/x-python", "category": "implementation", "start_line": 46, "end_line": 69, "span_ids": ["Plugins._initialize"], "tokens": 217}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 _initialize(self) -> None:\n top_level: List[Any] = []\n core_plugins = importlib.import_module(\"hydra._internal.core_plugins\")\n top_level.append(core_plugins)\n\n try:\n hydra_plugins = importlib.import_module(\"hydra_plugins\")\n top_level.append(hydra_plugins)\n except ImportError:\n # If no plugins are installed the hydra_plugins package does not exist.\n pass\n self.plugin_type_to_subclass_list, self.stats = self._scan_all_plugins(\n modules=top_level\n )\n self.class_name_to_class = {}\n for plugin_type, plugins in self.plugin_type_to_subclass_list.items():\n for clazz in plugins:\n name = f\"{clazz.__module__}.{clazz.__name__}\"\n self.class_name_to_class[name] = clazz\n\n # Register config sources\n for source in self.plugin_type_to_subclass_list[ConfigSource]:\n assert issubclass(source, ConfigSource)\n SourcesRegistry.instance().register(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/core/plugins.py_Plugins._scan_all_plugins_Plugins._scan_all_plugins.return.ret_stats": {"__data__": {"id_": "/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.ret_stats", "embedding": null, "metadata": {"file_path": "hydra/core/plugins.py", "file_name": "plugins.py", "file_type": "text/x-python", "category": "implementation", "start_line": 139, "end_line": 213, "span_ids": ["Plugins._scan_all_plugins"], "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": "class Plugins(metaclass=Singleton):\n\n @staticmethod\n def _scan_all_plugins(\n modules: List[Any],\n ) -> Tuple[Dict[Type[Plugin], List[Type[Plugin]]], ScanStats]:\n\n stats = ScanStats()\n stats.total_time = timer()\n\n ret: Dict[Type[Plugin], List[Type[Plugin]]] = defaultdict(list)\n\n plugin_types: List[Type[Plugin]] = [\n Plugin,\n ConfigSource,\n CompletionPlugin,\n Launcher,\n Sweeper,\n SearchPathPlugin,\n ]\n for mdl in modules:\n for importer, modname, ispkg in pkgutil.walk_packages(\n path=mdl.__path__, prefix=mdl.__name__ + \".\", onerror=lambda x: None\n ):\n try:\n module_name = modname.rsplit(\".\", 1)[-1]\n # If module's name starts with \"_\", do not load the module.\n # But if the module's name starts with a \"__\", then load the\n # module.\n if module_name.startswith(\"_\") and not module_name.startswith(\"__\"):\n continue\n import_time = timer()\n m = importer.find_module(modname)\n with warnings.catch_warnings(record=True) as recorded_warnings:\n loaded_mod = m.load_module(modname)\n import_time = timer() - import_time\n if len(recorded_warnings) > 0:\n sys.stderr.write(\n f\"[Hydra plugins scanner] : warnings from '{modname}'. Please report to plugin author.\\n\"\n )\n for w in recorded_warnings:\n warnings.showwarning(\n message=w.message,\n category=w.category,\n filename=w.filename,\n lineno=w.lineno,\n file=w.file,\n line=w.line,\n )\n\n stats.total_modules_import_time += import_time\n\n assert modname not in stats.modules_import_time\n stats.modules_import_time[modname] = import_time\n\n if loaded_mod is not None:\n for name, obj in inspect.getmembers(loaded_mod):\n if (\n inspect.isclass(obj)\n and issubclass(obj, Plugin)\n and not inspect.isabstract(obj)\n ):\n for plugin_type in plugin_types:\n if issubclass(obj, plugin_type):\n ret[plugin_type].append(obj)\n except ImportError as e:\n warnings.warn(\n message=f\"\\n\"\n f\"\\tError importing '{modname}'.\\n\"\n f\"\\tPlugin is incompatible with this Hydra version or buggy.\\n\"\n f\"\\tRecommended to uninstall or upgrade plugin.\\n\"\n f\"\\t\\t{type(e).__name__} : {e}\",\n category=UserWarning,\n )\n\n stats.total_time = timer() - stats.total_time\n return ret, stats", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 214, "end_line": 242, "span_ids": ["Plugins.get_stats", "Plugins.discover", "Plugins.check_usage"], "tokens": 227}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 )", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 35, "span_ids": ["simple_stdout_log_config", "docstring"], "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": "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 TYPE_CHECKING, Any, Dict, Optional, Sequence, Union, cast\n\nfrom omegaconf import DictConfig, OmegaConf, open_dict, read_write\n\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\nif TYPE_CHECKING:\n from hydra._internal.callbacks import Callbacks\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/core/utils.py_run_job_run_job.try_.finally_.os_chdir_old_cwd_": {"__data__": {"id_": "/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_.os_chdir_old_cwd_", "embedding": null, "metadata": {"file_path": "hydra/core/utils.py", "file_name": "utils.py", "file_type": "text/x-python", "category": "implementation", "start_line": 109, "end_line": 175, "span_ids": ["run_job"], "tokens": 567}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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_job(\n task_function: TaskFunction,\n config: DictConfig,\n job_dir_key: str,\n job_subdir_key: Optional[str],\n configure_logging: bool = True,\n hydra_context: Optional[HydraContext] = None,\n) -> \"JobReturn\":\n callbacks = _get_callbacks_for_run_job(hydra_context)\n\n old_cwd = os.getcwd()\n orig_hydra_cfg = HydraConfig.instance().cfg\n HydraConfig.instance().set_config(config)\n working_dir = str(OmegaConf.select(config, job_dir_key))\n if job_subdir_key is not None:\n # evaluate job_subdir_key lazily.\n # this is running on the client side in sweep and contains things such as job:id which\n # are only available there.\n subdir = str(OmegaConf.select(config, job_subdir_key))\n working_dir = os.path.join(working_dir, subdir)\n try:\n ret = JobReturn()\n ret.working_dir = working_dir\n task_cfg = copy.deepcopy(config)\n with read_write(task_cfg):\n with open_dict(task_cfg):\n del task_cfg[\"hydra\"]\n\n ret.cfg = task_cfg\n hydra_cfg = copy.deepcopy(HydraConfig.instance().cfg)\n assert isinstance(hydra_cfg, DictConfig)\n ret.hydra_cfg = hydra_cfg\n overrides = OmegaConf.to_container(config.hydra.overrides.task)\n assert isinstance(overrides, list)\n ret.overrides = overrides\n # handle output directories here\n Path(str(working_dir)).mkdir(parents=True, exist_ok=True)\n os.chdir(working_dir)\n\n if configure_logging:\n configure_log(config.hydra.job_logging, config.hydra.verbose)\n\n if config.hydra.output_subdir is not None:\n hydra_output = Path(config.hydra.output_subdir)\n _save_config(task_cfg, \"config.yaml\", hydra_output)\n _save_config(hydra_cfg, \"hydra.yaml\", hydra_output)\n _save_config(config.hydra.overrides.task, \"overrides.yaml\", hydra_output)\n\n with env_override(hydra_cfg.hydra.job.env_set):\n callbacks.on_job_start(config=config)\n try:\n ret.return_value = task_function(task_cfg)\n ret.status = JobStatus.COMPLETED\n except Exception as e:\n ret.return_value = e\n ret.status = JobStatus.FAILED\n\n ret.task_name = JobRuntime.instance().get(\"name\")\n\n _flush_loggers()\n\n callbacks.on_job_end(config=config, job_return=ret)\n\n return ret\n finally:\n HydraConfig.instance().cfg = orig_hydra_cfg\n os.chdir(old_cwd)", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 3, "end_line": 23, "span_ids": ["restore_gh_from_backup", "get_gh_backup", "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 copy\nfrom typing import Any, Optional\n\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": 53, "span_ids": ["initialize", "initialize.__enter__", "initialize.__init__", "initialize.__exit__", "initialize.__repr__"], "tokens": 210}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 deprecation_warning(\n message=\"hydra.experimental.initialize() is no longer experimental.\"\n \" Use hydra.initialize()\",\n )\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": 56, "end_line": 83, "span_ids": ["initialize_config_module.__repr__", "initialize_config_module.__enter__", "initialize_config_module.__exit__", "initialize_config_module", "initialize_config_module.__init__"], "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 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 deprecation_warning(\n message=\"hydra.experimental.initialize_config_module() is no longer experimental.\"\n \" Use hydra.initialize_config_module().\",\n )\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": 86, "end_line": 115, "span_ids": ["initialize_config_dir", "initialize_config_dir.__enter__", "initialize_config_dir.__exit__", "initialize_config_dir.__init__", "initialize_config_dir.__repr__"], "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": "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 deprecation_warning(\n message=\"hydra.experimental.initialize_config_dir() is no longer experimental.\"\n \" Use hydra.initialize_config_dir().\",\n )\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": 64, "end_line": 97, "span_ids": ["hydra_task_runner"], "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": "@fixture(scope=\"function\") # type: ignore\ndef hydra_task_runner() -> Callable[\n [\n Optional[str],\n Optional[str],\n Optional[str],\n Optional[str],\n Optional[List[str]],\n Optional[bool],\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 strict: Optional[bool] = 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.strict = strict\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": 157, "end_line": 197, "span_ids": ["CompletionPlugin._query_config_groups"], "tokens": 358}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 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:\n name = name + \"=\"\n elif len(dirs) > 0 and len(files) == 0:\n name = name + \"/\"\n matched_groups.append(name)\n\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": 14, "span_ids": ["run_cli", "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(config_path=\"configs/completion_test\", config_name=\"config\")\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": 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 omegaconf import DictConfig, OmegaConf\n\nimport hydra\n\n\n@hydra.main(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": 741}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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,\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": 683, "span_ids": ["IntegrationTestSuite.test_to_absolute_path_multirun"], "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 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.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": 351, "span_ids": ["integration_test"], "tokens": 683}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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 (\n output[idx] == expected_outputs[idx]\n ), f\"Unexpected output for {prints[idx]} : expected {expected_outputs[idx]}, got {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/noxfile.py_select_plugins_select_plugins.return.ret": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/noxfile.py_select_plugins_select_plugins.return.ret", "embedding": null, "metadata": {"file_path": "noxfile.py", "file_name": "noxfile.py", "file_type": "text/x-python", "category": "implementation", "start_line": 119, "end_line": 179, "span_ids": ["select_plugins"], "tokens": 474}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 select_plugins(session, directory: str) -> List[Plugin]:\n \"\"\"\n Select all plugins that should be tested in this session.\n Considers the current Python version and operating systems against the supported ones,\n as well as the user plugins selection (via the PLUGINS environment variable).\n \"\"\"\n assert session.python is not None, \"Session python version is not specified\"\n blacklist = [\".isort.cfg\", \"examples\"]\n plugins = [\n {\"dir_name\": x, \"path\": x}\n for x in sorted(os.listdir(os.path.join(BASE, directory)))\n if x not in blacklist\n ]\n\n ret = []\n skipped = []\n for plugin in plugins:\n if not (plugin[\"dir_name\"] in PLUGINS or PLUGINS == [\"ALL\"]):\n skipped.append(f\"Deselecting {plugin['dir_name']}: User request\")\n continue\n\n setup_py = os.path.join(BASE, directory, plugin[\"path\"], \"setup.py\")\n classifiers = session.run(\n \"python\", setup_py, \"--name\", \"--classifiers\", silent=True\n ).splitlines()\n plugin_name = classifiers.pop(0)\n plugin_python_versions = get_setup_python_versions(classifiers)\n python_supported = session.python in plugin_python_versions\n\n plugin_os_names = get_plugin_os_names(classifiers)\n os_supported = get_current_os() in plugin_os_names\n\n if not python_supported:\n py_str = \", \".join(plugin_python_versions)\n skipped.append(\n f\"Deselecting {plugin['dir_name']} : Incompatible Python {session.python}. Supports [{py_str}]\"\n )\n continue\n\n # Verify this plugin supports the OS we are testing on, skip otherwise\n if not os_supported:\n os_str = \", \".join(plugin_os_names)\n skipped.append(\n f\"Deselecting {plugin['dir_name']}: Incompatible OS {get_current_os()}. Supports [{os_str}]\"\n )\n continue\n\n ret.append(\n Plugin(\n name=plugin_name,\n path=plugin[\"path\"],\n module=\"hydra_plugins.\" + plugin[\"dir_name\"],\n )\n )\n\n for msg in skipped:\n logger.warn(msg)\n\n if len(ret) == 0:\n logger.warn(\"No plugins selected\")\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/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": 140}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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.1.5\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 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 typing import Any\n\nimport hydra\nfrom omegaconf import DictConfig\n\n\n@hydra.main(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": 107, "span_ids": ["test_jobs_configured_via_config"], "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": "def test_jobs_configured_via_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=[\"hydra/launcher=basic\", \"params=basic\"],\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": 110, "end_line": 132, "span_ids": ["test_jobs_configured_via_cmd"], "tokens": 234}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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 \"quadratic.x=int(interval(-5, -2))\",\n \"quadratic.y=int(interval(-2, 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\"], 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": 215, "span_ids": ["test_ax_logging"], "tokens": 417}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 \"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.1.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.1.5\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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.1.5\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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.1.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": 103}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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.1.5\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 62, "span_ids": ["docstring"], "tokens": 415}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 \"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": 18, "span_ids": ["hydra_initialize_config_dir", "hydra_initialize_config_module", "hydra_initialize", "docstring"], "tokens": 101}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_dir=str(abs_conf_dir))\n\n\ndef hydra_initialize_config_module() -> None:\n initialize_config_module(config_module=\"hydra.test_utils.configs\")", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 47, "span_ids": ["main", "impl", "docstring"], "tokens": 408}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(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(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(config_dir=abs_config_dir, 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 # 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(config_module=\"initialization_test_app.conf\"):\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 config_module=\"initialization_test_app.conf\", 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": 38, "span_ids": ["test_config_in_dir"], "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": "def test_config_in_dir() -> None:\n with initialize(config_path=\"../some_namespace/namespace_test/dir\"):\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": 66}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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_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": 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 typing import Any\n\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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": 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\nfrom omegaconf import DictConfig\n\nimport hydra\n\n\n@hydra.main(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": 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(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": 94}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_path=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": 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": "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(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": 68}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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_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": 69}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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_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": 27, "span_ids": ["docstring"], "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": "import os\n\nfrom hydra import compose, initialize, initialize_config_dir\n\nif __name__ == \"__main__\":\n with initialize(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(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(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(config_dir=abs_config__dir, 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\"", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 105}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(config_path=\".\", config_name=\"config\")\ndef run(config: DictConfig):\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_as_module/1/my_app.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/1/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": 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(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/tests/test_apps/run_as_module/2/conf/__init__.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/2/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/run_as_module/2/my_app.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/2/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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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/run_as_module/3/module/__init__.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/3/module/__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_as_module/3/module/conf/__init__.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/3/module/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/run_as_module/3/module/my_app.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/3/module/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": 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(config_path=None, 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/run_as_module/4/module/__init__.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/4/module/__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_as_module/4/module/conf/__init__.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/4/module/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/run_as_module/4/module/my_app.py__": {"__data__": {"id_": "/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__", "embedding": null, "metadata": {"file_path": "tests/test_apps/run_as_module/4/module/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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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/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(config_path=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/schema-overrides-hydra/__init__.py__": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_apps/schema-overrides-hydra/__init__.py__", "embedding": null, "metadata": {"file_path": "tests/test_apps/schema-overrides-hydra/__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/schema-overrides-hydra/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/schema-overrides-hydra/my_app.py_from_dataclasses_import_d_", "embedding": null, "metadata": {"file_path": "tests/test_apps/schema-overrides-hydra/my_app.py", "file_name": "my_app.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 32, "span_ids": ["impl", "my_app", "Config", "impl:2", "docstring"], "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": "from dataclasses import dataclass\nfrom typing import Dict\n\nfrom omegaconf import MISSING\n\nimport hydra\nfrom hydra.core.config_store import ConfigStore\nfrom hydra.core.hydra_config import HydraConfig\n\n\n@dataclass\nclass Config:\n age: int = MISSING\n name: str = MISSING\n group: Dict[str, str] = MISSING\n\n\nConfigStore.instance().store(name=\"config_schema\", node=Config)\n\n\n@hydra.main(config_path=\".\", config_name=\"config\")\ndef my_app(cfg: Config) -> None:\n print(\n f\"job_name: {HydraConfig().get().job.name}, \"\n f\"name: {cfg.name}, age: {cfg.age}, group: {cfg.group['name']}\"\n )\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(config_path=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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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(config_path=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": 77}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(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_distutils.spawn_is_expect_exists.return.distutils_spawn_find_exec": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_completion.py_distutils.spawn_is_expect_exists.return.distutils_spawn_find_exec", "embedding": null, "metadata": {"file_path": "tests/test_completion.py", "file_name": "test_completion.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 23, "span_ids": ["is_expect_exists", "docstring"], "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": "import distutils.spawn\nimport os\nimport re\nimport subprocess\nimport sys\nfrom pathlib import Path\nfrom typing import List\n\nfrom packaging import version\nfrom pytest import mark, param, skip\n\nfrom hydra._internal.config_loader_impl import ConfigLoaderImpl\nfrom hydra._internal.core_plugins.bash_completion import BashCompletion\nfrom hydra._internal.utils import create_config_search_path\nfrom hydra.plugins.completion_plugin import DefaultCompletionPlugin\nfrom hydra.test_utils.test_utils import chdir_hydra_root\n\nchdir_hydra_root()\n\n\ndef is_expect_exists() -> bool:\n return distutils.spawn.find_executable(\"expect\") is not 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/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": 173}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 distutils.spawn.find_executable(\"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_re_test_initialize.assert_GlobalHydra_is_i": {"__data__": {"id_": "/home/jiayipan/code/24FA/temp/ml-01/moatless-tools/t/repos/swe-train_facebookresearch__hydra/tests/test_compose.py_re_test_initialize.assert_GlobalHydra_is_i", "embedding": null, "metadata": {"file_path": "tests/test_compose.py", "file_name": "test_compose.py", "file_type": "text/x-python", "category": "test", "start_line": 2, "end_line": 47, "span_ids": ["test_initialize", "initialize_hydra_no_path", "initialize_hydra", "docstring"], "tokens": 295}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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\nfrom dataclasses import dataclass, field\nfrom pathlib import Path\nfrom textwrap import dedent\nfrom typing import Any, Dict, List, Optional\n\nfrom omegaconf import OmegaConf\nfrom pytest import fixture, mark, param, raises, warns\n\nfrom hydra import compose, initialize, initialize_config_dir, initialize_config_module\nfrom hydra._internal.config_search_path_impl import ConfigSearchPathImpl\nfrom hydra.core.config_search_path import SearchPathQuery\nfrom hydra.core.config_store import ConfigStore\nfrom hydra.core.global_hydra import GlobalHydra\nfrom hydra.errors import ConfigCompositionException, HydraException\nfrom hydra.test_utils.test_utils import chdir_hydra_root\n\nchdir_hydra_root()\n\n\n@fixture\ndef initialize_hydra(config_path: Optional[str]) -> Any:\n try:\n init = initialize(config_path=config_path)\n init.__enter__()\n yield\n finally:\n init.__exit__(*sys.exc_info())\n\n\n@fixture\ndef initialize_hydra_no_path() -> Any:\n try:\n init = initialize(config_path=None)\n init.__enter__()\n yield\n finally:\n init.__exit__(*sys.exc_info())\n\n\ndef test_initialize(hydra_restore_singletons: Any) -> None:\n assert not GlobalHydra().is_initialized()\n initialize(config_path=None)\n assert GlobalHydra().is_initialized()", "start_char_idx": null, "end_char_idx": null, "text_template": "{metadata_str}\n\n{content}", "metadata_template": "{key}: {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": 33, "end_line": 45, "span_ids": ["test_initialize_with_config_path"], "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 test_initialize_with_config_path(hydra_restore_singletons: Any) -> None:\n assert not GlobalHydra().is_initialized()\n initialize(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": 95, "end_line": 196, "span_ids": ["TestComposeInits.test_initialize_config_dir_ctx_with_relative_dir", "TestComposeInits.test_initialize_config_module_ctx", "TestComposeInits.test_initialize_ctx", "TestComposeInits"], "tokens": 735}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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(config_path=\"../examples/jupyter_notebooks/cloud_app/conf\"):\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 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 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": 199, "end_line": 222, "span_ids": ["test_initialize_config_dir_ctx_with_absolute_dir", "test_initialize_ctx_with_absolute_dir"], "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": "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(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(config_dir=str(tmpdir)):\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": 225, "end_line": 243, "span_ids": ["test_jobname_override_initialize_ctx", "test_jobname_override_initialize_config_dir_ctx"], "tokens": 173}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 config_path=\"../examples/jupyter_notebooks/cloud_app/conf\", 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(config_dir=str(tmpdir), job_name=\"test_job\"):\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": 241, "end_line": 258, "span_ids": ["test_initialize_config_module_ctx"], "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": "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 ):\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\", job_name=\"test_job\"\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\", 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_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": 43, "span_ids": ["test_tutorial_simple_cli_app", "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 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 ]\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": 46, "end_line": 72, "span_ids": ["test_tutorial_working_directory", "test_tutorial_logging"], "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": "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 ]\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 ]\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": 75, "end_line": 93, "span_ids": ["test_tutorial_config_file"], "tokens": 140}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ]\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": 126, "end_line": 154, "span_ids": ["test_tutorial_config_groups"], "tokens": 176}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ]\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": 157, "end_line": 192, "span_ids": ["test_tutorial_defaults"], "tokens": 243}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ]\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": 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 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\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": 345, "end_line": 365, "span_ids": ["test_short_module_name", "test_hydra_main_module_override_name"], "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": "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 ]\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": 368, "end_line": 382, "span_ids": ["test_module_env_override"], "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": "@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 ]\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": 385, "end_line": 401, "span_ids": ["test_cfg"], "tokens": 164}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 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": 404, "end_line": 458, "span_ids": ["test_cfg_with_package"], "tokens": 310}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ] + 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": 679, "end_line": 712, "span_ids": ["test_sys_exit", "test_interpolating_dir_hydra_to_app"], "tokens": 249}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 ]\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": 715, "end_line": 751, "span_ids": ["test_local_run_workdir"], "tokens": 312}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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\"}}}, [], \"foo\"),\n ({}, [\"hydra.run.dir=bar\"], \"bar\"),\n ({\"hydra\": {\"run\": {\"dir\": \"foo\"}}}, [\"hydra.run.dir=boom\"], \"boom\"),\n (\n {\n \"hydra\": {\"run\": {\"dir\": \"foo-${hydra.job.override_dirname}\"}},\n \"app\": {\"a\": 1, \"b\": 2},\n },\n [\"app.a=20\"],\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\"],\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": 838, "end_line": 853, "span_ids": ["test_config_name_and_path_overrides"], "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(\"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 f\"--config-name={config_name}\",\n f\"--config-path={config_path}\",\n ]\n print(\" \".join(cmd))\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": 892, "end_line": 921, "span_ids": ["test_module_run"], "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": "@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 ]\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": 924, "end_line": 979, "span_ids": ["test_multirun_structured_conflict"], "tokens": 455}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 \"\"\"\\\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 ),\n id=\"run:choice_sweep\",\n ),\n param(\n [\"test.param=[1,2]\"],\n True,\n dedent(\n \"\"\"\\\n Error merging override test.param=[1,2]\n Value '[1, 2]' 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 ),\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 ]\n cmd.extend(overrides)\n if error:\n expected = normalize_newlines(expected)\n ret = run_with_error(cmd)\n assert_regex_match(\n from_line=expected,\n to_line=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": 982, "end_line": 1010, "span_ids": ["TestVariousRuns", "TestVariousRuns.test_run_with_missing_default"], "tokens": 214}, "excluded_embed_metadata_keys": ["file_name", "file_type", "file_size", "creation_date", "last_modified_date", "last_accessed_date", "start_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 \"--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=