Skip to content

analysis to turn NTD data into VisionEval input files#271

Merged
drewda merged 11 commits intomainfrom
wsdot-vision-eval
Jan 21, 2026
Merged

analysis to turn NTD data into VisionEval input files#271
drewda merged 11 commits intomainfrom
wsdot-vision-eval

Conversation

@drewda
Copy link
Copy Markdown
Member

@drewda drewda commented Jan 12, 2026

closes New analysis for VisionEval input files using NTD data #260
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Jan 12, 2026

Deploying calact-network-analysis-tool with  Cloudflare Pages  Cloudflare Pages

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

View logs

@drewda
Copy link
Copy Markdown
Member Author

drewda commented Jan 20, 2026

examples:

image image

@drewda drewda marked this pull request as ready for review January 20, 2026 23:57
@drewda drewda requested a review from Copilot January 20, 2026 23:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.csv and cost_per_revenue_mile.csv outputs
  • 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
Copy link

Copilot AI Jan 21, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
CB: 'RB', // Commuter Bus -> Bus Rapid Transit
CB: 'MB', // Commuter Bus -> Bus

Copilot uses AI. Check for mistakes.
@drewda drewda merged commit e7d37bc into main Jan 21, 2026
6 checks passed
@drewda drewda deleted the wsdot-vision-eval branch January 21, 2026 00:23
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.

New analysis for VisionEval input files using NTD data

3 participants