This repository explores attribution and evaluation for code-focused language models. It includes:
Core package lives in src/attribution/ (utils, benchmark, vis, tune). Experiments, figures, and helper scripts live in experiments/.
uv (see pyproject.toml).uv syncuv run ruff check . and uv run ruff format .HF_TOKEN).uv run python src/attribution/main.pysrc/attribution/benchmark.py or call benchmark(model_name).uv run python src/attribution/benchmark.pyuv run python src/attribution/tune/apps_train.py --help00_human_eval.py: Evaluate pass@k with EvalPlus helpers.02_train_single_benchmark.py: Train on a single benchmark.02_01_single_benchmark_results.py, 03_multiple_benchmark_result.py, 04_assess_multiple_benchmarks.py:
Aggregate, compare, and score multiple runs across datasets.05_compare_pass_rates.py: Compare pass rates across settings.06_function_composition.py: Composition tests; behavior under chaining.11_test_activation_norm.py: Activation norm sanity checks.07_evaluate_cruxeval.py + 07_*plots*.py: Evaluate and plot CruxEval results.assess_olmo_models.sh, 07_evaluate_olmo_models.sh: Evaluate OLMo variants.10_download_checkpoints.{sh,py}, 10_plot_base.py, 10_test_revisions.py,
10_evaluate_{base,instruct}.sh, 10_grab_branches.py: Manage/evaluate checkpoints.accuracy_by_stage.html, stage{1,2}_progress.html.benchmark.sh, finetune.sh, multipleE_bigcode.sh, get_multiplek_results.sh.pyproject.toml.
Update [tool.uv.sources] if your path differs.uv run python src/test_format.py.This repository explores attribution and evaluation for code-focused language models. It includes:
Core package lives in src/attribution/ (utils, benchmark, vis, tune). Experiments, figures, and helper scripts live in experiments/.
uv (see pyproject.toml).uv syncuv run ruff check . and uv run ruff format .HF_TOKEN).uv run python src/attribution/main.pysrc/attribution/benchmark.py or call benchmark(model_name).uv run python src/attribution/benchmark.pyuv run python src/attribution/tune/apps_train.py --help00_human_eval.py: Evaluate pass@k with EvalPlus helpers.02_train_single_benchmark.py: Train on a single benchmark.02_01_single_benchmark_results.py, 03_multiple_benchmark_result.py, 04_assess_multiple_benchmarks.py:
Aggregate, compare, and score multiple runs across datasets.05_compare_pass_rates.py: Compare pass rates across settings.06_function_composition.py: Composition tests; behavior under chaining.11_test_activation_norm.py: Activation norm sanity checks.07_evaluate_cruxeval.py + 07_*plots*.py: Evaluate and plot CruxEval results.assess_olmo_models.sh, 07_evaluate_olmo_models.sh: Evaluate OLMo variants.10_download_checkpoints.{sh,py}, 10_plot_base.py, 10_test_revisions.py,
10_evaluate_{base,instruct}.sh, 10_grab_branches.py: Manage/evaluate checkpoints.accuracy_by_stage.html, stage{1,2}_progress.html.benchmark.sh, finetune.sh, multipleE_bigcode.sh, get_multiplek_results.sh.pyproject.toml.
Update [tool.uv.sources] if your path differs.uv run python src/test_format.py.