Compare commits

...
Author SHA1 Message Date
Ice3man 38f25f5263 feat: fixed analyzer timeout issue + missing case fix 2024-12-02 17:10:36 +05:30
2 changed files with 3 additions and 2 deletions

No files matched your search

+2 -2
View File
@@ -166,6 +166,6 @@ func (o *simpleLinearRegression) Predict(x float64) float64 {
func (o *simpleLinearRegression) IsWithinConfidence(correlationErrorRange float64, expectedSlope float64, slopeErrorRange float64,
) bool {
return o.correlation > 1.0-correlationErrorRange &&
math.Abs(expectedSlope-o.slope) < slopeErrorRange
return o.correlation > 1.0-correlationErrorRange
//math.Abs(expectedSlope-o.slope) < slopeErrorRange
}
@@ -111,6 +111,7 @@ func (c *Configuration) Clone() *Configuration {
if c.Connection != nil {
cloneConnection := &ConnectionConfiguration{
DisableKeepAlive: c.Connection.DisableKeepAlive,
CustomMaxTimeout: c.Connection.CustomMaxTimeout,
}
if c.Connection.HasCookieJar() {
cookiejar := *c.Connection.GetCookieJar()