Code contributions are easy to account; one totals commits, reviews, and lines of code in whatever code management system the project uses.
However, non-code contributions, particularly in the areas of advocacy, event management, coordination, mentoring, and logistics don't necessarily leave a trail in a repository. For communities where voting in elections requires a certain threshold of contributions, counting these contributions is critical.
What methods have communities used to count non-code, non-repository contributions? Please give methods that you have insight into, and for which you can relate success or failure.
ADDITIONAL INFORMATION: Many projects, such as Kubernetes and PostgreSQL, have a numerical threshold for the number of code/doc contributions required in order to be considered a contributor, and thus have certain privileges (voting, attend summit, listed on home page). Neither of those example projects has any way to incorporate activity that doesn't generate git commits into that numerical threshold. I'm looking for a way to do so.