-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy path.pr_agent.toml
More file actions
30 lines (27 loc) · 1.14 KB
/
.pr_agent.toml
File metadata and controls
30 lines (27 loc) · 1.14 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# .pr_agent.toml
[github_app]
pr_commands = [
"/review",
"/improve",
]
[pr_reviewer] # (all fields optional)
num_max_findings = 10 # how many items to surface
require_tests_review = true
extra_instructions = """
Project context and review priorities: .github/copilot-instructions.md
Coding standards and common pitfalls: docs/documentation/contributing.md
GPU macro API: docs/documentation/gpuParallelization.md
Prioritize correctness over style (formatting is enforced by pre-commit hooks).
Key areas: logic bugs, numerical issues,
array bounds (non-unity lower bounds with ghost cells), MPI halo exchange
correctness (pack/unpack offsets, GPU data coherence), precision mixing
(stp vs wp), ALLOCATE/DEALLOCATE pairing (GPU memory leaks), physics model
consistency (pressure formula must match model_eqns), missing case_validator.py
constraints for new parameters, and compiler portability across all four
supported compilers.
Python toolchain requires Python 3.10+; do not suggest __future__ imports
or other backwards-compatibility shims.
"""
[pr_code_suggestions]
commitable_code_suggestions = true
apply_suggestions_checkbox = true