179 Date and location filter for Volunteer Activity Trend and Volunteers by Location#208
Open
jeminmiyani wants to merge 60 commits into
Open
179 Date and location filter for Volunteer Activity Trend and Volunteers by Location#208jeminmiyani wants to merge 60 commits into
jeminmiyani wants to merge 60 commits into
Conversation
…d_info" This reverts commit 83bcaf6.
…rating (#133) * #119 Add synthetic Data generator for request_comments and volunteer_rating * #119 Upgrade synthetic data generator with 3-tier ML-grade text pipeline - Added 3-tier text generation: compositional grammar, stochastic perturbation, and diversity validator for ML-training-grade diversity - Added standalone usage mode (--rows flag) - Regenerated request_comments.csv and volunteer_rating.csv with higher-quality diverse data
Lambda function for Request_application_analytics
This reverts commit 1793457.
This reverts commit edfdb67.
KPI analytics API for request dashboard metrics
update contact names
Fix KPI analytics schema and completed request filtering
Refactored database connection to use Boto3 for fetching credentials from SSM Parameter Store instead of aws_lambda_powertools.
- Add build_date_filter() helper accepting time_range, start_date, and end_date; returns SQL WHERE condition string and params tuple to prevent SQL injection - Update fetch_request_status_distribution() to accept date filter params and apply WHERE clause with table alias r for date filtering - Update fetch_total_requests() to accept date filter params; add table alias r to fix missing FROM-clause error when date filter is applied - Update fetch_average_resolution_time_by_category() to accept date filter params and append AND clause to existing WHERE block - Update lambda_handler() to read time_range (default All), start_date, and end_date from event payload and pass to all fetch functions - Supports 7D, 30D, 1Y, All, and Custom date ranges - Response structure and SLA metadata unchanged
feat: add date filters support to KPI analytics lambda function #181 Adds the `kpi_api_analytics` Lambda handler, which exposes KPI metrics for the request-tracking system via API Gateway: - Request status distribution (counts per status) - Total request count - Average resolution time by category (in hours) - Fixed SLA thresholds (target: 10 days / 240 hrs, warning: 8.33 days / 200 hrs) Supports filtering by time range: 7D, 30D,1Y, Custom (start/end date), or All (no filter).
Added user_skills csv file
Added volunteer_details.csv file
…te-filters-181 Revert "feat: add date filters support to KPI analytics lambda function #181"
…pi_v2 Added date filter support to KPI analytics API (#181) v2 (updated file from main)
…cs-date-filter-179 feat: add independent date filters and period grouping for volunteer analytics #179
…lunteer analytics #179"
…eer-analytics-date-filter-179 Revert "feat: add independent date filters and period grouping for volunteer analytics #179"
jeminmiyani
marked this pull request as draft
July 7, 2026 20:20
jeminmiyani
marked this pull request as ready for review
July 7, 2026 20:21
…r-analytics feat: add date filter support for volunteer activity trend and volunteers by location # 179
…d volunteers by location # 179"
…-date-filter-analytics Revert "feat: add date filter support for volunteer activity trend and volunteers by location # 179"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#179 Date filters.py