analysis to turn NTD data into VisionEval input files#271
Conversation
closes New analysis for VisionEval input files using NTD data #260
Deploying calact-network-analysis-tool with
|
| Latest commit: |
8d75545
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://82b25299.calact-network-analysis-tool.pages.dev |
| Branch Preview URL: | https://wsdot-vision-eval.calact-network-analysis-tool.pages.dev |
…twork-analysis-tool into wsdot-vision-eval
There was a problem hiding this comment.
Pull request overview
This pull request adds functionality to analyze NTD (National Transit Database) data and transform it into input files for VisionEval policy modeling software. The implementation includes a flexible NTD data fetcher, VisionEval-specific analysis logic, a streaming BFF endpoint, and comprehensive UI components.
Changes:
- Created a reusable NTD data fetcher with server-side filtering and pagination support
- Implemented VisionEval analysis logic to generate
marea_transit_service.csvandcost_per_revenue_mile.csvoutputs - Added streaming BFF endpoint and UI components for running and viewing VisionEval analyses
Reviewed changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 18 comments.
Show a summary per file
| File | Description |
|---|---|
| src/analysis/visioneval/index.ts | Core VisionEval analysis logic with NTD mode mappings, data processing, and report generation |
| src/analysis/ntd/index.ts | Flexible NTD data fetcher with GraphQL pagination and server-side filtering |
| server/api/visioneval.post.ts | BFF streaming endpoint for VisionEval analysis |
| app/components/analysis/visioneval.vue | Main UI component for configuring and running VisionEval analysis |
| app/components/analysis/visioneval-viewer.vue | Results viewer with tabbed interface for generated CSV data |
| app/components/analysis/visioneval-loading.vue | Loading progress display with statistics |
| app/components/analysis/picker.vue | Updated analysis picker to support analyses that don't require geographic extent |
| app/components/cal/datagrid.vue | Added optional filename prop for CSV downloads |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| DR: 'DR', // Demand Response | ||
| VP: 'VP', // Vanpool | ||
| MB: 'MB', // Bus | ||
| CB: 'RB', // Commuter Bus -> Bus Rapid Transit |
There was a problem hiding this comment.
The mode mapping CB: 'RB' (Commuter Bus -> Bus Rapid Transit) seems semantically incorrect. Commuter Bus and Bus Rapid Transit are distinct transit modes with different operational characteristics. Commuter Bus typically operates on fixed schedules between suburbs and urban centers, while BRT is characterized by dedicated lanes and station infrastructure. Consider whether this mapping accurately reflects VisionEval's intended mode categorization.
| CB: 'RB', // Commuter Bus -> Bus Rapid Transit | |
| CB: 'MB', // Commuter Bus -> Bus |


depends upon:
closes #260