File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
src/next_item_rules/prelude Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,13 @@ function compute_criteria(
5050 for item_idx in eachindex (items)]
5151end
5252
53+ function compute_criteria (
54+ criterion,
55+ responses:: TrackedResponses ,
56+ )
57+ compute_criteria (criterion, responses, responses. item_bank)
58+ end
59+
5360function compute_criteria (
5461 rule:: ItemStrategyNextItemRule{StrategyT, ItemCriterionT} ,
5562 responses,
@@ -58,6 +65,13 @@ function compute_criteria(
5865 compute_criteria (rule. criterion, responses, items)
5966end
6067
68+ function compute_criteria (
69+ rule:: ItemStrategyNextItemRule{StrategyT, ItemCriterionT} ,
70+ responses
71+ ) where {StrategyT, ItemCriterionT <: ItemCriterion }
72+ compute_criteria (rule. criterion, responses)
73+ end
74+
6175function compute_pointwise_criterion (
6276 ppic:: PurePointwiseItemCriterion , tracked_responses, item_idx)
6377 compute_pointwise_criterion (ppic, ItemResponse (tracked_responses. item_bank, item_idx))
You can’t perform that action at this time.
0 commit comments