Back to home page

EIC code displayed by LXR

 
 

    


Warning, /eic-opticks/AGENTS.md is written in an unsupported language. File is not indexed.

0001 # Simphony contribution guidelines
0002 
0003 ## Changes
0004 
0005 - Keep each change focused and use the simplest implementation that meets the requirements. Reuse existing code and patterns before adding helpers, abstractions, or dependencies.
0006 - Follow the surrounding style and repository formatting rules (`.clang-format` for C++ and CUDA). Keep unrelated refactors and formatting out of the diff.
0007 - Preserve public API and configuration compatibility unless the change calls for a break. Update affected docs and examples, and explain any migration steps.
0008 
0009 ## Tests
0010 
0011 - Always add focused unit tests for new features and regression tests for bug fixes. Test observable behavior and relevant edge cases, and keep tests deterministic.
0012 - Register tests in the appropriate `CMakeLists.txt` so CTest runs them. Build with `cmake --build build`, then run `ctest --test-dir build --output-on-failure` (use `-R <pattern>` for focused runs). See the [README](README.md#build-from-source) for configuration and prerequisites.
0013 - Run the checks relevant to the change before review. Report what ran, the results, and anything skipped, including checks that require a GPU.
0014 
0015 ## Commits and pull requests
0016 
0017 - Use Conventional Commits (`type(scope): summary`), for example `fix(simg4ox): validate GPU selection`. Keep commits focused and use `BREAKING CHANGE:` to describe incompatible changes.
0018 - Provide a PR-ready description that explains what changed and why, lists validation and results, and calls out compatibility or migration details when relevant. Link related issues when available.