|
@@ -1598,7 +1598,7 @@ namespace TEAMModelOS.Controllers
|
|
|
{
|
|
|
recs.Add(scoring);
|
|
|
}
|
|
|
- else if (scoring.tIds.Count < scoring.marks.Count * scoring.modle)
|
|
|
+ else if (scoring.tIds.Count < scoring.marks.Count * scoring.model)
|
|
|
{
|
|
|
all.Add(scoring);
|
|
|
}
|
|
@@ -1691,7 +1691,7 @@ namespace TEAMModelOS.Controllers
|
|
|
Random random = new Random();
|
|
|
SDK.Models.Cosmos.Common.Scoring item = new();
|
|
|
List<SDK.Models.Cosmos.Common.Scoring> notYet = new();
|
|
|
- notYet = all.Where(x => x.tIds.Count < x.marks.Count * x.modle - 1).ToList();
|
|
|
+ notYet = all.Where(x => x.tIds.Count < x.marks.Count * x.model - 1).ToList();
|
|
|
if (notYet.Count > 0)
|
|
|
{
|
|
|
item = notYet[random.Next(notYet.Count)];
|