codemie-test-harness 0.1.170__py3-none-any.whl → 0.1.171__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of codemie-test-harness might be problematic. Click here for more details.
- codemie_test_harness/tests/assistant/test_assistants.py +42 -0
- codemie_test_harness/tests/test_data/assistant_test_data.py +399 -0
- codemie_test_harness/tests/test_data/files/test_extended.xlsx +0 -0
- {codemie_test_harness-0.1.170.dist-info → codemie_test_harness-0.1.171.dist-info}/METADATA +2 -2
- {codemie_test_harness-0.1.170.dist-info → codemie_test_harness-0.1.171.dist-info}/RECORD +7 -6
- {codemie_test_harness-0.1.170.dist-info → codemie_test_harness-0.1.171.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.170.dist-info → codemie_test_harness-0.1.171.dist-info}/entry_points.txt +0 -0
|
@@ -14,6 +14,9 @@ from codemie_sdk.models.assistant import (
|
|
|
14
14
|
ChatRole,
|
|
15
15
|
)
|
|
16
16
|
from codemie_test_harness.tests import TEST_USER, PROJECT, LANGFUSE_TRACES_ENABLED
|
|
17
|
+
from codemie_test_harness.tests.test_data.assistant_test_data import (
|
|
18
|
+
EXCEL_TOOL_TEST_DATA,
|
|
19
|
+
)
|
|
17
20
|
from codemie_test_harness.tests.test_data.file_test_data import (
|
|
18
21
|
files_with_different_types_test_data,
|
|
19
22
|
file_test_data,
|
|
@@ -390,3 +393,42 @@ def test_create_assistant_and_prompt_with_multiple_files(
|
|
|
390
393
|
assistant, prompt, conversation_id=conversation_id
|
|
391
394
|
)
|
|
392
395
|
similarity_check.check_similarity(response, RESPONSE_FOR_TWO_FILES_UPLOADED)
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
@pytest.mark.assistant
|
|
399
|
+
@pytest.mark.file
|
|
400
|
+
@pytest.mark.regression
|
|
401
|
+
@pytest.mark.smoke
|
|
402
|
+
@pytest.mark.parametrize("prompt,expected_response", EXCEL_TOOL_TEST_DATA)
|
|
403
|
+
def test_excel_tool_extended_functionality(
|
|
404
|
+
assistant_utils, assistant, similarity_check, prompt, expected_response
|
|
405
|
+
):
|
|
406
|
+
"""
|
|
407
|
+
Test extended Excel tool functionality with various scenarios.
|
|
408
|
+
|
|
409
|
+
This test covers:
|
|
410
|
+
- Data extraction from visible sheets only
|
|
411
|
+
- All data including hidden sheets
|
|
412
|
+
- Sheet name listing functionality
|
|
413
|
+
- File statistics and structure analysis
|
|
414
|
+
- Single sheet extraction by index and name
|
|
415
|
+
- Data cleaning and normalization
|
|
416
|
+
- Hidden sheet visibility control
|
|
417
|
+
- Column structure and data type analysis
|
|
418
|
+
- Tabular structure normalization
|
|
419
|
+
- Multi-sheet comprehensive analysis
|
|
420
|
+
|
|
421
|
+
"""
|
|
422
|
+
assistant_instance = assistant()
|
|
423
|
+
|
|
424
|
+
uploaded_file = assistant_utils.upload_file_to_chat(
|
|
425
|
+
FILES_PATH / "test_extended.xlsx"
|
|
426
|
+
)
|
|
427
|
+
file_url = uploaded_file.get("file_url")
|
|
428
|
+
|
|
429
|
+
# Send the prompt with the uploaded file
|
|
430
|
+
response = assistant_utils.ask_assistant(
|
|
431
|
+
assistant_instance, prompt, file_urls=[file_url]
|
|
432
|
+
)
|
|
433
|
+
|
|
434
|
+
similarity_check.check_similarity(response, expected_response)
|
|
@@ -8,6 +8,7 @@ reusable data factories for consistent testing.
|
|
|
8
8
|
|
|
9
9
|
from dataclasses import dataclass
|
|
10
10
|
from typing import Optional, List
|
|
11
|
+
import pytest
|
|
11
12
|
|
|
12
13
|
from codemie_test_harness.tests.utils.base_utils import get_random_name
|
|
13
14
|
|
|
@@ -195,3 +196,401 @@ COMMON_ICON_URLS = {
|
|
|
195
196
|
}
|
|
196
197
|
|
|
197
198
|
ICON_URL = "https://raw.githubusercontent.com/epam-gen-ai-run/ai-run-install/main/docs/assets/ai/AQAUiTestGenerator.png"
|
|
199
|
+
|
|
200
|
+
# ==================== EXCEL TOOL EXTENDED FUNCTIONALITY TEST DATA ====================
|
|
201
|
+
|
|
202
|
+
# Test data for Excel tool extended functionality covering EPMCDME-7877 requirements
|
|
203
|
+
EXCEL_TOOL_TEST_DATA = [
|
|
204
|
+
pytest.param(
|
|
205
|
+
"Analyze the data in test_extended.xlsx and extract information from visible sheets only",
|
|
206
|
+
"""
|
|
207
|
+
The analysis of the visible sheets in the file **test_extended.xlsx** yields the following data:
|
|
208
|
+
|
|
209
|
+
### First Sheet
|
|
210
|
+
| Column 1 | Column 2 | Column 3 |
|
|
211
|
+
| --- | --- | --- |
|
|
212
|
+
| Cars | Test | 222 |
|
|
213
|
+
| Data | Cats | 111 |
|
|
214
|
+
| | | Travellers |
|
|
215
|
+
| Tree | Forest | |
|
|
216
|
+
| Tree | Forest | |
|
|
217
|
+
| Tree | Forest | |
|
|
218
|
+
| Tree | Forest | |
|
|
219
|
+
| Bykes | Red | 877 |
|
|
220
|
+
|
|
221
|
+
### Second Sheet
|
|
222
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
223
|
+
| --- | --- | --- | --- |
|
|
224
|
+
| Cars | Test | 222 | Second |
|
|
225
|
+
| Data | Cats | 111 | Second |
|
|
226
|
+
| | | Travellers | Second |
|
|
227
|
+
| Tree | Forest | | Second |
|
|
228
|
+
| Tree | Forest | | Second |
|
|
229
|
+
| Tree | Forest | | Second |
|
|
230
|
+
| Tree | Forest | | Second |
|
|
231
|
+
| Bykes | Red | 877 | Second |
|
|
232
|
+
|
|
233
|
+
The hidden sheet data has been excluded based on the request for visible sheets only. If you need further analysis on specific data or another request, feel free to ask!
|
|
234
|
+
""",
|
|
235
|
+
id="visible_sheets_only",
|
|
236
|
+
),
|
|
237
|
+
pytest.param(
|
|
238
|
+
"Extract all data from test_extended.xlsx including hidden sheets",
|
|
239
|
+
"""
|
|
240
|
+
Here is the extracted data from the `test_extended.xlsx` file, including data from hidden sheets:
|
|
241
|
+
|
|
242
|
+
### First Sheet
|
|
243
|
+
| Column 1 | Column 2 | Column 3 |
|
|
244
|
+
| --- | --- | --- |
|
|
245
|
+
| Cars | Test | 222 |
|
|
246
|
+
| Data | Cats | 111 |
|
|
247
|
+
| | | Travellers |
|
|
248
|
+
| | | |
|
|
249
|
+
| Tree | Forest | |
|
|
250
|
+
| Tree | Forest | |
|
|
251
|
+
| Tree | Forest | |
|
|
252
|
+
| Tree | Forest | |
|
|
253
|
+
| | | |
|
|
254
|
+
| Bykes | Red | 877 |
|
|
255
|
+
|
|
256
|
+
### Second Sheet
|
|
257
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
258
|
+
| --- | --- | --- | --- |
|
|
259
|
+
| Cars | Test | 222 | Second |
|
|
260
|
+
| Data | Cats | 111 | Second |
|
|
261
|
+
| | | Travellers | Second |
|
|
262
|
+
| | | | |
|
|
263
|
+
| Tree | Forest | | Second |
|
|
264
|
+
| Tree | Forest | | Second |
|
|
265
|
+
| Tree | Forest | | Second |
|
|
266
|
+
| Tree | Forest | | Second |
|
|
267
|
+
| | | | |
|
|
268
|
+
| Bykes | Red | 877 | Second |
|
|
269
|
+
|
|
270
|
+
### Hidden Sheet
|
|
271
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
272
|
+
| --- | --- | --- | --- |
|
|
273
|
+
| Cars | Test | 222 | Hidden |
|
|
274
|
+
| Data | Cats | 111 | Hidden |
|
|
275
|
+
| | | Travellers | Hidden |
|
|
276
|
+
| | | | |
|
|
277
|
+
| Tree | Forest | | Hidden |
|
|
278
|
+
| Tree | Forest | | Hidden |
|
|
279
|
+
| Tree | Forest | | Hidden |
|
|
280
|
+
| Tree | Forest | | Hidden |
|
|
281
|
+
| | | | |
|
|
282
|
+
| Bykes | Red | 877 | Hidden |
|
|
283
|
+
""",
|
|
284
|
+
id="all_sheets_including_hidden",
|
|
285
|
+
),
|
|
286
|
+
pytest.param(
|
|
287
|
+
"List all sheet names in test_extended.xlsx",
|
|
288
|
+
"""
|
|
289
|
+
The Excel file `test_extended.xlsx` contains the following sheets:
|
|
290
|
+
|
|
291
|
+
- First sheet
|
|
292
|
+
- Second sheet
|
|
293
|
+
- Hidden sheet
|
|
294
|
+
""",
|
|
295
|
+
id="all_sheet_names",
|
|
296
|
+
),
|
|
297
|
+
pytest.param(
|
|
298
|
+
"Get only visible sheet names from test_extended.xlsx",
|
|
299
|
+
"""
|
|
300
|
+
The visible sheets in the `test_extended.xlsx` file are:
|
|
301
|
+
|
|
302
|
+
- First sheet
|
|
303
|
+
- Second sheet
|
|
304
|
+
""",
|
|
305
|
+
id="visible_sheet_names_only",
|
|
306
|
+
),
|
|
307
|
+
pytest.param(
|
|
308
|
+
"Get comprehensive statistics about test_extended.xlsx file structure",
|
|
309
|
+
"""
|
|
310
|
+
The Excel file `test_extended.xlsx` contains the following structure:
|
|
311
|
+
|
|
312
|
+
- **Total Sheets:** 3
|
|
313
|
+
|
|
314
|
+
### Sheet: First sheet
|
|
315
|
+
- **Columns:**
|
|
316
|
+
- Column 1: string, Sample Values: `Cars`, `Data`, ``, ...
|
|
317
|
+
- Column 2: string, Sample Values: `Test`, `Cats`, ``, ...
|
|
318
|
+
- Column 3: string, Sample Values: `222`, `111`, `Travellers`, ...
|
|
319
|
+
|
|
320
|
+
### Sheet: Second sheet
|
|
321
|
+
- **Columns:**
|
|
322
|
+
- Column 1: string, Sample Values: `Cars`, `Data`, ``, ...
|
|
323
|
+
- Column 2: string, Sample Values: `Test`, `Cats`, ``, ...
|
|
324
|
+
- Column 3: string, Sample Values: `222`, `111`, `Travellers`, ...
|
|
325
|
+
- Column 4: string, Sample Values: `Second`
|
|
326
|
+
|
|
327
|
+
### Sheet: Hidden sheet
|
|
328
|
+
- **Columns:**
|
|
329
|
+
- Column 1: string, Sample Values: `Cars`, `Data`, ``, ...
|
|
330
|
+
- Column 2: string, Sample Values: `Test`, `Cats`, ``, ...
|
|
331
|
+
- Column 3: string, Sample Values: `222`, `111`, `Travellers`, ...
|
|
332
|
+
- Column 4: string, Sample Values: `Hidden`
|
|
333
|
+
|
|
334
|
+
This summary provides an overview of the column names, data types, and sample values for each sheet within the Excel file.
|
|
335
|
+
""",
|
|
336
|
+
id="file_statistics",
|
|
337
|
+
),
|
|
338
|
+
pytest.param(
|
|
339
|
+
"Extract data from the first sheet only using sheet index from test_extended.xlsx",
|
|
340
|
+
"""
|
|
341
|
+
Here is the extracted data from the first sheet of the file `test_extended.xlsx`:
|
|
342
|
+
|
|
343
|
+
| Column 1 | Column 2 | Column 3 |
|
|
344
|
+
|:---------|:---------|:-----------|
|
|
345
|
+
| Cars | Test | 222 |
|
|
346
|
+
| Data | Cats | 111 |
|
|
347
|
+
| | | Travellers |
|
|
348
|
+
| Tree | Forest | |
|
|
349
|
+
| Tree | Forest | |
|
|
350
|
+
| Tree | Forest | |
|
|
351
|
+
| Tree | Forest | |
|
|
352
|
+
| Bykes | Red | 877 |
|
|
353
|
+
""",
|
|
354
|
+
id="single_sheet_by_index",
|
|
355
|
+
),
|
|
356
|
+
pytest.param(
|
|
357
|
+
"Extract data only from 'Second sheet' in test_extended.xlsx",
|
|
358
|
+
"""
|
|
359
|
+
The data extracted from the "Second sheet" in `test_extended.xlsx` is as follows:
|
|
360
|
+
|
|
361
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
362
|
+
|----------|----------|------------|----------|
|
|
363
|
+
| Cars | Test | 222 | Second |
|
|
364
|
+
| Data | Cats | 111 | Second |
|
|
365
|
+
| | | Travellers | Second |
|
|
366
|
+
| Tree | Forest | | Second |
|
|
367
|
+
| Tree | Forest | | Second |
|
|
368
|
+
| Tree | Forest | | Second |
|
|
369
|
+
| Tree | Forest | | Second |
|
|
370
|
+
| Bykes | Red | 877 | Second |
|
|
371
|
+
""",
|
|
372
|
+
id="single_sheet_by_name",
|
|
373
|
+
),
|
|
374
|
+
pytest.param(
|
|
375
|
+
"Process test_extended.xlsx with data cleaning to remove empty rows and columns",
|
|
376
|
+
"""
|
|
377
|
+
The file `test_extended.xlsx` was processed with data cleaning to remove empty rows and columns. Here is a representation of the cleaned Excel sheets:
|
|
378
|
+
|
|
379
|
+
### First Sheet
|
|
380
|
+
| Column 1 | Column 2 | Column 3 |
|
|
381
|
+
|----------|----------|----------|
|
|
382
|
+
| Cars | Test | 222 |
|
|
383
|
+
| Data | Cats | 111 |
|
|
384
|
+
| | | Travellers|
|
|
385
|
+
| Tree | Forest | |
|
|
386
|
+
| Tree | Forest | |
|
|
387
|
+
| Tree | Forest | |
|
|
388
|
+
| Tree | Forest | |
|
|
389
|
+
| Bykes | Red | 877 |
|
|
390
|
+
|
|
391
|
+
### Second Sheet
|
|
392
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
393
|
+
|----------|----------|----------|----------|
|
|
394
|
+
| Cars | Test | 222 | Second |
|
|
395
|
+
| Data | Cats | 111 | Second |
|
|
396
|
+
| | | Travellers| Second |
|
|
397
|
+
| Tree | Forest | | Second |
|
|
398
|
+
| Tree | Forest | | Second |
|
|
399
|
+
| Tree | Forest | | Second |
|
|
400
|
+
| Tree | Forest | | Second |
|
|
401
|
+
| Bykes | Red | 877 | Second |
|
|
402
|
+
|
|
403
|
+
### Hidden Sheet
|
|
404
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
405
|
+
|----------|----------|----------|----------|
|
|
406
|
+
| Cars | Test | 222 | Hidden |
|
|
407
|
+
| Data | Cats | 111 | Hidden |
|
|
408
|
+
| | | Travellers| Hidden |
|
|
409
|
+
| Tree | Forest | | Hidden |
|
|
410
|
+
| Tree | Forest | | Hidden |
|
|
411
|
+
| Tree | Forest | | Hidden |
|
|
412
|
+
| Tree | Forest | | Hidden |
|
|
413
|
+
| Bykes | Red | 877 | Hidden |
|
|
414
|
+
|
|
415
|
+
The visible sheets have been cleaned, taking away rows and columns that were completely empty. Hidden sheets have been processed but are not visible by default.
|
|
416
|
+
""",
|
|
417
|
+
id="data_cleaning",
|
|
418
|
+
),
|
|
419
|
+
pytest.param(
|
|
420
|
+
"Analyze test_extended.xlsx with visible_only=False to include hidden sheets",
|
|
421
|
+
"""
|
|
422
|
+
The Excel file `test_extended.xlsx` contains three sheets, including a hidden one. Here's a summary of each sheet's content:
|
|
423
|
+
|
|
424
|
+
### First Sheet
|
|
425
|
+
| Column 1 | Column 2 | Column 3 |
|
|
426
|
+
| --- | --- | --- |
|
|
427
|
+
| Cars | Test | 222 |
|
|
428
|
+
| Data | Cats | 111 |
|
|
429
|
+
| | | Travellers |
|
|
430
|
+
| | | |
|
|
431
|
+
| Tree | Forest | |
|
|
432
|
+
| Tree | Forest | |
|
|
433
|
+
| Tree | Forest | |
|
|
434
|
+
| Tree | Forest | |
|
|
435
|
+
| | | |
|
|
436
|
+
| Bykes | Red | 877 |
|
|
437
|
+
|
|
438
|
+
### Second Sheet
|
|
439
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
440
|
+
| --- | --- | --- | --- |
|
|
441
|
+
| Cars | Test | 222 | Second |
|
|
442
|
+
| Data | Cats | 111 | Second |
|
|
443
|
+
| | | Travellers | Second |
|
|
444
|
+
| | | | |
|
|
445
|
+
| Tree | Forest | | Second |
|
|
446
|
+
| Tree | Forest | | Second |
|
|
447
|
+
| Tree | Forest | | Second |
|
|
448
|
+
| Tree | Forest | | Second |
|
|
449
|
+
| | | | |
|
|
450
|
+
| Bykes | Red | 877 | Second |
|
|
451
|
+
|
|
452
|
+
### Hidden Sheet
|
|
453
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
454
|
+
| --- | --- | --- | --- |
|
|
455
|
+
| Cars | Test | 222 | Hidden |
|
|
456
|
+
| Data | Cats | 111 | Hidden |
|
|
457
|
+
| | | Travellers | Hidden |
|
|
458
|
+
| | | | |
|
|
459
|
+
| Tree | Forest | | Hidden |
|
|
460
|
+
| Tree | Forest | | Hidden |
|
|
461
|
+
| Tree | Forest | | Hidden |
|
|
462
|
+
| Tree | Forest | | Hidden |
|
|
463
|
+
| | | | |
|
|
464
|
+
| Bykes | Red | 877 | Hidden |
|
|
465
|
+
|
|
466
|
+
### Observations:
|
|
467
|
+
- Each sheet has a similar structure, with `Column 1` and `Column 2` containing repeated entries.
|
|
468
|
+
- The hidden sheet appears to be similar to the second sheet but with the label 'Hidden' in `Column 4`.
|
|
469
|
+
- The first sheet doesn't have a `Column 4` like the other two sheets.
|
|
470
|
+
- There are several rows with missing values, especially in `Column 1` and `Column 2`.
|
|
471
|
+
|
|
472
|
+
Let me know if you need more in-depth analysis or specific insights from these sheets!
|
|
473
|
+
""",
|
|
474
|
+
id="hidden_sheet_visibility",
|
|
475
|
+
),
|
|
476
|
+
pytest.param(
|
|
477
|
+
"Analyze column structure and data types in test_extended.xlsx",
|
|
478
|
+
"""
|
|
479
|
+
The Excel file `test_extended.xlsx` contains a total of 3 sheets: "First sheet", "Second sheet", and a "Hidden sheet". Here's an overview of the column structure and data types for each sheet:
|
|
480
|
+
|
|
481
|
+
### Sheet: First sheet
|
|
482
|
+
- **Columns:**
|
|
483
|
+
- **Column 1**: string (Sample Values: `Cars`, `Data`, ...)
|
|
484
|
+
- **Column 2**: string (Sample Values: `Test`, `Cats`, ...)
|
|
485
|
+
- **Column 3**: string (Sample Values: `222`, `111`, `Travellers`, ...)
|
|
486
|
+
|
|
487
|
+
### Sheet: Second sheet
|
|
488
|
+
- **Columns:**
|
|
489
|
+
- **Column 1**: string (Sample Values: `Cars`, `Data`, ...)
|
|
490
|
+
- **Column 2**: string (Sample Values: `Test`, `Cats`, ...)
|
|
491
|
+
- **Column 3**: string (Sample Values: `222`, `111`, `Travellers`, ...)
|
|
492
|
+
- **Column 4**: string (Sample Value: `Second`)
|
|
493
|
+
|
|
494
|
+
### Sheet: Hidden sheet
|
|
495
|
+
- **Columns:**
|
|
496
|
+
- **Column 1**: string (Sample Values: `Cars`, `Data`, ...)
|
|
497
|
+
- **Column 2**: string (Sample Values: `Test`, `Cats`, ...)
|
|
498
|
+
- **Column 3**: string (Sample Values: `222`, `111`, `Travellers`, ...)
|
|
499
|
+
- **Column 4**: string (Sample Value: `Hidden`)
|
|
500
|
+
|
|
501
|
+
All columns across the sheets predominantly contain string data types. If you have any further questions or need additional analysis, feel free to ask!
|
|
502
|
+
""",
|
|
503
|
+
id="column_structure_analysis",
|
|
504
|
+
),
|
|
505
|
+
pytest.param(
|
|
506
|
+
"Normalize test_extended.xlsx data to standard tabular structure with markdown format",
|
|
507
|
+
"""
|
|
508
|
+
Here is the normalized content from the `test_extended.xlsx`, structured in markdown tables:
|
|
509
|
+
|
|
510
|
+
### First Sheet
|
|
511
|
+
```markdown
|
|
512
|
+
| Column 1 | Column 2 | Column 3 |
|
|
513
|
+
|----------|----------|----------|
|
|
514
|
+
| Cars | Test | 222 |
|
|
515
|
+
| Data | Cats | 111 |
|
|
516
|
+
| | | Travellers|
|
|
517
|
+
| Tree | Forest | |
|
|
518
|
+
| Tree | Forest | |
|
|
519
|
+
| Tree | Forest | |
|
|
520
|
+
| Tree | Forest | |
|
|
521
|
+
| Bykes | Red | 877 |
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
### Second Sheet
|
|
525
|
+
```markdown
|
|
526
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
527
|
+
|----------|----------|----------|----------|
|
|
528
|
+
| Cars | Test | 222 | Second |
|
|
529
|
+
| Data | Cats | 111 | Second |
|
|
530
|
+
| | | Travellers| Second |
|
|
531
|
+
| Tree | Forest | | Second |
|
|
532
|
+
| Tree | Forest | | Second |
|
|
533
|
+
| Tree | Forest | | Second |
|
|
534
|
+
| Tree | Forest | | Second |
|
|
535
|
+
| Bykes | Red | 877 | Second |
|
|
536
|
+
```
|
|
537
|
+
|
|
538
|
+
### Hidden Sheet
|
|
539
|
+
```markdown
|
|
540
|
+
| Column 1 | Column 2 | Column 3 | Column 4 |
|
|
541
|
+
|----------|----------|----------|----------|
|
|
542
|
+
| Cars | Test | 222 | Hidden |
|
|
543
|
+
| Data | Cats | 111 | Hidden |
|
|
544
|
+
| | | Travellers| Hidden |
|
|
545
|
+
| Tree | Forest | | Hidden |
|
|
546
|
+
| Tree | Forest | | Hidden |
|
|
547
|
+
| Tree | Forest | | Hidden |
|
|
548
|
+
| Tree | Forest | | Hidden |
|
|
549
|
+
| Bykes | Red | 877 | Hidden |
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
Each sheet has been normalized into a standard tabular markdown format.
|
|
553
|
+
""",
|
|
554
|
+
id="tabular_normalization",
|
|
555
|
+
),
|
|
556
|
+
pytest.param(
|
|
557
|
+
"Perform comprehensive analysis of all sheets in test_extended.xlsx including data summary",
|
|
558
|
+
"""
|
|
559
|
+
The file `test_extended.xlsx` contains the following information:
|
|
560
|
+
|
|
561
|
+
### Overall Summary
|
|
562
|
+
- **Total Sheets:** 3
|
|
563
|
+
|
|
564
|
+
### Detailed Sheet Information
|
|
565
|
+
|
|
566
|
+
#### 1. First Sheet
|
|
567
|
+
- **Columns:**
|
|
568
|
+
| Column Name | Data Type | Sample Values |
|
|
569
|
+
|-------------|-----------|-------------------|
|
|
570
|
+
| Column 1 | string | `Cars`, `Data`, ...|
|
|
571
|
+
| Column 2 | string | `Test`, `Cats`, ...|
|
|
572
|
+
| Column 3 | string | `222`, `111`, ... |
|
|
573
|
+
|
|
574
|
+
#### 2. Second Sheet
|
|
575
|
+
- **Columns:**
|
|
576
|
+
| Column Name | Data Type | Sample Values |
|
|
577
|
+
|-------------|-----------|-------------------|
|
|
578
|
+
| Column 1 | string | `Cars`, `Data`, ...|
|
|
579
|
+
| Column 2 | string | `Test`, `Cats`, ...|
|
|
580
|
+
| Column 3 | string | `222`, `111`, ... |
|
|
581
|
+
| Column 4 | string | `Second` |
|
|
582
|
+
|
|
583
|
+
#### 3. Hidden Sheet
|
|
584
|
+
- **Columns:**
|
|
585
|
+
| Column Name | Data Type | Sample Values |
|
|
586
|
+
|-------------|-----------|-------------------|
|
|
587
|
+
| Column 1 | string | `Cars`, `Data`, ...|
|
|
588
|
+
| Column 2 | string | `Test`, `Cats`, ...|
|
|
589
|
+
| Column 3 | string | `222`, `111`, ... |
|
|
590
|
+
| Column 4 | string | `Hidden` |
|
|
591
|
+
|
|
592
|
+
These sheets include a variety of string data across the columns with consistent format among the visible and hidden sheets.
|
|
593
|
+
""",
|
|
594
|
+
id="comprehensive_analysis",
|
|
595
|
+
),
|
|
596
|
+
]
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: codemie-test-harness
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.171
|
|
4
4
|
Summary: Autotest for CodeMie backend and UI
|
|
5
5
|
Author: Anton Yeromin
|
|
6
6
|
Author-email: anton_yeromin@epam.com
|
|
@@ -13,7 +13,7 @@ Requires-Dist: aws-assume-role-lib (>=2.10.0,<3.0.0)
|
|
|
13
13
|
Requires-Dist: boto3 (>=1.39.8,<2.0.0)
|
|
14
14
|
Requires-Dist: click (>=8.1.7,<9.0.0)
|
|
15
15
|
Requires-Dist: codemie-plugins (>=0.1.123,<0.2.0)
|
|
16
|
-
Requires-Dist: codemie-sdk-python (==0.1.
|
|
16
|
+
Requires-Dist: codemie-sdk-python (==0.1.171)
|
|
17
17
|
Requires-Dist: pytest (>=8.4.1,<9.0.0)
|
|
18
18
|
Requires-Dist: pytest-playwright (>=0.7.0,<0.8.0)
|
|
19
19
|
Requires-Dist: pytest-reportportal (>=5.5.2,<6.0.0)
|
|
@@ -23,7 +23,7 @@ codemie_test_harness/tests/assistant/default_integrations/__init__.py,sha256=47D
|
|
|
23
23
|
codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool.py,sha256=FUi0r1TTG5Hh4pVQosNtSmBRNJhKN_sSfavHjAm51KQ,7554
|
|
24
24
|
codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_kit.py,sha256=l2wwk9TKDfSuGKGAJVhhwkVhL1cn74wOxPr_gdbSZDQ,7825
|
|
25
25
|
codemie_test_harness/tests/assistant/default_integrations/test_default_integrations_for_tool_with_datasource.py,sha256=K8wzK48e7V92kLt_BKsXyO_K_ud0VTUHrnvFFoIxGj8,10140
|
|
26
|
-
codemie_test_harness/tests/assistant/test_assistants.py,sha256=
|
|
26
|
+
codemie_test_harness/tests/assistant/test_assistants.py,sha256=E6kCzWBrNvx1GKvxzSsxm-vEHFkHFVVCGoXHdV8szKc,13968
|
|
27
27
|
codemie_test_harness/tests/assistant/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
codemie_test_harness/tests/assistant/tools/access_management/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
codemie_test_harness/tests/assistant/tools/access_management/test_keycloak_tool.py,sha256=YKPTYO9qI72-RtkaPSONRxvusKNJ3ksVPjkD3xk7qCM,740
|
|
@@ -103,7 +103,7 @@ codemie_test_harness/tests/test_data/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeu
|
|
|
103
103
|
codemie_test_harness/tests/test_data/ado_test_plan_tools_test_data.py,sha256=Al5u4HNfrcoj-b072uEGsqUqjKqwXLGJXKQ0QeJT3PI,5778
|
|
104
104
|
codemie_test_harness/tests/test_data/ado_wiki_tools_test_data.py,sha256=xvgEja5vE0l41sP4fE0stdFLQ0M201FWynOCEcRYufE,3188
|
|
105
105
|
codemie_test_harness/tests/test_data/ado_work_item_tools_test_data.py,sha256=MHou6QGjufyX5t1oexnq2Y4UCjlE17eeyMuIz6Ml62s,5693
|
|
106
|
-
codemie_test_harness/tests/test_data/assistant_test_data.py,sha256=
|
|
106
|
+
codemie_test_harness/tests/test_data/assistant_test_data.py,sha256=2He6dIPxMLaFC2Ls56QoNHC7tJVchJ5KH4p94FCrAkU,24244
|
|
107
107
|
codemie_test_harness/tests/test_data/cloud_tools_test_data.py,sha256=SWz-VTNcWteCvVupl2xksv4eEFkmtWMdRIqrZxjpFYk,6200
|
|
108
108
|
codemie_test_harness/tests/test_data/codebase_tools_test_data.py,sha256=xbnIlDbiZTibGekrodmhO7bOg7kilsoKSlfHAhcmyIQ,3312
|
|
109
109
|
codemie_test_harness/tests/test_data/data_management_tools_test_data.py,sha256=e5Cfqza3GUE3hRElm1bxgQO4PaN-jOiNd38OX9299Kc,2793
|
|
@@ -143,6 +143,7 @@ codemie_test_harness/tests/test_data/files/test.vtt,sha256=OTESV-myaR4TwzGddSBXE
|
|
|
143
143
|
codemie_test_harness/tests/test_data/files/test.xlsx,sha256=J1OprxIMhkoGQRhuOh8oTrbj2pa8VKlSdqp9R0ejgBI,4804
|
|
144
144
|
codemie_test_harness/tests/test_data/files/test.xml,sha256=QVn0coF-83PYoGyOZNVEZHW2oX2opIHh7aD6TwBW80s,352
|
|
145
145
|
codemie_test_harness/tests/test_data/files/test.yaml,sha256=3NDQyzwkRM5d6eCYMScNMbCqZ0JnjU1T8WcRemuqsc0,392
|
|
146
|
+
codemie_test_harness/tests/test_data/files/test_extended.xlsx,sha256=_ZjBj1E_uEuWHWGO5x0BO0E3-kQWqSyWi9vG9n2JZpQ,10031
|
|
146
147
|
codemie_test_harness/tests/test_data/git_tools_test_data.py,sha256=7U05vLqkh5uJ0l_KJeHis549id1Of99K0jCsWOb0nXM,8485
|
|
147
148
|
codemie_test_harness/tests/test_data/google_datasource_test_data.py,sha256=fhMJVTU0udINKtBQ750c_c279NzibGiZumnIaCPLtBo,511
|
|
148
149
|
codemie_test_harness/tests/test_data/index_test_data.py,sha256=VZJC_Fmko32EHaybUwCy0mWMiwAeUAAmhRa0Xt4oTHQ,1115
|
|
@@ -360,7 +361,7 @@ codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/__init__.
|
|
|
360
361
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py,sha256=vq6tucNBxiNIQSmIj_pYiiPm0lipU9X3kzeCd6xEbRM,966
|
|
361
362
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
362
363
|
codemie_test_harness/tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py,sha256=uD2qs361j6Egp4UumfoQ4gC24-NioXfiW0IF53N9hVA,1175
|
|
363
|
-
codemie_test_harness-0.1.
|
|
364
|
-
codemie_test_harness-0.1.
|
|
365
|
-
codemie_test_harness-0.1.
|
|
366
|
-
codemie_test_harness-0.1.
|
|
364
|
+
codemie_test_harness-0.1.171.dist-info/METADATA,sha256=HIG_F4X1B4ZHlYCf20ye9Crzn9Xee5HAR6PJPlTkOnA,8998
|
|
365
|
+
codemie_test_harness-0.1.171.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
366
|
+
codemie_test_harness-0.1.171.dist-info/entry_points.txt,sha256=n98t-EOM5M1mnMl_j2X4siyeO9zr0WD9a5LF7JyElIM,73
|
|
367
|
+
codemie_test_harness-0.1.171.dist-info/RECORD,,
|
|
File without changes
|
{codemie_test_harness-0.1.170.dist-info → codemie_test_harness-0.1.171.dist-info}/entry_points.txt
RENAMED
|
File without changes
|