]> Piment Noir Git Repositories - freqai-strategies.git/commitdiff
chore: refine github copilot instructions
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 3 Oct 2025 15:46:59 +0000 (17:46 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 3 Oct 2025 15:46:59 +0000 (17:46 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.github/copilot-instructions.md

index 62e8b9d32164b72a082ed82fae786c5e9a1e9853..43918b494ff7fca37f6e93fa358c6e453ad923c9 100644 (file)
@@ -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       |
 ```
 
 ---