Merge pull request #39 from se4ai2526-uniba/docs_update
Browse files- README.md +7 -5
- docs/img/locust.png +3 -0
- docs/testing_and_validation.md +0 -3
- docs/user_guide.md +5 -3
README.md
CHANGED
|
@@ -82,7 +82,8 @@ graph TB
|
|
| 82 |
| ποΈ [Design Choices](docs/design_choices.md) | Technical decisions & rationale |
|
| 83 |
| π― [ML Canvas](docs/ML%20Canvas.md) | Requirements engineering framework |
|
| 84 |
| β
[Testing & Validation](docs/testing_and_validation.md) | QA strategy & results |
|
| 85 |
-
|
|
|
|
| 86 |
---
|
| 87 |
|
| 88 |
## Quick Start
|
|
@@ -100,7 +101,7 @@ cp .env.example .env
|
|
| 100 |
docker compose -f docker/docker-compose.yml up -d --build
|
| 101 |
```
|
| 102 |
|
| 103 |
-
**Access:**
|
| 104 |
- π **API Docs**: http://localhost:8080/docs
|
| 105 |
- π₯οΈ **GUI**: http://localhost:8501
|
| 106 |
- β€οΈ **Health**: http://localhost:8080/health
|
|
@@ -162,11 +163,12 @@ curl -X POST "http://localhost:8080/predict" \
|
|
| 162 |
---
|
| 163 |
|
| 164 |
## Live Deployment
|
| 165 |
-
|
| 166 |
-
- **
|
| 167 |
- **MLflow**: https://dagshub.com/se4ai2526-uniba/Hopcroft/experiments
|
| 168 |
- **Prometheus**: https://dacrow13-hopcroft-skill-classification.hf.space/prometheus/
|
| 169 |
-
- **Grafana**:
|
|
|
|
| 170 |
|
| 171 |
---
|
| 172 |
|
|
|
|
| 82 |
| ποΈ [Design Choices](docs/design_choices.md) | Technical decisions & rationale |
|
| 83 |
| π― [ML Canvas](docs/ML%20Canvas.md) | Requirements engineering framework |
|
| 84 |
| β
[Testing & Validation](docs/testing_and_validation.md) | QA strategy & results |
|
| 85 |
+
| π [Model Card](models/README.md) | Model details & performance |
|
| 86 |
+
| π [Dataset Card](data/README.md) | Dataset details & preprocessing |
|
| 87 |
---
|
| 88 |
|
| 89 |
## Quick Start
|
|
|
|
| 101 |
docker compose -f docker/docker-compose.yml up -d --build
|
| 102 |
```
|
| 103 |
|
| 104 |
+
**Access (Local):**
|
| 105 |
- π **API Docs**: http://localhost:8080/docs
|
| 106 |
- π₯οΈ **GUI**: http://localhost:8501
|
| 107 |
- β€οΈ **Health**: http://localhost:8080/health
|
|
|
|
| 163 |
---
|
| 164 |
|
| 165 |
## Live Deployment
|
| 166 |
+
- **API**: https://dacrow13-hopcroft-skill-classification.hf.space/docs
|
| 167 |
+
- **GUI**: https://dacrow13-hopcroft-skill-classification.hf.space
|
| 168 |
- **MLflow**: https://dagshub.com/se4ai2526-uniba/Hopcroft/experiments
|
| 169 |
- **Prometheus**: https://dacrow13-hopcroft-skill-classification.hf.space/prometheus/
|
| 170 |
+
- **Grafana**: https://dacrow13-hopcroft-skill-classification.hf.space/grafana/
|
| 171 |
+
- **Betterstack**: Alerting configured. [Alert System Evidence](monitoring/screenshots)
|
| 172 |
|
| 173 |
---
|
| 174 |
|
docs/img/locust.png
ADDED
|
Git LFS Details
|
docs/testing_and_validation.md
CHANGED
|
@@ -22,9 +22,6 @@ Behavioral testing evaluates the model's capabilities and robustness beyond simp
|
|
| 22 |
| **Directional Tests** | 10 | **Passed** | Verify that specific changes to the input cause expected changes in the output (e.g., adding specific keywords should increase probability of related skills). |
|
| 23 |
| **Minimum Functionality Tests** | 17 | **Passed** | Check basic capabilities and sanity checks (e.g., simple inputs produce valid outputs). |
|
| 24 |
|
| 25 |
-
### Technical Notes
|
| 26 |
-
- **Training Tests Excluded:** `test_model_training.py` was excluded from the run due to a missing PyTorch dependency in the environment, but the inference tests cover the model's behavior fully.
|
| 27 |
-
- **Robustness:** The model demonstrates excellent consistency across all 36 behavioral scenarios.
|
| 28 |
|
| 29 |
### How to Regenerate
|
| 30 |
To run the behavioral tests and generate the JSON report:
|
|
|
|
| 22 |
| **Directional Tests** | 10 | **Passed** | Verify that specific changes to the input cause expected changes in the output (e.g., adding specific keywords should increase probability of related skills). |
|
| 23 |
| **Minimum Functionality Tests** | 17 | **Passed** | Check basic capabilities and sanity checks (e.g., simple inputs produce valid outputs). |
|
| 24 |
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
### How to Regenerate
|
| 27 |
To run the behavioral tests and generate the JSON report:
|
docs/user_guide.md
CHANGED
|
@@ -14,7 +14,7 @@ Complete operational guide for the Hopcroft Skill Classification system covering
|
|
| 14 |
|
| 15 |
---
|
| 16 |
|
| 17 |
-
## 1. System Setup
|
| 18 |
|
| 19 |
### Prerequisites
|
| 20 |
|
|
@@ -25,7 +25,7 @@ Complete operational guide for the Hopcroft Skill Classification system covering
|
|
| 25 |
| Docker Compose | 2.0+ | Multi-service orchestration |
|
| 26 |
| Git | 2.30+ | Version control |
|
| 27 |
|
| 28 |
-
### Option A: Docker Setup
|
| 29 |
|
| 30 |
**1. Clone and Configure**
|
| 31 |
|
|
@@ -122,7 +122,7 @@ streamlit run hopcroft_skill_classification_tool_competition/streamlit_app.py
|
|
| 122 |
|-------------|-----|
|
| 123 |
| Local (Docker) | http://localhost:8080 |
|
| 124 |
| Local (Dev) | http://localhost:8000 |
|
| 125 |
-
| Production (HF Spaces) | https://dacrow13-hopcroft-skill-classification.hf.space|
|
| 126 |
|
| 127 |
### Endpoints Overview
|
| 128 |
|
|
@@ -342,6 +342,8 @@ locust --headless \
|
|
| 342 |
| 95th Percentile | Worst-case latency | < 2s |
|
| 343 |
| Failure Rate | Percentage of errors | < 1% |
|
| 344 |
|
|
|
|
|
|
|
| 345 |
---
|
| 346 |
|
| 347 |
## 5. Monitoring (Prometheus & Grafana)
|
|
|
|
| 14 |
|
| 15 |
---
|
| 16 |
|
| 17 |
+
## 1. System Setup (Local)
|
| 18 |
|
| 19 |
### Prerequisites
|
| 20 |
|
|
|
|
| 25 |
| Docker Compose | 2.0+ | Multi-service orchestration |
|
| 26 |
| Git | 2.30+ | Version control |
|
| 27 |
|
| 28 |
+
### Option A: Docker Setup
|
| 29 |
|
| 30 |
**1. Clone and Configure**
|
| 31 |
|
|
|
|
| 122 |
|-------------|-----|
|
| 123 |
| Local (Docker) | http://localhost:8080 |
|
| 124 |
| Local (Dev) | http://localhost:8000 |
|
| 125 |
+
| Production (HF Spaces) | https://dacrow13-hopcroft-skill-classification.hf.space/docs|
|
| 126 |
|
| 127 |
### Endpoints Overview
|
| 128 |
|
|
|
|
| 342 |
| 95th Percentile | Worst-case latency | < 2s |
|
| 343 |
| Failure Rate | Percentage of errors | < 1% |
|
| 344 |
|
| 345 |
+

|
| 346 |
+
|
| 347 |
---
|
| 348 |
|
| 349 |
## 5. Monitoring (Prometheus & Grafana)
|