diff --git a/src/leveled_iclerk.erl b/src/leveled_iclerk.erl index c1a43ce..11ca1ba 100644 --- a/src/leveled_iclerk.erl +++ b/src/leveled_iclerk.erl @@ -502,6 +502,8 @@ fetch_inbatches(PositionList, BatchSize, CDB, CheckedList) -> assess_candidates(AllCandidates, Params) -> MaxRunLength = min(element(1, Params), length(AllCandidates)), NaiveBestRun = lists:sublist(AllCandidates, MaxRunLength), + % This will end up being scored twice, but lets take a guess at + % the best scoring run to take into the loop FoldFun = fun(RunLength, Best) -> assess_for_runlength(RunLength, AllCandidates, Params, Best)