code reviews

This commit is contained in:
Miha Kralj
2026-01-18 22:23:50 -08:00
parent 86fe32a682
commit 4673f48a70
40 changed files with 1155 additions and 309 deletions
@@ -0,0 +1,10 @@
# QuanTAlib: Forbid System.Random in tests - use GBM helper instead
# DCT rule: Tests MUST use GBM helper, never System.Random
id: no-random-in-tests
language: csharp
severity: error
message: "Use GBM helper instead of System.Random in tests - ensures reproducible test data"
note: "GBM (Geometric Brownian Motion) provides consistent, realistic price data for indicator testing"
rule:
pattern: new Random($$$)