Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -145,12 +145,22 @@ def render_html_output(top_qualities):
|
|
145 |
return styles + html_content
|
146 |
|
147 |
example_texts = [
|
148 |
-
|
149 |
-
["
|
150 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
]
|
152 |
|
153 |
|
|
|
154 |
interface = gr.Interface(
|
155 |
fn=main_interface,
|
156 |
inputs=gr.Textbox(lines=7, label="Issue Description", placeholder="Enter your issue text here"),
|
|
|
145 |
return styles + html_content
|
146 |
|
147 |
example_texts = [
|
148 |
+
["The algorithm does not accurately distinguish between the positive and negative classes during edge cases.\n\nEnvironment: Production\nReproduction: Run the classifier on the test dataset with known edge cases."],
|
149 |
+
["The system must handle at least 10,000 simultaneous users without performance degradation.\n\nEnvironment: Server-side processing\nReproduction: Conduct load testing simulating 10,000 users."],
|
150 |
+
["There is a lack of consistency in code reviews, leading to varied quality in commits.\n\nEnvironment: Development team\nReproduction: Review the last month's commit logs and code review histories."],
|
151 |
+
["The database server crashes frequently under high load due to insufficient memory allocation.\n\nEnvironment: Database server, 32GB RAM\nReproduction: Simulate peak load using a stress testing tool."],
|
152 |
+
["The API documentation is outdated, leading to incorrect usage by developers.\n\nEnvironment: Online documentation portal\nReproduction: Compare the endpoint documentation against the latest API code base."],
|
153 |
+
["The current system architecture does not support horizontal scaling, which is necessary for handling increased loads.\n\nEnvironment: System architecture review\nReproduction: Analyse the current deployment and propose necessary changes for scalability."],
|
154 |
+
["Users experience data loss when the network connection is unstable during data transmission.\n\nEnvironment: Mobile app, unstable network conditions\nReproduction: Test the data sync feature under various network conditions."],
|
155 |
+
["Memory leaks observed in the application, increasing the load on the server over time.\n\nEnvironment: Backend application, Python 3.8\nReproduction: Monitor the application memory usage over 24 hours with the profiler tool."],
|
156 |
+
["The build fails intermittently on the CI server due to timing issues in test scripts.\n\nEnvironment: CI server Jenkins\nReproduction: Trigger the build process multiple times and note the occurrence of failures."],
|
157 |
+
["The regression tests do not cover scenarios involving concurrent user sessions.\n\nEnvironment: Test automation suite\nReproduction: Update the test scripts to include tests for concurrent sessions."],
|
158 |
+
["There is frequent miscommunication between the development and QA teams regarding feature specifications.\n\nEnvironment: Inter-team meetings\nReproduction: Audit recent communication logs and meeting notes between the teams."],
|
159 |
+
["The service-oriented architecture does not effectively isolate failures, leading to cascading failures across services.\n\nEnvironment: Microservices architecture\nReproduction: Simulate a service failure and observe the impact on other services."]
|
160 |
]
|
161 |
|
162 |
|
163 |
+
|
164 |
interface = gr.Interface(
|
165 |
fn=main_interface,
|
166 |
inputs=gr.Textbox(lines=7, label="Issue Description", placeholder="Enter your issue text here"),
|