LegiEquity provides comprehensive analysis of legislative bills across all 50 states, DC, and the US Congress, focusing on their impact on various demographic groups and categories.
Visit us at: https://legiequity.us
- All 50 US States
- District of Columbia
- US Congress
- State-level analysis (Coming Soon)
- Advanced semantic and trigram-based search
- Real-time results with performance optimizations
- Comprehensive bill and sponsor information
- State-specific navigation and routing
- Committee-based filtering system
- Detailed analysis of bills' impact on different demographic groups
- Category-based classification and scoring
- Positive impact and bias assessment
- Evidence-based scoring with source citations
- Comprehensive voting history analysis
- Demographic impact breakdown of sponsored bills
- Category-wise analysis of legislative focus
- Overall positive impact and bias assessment
- Integration with VoteSmart API for legislator photos
- Hybrid search combining trigram and semantic search capabilities
- Real-time search with debouncing and request cancellation
- Grouped results showing both bills and sponsors
- Fallback to semantic search when exact matches aren't found
- Editorial-driven results for empty queries
- Optimized performance with pre-filtering and similarity thresholds
- Python-based service for processing and indexing legislative data
- Automated bill and sponsor text vectorization
- Integration with OpenAI embeddings for semantic search
- Efficient PostgreSQL vector storage and indexing
- Configurable indexing strategies and batch processing
- Automated data synchronization with LegiScan
- Bills displayed with state icons and bill numbers
- Sponsors shown with VoteSmart photos or color-coded initials
- Clean, modern UI with proper grouping and categorization
- Instant navigation to detailed bill/sponsor pages
- State-specific routing (e.g.,
/[state]/bill/[id]
)
- Committee-based filtering
- Dynamic filter options based on database content
- Server-side filtering for optimal performance
- Sorted and deduplicated filter options
Our analysis system evaluates bills across two main dimensions:
-
Category Level Analysis
- Bills are analyzed within broad categories (e.g., Race, Religion, Gender, Age, Disability, Veterans)
- Each category receives an overall impact score based on aggregated subgroup analysis
- Scores indicate whether the bill has a positive impact or potential bias
-
Demographic Subgroup Analysis
- Detailed analysis of impact on specific subgroups within each category
- Each subgroup receives individual scores for:
- Positive Impact (0-100%): Measures beneficial effects
- Bias Score (0-100%): Identifies potential negative impacts
- Neutral scoring when impact is minimal or balanced
- Next.js 14 with App Router
- TypeScript for type safety
- PostgreSQL with vector extensions for semantic search
- Python 3.11+ for indexing service
- OpenAI API for embeddings
- Tailwind CSS for styling
- Shadcn/ui for component library
- VoteSmart API integration
- Node.js 18+
- PostgreSQL 15+ with vector extension
- Python 3.11+
- Git
- Clone the repository
- Install dependencies:
npm install cd indexing_service pip install -r requirements.txt
- Copy
.env.example
to.env
and configure your environment variables:cp .env.example .env cd indexing_service cp .env.example .env
- Start the development server:
npm run dev
- Run the indexing service (in a separate terminal):
cd indexing_service python indexer.py
Required environment variables:
DATABASE_URL
: PostgreSQL connection stringVOTESMART_API_KEY
: API key for VoteSmart integrationOPENAI_API_KEY
: OpenAI API key for embeddingsLEGISCAN_API_KEY
: LegiScan API key for bill data
npm run dev
: Start development servernpm run build
: Build for productionnpm run start
: Start production servernpm run lint
: Run ESLintnpm run type-check
: Run TypeScript compilerpython indexer.py
: Run the indexing servicepython test_setup.py
: Test indexing service configuration
- Enhanced Search and Filtering
- State-level Analytics Dashboard
- Impact Blog
- API Access
LegiEquity is a collaboration between VoterAI and Blue Net Reflections, LLC, focused on bringing transparency and insight to legislative analysis through advanced AI technology.
For more information, visit https://legiequity.us
Copyright © 2025 Blue Net Reflections, LLC. All rights reserved.