Skip to content

Agent briefing

Ahmet Burak Biçer edited this page Jun 30, 2026 · 1 revision

Agent briefing

When you (a coding or triage agent) work on this repository:

  1. Read Project restrictions and .github/copilot-instructions.md in the main repo.
  2. Never introduce stochastic Miller–Rabin or prime-library engines.
  3. Keep determinism — serial and parallel paths must agree on results.
  4. Add tests for behaviour changes; use @pytest.mark.slow for multi-second 64-bit primes.
  5. Run before claiming success:
    • pytest -q -m "not slow"
    • python benchmarks/check_determinism.py
  6. Remind users the project is largely AI-generated and needs human review for critical use.
  7. Performance claims: use benchmarks/compare_speed.py (primitive vs optimized).

Issue/PR automation posts a subset of this briefing automatically via Issue agent / PR agent workflows.

Best-Prime-Number-Function

Wiki


Repository · Pages wiki

AI-designed project — review before production use.

Clone this wiki locally