- Overview
- Features
- Quick Start
- Active Learning System
- R2R Integration
- Smart Scoring System
- Directory Structure
- Components
- API Service
- Testing Framework
- Documentation
- License
DevTrack provides a comprehensive API and demonstration web application for processing and analyzing developmental milestone assessments. The system supports question processing, keyword management, score recording, and response analysis to facilitate the assessment of developmental milestones in children.
π§ Advanced NLP Analysis | π Continuous Learning | π Detailed Reporting |
State-of-the-art language models for assessment | Improves accuracy over time with active learning | Comprehensive visualization of developmental progress |
- Smart Response Analysis: Sophisticated NLP techniques to analyze caregiver responses
- Multi-tier Scoring System: Combines LLM, keyword-based, and ensemble approaches
- Active Learning: Continuously improves with expert feedback
- R2R Integration: Enhanced reasoning and retrieval for complex cases
- Comprehensive Assessment API: Unified API endpoints for all assessment needs
- Interactive Web Demo: User-friendly interface for demonstrating capabilities
- Extensive Testing Framework: Robust testing and performance reporting
For a comprehensive guide on using the API and web interface, see our API Quick Start Guide.
We've provided several scripts to make it easy to start the application:
# Start the API server
./start_api_server.sh
Component | URL | Description |
---|---|---|
API Server | http://localhost:8003 | Endpoints for assessment processing |
Active Learning Dashboard | http://localhost:8003/active-learning/ | Review and improve model performance |
Expert Feedback Interface | http://localhost:8003/feedback/ | Input from domain experts |
R2R Dashboard | http://localhost:8003/r2r-dashboard/ | Enhanced reasoning visualization |
DevTrack includes an Active Learning system that helps improve scoring accuracy over time:
- π― Targeted Learning: Identifies valuable examples for expert review based on uncertainty and disagreement
- π Prioritization: Focuses on examples that would provide the most information gain
- π Model Tracking: Monitors versions and performance improvements over time
- π Feedback Loop: Provides an interface for expert feedback
To start the API server with Active Learning enabled:
# Using the provided script
./start_active_learning.sh
# Or manually
export ENABLE_ACTIVE_LEARNING=true
python3 main.py --api
The system includes a fully implemented and production-ready R2R (Reason to Retrieve) integration that enhances developmental assessment accuracy:
π | 40% improved accuracy on edge cases compared to the standard system |
π | Detailed reasoning for each scoring decision |
π§© | Better handling of context-dependent, contradictory, and ambiguous parent responses |
π | Advanced retrieval capabilities for developmental research and guidelines |
To start the API server with R2R enabled:
# Using the provided script
./start_with_r2r.sh
# Or manually
export ENABLE_R2R=true
python3 main.py --api
For detailed information and benchmarking results, see the R2R Integration Documentation.
DevTrack's smart scoring system provides reliable and accurate assessments through multiple approaches:
The system detects various response patterns:
Response Type | Keywords | Score |
---|---|---|
Positive | "yes", "always", "consistently" | INDEPENDENT |
Emerging | "sometimes", "occasionally", "starting to" | EMERGING |
Support-needed | "with help", "with assistance" | WITH_SUPPORT |
Regression | "used to", "stopped", "regressed" | LOST_SKILL |
Negative | "no", "never", "not at all" | CANNOT_DO |
- Primary: LLM-based scoring (when available)
- Secondary: Keyword-based scoring as reliable fallback
- Tertiary: Ensemble scoring for uncertain cases
- β Word boundary-aware keyword matching: Prevents false matches
- β Negation detection: Correctly identifies negated phrases
- β Milestone-specific pattern matching: Uses custom patterns for each milestone type
- β Special phrase handling: Correctly interprets complex phrases
For more details on the reliable scoring system, see Reliable Scoring Documentation.
project/
βββ src/ # Core source code
β βββ api/ # FastAPI application code
β βββ core/ # Core scoring and NLP functionality
β βββ utils/ # Utility functions and helpers
β βββ testing/ # Testing framework and tools
βββ scripts/ # Scripts for running, testing, managing
β βββ start/ # Scripts for starting servers
β βββ test/ # Scripts for running tests
β βββ debug/ # Scripts for debugging issues
β βββ fixes/ # Scripts for fixing specific issues
βββ tests/ # Python test files
βββ examples/ # Example usage of the API
βββ docs/ # Documentation files
βββ data/ # Data files for milestones and scoring
βββ test_data/ # Test data for API testing
βββ test_results/ # Output directory for test results
βββ logs/ # Log files
π API Service | π§ͺ Testing Framework |
FastAPI-based REST API for developmental milestone assessments | Comprehensive testing tools and performance reporting |
The API service provides the following endpoints:
Endpoint | Description |
---|---|
/question |
Processes questions related to developmental milestones |
/keywords |
Manages keywords used for analyzing responses |
/send-score |
Records scores for specific developmental milestones |
/score-response |
Analyzes parent/caregiver responses |
/comprehensive-assessment |
Combines all functionality in a single call |
For detailed API documentation, see API Documentation.
# Using Python directly
python3 -m uvicorn src.api.app:app --port 8003
# Or with the provided script
./scripts/start/start_api.sh
The testing framework includes tools for API testing and performance reporting:
# Run all tests
./run_tests.sh
# Test a single endpoint
./scripts/test/test_single_endpoint.sh /endpoint_path iterations data_file
# Test the comprehensive endpoint
./scripts/test/test_comprehensive_endpoint.sh test_data/comprehensive_test.json
# Run tests for all endpoints
./scripts/test/run_all_tests.sh
Test results are saved to the test_results
directory, including JSON results, performance charts, and HTML reports.
For detailed testing documentation, see Testing Documentation.
Additional documentation is available in the docs/
directory:
- API Documentation
- R2R Integration Documentation
- Reliable Scoring Documentation
- Testing Documentation
- API Quick Start Guide
This software is proprietary and owned by Aaryan Guglani. All rights reserved.
Copyright (c) 2025 Aaryan Guglani
This software is provided under a proprietary license. See the LICENSE file for details.
For inquiries regarding commercial use or licensing, please contact [email protected]
Made with β€οΈ for improving developmental assessment and tracking
Β© 2025 Aaryan Guglani