Skip to content

Commit b4f6129

Browse files
test: update test fixture data with new categories and timestamps
1 parent 0e73cba commit b4f6129

17 files changed

+6210
-5635
lines changed

__tests__/fixtures/e2e-data/large-corpus.json

Lines changed: 5238 additions & 5238 deletions
Large diffs are not rendered by default.

__tests__/fixtures/e2e-data/research-papers.json

Lines changed: 289 additions & 272 deletions
Large diffs are not rendered by default.

__tests__/fixtures/e2e-data/technical-docs.json

Lines changed: 100 additions & 100 deletions
Large diffs are not rendered by default.

ci-reports/ci-hardening-results.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testSuite": "CI/CD Pipeline Hardening Tests",
3-
"timestamp": "2025-09-01T06:18:38.622Z",
3+
"timestamp": "2025-09-01T07:40:58.659Z",
44
"summary": {
55
"totalTests": 0,
66
"highSeverityIssues": 0,
Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
{
22
"testSuite": "Full Pipeline End-to-End Integration Tests",
3-
"timestamp": "2025-09-01T06:16:54.302Z",
3+
"timestamp": "2025-09-01T07:39:02.220Z",
44
"summary": {
55
"totalTests": 1,
6-
"avgDuration": 7708.0481,
7-
"avgQuality": 0.8102460147294903,
6+
"avgDuration": 6588.837100000001,
7+
"avgQuality": 0.848353198449611,
88
"successRate": 1
99
},
1010
"results": [
1111
{
1212
"testName": "json-document-collection",
13-
"totalDuration": 7708.0481,
14-
"documentsProcessed": 26,
15-
"chunksCreated": 56,
16-
"embeddingsGenerated": 56,
17-
"retrievalAccuracy": 0.7722356835238089,
18-
"responseQuality": 0.8102460147294903,
13+
"totalDuration": 6588.837100000001,
14+
"documentsProcessed": 23,
15+
"chunksCreated": 47,
16+
"embeddingsGenerated": 47,
17+
"retrievalAccuracy": 0.7209935701593589,
18+
"responseQuality": 0.848353198449611,
1919
"stageBreakdown": {
20-
"loading": 2404.3582,
21-
"embedding": 844.0632,
22-
"retrieval": 221.4290000000001,
23-
"generation": 3128.010399999999,
24-
"evaluation": 803.9549999999999
20+
"loading": 2447.2945,
21+
"embedding": 551.8000999999999,
22+
"retrieval": 395.2383999999993,
23+
"generation": 2227.1396000000004,
24+
"evaluation": 841.6806999999999
2525
},
26-
"timestamp": "2025-09-01T06:16:39.885Z"
26+
"timestamp": "2025-09-01T07:38:44.651Z"
2727
}
2828
]
2929
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Test Name,Token Count,Duration (ms),Avg Latency (ms),Max Latency (ms),Tokens/sec,Memory (MB)
2-
concurrent-streaming,500,7014.66,N/A,N/A,142.56,74.24
2+
concurrent-streaming,500,6662.73,N/A,N/A,150.09,57.55

performance-reports/streaming-performance.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<body>
1717
<div class="container">
1818
<h1>🚀 Streaming Token Performance Report</h1>
19-
<p><strong>Generated:</strong> 2025-09-01T06:18:37.986Z</p>
19+
<p><strong>Generated:</strong> 2025-09-01T07:40:58.351Z</p>
2020

2121
<div class="summary">
2222
<div class="metric">
@@ -51,7 +51,7 @@ <h3>Latency Range</h3>
5151
</div>
5252

5353
<script>
54-
const data = {"testSuite":"Streaming Token Output Load Tests","timestamp":"2025-09-01T06:18:37.986Z","summary":{"totalTests":1,"avgThroughput":null,"maxThroughput":null,"avgLatency":null,"maxLatency":null,"minLatency":null},"metrics":[{"testName":"concurrent-streaming","concurrentStreams":2,"tokensPerStream":500,"totalDuration":7014.658900000002,"overallThroughput":142.5586068055283,"avgStreamDuration":6976.1655500000015,"memoryUsage":74.23699951171875,"timestamp":"2025-09-01T06:17:40.811Z"}],"latencyDetails":[]};
54+
const data = {"testSuite":"Streaming Token Output Load Tests","timestamp":"2025-09-01T07:40:58.351Z","summary":{"totalTests":1,"avgThroughput":null,"maxThroughput":null,"avgLatency":null,"maxLatency":null,"minLatency":null},"metrics":[{"testName":"concurrent-streaming","concurrentStreams":2,"tokensPerStream":500,"totalDuration":6662.733100000005,"overallThroughput":150.0885575020256,"avgStreamDuration":6636.885800000004,"memoryUsage":57.546630859375,"timestamp":"2025-09-01T07:39:47.018Z"}],"latencyDetails":[]};
5555

5656
// Throughput Chart
5757
const throughputData = data.metrics.filter(m => m.tokensPerSecond);

performance-reports/streaming-performance.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"testSuite": "Streaming Token Output Load Tests",
3-
"timestamp": "2025-09-01T06:18:37.986Z",
3+
"timestamp": "2025-09-01T07:40:58.351Z",
44
"summary": {
55
"totalTests": 1,
66
"avgThroughput": null,
@@ -14,11 +14,11 @@
1414
"testName": "concurrent-streaming",
1515
"concurrentStreams": 2,
1616
"tokensPerStream": 500,
17-
"totalDuration": 7014.658900000002,
18-
"overallThroughput": 142.5586068055283,
19-
"avgStreamDuration": 6976.1655500000015,
20-
"memoryUsage": 74.23699951171875,
21-
"timestamp": "2025-09-01T06:17:40.811Z"
17+
"totalDuration": 6662.733100000005,
18+
"overallThroughput": 150.0885575020256,
19+
"avgStreamDuration": 6636.885800000004,
20+
"memoryUsage": 57.546630859375,
21+
"timestamp": "2025-09-01T07:39:47.018Z"
2222
}
2323
],
2424
"latencyDetails": []
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"id": "pipeline_1756712378511",
3+
"name": "Test Pipeline",
4+
"description": "",
5+
"components": [
6+
{
7+
"id": "loader_1756712378511",
8+
"_type": "loader",
9+
"position": {
10+
"x": 100,
11+
"y": 100
12+
},
13+
"_config": {
14+
"source": {
15+
"_type": "string",
16+
"required": true
17+
},
18+
"format": {
19+
"_type": "select",
20+
"_options": [
21+
"json",
22+
"txt",
23+
"pdf",
24+
"docx"
25+
]
26+
},
27+
"type": "loader"
28+
},
29+
"inputs": [],
30+
"outputs": [
31+
"documents"
32+
]
33+
}
34+
],
35+
"connections": [],
36+
"_config": {},
37+
"created": "2025-09-01T07:39:38.511Z",
38+
"modified": "2025-09-01T07:39:38.511Z"
39+
}
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"id": "pipeline_1756712378522",
3+
"name": "Test Pipeline",
4+
"description": "",
5+
"components": [
6+
{
7+
"id": "loader_1756712378522",
8+
"_type": "loader",
9+
"position": {
10+
"type": "loader"
11+
},
12+
"_config": {
13+
"source": {
14+
"_type": "string",
15+
"required": true
16+
},
17+
"format": {
18+
"_type": "select",
19+
"_options": [
20+
"json",
21+
"txt",
22+
"pdf",
23+
"docx"
24+
]
25+
}
26+
},
27+
"inputs": [],
28+
"outputs": [
29+
"documents"
30+
]
31+
},
32+
{
33+
"id": "embedder_1756712378523",
34+
"_type": "embedder",
35+
"position": {
36+
"type": "loader"
37+
},
38+
"_config": {
39+
"model": {
40+
"_type": "string",
41+
"default": "openai"
42+
},
43+
"dimensions": {
44+
"_type": "number",
45+
"default": 1536
46+
}
47+
},
48+
"inputs": [
49+
"documents"
50+
],
51+
"outputs": [
52+
"embeddings"
53+
]
54+
}
55+
],
56+
"connections": [
57+
{
58+
"id": "conn_1756712378523",
59+
"source": {
60+
"componentId": "loader_1756712378522",
61+
"output": "documents"
62+
},
63+
"target": {
64+
"componentId": "embedder_1756712378523",
65+
"input": "documents"
66+
}
67+
}
68+
],
69+
"_config": {},
70+
"created": "2025-09-01T07:39:38.522Z",
71+
"modified": "2025-09-01T07:39:38.523Z"
72+
}

0 commit comments

Comments
 (0)