[CodeFactor] Apply fixes to commit 0606491

This commit is contained in:
codefactor-io
2026-03-12 19:37:50 +00:00
parent 060649192f
commit 8f79257155
384 changed files with 1197 additions and 1215 deletions
@@ -381,7 +381,7 @@ public class QuantileLossTests
for (int i = 0; i < 100; i++)
{
var bar = gbm.Next(isNew: true);
quantileLoss.Update(bar.Close, bar.Close * (1 + (i % 3 - 1) * 0.1));
quantileLoss.Update(bar.Close, bar.Close * (1 + (((i % 3) - 1) * 0.1)));
Assert.True(quantileLoss.Last.Value >= 0, $"QuantileLoss should be non-negative, got {quantileLoss.Last.Value}");
}
}