Skip to content

179 Date and location filter for Volunteer Activity Trend and Volunteers by Location#208

Open
jeminmiyani wants to merge 60 commits into
jeminmiyanifrom
main
Open

179 Date and location filter for Volunteer Activity Trend and Volunteers by Location#208
jeminmiyani wants to merge 60 commits into
jeminmiyanifrom
main

Conversation

@jeminmiyani

Copy link
Copy Markdown

vamsisaigarapati and others added 30 commits April 14, 2026 16:22
…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
KPI analytics API for request dashboard metrics
update contact names
sana-desai and others added 24 commits May 29, 2026 10:03
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
…eer-analytics-date-filter-179

Revert "feat: add independent date filters and period grouping for volunteer analytics #179"
@jeminmiyani
jeminmiyani marked this pull request as draft July 7, 2026 20:20
@jeminmiyani
jeminmiyani marked this pull request as ready for review July 7, 2026 20:21
PamalaMadhumithaYadav and others added 4 commits July 12, 2026 18:11
…r-analytics

feat: add date filter support for volunteer activity trend and volunteers by location # 179
…-date-filter-analytics

Revert "feat: add date filter support for volunteer activity trend and volunteers by location # 179"
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

Successfully merging this pull request may close these issues.