Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TODO(bhenning) in core/domain/stats_domain.py: Monitor sizes (lengths of submitted_answer_list) of these objects and determine if we should enforce an upper bound for submitted_answer_list. #20309

Closed
poloreoyeniji opened this issue May 14, 2024 · 1 comment

Comments

@poloreoyeniji
Copy link

There is a potential need for the optimization of the StateAnswers class used to store submitted answers within an exploration state. The StateAnswers class stores a list of SubmittedAnswer objects within the submitted_answer_list attribute. There is currently no limit on the size of this list. Unbounded growth of the submitted_answer_list could lead to unexpected behaviour, especially when dealing with a large number of answers. We need to monitor the sizes encountered for the submitted_answer_list. Then, based on the monitored data, evaluate whether enforcing an upper bound on the size of submitted_answer_list is beneficial.

@seanlip
Copy link
Member

seanlip commented May 29, 2024

Closing because this doesn't follow expected issue-filing conventions.

@seanlip seanlip closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants