nhathuyyne/software-effort-estimation-full-api
๐ Software Effort Estimation API
Advanced software project effort estimation API with multiple models including COCOMO II, Function Points, Use Case Points, and Machine Learning models.
๐ API Endpoints
1. POST /analyze
Analyze requirements text and extract parameters
- Input:
{"text": "Your requirements here"} - Output: Extracted parameters and initial analysis
2. POST /upload-requirements
Upload and process requirement documents
- Input: File upload (PDF, DOCX, TXT)
- Output: Processed requirements and analysis
3. POST /estimate-from-tasks
Estimate effort from task list
- Input:
{"tasks": ["task1", "task2", ...]} - Output: Effort estimation based on task breakdown
4. POST /estimate-cocomo
Detailed COCOMO II estimation with parameters
- Input: COCOMO parameters object
- Output: Comprehensive effort estimation
๐ ๏ธ Estimation Models
- COCOMO II: Industry-standard parametric estimation
- Function Points: Functional size measurement
- Use Case Points: Use case driven estimation
- Machine Learning: Historical data-based predictions
- Hybrid Approach: Combines multiple models for accuracy
๐ Features
โ Multi-Model Integration: Combines traditional and ML approaches โ Priority Analysis: Categorizes requirements by importance โ Document Processing: Supports PDF, DOCX, TXT formats โ Confidence Scoring: Provides reliability metrics โ Parameter Extraction: Automatically identifies project characteristics โ Task Breakdown: Analyzes individual tasks for estimation
๐ Usage
Access the API documentation at /docs for interactive testing.
Example Request:
curl -X POST "https://your-space-url/analyze" \
-H "Content-Type: application/json" \
-d '{"text": "Build a web application with user authentication and reporting"}'Built with โค๏ธ using FastAPI, Scikit-learn, and Spacy
