├── .gitignore ├── .vscode ├── launch.json └── settings.json ├── README.md ├── datasets ├── __init__.py └── repeat_char_fixedrepeat.py ├── framework ├── .gitignore ├── __init__.py ├── data_structures │ ├── __init__.py │ ├── dotdict.py │ └── vocabulary.py ├── dataset │ ├── __init__.py │ ├── helpers │ │ ├── __init__.py │ │ └── cache_loader_mixin.py │ ├── repeat_char.py │ └── sequence.py ├── helpers │ ├── __init__.py │ ├── argument_parser.py │ ├── distributed.py │ ├── saver.py │ ├── stopping_parallel_loop.py │ └── training_helper.py ├── interfaces │ ├── __init__.py │ └── result.py ├── layers │ ├── __init__.py │ ├── gumbel_softmax.py │ ├── layer_with_stats.py │ ├── layer_with_visualization.py │ ├── logging_layer.py │ ├── once_per_iter_layer.py │ ├── positional_encoding.py │ └── regularized_layer.py ├── loader │ ├── __init__.py │ ├── collate.py │ ├── dataset_splitter.py │ └── sampler.py ├── optimizer │ ├── __init__.py │ ├── noam_lr_sched.py │ └── step_lr_sched.py ├── task │ ├── __init__.py │ ├── simple_task.py │ ├── task.py │ └── task_db.py ├── utils │ ├── __init__.py │ ├── add_eos.py │ ├── average.py │ ├── distributed_ops.py │ ├── entropy.py │ ├── gen_to_it.py │ ├── gpu_allocator.py │ ├── grad_syncer.py │ ├── init.py │ ├── lockfile.py │ ├── parallel_map.py │ ├── port.py │ ├── process.py │ ├── rejection_sampler.py │ ├── seed.py │ ├── set_lr.py │ ├── time_meter.py │ └── universal.py └── visualize │ ├── __init__.py │ ├── plot.py │ └── tensorboard.py ├── main.py ├── notebooks ├── plot_state_details.ipynb └── run_inference.ipynb ├── paper ├── blackbox │ ├── config.json │ ├── intervention.py │ ├── lib │ ├── performance.py │ ├── probe.py │ └── probe_small.py └── lib │ ├── __init__.py │ ├── common.py │ ├── config.py │ ├── matplotlib_config.py │ ├── source.py │ └── stat_tracker.py ├── requirements.txt ├── sweep_to_vscode_config.py ├── sweeps ├── rnn_intervention_test_all.yaml ├── rnn_intervention_test_all_48.yaml ├── rnn_intervention_test_all_decode.yaml ├── rnn_intervention_test_all_decode_48.yaml ├── rnn_intervention_test_all_decode_godel.yaml ├── rnn_intervention_test_all_decode_godel_48.yaml ├── rnn_intervention_test_all_decode_gru.yaml ├── rnn_intervention_test_all_decode_gru_48.yaml ├── rnn_intervention_test_all_godel.yaml ├── rnn_intervention_test_all_godel_48.yaml └── vecsum_test.yaml ├── tasks ├── __init__.py ├── gru_repeat.py ├── gru_repeat_decode_seq.py ├── gru_repeat_magic_intervene.py └── vecsum_repeat.py └── vscode_config_to_sweep.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/README.md -------------------------------------------------------------------------------- /datasets/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/datasets/__init__.py -------------------------------------------------------------------------------- /datasets/repeat_char_fixedrepeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/datasets/repeat_char_fixedrepeat.py -------------------------------------------------------------------------------- /framework/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | __pycache__ 3 | -------------------------------------------------------------------------------- /framework/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/__init__.py -------------------------------------------------------------------------------- /framework/data_structures/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/data_structures/__init__.py -------------------------------------------------------------------------------- /framework/data_structures/dotdict.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/data_structures/dotdict.py -------------------------------------------------------------------------------- /framework/data_structures/vocabulary.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/data_structures/vocabulary.py -------------------------------------------------------------------------------- /framework/dataset/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/dataset/__init__.py -------------------------------------------------------------------------------- /framework/dataset/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/dataset/helpers/__init__.py -------------------------------------------------------------------------------- /framework/dataset/helpers/cache_loader_mixin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/dataset/helpers/cache_loader_mixin.py -------------------------------------------------------------------------------- /framework/dataset/repeat_char.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/dataset/repeat_char.py -------------------------------------------------------------------------------- /framework/dataset/sequence.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/dataset/sequence.py -------------------------------------------------------------------------------- /framework/helpers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/__init__.py -------------------------------------------------------------------------------- /framework/helpers/argument_parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/argument_parser.py -------------------------------------------------------------------------------- /framework/helpers/distributed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/distributed.py -------------------------------------------------------------------------------- /framework/helpers/saver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/saver.py -------------------------------------------------------------------------------- /framework/helpers/stopping_parallel_loop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/stopping_parallel_loop.py -------------------------------------------------------------------------------- /framework/helpers/training_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/helpers/training_helper.py -------------------------------------------------------------------------------- /framework/interfaces/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/interfaces/__init__.py -------------------------------------------------------------------------------- /framework/interfaces/result.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/interfaces/result.py -------------------------------------------------------------------------------- /framework/layers/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/__init__.py -------------------------------------------------------------------------------- /framework/layers/gumbel_softmax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/gumbel_softmax.py -------------------------------------------------------------------------------- /framework/layers/layer_with_stats.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/layer_with_stats.py -------------------------------------------------------------------------------- /framework/layers/layer_with_visualization.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/layer_with_visualization.py -------------------------------------------------------------------------------- /framework/layers/logging_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/logging_layer.py -------------------------------------------------------------------------------- /framework/layers/once_per_iter_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/once_per_iter_layer.py -------------------------------------------------------------------------------- /framework/layers/positional_encoding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/positional_encoding.py -------------------------------------------------------------------------------- /framework/layers/regularized_layer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/layers/regularized_layer.py -------------------------------------------------------------------------------- /framework/loader/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/loader/__init__.py -------------------------------------------------------------------------------- /framework/loader/collate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/loader/collate.py -------------------------------------------------------------------------------- /framework/loader/dataset_splitter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/loader/dataset_splitter.py -------------------------------------------------------------------------------- /framework/loader/sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/loader/sampler.py -------------------------------------------------------------------------------- /framework/optimizer/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/optimizer/__init__.py -------------------------------------------------------------------------------- /framework/optimizer/noam_lr_sched.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/optimizer/noam_lr_sched.py -------------------------------------------------------------------------------- /framework/optimizer/step_lr_sched.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/optimizer/step_lr_sched.py -------------------------------------------------------------------------------- /framework/task/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/task/__init__.py -------------------------------------------------------------------------------- /framework/task/simple_task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/task/simple_task.py -------------------------------------------------------------------------------- /framework/task/task.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/task/task.py -------------------------------------------------------------------------------- /framework/task/task_db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/task/task_db.py -------------------------------------------------------------------------------- /framework/utils/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/__init__.py -------------------------------------------------------------------------------- /framework/utils/add_eos.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/add_eos.py -------------------------------------------------------------------------------- /framework/utils/average.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/average.py -------------------------------------------------------------------------------- /framework/utils/distributed_ops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/distributed_ops.py -------------------------------------------------------------------------------- /framework/utils/entropy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/entropy.py -------------------------------------------------------------------------------- /framework/utils/gen_to_it.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/gen_to_it.py -------------------------------------------------------------------------------- /framework/utils/gpu_allocator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/gpu_allocator.py -------------------------------------------------------------------------------- /framework/utils/grad_syncer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/grad_syncer.py -------------------------------------------------------------------------------- /framework/utils/init.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/init.py -------------------------------------------------------------------------------- /framework/utils/lockfile.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/lockfile.py -------------------------------------------------------------------------------- /framework/utils/parallel_map.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/parallel_map.py -------------------------------------------------------------------------------- /framework/utils/port.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/port.py -------------------------------------------------------------------------------- /framework/utils/process.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/process.py -------------------------------------------------------------------------------- /framework/utils/rejection_sampler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/rejection_sampler.py -------------------------------------------------------------------------------- /framework/utils/seed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/seed.py -------------------------------------------------------------------------------- /framework/utils/set_lr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/set_lr.py -------------------------------------------------------------------------------- /framework/utils/time_meter.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/time_meter.py -------------------------------------------------------------------------------- /framework/utils/universal.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/utils/universal.py -------------------------------------------------------------------------------- /framework/visualize/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/visualize/__init__.py -------------------------------------------------------------------------------- /framework/visualize/plot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/visualize/plot.py -------------------------------------------------------------------------------- /framework/visualize/tensorboard.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/framework/visualize/tensorboard.py -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/main.py -------------------------------------------------------------------------------- /notebooks/plot_state_details.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/notebooks/plot_state_details.ipynb -------------------------------------------------------------------------------- /notebooks/run_inference.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/notebooks/run_inference.ipynb -------------------------------------------------------------------------------- /paper/blackbox/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/blackbox/config.json -------------------------------------------------------------------------------- /paper/blackbox/intervention.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/blackbox/intervention.py -------------------------------------------------------------------------------- /paper/blackbox/lib: -------------------------------------------------------------------------------- 1 | ../lib -------------------------------------------------------------------------------- /paper/blackbox/performance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/blackbox/performance.py -------------------------------------------------------------------------------- /paper/blackbox/probe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/blackbox/probe.py -------------------------------------------------------------------------------- /paper/blackbox/probe_small.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/blackbox/probe_small.py -------------------------------------------------------------------------------- /paper/lib/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/__init__.py -------------------------------------------------------------------------------- /paper/lib/common.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/common.py -------------------------------------------------------------------------------- /paper/lib/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/config.py -------------------------------------------------------------------------------- /paper/lib/matplotlib_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/matplotlib_config.py -------------------------------------------------------------------------------- /paper/lib/source.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/source.py -------------------------------------------------------------------------------- /paper/lib/stat_tracker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/paper/lib/stat_tracker.py -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/requirements.txt -------------------------------------------------------------------------------- /sweep_to_vscode_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweep_to_vscode_config.py -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_48.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_48.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode_48.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode_48.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode_godel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode_godel.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode_godel_48.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode_godel_48.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode_gru.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode_gru.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_decode_gru_48.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_decode_gru_48.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_godel.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_godel.yaml -------------------------------------------------------------------------------- /sweeps/rnn_intervention_test_all_godel_48.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/rnn_intervention_test_all_godel_48.yaml -------------------------------------------------------------------------------- /sweeps/vecsum_test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/sweeps/vecsum_test.yaml -------------------------------------------------------------------------------- /tasks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/tasks/__init__.py -------------------------------------------------------------------------------- /tasks/gru_repeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/tasks/gru_repeat.py -------------------------------------------------------------------------------- /tasks/gru_repeat_decode_seq.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/tasks/gru_repeat_decode_seq.py -------------------------------------------------------------------------------- /tasks/gru_repeat_magic_intervene.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/tasks/gru_repeat_magic_intervene.py -------------------------------------------------------------------------------- /tasks/vecsum_repeat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/tasks/vecsum_repeat.py -------------------------------------------------------------------------------- /vscode_config_to_sweep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RobertCsordas/onion_representations/HEAD/vscode_config_to_sweep.py --------------------------------------------------------------------------------