@@ -31,9 +31,12 @@ namespace TEAMModelOS.SDK.Models.Cosmos.Common
{
get
- if (scores.Count > 2)
+ if (scores.Count >= 2)
- //List<double> sc = scores.Select(s => s.sc).ToList();
+ List<string> sc = scores.Select(s => s.tmdId).Where(c => string.IsNullOrEmpty(c)).ToList();
+ if (sc.Count > 0) {
+ return true;
+ }
double diff = Math.Abs(scores.Select(s => s.sc).ToList().Aggregate((i, j) => (i - j) * 6));
if (diff > ssc)