Upload pipeline.json with huggingface_hub
Browse files- pipeline.json +36 -0
pipeline.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"pipeline_name": "playwright-test-generation",
|
| 3 |
+
"version": "1.0.0",
|
| 4 |
+
"stages": [
|
| 5 |
+
{
|
| 6 |
+
"name": "crawl",
|
| 7 |
+
"description": "Crawls web application to extract page structure, forms, and interactive elements",
|
| 8 |
+
"inputs": ["url", "username", "password"],
|
| 9 |
+
"outputs": ["crawl_data"]
|
| 10 |
+
},
|
| 11 |
+
{
|
| 12 |
+
"name": "test_generation",
|
| 13 |
+
"description": "Generates initial Playwright test script based on crawl data",
|
| 14 |
+
"inputs": ["crawl_data"],
|
| 15 |
+
"outputs": ["initial_test"]
|
| 16 |
+
},
|
| 17 |
+
{
|
| 18 |
+
"name": "validation",
|
| 19 |
+
"description": "Validates test quality and applies improvements",
|
| 20 |
+
"inputs": ["initial_test"],
|
| 21 |
+
"outputs": ["validation_score", "improvements"]
|
| 22 |
+
},
|
| 23 |
+
{
|
| 24 |
+
"name": "final_test",
|
| 25 |
+
"description": "Produces final optimized test with error handling",
|
| 26 |
+
"inputs": ["initial_test", "improvements"],
|
| 27 |
+
"outputs": ["final_test"]
|
| 28 |
+
}
|
| 29 |
+
],
|
| 30 |
+
"metrics": {
|
| 31 |
+
"crawl_success_rate": 0.95,
|
| 32 |
+
"test_generation_success_rate": 0.92,
|
| 33 |
+
"average_validation_score": 0.78,
|
| 34 |
+
"execution_success_rate": 0.85
|
| 35 |
+
}
|
| 36 |
+
}
|