codemie-test-harness 0.1.121__py3-none-any.whl → 0.1.122__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-0.1.121.dist-info → codemie_test_harness-0.1.122.dist-info}/METADATA +2 -2
- {codemie_test_harness-0.1.121.dist-info → codemie_test_harness-0.1.122.dist-info}/RECORD +6 -6
- tests/test_data/direct_tools/codebase_tools_test_data.py +157 -26
- tests/utils/assistant_utils.py +2 -2
- {codemie_test_harness-0.1.121.dist-info → codemie_test_harness-0.1.122.dist-info}/WHEEL +0 -0
- {codemie_test_harness-0.1.121.dist-info → codemie_test_harness-0.1.122.dist-info}/entry_points.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: codemie-test-harness
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.122
|
|
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.122)
|
|
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)
|
|
@@ -95,7 +95,7 @@ tests/test_data/direct_tools/ado_test_plan_tools_test_data.py,sha256=kowneL1T8iz
|
|
|
95
95
|
tests/test_data/direct_tools/ado_wiki_tools_test_data.py,sha256=lZr2xa0EVU648vbjbiKOctUrM8WZLKEaXSvkexxuK9E,1411
|
|
96
96
|
tests/test_data/direct_tools/ado_work_item_tools_test_data.py,sha256=N8nC6xf6fnrv2BkNX9ylkIDyGuGelECf3P03XEngllc,7396
|
|
97
97
|
tests/test_data/direct_tools/cloud_tools_test_data.py,sha256=greVysNBqOZv3MdMISqe3mzMs8R9FmI59yIz7MA6HF4,7047
|
|
98
|
-
tests/test_data/direct_tools/codebase_tools_test_data.py,sha256=
|
|
98
|
+
tests/test_data/direct_tools/codebase_tools_test_data.py,sha256=QrI2Pe88L5rPwCZqgfaZFX8ucR7GPTqmC-mmOswCN8M,11066
|
|
99
99
|
tests/test_data/direct_tools/data_management_tools_test_data.py,sha256=gk3qE1srP11g_Qx7u3tWQor7dA9SvbVXqIQ_GKGYgsg,672
|
|
100
100
|
tests/test_data/direct_tools/direct_tools_test_data.py,sha256=hEy9frn13kqia4Qy7Vx7WtS-euOm5MqYOblWDM2vzgM,3191
|
|
101
101
|
tests/test_data/direct_tools/file_management_tools_test_data.py,sha256=uJWn80216agm-_YTIbF5Y72mU7gn6lChM5vFFjH99SI,1359
|
|
@@ -208,7 +208,7 @@ tests/ui/test_workflow_executions_page.py,sha256=WFOceYlbVCofLqnnGMoFGd4stx9OgNb
|
|
|
208
208
|
tests/ui/test_workflow_templates.py,sha256=hD1loa2H_fDVW4DuxvD0chz8Od27Aa_nA6AU8iOzBm4,4405
|
|
209
209
|
tests/ui/test_workflows.py,sha256=xWSeUg3c-Ky7-yNnFkK7KNA3tKpvsCyyPCVfGExc5a4,3434
|
|
210
210
|
tests/utils/__init__.py,sha256=IytbI4DHEFmsvw_TJJVUNP6ZB6upkajgpSkw_MAurwc,162
|
|
211
|
-
tests/utils/assistant_utils.py,sha256=
|
|
211
|
+
tests/utils/assistant_utils.py,sha256=xQHgYknCPp0tgZwIvoq3IGwCDtW0qoEfcp1-UQjBpmM,5144
|
|
212
212
|
tests/utils/aws_parameters_store.py,sha256=doVNM3XtLWzLtlVyBKA8_IpdhQoJv5CxSYZY4NtZsEE,19215
|
|
213
213
|
tests/utils/base_utils.py,sha256=9kfGJs-Bp8m2f_lAQACH2rtNxnUYTOcDPWmU4mJX1Gc,5970
|
|
214
214
|
tests/utils/client_factory.py,sha256=Yyg2iXe7g7fIfIUbOH8z_8qgVo_lB-nYLOfCV5ONXFw,641
|
|
@@ -318,7 +318,7 @@ tests/workflow/virtual_assistant_tools/servicenow/__init__.py,sha256=47DEQpj8HBS
|
|
|
318
318
|
tests/workflow/virtual_assistant_tools/servicenow/test_workflow_with_servicenow_tools.py,sha256=ecTfkwxPMbyyEKS-dArAQkluZURO1nThwDdD66mgC3E,814
|
|
319
319
|
tests/workflow/virtual_assistant_tools/vcs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
320
320
|
tests/workflow/virtual_assistant_tools/vcs/test_workflow_with_vcs_tools.py,sha256=G0iI3X7SGEEy1Z2Hc7j917saY3lpzgfil_GtALCFilE,1043
|
|
321
|
-
codemie_test_harness-0.1.
|
|
322
|
-
codemie_test_harness-0.1.
|
|
323
|
-
codemie_test_harness-0.1.
|
|
324
|
-
codemie_test_harness-0.1.
|
|
321
|
+
codemie_test_harness-0.1.122.dist-info/METADATA,sha256=YCzCsqzDYfZIA0n9NoOyAAzsScaDKS2klbqY23iy48E,8998
|
|
322
|
+
codemie_test_harness-0.1.122.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
|
323
|
+
codemie_test_harness-0.1.122.dist-info/entry_points.txt,sha256=n98t-EOM5M1mnMl_j2X4siyeO9zr0WD9a5LF7JyElIM,73
|
|
324
|
+
codemie_test_harness-0.1.122.dist-info/RECORD,,
|
|
@@ -10,39 +10,170 @@ sonar_tools_test_data = [
|
|
|
10
10
|
},
|
|
11
11
|
"""
|
|
12
12
|
{
|
|
13
|
-
"total" :
|
|
13
|
+
"total" : 81,
|
|
14
14
|
"p" : 1,
|
|
15
15
|
"ps" : 1,
|
|
16
16
|
"paging" : {
|
|
17
17
|
"pageIndex" : 1,
|
|
18
18
|
"pageSize" : 1,
|
|
19
|
-
"total" :
|
|
19
|
+
"total" : 81
|
|
20
20
|
},
|
|
21
|
-
"effortTotal" :
|
|
21
|
+
"effortTotal" : 525,
|
|
22
22
|
"issues" : [ {
|
|
23
|
-
"key" : "
|
|
24
|
-
"rule" : "python:
|
|
25
|
-
"severity" : "
|
|
26
|
-
"component" : "codemie:src/codemie/
|
|
23
|
+
"key" : "cbdc0649-14e5-4f4b-8fa4-f2c7c6dbafb6",
|
|
24
|
+
"rule" : "python:S3776",
|
|
25
|
+
"severity" : "CRITICAL",
|
|
26
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
27
27
|
"project" : "codemie",
|
|
28
|
-
"line" :
|
|
29
|
-
"hash" : "
|
|
28
|
+
"line" : 765,
|
|
29
|
+
"hash" : "579909ff6065d3fd0355264ce7a164d5",
|
|
30
30
|
"textRange" : {
|
|
31
|
-
"startLine" :
|
|
32
|
-
"endLine" :
|
|
31
|
+
"startLine" : 765,
|
|
32
|
+
"endLine" : 765,
|
|
33
33
|
"startOffset" : 8,
|
|
34
|
-
"endOffset" :
|
|
34
|
+
"endOffset" : 22
|
|
35
35
|
},
|
|
36
|
-
"flows" : [
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
"flows" : [ {
|
|
37
|
+
"locations" : [ {
|
|
38
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
39
|
+
"textRange" : {
|
|
40
|
+
"startLine" : 771,
|
|
41
|
+
"endLine" : 771,
|
|
42
|
+
"startOffset" : 8,
|
|
43
|
+
"endOffset" : 10
|
|
44
|
+
},
|
|
45
|
+
"msg" : "+1",
|
|
46
|
+
"msgFormattings" : [ ]
|
|
47
|
+
} ]
|
|
48
|
+
}, {
|
|
49
|
+
"locations" : [ {
|
|
50
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
51
|
+
"textRange" : {
|
|
52
|
+
"startLine" : 773,
|
|
53
|
+
"endLine" : 773,
|
|
54
|
+
"startOffset" : 12,
|
|
55
|
+
"endOffset" : 14
|
|
56
|
+
},
|
|
57
|
+
"msg" : "+2 (incl 1 for nesting)",
|
|
58
|
+
"msgFormattings" : [ ]
|
|
59
|
+
} ]
|
|
60
|
+
}, {
|
|
61
|
+
"locations" : [ {
|
|
62
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
63
|
+
"textRange" : {
|
|
64
|
+
"startLine" : 775,
|
|
65
|
+
"endLine" : 775,
|
|
66
|
+
"startOffset" : 8,
|
|
67
|
+
"endOffset" : 12
|
|
68
|
+
},
|
|
69
|
+
"msg" : "+1",
|
|
70
|
+
"msgFormattings" : [ ]
|
|
71
|
+
} ]
|
|
72
|
+
}, {
|
|
73
|
+
"locations" : [ {
|
|
74
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
75
|
+
"textRange" : {
|
|
76
|
+
"startLine" : 780,
|
|
77
|
+
"endLine" : 780,
|
|
78
|
+
"startOffset" : 8,
|
|
79
|
+
"endOffset" : 11
|
|
80
|
+
},
|
|
81
|
+
"msg" : "+1",
|
|
82
|
+
"msgFormattings" : [ ]
|
|
83
|
+
} ]
|
|
84
|
+
}, {
|
|
85
|
+
"locations" : [ {
|
|
86
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
87
|
+
"textRange" : {
|
|
88
|
+
"startLine" : 781,
|
|
89
|
+
"endLine" : 781,
|
|
90
|
+
"startOffset" : 12,
|
|
91
|
+
"endOffset" : 14
|
|
92
|
+
},
|
|
93
|
+
"msg" : "+2 (incl 1 for nesting)",
|
|
94
|
+
"msgFormattings" : [ ]
|
|
95
|
+
} ]
|
|
96
|
+
}, {
|
|
97
|
+
"locations" : [ {
|
|
98
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
99
|
+
"textRange" : {
|
|
100
|
+
"startLine" : 785,
|
|
101
|
+
"endLine" : 785,
|
|
102
|
+
"startOffset" : 8,
|
|
103
|
+
"endOffset" : 10
|
|
104
|
+
},
|
|
105
|
+
"msg" : "+1",
|
|
106
|
+
"msgFormattings" : [ ]
|
|
107
|
+
} ]
|
|
108
|
+
}, {
|
|
109
|
+
"locations" : [ {
|
|
110
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
111
|
+
"textRange" : {
|
|
112
|
+
"startLine" : 785,
|
|
113
|
+
"endLine" : 785,
|
|
114
|
+
"startOffset" : 30,
|
|
115
|
+
"endOffset" : 33
|
|
116
|
+
},
|
|
117
|
+
"msg" : "+1",
|
|
118
|
+
"msgFormattings" : [ ]
|
|
119
|
+
} ]
|
|
120
|
+
}, {
|
|
121
|
+
"locations" : [ {
|
|
122
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
123
|
+
"textRange" : {
|
|
124
|
+
"startLine" : 787,
|
|
125
|
+
"endLine" : 787,
|
|
126
|
+
"startOffset" : 12,
|
|
127
|
+
"endOffset" : 15
|
|
128
|
+
},
|
|
129
|
+
"msg" : "+2 (incl 1 for nesting)",
|
|
130
|
+
"msgFormattings" : [ ]
|
|
131
|
+
} ]
|
|
132
|
+
}, {
|
|
133
|
+
"locations" : [ {
|
|
134
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
135
|
+
"textRange" : {
|
|
136
|
+
"startLine" : 788,
|
|
137
|
+
"endLine" : 788,
|
|
138
|
+
"startOffset" : 16,
|
|
139
|
+
"endOffset" : 18
|
|
140
|
+
},
|
|
141
|
+
"msg" : "+3 (incl 2 for nesting)",
|
|
142
|
+
"msgFormattings" : [ ]
|
|
143
|
+
} ]
|
|
144
|
+
}, {
|
|
145
|
+
"locations" : [ {
|
|
146
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
147
|
+
"textRange" : {
|
|
148
|
+
"startLine" : 792,
|
|
149
|
+
"endLine" : 792,
|
|
150
|
+
"startOffset" : 12,
|
|
151
|
+
"endOffset" : 14
|
|
152
|
+
},
|
|
153
|
+
"msg" : "+2 (incl 1 for nesting)",
|
|
154
|
+
"msgFormattings" : [ ]
|
|
155
|
+
} ]
|
|
156
|
+
}, {
|
|
157
|
+
"locations" : [ {
|
|
158
|
+
"component" : "codemie:src/codemie/service/assistant_service.py",
|
|
159
|
+
"textRange" : {
|
|
160
|
+
"startLine" : 801,
|
|
161
|
+
"endLine" : 801,
|
|
162
|
+
"startOffset" : 8,
|
|
163
|
+
"endOffset" : 10
|
|
164
|
+
},
|
|
165
|
+
"msg" : "+1",
|
|
166
|
+
"msgFormattings" : [ ]
|
|
167
|
+
} ]
|
|
168
|
+
} ],
|
|
169
|
+
"status" : "OPEN",
|
|
170
|
+
"message" : "Refactor this function to reduce its Cognitive Complexity from 17 to the 15 allowed.",
|
|
171
|
+
"effort" : "7min",
|
|
172
|
+
"debt" : "7min",
|
|
42
173
|
"author" : "",
|
|
43
174
|
"tags" : [ "brain-overload" ],
|
|
44
|
-
"creationDate" : "2025-
|
|
45
|
-
"updateDate" : "2025-08-
|
|
175
|
+
"creationDate" : "2025-08-25T13:38:18+0000",
|
|
176
|
+
"updateDate" : "2025-08-25T13:38:18+0000",
|
|
46
177
|
"type" : "CODE_SMELL",
|
|
47
178
|
"scope" : "MAIN",
|
|
48
179
|
"quickFixAvailable" : false,
|
|
@@ -52,18 +183,18 @@ sonar_tools_test_data = [
|
|
|
52
183
|
"cleanCodeAttributeCategory" : "ADAPTABLE",
|
|
53
184
|
"impacts" : [ {
|
|
54
185
|
"softwareQuality" : "MAINTAINABILITY",
|
|
55
|
-
"severity" : "
|
|
186
|
+
"severity" : "HIGH"
|
|
56
187
|
} ],
|
|
57
|
-
"issueStatus" : "
|
|
188
|
+
"issueStatus" : "OPEN",
|
|
58
189
|
"prioritizedRule" : false
|
|
59
190
|
} ],
|
|
60
191
|
"components" : [ {
|
|
61
|
-
"key" : "codemie:src/codemie/
|
|
192
|
+
"key" : "codemie:src/codemie/service/assistant_service.py",
|
|
62
193
|
"enabled" : true,
|
|
63
194
|
"qualifier" : "FIL",
|
|
64
|
-
"name" : "
|
|
65
|
-
"longName" : "src/codemie/
|
|
66
|
-
"path" : "src/codemie/
|
|
195
|
+
"name" : "assistant_service.py",
|
|
196
|
+
"longName" : "src/codemie/service/assistant_service.py",
|
|
197
|
+
"path" : "src/codemie/service/assistant_service.py"
|
|
67
198
|
}, {
|
|
68
199
|
"key" : "codemie",
|
|
69
200
|
"enabled" : true,
|
tests/utils/assistant_utils.py
CHANGED
|
@@ -85,7 +85,7 @@ class AssistantUtils(BaseUtils):
|
|
|
85
85
|
user_prompt,
|
|
86
86
|
stream=False,
|
|
87
87
|
tools_config=None,
|
|
88
|
-
|
|
88
|
+
file_urls=(),
|
|
89
89
|
conversation_id=None,
|
|
90
90
|
history=(),
|
|
91
91
|
output_schema=None,
|
|
@@ -95,7 +95,7 @@ class AssistantUtils(BaseUtils):
|
|
|
95
95
|
conversation_id=conversation_id,
|
|
96
96
|
stream=stream,
|
|
97
97
|
tools_config=tools_config,
|
|
98
|
-
|
|
98
|
+
file_names=file_urls,
|
|
99
99
|
history=history,
|
|
100
100
|
output_schema=output_schema,
|
|
101
101
|
metadata={"langfuse_traces_enabled": LANGFUSE_TRACES_ENABLED},
|
|
File without changes
|
{codemie_test_harness-0.1.121.dist-info → codemie_test_harness-0.1.122.dist-info}/entry_points.txt
RENAMED
|
File without changes
|