From 126c99bbe81bf95eb7789e187350adf3da7101bb Mon Sep 17 00:00:00 2001 From: Alexander Date: Sat, 28 Mar 2026 09:18:44 -0700 Subject: [PATCH] small improvements to claude --- .claude/rules/uv.md | 12 ++++++++++++ CLAUDE.md | 3 ++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .claude/rules/uv.md diff --git a/.claude/rules/uv.md b/.claude/rules/uv.md new file mode 100644 index 00000000..2364c1f5 --- /dev/null +++ b/.claude/rules/uv.md @@ -0,0 +1,12 @@ +--- +description: Enforce uv as the package manager for all Python operations +globs: + - "**/*.py" + - "**/pyproject.toml" +--- + +- Always use `uv run` to execute commands — never bare `python`, `pytest`, `ruff`, or other tools. +- Never use `pip install` — use `uv sync` (with `--group` flags) to manage dependencies. +- The `uv.lock` file is the source of truth for resolved dependency versions. +- When adding dependencies, add them to `pyproject.toml` and run `uv sync`. +- HSSM uses PEP 735 dependency groups: `--group dev`, `--group notebook`, `--group docs`. diff --git a/CLAUDE.md b/CLAUDE.md index 7d8d50ce..4e3d7723 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -2,7 +2,7 @@ ## What is HSSM? -HSSM (Hierarchical Sequential Sampling Models) is a Python package for Bayesian inference on sequential sampling models (DDM, LBA, etc.) using PyMC and bambi. It provides a high-level API for defining, fitting, and analyzing these models. +HSSM (Hierarchical Sequential Sampling Models) is a Python package for Bayesian inference on sequential sampling models (DDM, LBA, etc.) using PyMC and bambi. It provides a high-level API for defining, fitting, and analyzing these models. This is the user-facing package in the HSSM ecosystem. For ecosystem-wide context, see the HSSMSpine repo. ## Project Structure @@ -100,6 +100,7 @@ Two separate skip mechanisms for notebooks: | `coverage.yml` | Code coverage | | `build_docs.yml` | Build documentation | | `build_and_publish.yml` | Release to PyPI (triggered on release publish) | +| `prepare-release.yml` | Release preparation automation | ## Known Issues / Notes