We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ca7f042 commit 0c72617Copy full SHA for 0c72617
src/Stateful.jl
@@ -13,6 +13,8 @@ function next_item end
13
14
function ranked_items end
15
16
+function item_criteria end
17
+
18
function add_response! end
19
20
#function add_responses! end
@@ -75,6 +77,11 @@ function next_item(config::StatefulCatConfig)
75
77
end
76
78
79
function ranked_items(config::StatefulCatConfig)
80
+ return sortperm(compute_criteria(
81
+ config.rules.next_item, config.tracked_responses, config.item_bank))
82
+end
83
84
+function item_criteria(config::StatefulCatConfig)
85
return compute_criteria(
86
config.rules.next_item, config.tracked_responses, config.item_bank)
87
0 commit comments