├── .circleci ├── Dockerfile └── config.yml ├── .flake8 ├── .gitattributes ├── .gitignore ├── .gitmodules ├── .pre-commit-config.yaml ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── bin ├── download_dora_models.sh └── get_compare_results.py ├── conf ├── agents.proto ├── c01_ag_cmp │ └── cmp.prototxt ├── c02_sup_train │ ├── rs_yolo_01_example.py │ └── sl_20200901.prototxt ├── c04_exploit │ ├── README.md │ ├── exploit_06.prototxt │ ├── opponents │ │ ├── cfr1p_20210501_translite_rol0.prototxt │ │ └── dipnet_20210501_heavyish.prototxt │ ├── research_20210406_fva_transformer_big_split_ddp.prototxt │ ├── research_20210501_paper_gunboat_human_npu.prototxt │ ├── research_20210501_paper_gunboat_scratch_stage1.prototxt │ ├── research_20210501_paper_gunboat_scratch_stage2.prototxt │ ├── rollouters │ │ └── cfr1p_20210501_rl_rollouts.prototxt │ └── selfplay_01.prototxt ├── common.proto ├── common │ ├── agents │ │ ├── br_search.prototxt │ │ ├── br_search_01_iclr2020.prototxt │ │ ├── ce1p.prototxt │ │ ├── dipnet_20200827_iclr_v_humans.prototxt │ │ ├── model_sampled.prototxt │ │ ├── random.prototxt │ │ ├── repro.prototxt │ │ ├── searchbot.prototxt │ │ ├── searchbot_02_fastbot.prototxt │ │ ├── searchbot_03_fastbot_loser.prototxt │ │ ├── searchbot_neurips21_dora.prototxt │ │ ├── searchbot_neurips21_fva_dora.prototxt │ │ ├── searchbot_neurips21_human_dnvi_npu.prototxt │ │ ├── searchbot_neurips21_supervised.prototxt │ │ ├── searchbot_webdip.prototxt │ │ └── searchbot_webdip_20200807.prototxt │ └── launcher │ │ ├── local.prototxt │ │ ├── slurm.prototxt │ │ ├── slurm_32gb.prototxt │ │ ├── slurm_8gpus.prototxt │ │ └── slurm_pascal.prototxt ├── conf.proto └── exps │ └── h2h_example.py ├── dipcc ├── .gitignore ├── CMakeLists.txt ├── README.md ├── compile.sh ├── dipcc │ ├── cc │ │ ├── .template.h │ │ ├── adjacencies.h │ │ ├── adjudicator.cc │ │ ├── cfrstats.cc │ │ ├── cfrstats.h │ │ ├── checks.cc │ │ ├── checks.h │ │ ├── civil_disorder_distances.h │ │ ├── data_fields.cc │ │ ├── data_fields.h │ │ ├── encoding.h │ │ ├── encoding_impl.cc │ │ ├── encoding_v1.cc │ │ ├── encoding_v2.cc │ │ ├── enums.cc │ │ ├── enums.h │ │ ├── exceptions.h │ │ ├── game.cc │ │ ├── game.h │ │ ├── game_id.h │ │ ├── game_state.cc │ │ ├── game_state.h │ │ ├── hash.h │ │ ├── json.cc │ │ ├── json.h │ │ ├── loc.cc │ │ ├── loc.h │ │ ├── message.h │ │ ├── order.cc │ │ ├── order.h │ │ ├── orders_encoder.cc │ │ ├── orders_encoder.h │ │ ├── owned_unit.cc │ │ ├── owned_unit.h │ │ ├── phase.cc │ │ ├── phase.h │ │ ├── power.cc │ │ ├── power.h │ │ ├── scoring.cc │ │ ├── scoring.h │ │ ├── thirdparty │ │ │ └── nlohmann │ │ │ │ └── json.hpp │ │ ├── thread_pool.cc │ │ ├── thread_pool.h │ │ ├── unit.cc │ │ ├── unit.h │ │ ├── util.cc │ │ └── util.h │ ├── profiling │ │ ├── profile.cc │ │ └── profile_late.cc │ ├── pybind │ │ ├── encoding.h │ │ ├── get_orderable_locations.cc │ │ ├── get_phase_data.cc │ │ ├── get_phase_history.cc │ │ ├── logs.cc │ │ ├── messaging.cc │ │ ├── messaging.h │ │ ├── phase_data.h │ │ ├── py_cfrstats.cc │ │ ├── py_dict.cc │ │ ├── py_dict.h │ │ ├── py_game_get_units.h │ │ ├── pybind.cc │ │ ├── thread_pool.h │ │ └── valid_orders_encoder.h │ ├── python │ │ └── README │ └── tests │ │ ├── consts.h │ │ ├── test_datc.cc │ │ ├── test_eq_12May_game4.cc │ │ ├── test_eq_13May_game3b.cc │ │ ├── test_game.cc │ │ ├── test_gen_civil_disorder.cc │ │ ├── test_phase.cc │ │ ├── utils.cc │ │ └── utils.h ├── python │ ├── datc │ │ ├── README │ │ ├── datc.html │ │ ├── names.py │ │ ├── parse_datc.py │ │ ├── parse_datc_cache.pkl │ │ └── render_tests.py │ ├── render_eq_tests.sh │ ├── repro_crash.py │ └── test_thread_pool.py └── setup.py ├── docs ├── example_game.json ├── game_json_spec.md ├── images │ ├── viz_screen.png │ └── webdiplomacy.gif └── selfplay.md ├── fairdiplomacy ├── action_exploration.py ├── action_generation.py ├── agents │ ├── __init__.py │ ├── base_agent.py │ ├── base_search_agent.py │ ├── br_search_agent.py │ ├── ce1p_agent.py │ ├── model_rollouts.py │ ├── model_sampled_agent.py │ ├── model_wrapper.py │ ├── multiproc_search_agent.py │ ├── plausible_order_sampling.py │ ├── random_agent.py │ ├── repro_agent.py │ ├── searchbot_agent.py │ └── test_agents.py ├── benchmark_agent.py ├── compare_agents.py ├── compare_agents_array.py ├── data │ ├── build_dataset.py │ ├── build_db_cache.py │ ├── build_dummy_metadata.py │ ├── build_metadata.py │ ├── data_fields.py │ └── dataset.py ├── env.py ├── game.py ├── get_xpower_supports.py ├── models │ ├── consts.py │ ├── diplomacy_model │ │ ├── diplomacy_model.py │ │ ├── load_model.py │ │ ├── order_vocabulary.py │ │ ├── order_vocabulary_consts.py │ │ └── train_sl.py │ └── preprocess_adjacency.py ├── profile_model.py ├── selfplay │ ├── cc │ │ ├── CMakeLists.txt │ │ ├── prioritized_replay.h │ │ ├── prioritized_replay_test.cc │ │ ├── pybind.cc │ │ ├── serialization.h │ │ └── tensor_dict.h │ ├── ckpt_syncer.py │ ├── data_loader.py │ ├── execution_context.py │ ├── exploit.py │ ├── h2h_evaler.py │ ├── metrics.py │ ├── remote_metric_logger.py │ ├── rollout.py │ ├── search_data_loader.py │ ├── search_rollout.py │ ├── search_utils.py │ ├── staged_metrics_writer.py │ └── vtrace.py ├── situation_check.py ├── typedefs.py └── utils │ ├── __init__.py │ ├── atomicish_file.py │ ├── batching.py │ ├── bitmask.py │ ├── cat_pad_sequences.py │ ├── exception_handling_process.py │ ├── game_scoring.py │ ├── h2h_sweep.py │ ├── multiprocessing_spawn_context.py │ ├── order_idxs.py │ ├── padded_embedding.py │ ├── parse_device.py │ ├── sampling.py │ ├── tensorlist.py │ ├── thread_pool_encoding.py │ └── timing_ctx.py ├── fva_starting_position.json ├── heyhi ├── README.md ├── __init__.py ├── bin │ └── patch_protos.py ├── checkpoint_repo.py ├── conf.py ├── gsheets.py ├── run.py ├── tests │ ├── data │ │ ├── redefine_message.prototxt │ │ ├── redefine_message_with_include.prototxt │ │ ├── redefine_scalar.prototxt │ │ ├── redefine_subscalar_22.prototxt │ │ ├── redefine_subscalar_37.prototxt │ │ ├── root.prototxt │ │ ├── root_densely_filled.prototxt │ │ ├── root_with_includes.prototxt │ │ └── root_with_includes_redefined.prototxt │ └── test_conf.py └── util.py ├── integration_tests ├── build_test_cache.py ├── conf │ └── build_db_cache.prototxt ├── data │ ├── selfplay.cache │ ├── selfplay_games │ │ ├── game_AUS.1009.json │ │ ├── game_AUS.697.json │ │ ├── game_AUS.900.json │ │ ├── game_ENG.106.json │ │ ├── game_ENG.713.json │ │ ├── game_FRA.1228.json │ │ ├── game_FRA.504.json │ │ ├── game_GER.1024.json │ │ ├── game_ITA.1074.json │ │ ├── game_RUS.1086.json │ │ ├── game_RUS.1167.json │ │ ├── game_RUS.1201.json │ │ ├── game_RUS.1465.json │ │ ├── game_RUS.3881.json │ │ ├── game_RUS.4724.json │ │ ├── game_TUR.1033.json │ │ ├── game_TUR.1257.json │ │ ├── game_TUR.1298.json │ │ ├── game_TUR.1299.json │ │ └── game_TUR.55.json │ └── test_situations.json ├── heyhi_utils.py └── integration_test.py ├── pyproject.toml ├── requirements.txt ├── run.py ├── setup.py ├── slurm ├── checkpoint_repo.sh └── tasks.py ├── thirdparty └── github │ └── fairinternal │ └── postman │ ├── .circleci │ └── config.yml │ ├── .clang-format │ ├── .flake8 │ ├── .gitignore │ ├── .pre-commit-config.yaml │ ├── Makefile │ ├── buffer │ ├── CMakeLists.txt │ ├── Makefile │ ├── cc │ │ └── buffer.cc │ ├── include │ │ └── buffer │ │ │ ├── model_queue.h │ │ │ └── prioritized_replay.h │ ├── python │ │ └── buffer │ │ │ └── __init__.py │ ├── setup.py │ └── tests │ │ └── buffer_test.py │ ├── example │ ├── README.md │ ├── client.py │ ├── server.py │ ├── server_queue.py │ ├── test_replay_client.py │ └── test_replay_server.py │ ├── nest │ ├── README.md │ ├── nest │ │ ├── __init__.py │ │ ├── nest.h │ │ ├── nest_pybind.cc │ │ └── nest_pybind.h │ ├── nest_test.cc │ ├── nest_test.py │ └── setup.py │ └── postman │ ├── CMakeLists.txt │ ├── cc │ ├── asyncclient.cc │ ├── client.cc │ ├── rpc_python.cc │ ├── serialization.cc │ └── server.cc │ ├── include │ └── postman │ │ ├── asyncclient.h │ │ ├── blocking_counter.h │ │ ├── client.h │ │ ├── computationqueue.h │ │ ├── exceptions.h │ │ ├── queue.h │ │ ├── serialization.h │ │ └── server.h │ ├── proto │ └── rpc.proto │ ├── python │ └── postman │ │ ├── __init__.py │ │ ├── asyncclient.py │ │ ├── client.py │ │ └── server.py │ ├── setup.py │ └── tests │ ├── CMakeLists.txt │ ├── cc │ ├── async_client_test.cc │ └── simple_test.cc │ └── python │ ├── async_rpc_test.py │ └── rpc_test.py └── unit_tests ├── data └── resample_duplicate_disbands_inplace.debug.2020.09.01.pt └── test_resample_duplicate_disbands.py /.circleci/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/.circleci/Dockerfile -------------------------------------------------------------------------------- /.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/.circleci/config.yml -------------------------------------------------------------------------------- /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | ignore = E501, E203, W, PAI 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | game*.json binary 2 | 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/.gitmodules -------------------------------------------------------------------------------- /.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/.pre-commit-config.yaml -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/README.md -------------------------------------------------------------------------------- /bin/download_dora_models.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/bin/download_dora_models.sh -------------------------------------------------------------------------------- /bin/get_compare_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/bin/get_compare_results.py -------------------------------------------------------------------------------- /conf/agents.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/agents.proto -------------------------------------------------------------------------------- /conf/c01_ag_cmp/cmp.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c01_ag_cmp/cmp.prototxt -------------------------------------------------------------------------------- /conf/c02_sup_train/rs_yolo_01_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c02_sup_train/rs_yolo_01_example.py -------------------------------------------------------------------------------- /conf/c02_sup_train/sl_20200901.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c02_sup_train/sl_20200901.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/README.md -------------------------------------------------------------------------------- /conf/c04_exploit/exploit_06.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/exploit_06.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/opponents/cfr1p_20210501_translite_rol0.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/opponents/cfr1p_20210501_translite_rol0.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/opponents/dipnet_20210501_heavyish.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/opponents/dipnet_20210501_heavyish.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/research_20210406_fva_transformer_big_split_ddp.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/research_20210406_fva_transformer_big_split_ddp.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/research_20210501_paper_gunboat_human_npu.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/research_20210501_paper_gunboat_human_npu.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/research_20210501_paper_gunboat_scratch_stage1.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/research_20210501_paper_gunboat_scratch_stage1.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/research_20210501_paper_gunboat_scratch_stage2.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/research_20210501_paper_gunboat_scratch_stage2.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/rollouters/cfr1p_20210501_rl_rollouts.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/rollouters/cfr1p_20210501_rl_rollouts.prototxt -------------------------------------------------------------------------------- /conf/c04_exploit/selfplay_01.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/c04_exploit/selfplay_01.prototxt -------------------------------------------------------------------------------- /conf/common.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common.proto -------------------------------------------------------------------------------- /conf/common/agents/br_search.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/br_search.prototxt -------------------------------------------------------------------------------- /conf/common/agents/br_search_01_iclr2020.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/br_search_01_iclr2020.prototxt -------------------------------------------------------------------------------- /conf/common/agents/ce1p.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/ce1p.prototxt -------------------------------------------------------------------------------- /conf/common/agents/dipnet_20200827_iclr_v_humans.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/dipnet_20200827_iclr_v_humans.prototxt -------------------------------------------------------------------------------- /conf/common/agents/model_sampled.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/model_sampled.prototxt -------------------------------------------------------------------------------- /conf/common/agents/random.prototxt: -------------------------------------------------------------------------------- 1 | random {} -------------------------------------------------------------------------------- /conf/common/agents/repro.prototxt: -------------------------------------------------------------------------------- 1 | repro { 2 | } 3 | -------------------------------------------------------------------------------- /conf/common/agents/searchbot.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_02_fastbot.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_02_fastbot.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_03_fastbot_loser.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_03_fastbot_loser.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_neurips21_dora.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_neurips21_dora.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_neurips21_fva_dora.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_neurips21_fva_dora.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_neurips21_human_dnvi_npu.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_neurips21_human_dnvi_npu.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_neurips21_supervised.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_neurips21_supervised.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_webdip.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_webdip.prototxt -------------------------------------------------------------------------------- /conf/common/agents/searchbot_webdip_20200807.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/agents/searchbot_webdip_20200807.prototxt -------------------------------------------------------------------------------- /conf/common/launcher/local.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/launcher/local.prototxt -------------------------------------------------------------------------------- /conf/common/launcher/slurm.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/launcher/slurm.prototxt -------------------------------------------------------------------------------- /conf/common/launcher/slurm_32gb.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/launcher/slurm_32gb.prototxt -------------------------------------------------------------------------------- /conf/common/launcher/slurm_8gpus.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/launcher/slurm_8gpus.prototxt -------------------------------------------------------------------------------- /conf/common/launcher/slurm_pascal.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/common/launcher/slurm_pascal.prototxt -------------------------------------------------------------------------------- /conf/conf.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/conf.proto -------------------------------------------------------------------------------- /conf/exps/h2h_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/conf/exps/h2h_example.py -------------------------------------------------------------------------------- /dipcc/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/.gitignore -------------------------------------------------------------------------------- /dipcc/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/CMakeLists.txt -------------------------------------------------------------------------------- /dipcc/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/README.md -------------------------------------------------------------------------------- /dipcc/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/compile.sh -------------------------------------------------------------------------------- /dipcc/dipcc/cc/.template.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/.template.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/adjacencies.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/adjacencies.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/adjudicator.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/adjudicator.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/cfrstats.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/cfrstats.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/cfrstats.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/cfrstats.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/checks.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/checks.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/checks.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/checks.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/civil_disorder_distances.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/civil_disorder_distances.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/data_fields.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/data_fields.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/data_fields.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/data_fields.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/encoding.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/encoding.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/encoding_impl.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/encoding_impl.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/encoding_v1.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/encoding_v1.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/encoding_v2.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/encoding_v2.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/enums.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/enums.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/enums.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/enums.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/exceptions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/exceptions.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/game.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/game.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/game.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/game.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/game_id.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/game_id.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/game_state.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/game_state.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/game_state.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/game_state.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/hash.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/hash.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/json.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/json.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/json.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/json.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/loc.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/loc.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/loc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/loc.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/message.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/message.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/order.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/order.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/order.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/order.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/orders_encoder.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/orders_encoder.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/orders_encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/orders_encoder.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/owned_unit.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/owned_unit.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/owned_unit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/owned_unit.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/phase.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/phase.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/phase.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/phase.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/power.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/power.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/power.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/power.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/scoring.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/scoring.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/scoring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/scoring.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/thirdparty/nlohmann/json.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/thirdparty/nlohmann/json.hpp -------------------------------------------------------------------------------- /dipcc/dipcc/cc/thread_pool.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/thread_pool.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/thread_pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/thread_pool.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/unit.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/unit.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/unit.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/unit.h -------------------------------------------------------------------------------- /dipcc/dipcc/cc/util.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/util.cc -------------------------------------------------------------------------------- /dipcc/dipcc/cc/util.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/cc/util.h -------------------------------------------------------------------------------- /dipcc/dipcc/profiling/profile.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/profiling/profile.cc -------------------------------------------------------------------------------- /dipcc/dipcc/profiling/profile_late.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/profiling/profile_late.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/encoding.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/encoding.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/get_orderable_locations.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/get_orderable_locations.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/get_phase_data.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/get_phase_data.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/get_phase_history.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/get_phase_history.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/logs.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/logs.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/messaging.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/messaging.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/messaging.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/messaging.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/phase_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/phase_data.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/py_cfrstats.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/py_cfrstats.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/py_dict.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/py_dict.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/py_dict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/py_dict.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/py_game_get_units.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/py_game_get_units.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/pybind.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/pybind.cc -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/thread_pool.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/thread_pool.h -------------------------------------------------------------------------------- /dipcc/dipcc/pybind/valid_orders_encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/pybind/valid_orders_encoder.h -------------------------------------------------------------------------------- /dipcc/dipcc/python/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/python/README -------------------------------------------------------------------------------- /dipcc/dipcc/tests/consts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/consts.h -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_datc.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_datc.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_eq_12May_game4.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_eq_12May_game4.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_eq_13May_game3b.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_eq_13May_game3b.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_game.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_game.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_gen_civil_disorder.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_gen_civil_disorder.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/test_phase.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/test_phase.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/utils.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/utils.cc -------------------------------------------------------------------------------- /dipcc/dipcc/tests/utils.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/dipcc/tests/utils.h -------------------------------------------------------------------------------- /dipcc/python/datc/README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/README -------------------------------------------------------------------------------- /dipcc/python/datc/datc.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/datc.html -------------------------------------------------------------------------------- /dipcc/python/datc/names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/names.py -------------------------------------------------------------------------------- /dipcc/python/datc/parse_datc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/parse_datc.py -------------------------------------------------------------------------------- /dipcc/python/datc/parse_datc_cache.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/parse_datc_cache.pkl -------------------------------------------------------------------------------- /dipcc/python/datc/render_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/datc/render_tests.py -------------------------------------------------------------------------------- /dipcc/python/render_eq_tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/render_eq_tests.sh -------------------------------------------------------------------------------- /dipcc/python/repro_crash.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/repro_crash.py -------------------------------------------------------------------------------- /dipcc/python/test_thread_pool.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/python/test_thread_pool.py -------------------------------------------------------------------------------- /dipcc/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/dipcc/setup.py -------------------------------------------------------------------------------- /docs/example_game.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/docs/example_game.json -------------------------------------------------------------------------------- /docs/game_json_spec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/docs/game_json_spec.md -------------------------------------------------------------------------------- /docs/images/viz_screen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/docs/images/viz_screen.png -------------------------------------------------------------------------------- /docs/images/webdiplomacy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/docs/images/webdiplomacy.gif -------------------------------------------------------------------------------- /docs/selfplay.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/docs/selfplay.md -------------------------------------------------------------------------------- /fairdiplomacy/action_exploration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/action_exploration.py -------------------------------------------------------------------------------- /fairdiplomacy/action_generation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/action_generation.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/__init__.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/base_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/base_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/base_search_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/base_search_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/br_search_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/br_search_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/ce1p_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/ce1p_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/model_rollouts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/model_rollouts.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/model_sampled_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/model_sampled_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/model_wrapper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/model_wrapper.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/multiproc_search_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/multiproc_search_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/plausible_order_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/plausible_order_sampling.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/random_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/random_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/repro_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/repro_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/searchbot_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/searchbot_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/agents/test_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/agents/test_agents.py -------------------------------------------------------------------------------- /fairdiplomacy/benchmark_agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/benchmark_agent.py -------------------------------------------------------------------------------- /fairdiplomacy/compare_agents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/compare_agents.py -------------------------------------------------------------------------------- /fairdiplomacy/compare_agents_array.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/compare_agents_array.py -------------------------------------------------------------------------------- /fairdiplomacy/data/build_dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/build_dataset.py -------------------------------------------------------------------------------- /fairdiplomacy/data/build_db_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/build_db_cache.py -------------------------------------------------------------------------------- /fairdiplomacy/data/build_dummy_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/build_dummy_metadata.py -------------------------------------------------------------------------------- /fairdiplomacy/data/build_metadata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/build_metadata.py -------------------------------------------------------------------------------- /fairdiplomacy/data/data_fields.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/data_fields.py -------------------------------------------------------------------------------- /fairdiplomacy/data/dataset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/data/dataset.py -------------------------------------------------------------------------------- /fairdiplomacy/env.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/env.py -------------------------------------------------------------------------------- /fairdiplomacy/game.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/game.py -------------------------------------------------------------------------------- /fairdiplomacy/get_xpower_supports.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/get_xpower_supports.py -------------------------------------------------------------------------------- /fairdiplomacy/models/consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/consts.py -------------------------------------------------------------------------------- /fairdiplomacy/models/diplomacy_model/diplomacy_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/diplomacy_model/diplomacy_model.py -------------------------------------------------------------------------------- /fairdiplomacy/models/diplomacy_model/load_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/diplomacy_model/load_model.py -------------------------------------------------------------------------------- /fairdiplomacy/models/diplomacy_model/order_vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/diplomacy_model/order_vocabulary.py -------------------------------------------------------------------------------- /fairdiplomacy/models/diplomacy_model/order_vocabulary_consts.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/diplomacy_model/order_vocabulary_consts.py -------------------------------------------------------------------------------- /fairdiplomacy/models/diplomacy_model/train_sl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/diplomacy_model/train_sl.py -------------------------------------------------------------------------------- /fairdiplomacy/models/preprocess_adjacency.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/models/preprocess_adjacency.py -------------------------------------------------------------------------------- /fairdiplomacy/profile_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/profile_model.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/CMakeLists.txt -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/prioritized_replay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/prioritized_replay.h -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/prioritized_replay_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/prioritized_replay_test.cc -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/pybind.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/pybind.cc -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/serialization.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/serialization.h -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/cc/tensor_dict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/cc/tensor_dict.h -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/ckpt_syncer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/ckpt_syncer.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/data_loader.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/execution_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/execution_context.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/exploit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/exploit.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/h2h_evaler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/h2h_evaler.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/metrics.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/remote_metric_logger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/remote_metric_logger.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/rollout.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/search_data_loader.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/search_data_loader.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/search_rollout.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/search_rollout.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/search_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/search_utils.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/staged_metrics_writer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/staged_metrics_writer.py -------------------------------------------------------------------------------- /fairdiplomacy/selfplay/vtrace.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/selfplay/vtrace.py -------------------------------------------------------------------------------- /fairdiplomacy/situation_check.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/situation_check.py -------------------------------------------------------------------------------- /fairdiplomacy/typedefs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/typedefs.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/__init__.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/atomicish_file.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/atomicish_file.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/batching.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/batching.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/bitmask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/bitmask.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/cat_pad_sequences.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/cat_pad_sequences.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/exception_handling_process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/exception_handling_process.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/game_scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/game_scoring.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/h2h_sweep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/h2h_sweep.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/multiprocessing_spawn_context.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/multiprocessing_spawn_context.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/order_idxs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/order_idxs.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/padded_embedding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/padded_embedding.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/parse_device.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/parse_device.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/sampling.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/tensorlist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/tensorlist.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/thread_pool_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/thread_pool_encoding.py -------------------------------------------------------------------------------- /fairdiplomacy/utils/timing_ctx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fairdiplomacy/utils/timing_ctx.py -------------------------------------------------------------------------------- /fva_starting_position.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/fva_starting_position.json -------------------------------------------------------------------------------- /heyhi/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/README.md -------------------------------------------------------------------------------- /heyhi/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/__init__.py -------------------------------------------------------------------------------- /heyhi/bin/patch_protos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/bin/patch_protos.py -------------------------------------------------------------------------------- /heyhi/checkpoint_repo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/checkpoint_repo.py -------------------------------------------------------------------------------- /heyhi/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/conf.py -------------------------------------------------------------------------------- /heyhi/gsheets.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/gsheets.py -------------------------------------------------------------------------------- /heyhi/run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/run.py -------------------------------------------------------------------------------- /heyhi/tests/data/redefine_message.prototxt: -------------------------------------------------------------------------------- 1 | sub { 2 | subscalar: 22 3 | } -------------------------------------------------------------------------------- /heyhi/tests/data/redefine_message_with_include.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/tests/data/redefine_message_with_include.prototxt -------------------------------------------------------------------------------- /heyhi/tests/data/redefine_scalar.prototxt: -------------------------------------------------------------------------------- 1 | scalar: 1 -------------------------------------------------------------------------------- /heyhi/tests/data/redefine_subscalar_22.prototxt: -------------------------------------------------------------------------------- 1 | subscalar: 22 -------------------------------------------------------------------------------- /heyhi/tests/data/redefine_subscalar_37.prototxt: -------------------------------------------------------------------------------- 1 | subscalar: 37 -------------------------------------------------------------------------------- /heyhi/tests/data/root.prototxt: -------------------------------------------------------------------------------- 1 | test { 2 | enum_value: ZERO 3 | } -------------------------------------------------------------------------------- /heyhi/tests/data/root_densely_filled.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/tests/data/root_densely_filled.prototxt -------------------------------------------------------------------------------- /heyhi/tests/data/root_with_includes.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/tests/data/root_with_includes.prototxt -------------------------------------------------------------------------------- /heyhi/tests/data/root_with_includes_redefined.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/tests/data/root_with_includes_redefined.prototxt -------------------------------------------------------------------------------- /heyhi/tests/test_conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/tests/test_conf.py -------------------------------------------------------------------------------- /heyhi/util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/heyhi/util.py -------------------------------------------------------------------------------- /integration_tests/build_test_cache.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/build_test_cache.py -------------------------------------------------------------------------------- /integration_tests/conf/build_db_cache.prototxt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/conf/build_db_cache.prototxt -------------------------------------------------------------------------------- /integration_tests/data/selfplay.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay.cache -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_AUS.1009.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_AUS.1009.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_AUS.697.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_AUS.697.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_AUS.900.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_AUS.900.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_ENG.106.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_ENG.106.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_ENG.713.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_ENG.713.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_FRA.1228.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_FRA.1228.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_FRA.504.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_FRA.504.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_GER.1024.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_GER.1024.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_ITA.1074.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_ITA.1074.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.1086.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.1086.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.1167.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.1167.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.1201.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.1201.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.1465.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.1465.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.3881.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.3881.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_RUS.4724.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_RUS.4724.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_TUR.1033.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_TUR.1033.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_TUR.1257.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_TUR.1257.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_TUR.1298.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_TUR.1298.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_TUR.1299.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_TUR.1299.json -------------------------------------------------------------------------------- /integration_tests/data/selfplay_games/game_TUR.55.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/selfplay_games/game_TUR.55.json -------------------------------------------------------------------------------- /integration_tests/data/test_situations.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/data/test_situations.json -------------------------------------------------------------------------------- /integration_tests/heyhi_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/heyhi_utils.py -------------------------------------------------------------------------------- /integration_tests/integration_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/integration_tests/integration_test.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/pyproject.toml -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/requirements.txt -------------------------------------------------------------------------------- /run.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/run.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/setup.py -------------------------------------------------------------------------------- /slurm/checkpoint_repo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/slurm/checkpoint_repo.sh -------------------------------------------------------------------------------- /slurm/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/slurm/tasks.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/.circleci/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/.circleci/config.yml -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/.clang-format -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/.flake8: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/.flake8 -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/.gitignore -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/.pre-commit-config.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/.pre-commit-config.yaml -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/Makefile -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/CMakeLists.txt -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/Makefile -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/cc/buffer.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/cc/buffer.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/include/buffer/model_queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/include/buffer/model_queue.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/include/buffer/prioritized_replay.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/include/buffer/prioritized_replay.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/python/buffer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/python/buffer/__init__.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/setup.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/buffer/tests/buffer_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/buffer/tests/buffer_test.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/README.md -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/client.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/server.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/server_queue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/server_queue.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/test_replay_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/test_replay_client.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/example/test_replay_server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/example/test_replay_server.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/README.md -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest/__init__.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest/nest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest/nest.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest/nest_pybind.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest_test.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/nest_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/nest_test.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/nest/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/nest/setup.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/CMakeLists.txt -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/cc/asyncclient.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/cc/asyncclient.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/cc/client.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/cc/client.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/cc/rpc_python.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/cc/serialization.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/cc/serialization.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/cc/server.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/cc/server.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/asyncclient.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/asyncclient.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/blocking_counter.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/client.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/client.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/computationqueue.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/exceptions.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/exceptions.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/queue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/queue.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/serialization.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/include/postman/server.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/include/postman/server.h -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/proto/rpc.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/proto/rpc.proto -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/python/postman/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/python/postman/__init__.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/python/postman/asyncclient.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/python/postman/asyncclient.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/python/postman/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/python/postman/client.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/python/postman/server.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/python/postman/server.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/setup.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/tests/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/tests/CMakeLists.txt -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/tests/cc/async_client_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/tests/cc/async_client_test.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/tests/cc/simple_test.cc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/tests/cc/simple_test.cc -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/tests/python/async_rpc_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/tests/python/async_rpc_test.py -------------------------------------------------------------------------------- /thirdparty/github/fairinternal/postman/postman/tests/python/rpc_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/thirdparty/github/fairinternal/postman/postman/tests/python/rpc_test.py -------------------------------------------------------------------------------- /unit_tests/data/resample_duplicate_disbands_inplace.debug.2020.09.01.pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/unit_tests/data/resample_duplicate_disbands_inplace.debug.2020.09.01.pt -------------------------------------------------------------------------------- /unit_tests/test_resample_duplicate_disbands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/facebookresearch/diplomacy_searchbot/HEAD/unit_tests/test_resample_duplicate_disbands.py --------------------------------------------------------------------------------