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

Update Election Statistics Report – Add Total Valid Votes Counted #455

Open
JohnMwashuma opened this issue Feb 10, 2025 · 0 comments
Open

Comments

@JohnMwashuma
Copy link
Member

Context

The Election Statistics Report provides key insights into election progress, including total voters and registrants in counted stations. However, tally managers and administrators have identified a need for an additional Total Valid Votes Counted metric to enhance data completeness and provide a clearer picture of counted votes.

This update will add Total Valid Votes Counted alongside existing statistics, ensuring a more comprehensive overview of election progress and vote integrity.

Current Issues Identified:

  • Incomplete Data:
    The report currently tracks total voters and registrants in counted stations but does not include total valid votes counted, which is a critical metric for analyzing the integrity of vote counting.
  • Limited Vote Validation:
    Without valid votes counted, it is difficult for tally managers to assess if the total votes align with the number of counted stations.
  • Operational Efficiency:
    Including valid votes counted allows administrators to cross-check reconciliation data and improve election monitoring.

By incorporating Total Valid Votes Counted, tally managers can make more informed decisions and detect any discrepancies in election results.


Proposed Changes

  • Enhance Election Statistics Report:
    Add Total Valid Votes Counted to the existing report, allowing better analysis of election results.
  • Improve Data Accuracy:
    Ensure that valid votes counted align with total voters and registrants to maintain election integrity.
  • Increase Transparency:
    Provide administrators and tally managers with a complete view of counted stations, helping identify any discrepancies.
  • Seamless Integration:
    Add this new metric to the existing Election Statistics Report view without disrupting current reporting workflows.

Proposed Implementation Plan

  • Task 1: Update Report View to Include Total Valid Votes Counted

    • Modify the ElectionStatisticsReportView
    • Fetch the valid votes counted metric from the relevant reconciliation or result models.
    • Ensure correct aggregation and display of valid votes per counted station.
  • Task 2: Update Report Generation Logic

    • Modify the generate_election_statistics_report function.
    • Ensure the new metric is properly calculated and included in the final report data.
    • Validate that valid votes counted align with total voters and registrants.
  • Task 3: Modify Report Template to Display Valid Votes Counted

    • Update the election_statistics_report.html template.
    • Add a new column or section displaying Total Valid Votes Counted.
    • Ensure UI consistency and responsive formatting.
  • Task 4: Testing & Validation

    • Write unit tests to validate the new metric's calculations and ensure accuracy.
    • Conduct User Acceptance Testing (UAT) to verify correct integration in the report.
  • Task 5: Deployment & Documentation Updates

    • Update system documentation to reflect the addition of Total Valid Votes Counted.
    • Deploy the changes following standard release procedures.

Acceptance Criteria

✅ The Election Statistics Report includes a new Total Valid Votes Counted metric.
✅ The report correctly aggregates valid votes per counted station.
Valid votes counted align with total voters and registrants, ensuring data accuracy.
✅ The report template is updated to display the new metric clearly.
✅ The update passes QA/UAT testing and meets usability expectations.
✅ The feature is seamlessly integrated into the reporting workflow without disrupting existing functionality.


Estimated Level of Effort (LOE)

Task Complexity Estimated Time
1. Update Report View to Include Total Valid Votes 🟠 High 8-12 hours
2. Update Report Generation Logic 🟡 Medium 6-10 hours
3. Modify Report Template to Display Valid Votes Counted 🟡 Medium 4-6 hours
4. Testing & Validation 🟡 Medium 4-6 hours
5. Deployment & Documentation Updates 🟢 Low 2-3 hours

Total Estimated LOE: ~24-37 hours (~4-6 working days)

🚀 Effort Level: 🟠 Medium to High Complexity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant