From: Jérôme Benoit Date: Fri, 3 Oct 2025 15:46:59 +0000 (+0200) Subject: chore: refine github copilot instructions X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=6c0a0908134088d1ca981e20214351be3eeb3c0f;p=freqai-strategies.git chore: refine github copilot instructions Signed-off-by: Jérôme Benoit --- diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 62e8b9d..43918b4 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -65,18 +65,21 @@ These instructions guide GitHub Copilot to generate changes consistent with this - Build/lint/type checks pass (where applicable). - Tests pass (where applicable). - Documentation updated to reflect changes. +- Logs use appropriate levels (error, warn, info, debug). ## Examples ### Naming coherence **Good** (consistent style, clear semantics): + ```python threshold_value = 0.06 processing_mode = "piecewise" ``` **Bad** (mixed styles, ambiguous): + ```python thresholdValue = 0.06 # inconsistent case style threshold_aim = 0.06 # synonym creates ambiguity @@ -98,10 +101,10 @@ def add_cli_options(parser): ### Statistical reporting ```markdown -| Metric | Value | Interpretation | -|--------------|-------|--------------------------| -| KL(A‖B) | 0.023 | < 0.1: low divergence | -| Effect size | 0.12 | small to medium | +| Metric | Value | Interpretation | +| ----------- | ----- | --------------------- | +| KL(A‖B) | 0.023 | < 0.1: low divergence | +| Effect size | 0.12 | small to medium | ``` ---