Skip to content

Exclude experiment result directories from git tracking - #2

Draft
dykang wants to merge 1 commit into
mainfrom
claude/add-gitignore-results
Draft

Exclude experiment result directories from git tracking#2
dykang wants to merge 1 commit into
mainfrom
claude/add-gitignore-results

Conversation

@dykang

@dykang dykang commented Jun 6, 2026

Copy link
Copy Markdown

Summary

mpo_log_results_mpo-llama8b-8b/ (and similar result directories) are committed to the repository, but they contain machine-generated JSON outputs that:

  • Are large and environment-specific
  • Change every training run
  • Belong in experiment tracking tools (W&B, MLflow, local storage), not source control

Added mpo_log_results_*/ to .gitignore so future result directories are excluded automatically.

Note: The existing mpo_log_results_mpo-llama8b-8b/ directory is already tracked. To fully remove it: git rm -r --cached mpo_log_results_mpo-llama8b-8b/ on the main branch.

Test plan

  • Create a new mpo_log_results_test/ directory — verify git status shows it as ignored
  • Verify existing tracked files are unaffected

https://claude.ai/code/session_019aKvkKExRdWN6fBqinkQC3

Experiment result directories (mpo_log_results_mpo-llama8b-8b/ etc.) contain
machine-generated JSON outputs that are large, environment-specific, and
belong in experiment tracking tools rather than source control. Excluding
them avoids noise in diffs and prevents accidental large file commits.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants