Remove ML Intern attribution from README
#3
by muthuk2 - opened
README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
-
-
|
|
|
|
|
|
|
| 4 |
---
|
| 5 |
|
| 6 |
<div align="center">
|
|
@@ -124,6 +126,15 @@ npm install && npm run dev
|
|
| 124 |
# β http://localhost:5173
|
| 125 |
```
|
| 126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 127 |
### Custom LLM (.env)
|
| 128 |
|
| 129 |
```env
|
|
@@ -147,11 +158,18 @@ Supports: Groq, Featherless, OpenAI, Together, DeepSeek, OpenRouter, Mistral, Ol
|
|
| 147 |
| POST | `/api/v1/generate/from-flow` | Generate E2E tests from user flow |
|
| 148 |
| POST | `/api/v1/generate/unified` | All inputs β full test suite |
|
| 149 |
| POST | **`/api/v1/generate/multi-agent`** | **π§ Multi-agent iterative pipeline** |
|
|
|
|
| 150 |
| POST | `/api/v1/analyze/behaviors` | Extract testable behaviors |
|
| 151 |
| POST | `/api/v1/analyze/complexity` | AST complexity analysis |
|
| 152 |
| POST | `/api/v1/analyze/security` | OWASP API security scan |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 153 |
| GET | `/api/v1/frameworks` | Supported frameworks |
|
| 154 |
| GET | `/api/v1/provider` | Current LLM provider info |
|
|
|
|
| 155 |
|
| 156 |
---
|
| 157 |
|
|
@@ -160,28 +178,26 @@ Supports: Groq, Featherless, OpenAI, Together, DeepSeek, OpenRouter, Mistral, Ol
|
|
| 160 |
```json
|
| 161 |
{
|
| 162 |
"run_id": "MAS-a7f3b2c9",
|
| 163 |
-
"pipeline": "multi-agent-iterative",
|
| 164 |
"quality": {
|
| 165 |
"overall": 82,
|
| 166 |
"grade": "A",
|
| 167 |
"scores": {"assertions": 8, "edge_cases": 7, "error_handling": 9, "isolation": 8, "docs": 6}
|
| 168 |
},
|
|
|
|
| 169 |
"behavior_coverage": {
|
| 170 |
"total_behaviors": 18,
|
| 171 |
"covered": 15,
|
| 172 |
"uncovered": 3,
|
| 173 |
-
"coverage_pct": 83.3
|
| 174 |
-
|
| 175 |
-
|
| 176 |
-
|
| 177 |
-
|
|
|
|
|
|
|
| 178 |
},
|
| 179 |
"iterations_performed": 2,
|
| 180 |
-
"refinement_history": [
|
| 181 |
-
{"iteration": 1, "quality_before": 65, "weaknesses_addressed": ["edge cases", "mutations"]},
|
| 182 |
-
{"iteration": 2, "quality_before": 82, "weaknesses_addressed": []}
|
| 183 |
-
],
|
| 184 |
-
"test_files": [...],
|
| 185 |
"processing_time_ms": 4200
|
| 186 |
}
|
| 187 |
```
|
|
@@ -205,16 +221,21 @@ testgenius-ai/
|
|
| 205 |
β β βββ prompt_builder.py # Structured prompts
|
| 206 |
β β βββ multi_agent_engine.py # π§ 5-agent iterative pipeline
|
| 207 |
β β βββ novelty_features.py # Complexity, mutations, security
|
|
|
|
|
|
|
| 208 |
β βββ requirements.txt
|
| 209 |
β βββ .env.example
|
| 210 |
βββ frontend/
|
| 211 |
β βββ src/
|
| 212 |
-
β β βββ App.tsx
|
| 213 |
β β βββ pages/
|
| 214 |
β β βββ LandingPage.tsx # Hero + features
|
| 215 |
β β βββ GeneratePage.tsx # Multi-tab input + output
|
|
|
|
| 216 |
β β βββ HistoryPage.tsx # Previous generations
|
|
|
|
| 217 |
β βββ package.json
|
|
|
|
| 218 |
βββ README.md
|
| 219 |
```
|
| 220 |
|
|
@@ -225,11 +246,11 @@ testgenius-ai/
|
|
| 225 |
| What Judges Look For | What We Deliver |
|
| 226 |
|---------------------|-----------------|
|
| 227 |
| **Creativity** | Multi-agent iterative refinement (no other team has this) |
|
| 228 |
-
| **Technical depth** | AST parsing, mutation
|
| 229 |
| **AI integration** | Not "call GPT and return" β 5-agent pipeline with feedback loops |
|
| 230 |
| **Real-world usability** | Paste code β get production-ready tests in 3 seconds |
|
| 231 |
| **Research backing** | Cites MuTAP (ISSTA'23), HITS (ASE'24), Code Agents (2406.12952) |
|
| 232 |
-
| **Production quality** | FastAPI +
|
| 233 |
|
| 234 |
### What Makes This UNIQUE vs Every Other Submission:
|
| 235 |
|
|
@@ -237,6 +258,16 @@ testgenius-ai/
|
|
| 237 |
|
| 238 |
---
|
| 239 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 240 |
## π License
|
| 241 |
|
| 242 |
MIT
|
|
@@ -250,19 +281,3 @@ MIT
|
|
| 250 |
*Research-grade quality. Production-ready deployment. Hackathon-winning novelty.*
|
| 251 |
|
| 252 |
</div>
|
| 253 |
-
|
| 254 |
-
<!-- ml-intern-provenance -->
|
| 255 |
-
## Generated by ML Intern
|
| 256 |
-
|
| 257 |
-
This dataset repository was generated by [ML Intern](https://github.com/huggingface/ml-intern), an agent for machine learning research and development on the Hugging Face Hub.
|
| 258 |
-
|
| 259 |
-
- Try ML Intern: https://smolagents-ml-intern.hf.space
|
| 260 |
-
- Source code: https://github.com/huggingface/ml-intern
|
| 261 |
-
|
| 262 |
-
## Usage
|
| 263 |
-
|
| 264 |
-
```python
|
| 265 |
-
from datasets import load_dataset
|
| 266 |
-
|
| 267 |
-
dataset = load_dataset('Muthukumarank/testgenius-ai')
|
| 268 |
-
```
|
|
|
|
| 1 |
---
|
| 2 |
tags:
|
| 3 |
+
- ai-testing
|
| 4 |
+
- test-generation
|
| 5 |
+
- multi-agent
|
| 6 |
---
|
| 7 |
|
| 8 |
<div align="center">
|
|
|
|
| 126 |
# β http://localhost:5173
|
| 127 |
```
|
| 128 |
|
| 129 |
+
### Docker (Full Stack)
|
| 130 |
+
|
| 131 |
+
```bash
|
| 132 |
+
cp backend/.env.example backend/.env # Set your LLM API key
|
| 133 |
+
docker-compose up -d
|
| 134 |
+
# β Backend: http://localhost:8000/docs
|
| 135 |
+
# β Frontend: http://localhost:3000
|
| 136 |
+
```
|
| 137 |
+
|
| 138 |
### Custom LLM (.env)
|
| 139 |
|
| 140 |
```env
|
|
|
|
| 158 |
| POST | `/api/v1/generate/from-flow` | Generate E2E tests from user flow |
|
| 159 |
| POST | `/api/v1/generate/unified` | All inputs β full test suite |
|
| 160 |
| POST | **`/api/v1/generate/multi-agent`** | **π§ Multi-agent iterative pipeline** |
|
| 161 |
+
| POST | `/api/v1/generate/multi-agent/stream` | Streaming SSE pipeline |
|
| 162 |
| POST | `/api/v1/analyze/behaviors` | Extract testable behaviors |
|
| 163 |
| POST | `/api/v1/analyze/complexity` | AST complexity analysis |
|
| 164 |
| POST | `/api/v1/analyze/security` | OWASP API security scan |
|
| 165 |
+
| POST | `/api/v1/analyze/mutations` | Identify mutation points |
|
| 166 |
+
| POST | `/api/v1/analyze/mutations/execute` | 𧬠Run real mutation testing |
|
| 167 |
+
| POST | `/api/v1/analyze/quality` | Score test quality (A-D) |
|
| 168 |
+
| POST | `/api/v1/analyze/gaps` | Coverage gap detection |
|
| 169 |
+
| GET | `/api/v1/usage` | Token usage & cost tracking |
|
| 170 |
| GET | `/api/v1/frameworks` | Supported frameworks |
|
| 171 |
| GET | `/api/v1/provider` | Current LLM provider info |
|
| 172 |
+
| GET | `/health` | System health + capabilities |
|
| 173 |
|
| 174 |
---
|
| 175 |
|
|
|
|
| 178 |
```json
|
| 179 |
{
|
| 180 |
"run_id": "MAS-a7f3b2c9",
|
| 181 |
+
"pipeline": "multi-agent-iterative-v2",
|
| 182 |
"quality": {
|
| 183 |
"overall": 82,
|
| 184 |
"grade": "A",
|
| 185 |
"scores": {"assertions": 8, "edge_cases": 7, "error_handling": 9, "isolation": 8, "docs": 6}
|
| 186 |
},
|
| 187 |
+
"syntax_validation": {"valid": true, "test_count": 18, "has_assertions": true},
|
| 188 |
"behavior_coverage": {
|
| 189 |
"total_behaviors": 18,
|
| 190 |
"covered": 15,
|
| 191 |
"uncovered": 3,
|
| 192 |
+
"coverage_pct": 83.3
|
| 193 |
+
},
|
| 194 |
+
"mutation_testing": {
|
| 195 |
+
"total_mutants": 12,
|
| 196 |
+
"killed": 9,
|
| 197 |
+
"survived": 3,
|
| 198 |
+
"mutation_score": 75.0
|
| 199 |
},
|
| 200 |
"iterations_performed": 2,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
"processing_time_ms": 4200
|
| 202 |
}
|
| 203 |
```
|
|
|
|
| 221 |
β β βββ prompt_builder.py # Structured prompts
|
| 222 |
β β βββ multi_agent_engine.py # π§ 5-agent iterative pipeline
|
| 223 |
β β βββ novelty_features.py # Complexity, mutations, security
|
| 224 |
+
β βββ tests/ # Pytest test suite
|
| 225 |
+
β βββ Dockerfile
|
| 226 |
β βββ requirements.txt
|
| 227 |
β βββ .env.example
|
| 228 |
βββ frontend/
|
| 229 |
β βββ src/
|
| 230 |
+
β β βββ App.tsx # Router + Error Boundary
|
| 231 |
β β βββ pages/
|
| 232 |
β β βββ LandingPage.tsx # Hero + features
|
| 233 |
β β βββ GeneratePage.tsx # Multi-tab input + output
|
| 234 |
+
β β βββ AnalyzePage.tsx # Deep code analysis
|
| 235 |
β β βββ HistoryPage.tsx # Previous generations
|
| 236 |
+
β βββ Dockerfile
|
| 237 |
β βββ package.json
|
| 238 |
+
βββ docker-compose.yml
|
| 239 |
βββ README.md
|
| 240 |
```
|
| 241 |
|
|
|
|
| 246 |
| What Judges Look For | What We Deliver |
|
| 247 |
|---------------------|-----------------|
|
| 248 |
| **Creativity** | Multi-agent iterative refinement (no other team has this) |
|
| 249 |
+
| **Technical depth** | AST parsing, real mutation execution, OWASP scanning, behavior mapping |
|
| 250 |
| **AI integration** | Not "call GPT and return" β 5-agent pipeline with feedback loops |
|
| 251 |
| **Real-world usability** | Paste code β get production-ready tests in 3 seconds |
|
| 252 |
| **Research backing** | Cites MuTAP (ISSTA'23), HITS (ASE'24), Code Agents (2406.12952) |
|
| 253 |
+
| **Production quality** | FastAPI + Docker + Pydantic + universal LLM + pytest suite |
|
| 254 |
|
| 255 |
### What Makes This UNIQUE vs Every Other Submission:
|
| 256 |
|
|
|
|
| 258 |
|
| 259 |
---
|
| 260 |
|
| 261 |
+
## π§ͺ Running Tests
|
| 262 |
+
|
| 263 |
+
```bash
|
| 264 |
+
cd backend
|
| 265 |
+
pip install -r requirements.txt
|
| 266 |
+
pytest tests/ -v
|
| 267 |
+
```
|
| 268 |
+
|
| 269 |
+
---
|
| 270 |
+
|
| 271 |
## π License
|
| 272 |
|
| 273 |
MIT
|
|
|
|
| 281 |
*Research-grade quality. Production-ready deployment. Hackathon-winning novelty.*
|
| 282 |
|
| 283 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|