Changes for CLAUDE.md: 72 added lines, 22 removed lines.
Original line number
Diff line number
Diff line
## Git Commit Guidelines
When creating commits:
-**Python environment**: Use the environment `/dati/pyenvs/pyaetnaEnv`
-**Commit often**: Small, focused commits are easier to review and understand. Ask for confirmation before committing
-**Pre-commit tests**: Run all pre-commit hooks before committing, recipes are in `.pre-commit-config.yaml` (black, ruff, mypy)
-**Repository test suite**: Run the repository test suite before committing, using `pytest -v --maxfail=1 --disable-warnings`. Fix all failures, also the ones not related to your changes, before committing.
-**Subject line**: Maximum 100 characters, no period
-**Body**: Only if truly necessary; omit if the subject says enough
-**Example**:
-`fix: handle NaN in RV uncertainties`
-`feat: add Bayesian model comparison for exoplanet candidates`
-`refactor: simplify posterior sampling loop`
Do NOT include lengthy explanations unless the change warrants it. One-line commits are preferred.
Whenever you send me messages, report the current date and time in local time, compact format, boldface, and in parentheses. For example: **(2024-06-05 14:30)**. This will help me keep track of the timeline of our discussion.
# PyAETNA: instructions for the code and the benchmarks (the software paper: `paper/CLAUDE.md`)
## Working with the author
- The author is an exoplanet astronomer, not a software developer. Make the standard technical choices yourself
and explain the outcome in plain language; do not ask them to write code or to choose between technical options.
Still ask before committing, unless they said to go ahead for that piece of work.
- Never print or propagate access tokens (e.g. the token file in `/dati/software/pyLib/`).
## Git commits
-**Python environment**: use `/dati/pyenvs/pyaetnaEnv`.
-**Commit often**: small, focused commits are easier to review and understand. Ask for confirmation before
committing.
-**Pre-commit tests**: run all pre-commit hooks before committing; recipes are in `.pre-commit-config.yaml`
(black, ruff, mypy).
-**Repository test suite**: run it before committing, with `pytest -v --maxfail=1 --disable-warnings`. Fix all
failures, including those unrelated to your changes, before committing.