From 6c0a0908134088d1ca981e20214351be3eeb3c0f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 3 Oct 2025 17:46:59 +0200 Subject: [PATCH] chore: refine github copilot instructions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- .github/copilot-instructions.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 | ``` --- -- 2.43.0