-
Notifications
You must be signed in to change notification settings - Fork 84
getting multiple marks from the same question #17
Comments
Hi @kiran-taylor, To get multiple marked alternatives for a single question, you can tweak the get_marked_alternative function. Currently it identifies the marked alternative by comparing it with the other ones: # Simple heuristic
if sorted_means[0]/sorted_means[1] > .7:
return None This doesn't work if you want to consider multiple marked alternatives. The first thing I would try is using an absolute threshold instead of comparing the it with other alternatives. In this approach, you would consider every entry in this |
yes, I tried increasing the value, # Simple heuristic
if sorted_means[0]/sorted_means[1] > .9:
return None if the single question has multiple marks it compares with alternatives and chooses a higher threshold value leaving lower. |
I think you would need to modify The approach I suggested is something like this: def get_marked_alternative(alternative_patches):
means = list(map(np.mean, alternative_patches))
# Here, we return all alternatives that we consider marked.
return [
alternative_index
for alternative_index, mean in enumerate(means)
if mean < THRESHOLD
] You would need to experiment with a few values for |
thanks, will try it out. |
hi @rbaron. , Question no-6 two options are marked Option-B and Option-D because it is marked with two options program bypasses it. is it possible to get multiple marks from the same question?
The text was updated successfully, but these errors were encountered: