You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sumit-158 sure! It should be a relatively easy fix.
The candidates get filtered in https://github.com/elekto-io/elekto/blob/main/elekto/models/meta.py when we pull them from disk. You'd just need to add a regex filter on the names to screen out ones that have the word "template" in them, even if they do have the word "candidate".
Currently, if an org names a template file for candidates
candidate-template.md
then that will appear as if it were a real candidate in the election.Modify the candidate sorter to screen out these files.
The text was updated successfully, but these errors were encountered: