├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── editing_rtc ├── codereviewer_to_rtc_example.py ├── eval_codereviewer.py ├── examples.py └── task.py ├── ertc_sample_config.gin ├── human_prompt.py ├── llm_interface.py ├── oai_compatible_prompt.py ├── program_runner.py ├── requirements.txt ├── rtc.py ├── rtc_data.py ├── rtc_task.py ├── rtc_task_test.py ├── runner.py ├── sample_config.gin ├── summarize_results.py ├── syntax_constrained_sampling.py ├── syntax_constrained_sampling_cli.py ├── syntax_constrained_sampling_test.py ├── synthesis_rtc ├── eval_for_program.py ├── eval_humaneval.py ├── eval_utils.py ├── example_gen.py ├── example_gen_cli.py ├── examples.py ├── humaneval_to_rtc_example.py └── task.py ├── text_utils.py ├── text_utils_test.py └── treesitter_utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/.gitignore -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/README.md -------------------------------------------------------------------------------- /editing_rtc/codereviewer_to_rtc_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/editing_rtc/codereviewer_to_rtc_example.py -------------------------------------------------------------------------------- /editing_rtc/eval_codereviewer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/editing_rtc/eval_codereviewer.py -------------------------------------------------------------------------------- /editing_rtc/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/editing_rtc/examples.py -------------------------------------------------------------------------------- /editing_rtc/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/editing_rtc/task.py -------------------------------------------------------------------------------- /ertc_sample_config.gin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/ertc_sample_config.gin -------------------------------------------------------------------------------- /human_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/human_prompt.py -------------------------------------------------------------------------------- /llm_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/llm_interface.py -------------------------------------------------------------------------------- /oai_compatible_prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/oai_compatible_prompt.py -------------------------------------------------------------------------------- /program_runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/program_runner.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/requirements.txt -------------------------------------------------------------------------------- /rtc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/rtc.py -------------------------------------------------------------------------------- /rtc_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/rtc_data.py -------------------------------------------------------------------------------- /rtc_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/rtc_task.py -------------------------------------------------------------------------------- /rtc_task_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/rtc_task_test.py -------------------------------------------------------------------------------- /runner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/runner.py -------------------------------------------------------------------------------- /sample_config.gin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/sample_config.gin -------------------------------------------------------------------------------- /summarize_results.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/summarize_results.py -------------------------------------------------------------------------------- /syntax_constrained_sampling.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/syntax_constrained_sampling.py -------------------------------------------------------------------------------- /syntax_constrained_sampling_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/syntax_constrained_sampling_cli.py -------------------------------------------------------------------------------- /syntax_constrained_sampling_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/syntax_constrained_sampling_test.py -------------------------------------------------------------------------------- /synthesis_rtc/eval_for_program.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/eval_for_program.py -------------------------------------------------------------------------------- /synthesis_rtc/eval_humaneval.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/eval_humaneval.py -------------------------------------------------------------------------------- /synthesis_rtc/eval_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/eval_utils.py -------------------------------------------------------------------------------- /synthesis_rtc/example_gen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/example_gen.py -------------------------------------------------------------------------------- /synthesis_rtc/example_gen_cli.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/example_gen_cli.py -------------------------------------------------------------------------------- /synthesis_rtc/examples.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/examples.py -------------------------------------------------------------------------------- /synthesis_rtc/humaneval_to_rtc_example.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/humaneval_to_rtc_example.py -------------------------------------------------------------------------------- /synthesis_rtc/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/synthesis_rtc/task.py -------------------------------------------------------------------------------- /text_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/text_utils.py -------------------------------------------------------------------------------- /text_utils_test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/text_utils_test.py -------------------------------------------------------------------------------- /treesitter_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/google-deepmind/icml2024-roundtrip-correctness/HEAD/treesitter_utils.py --------------------------------------------------------------------------------