Debugging & optimization

A shared folder with AI prompts and code snippets

From workspace: OpenAI

Team: Open AI Academy

Total snippets: 5

OpenAI

Debugging & optimization

5 snippets

Brainstorm edge cases for testing

We’re preparing test cases for [insert feature/system]. Brainstorm potential edge cases and failure scenarios that may not be covered by standard testing, including unusual user inputs, system state changes, and concurrency issues.

Suggest observability improvements

We currently use [insert tools] for monitoring [insert service]. Review our observability setup and suggest improvements across metrics, logging, alerting, and dashboards to improve issue detection and debugging.

Analyze a data pipeline failure

A critical data pipeline failed in yesterday’s run. Here are the logs, data volume trends, and error outputs: [insert context]. Analyze what likely went wrong and provide recommendations to prevent recurrence.

Analyze performance bottlenecks

Our service is experiencing latency and degraded performance during peak usage. Here are metrics, logs, and relevant traces: [insert context]. Help identify the bottlenecks and recommend specific optimizations.

Debug failing system in production

A system in production is intermittently failing, and we’re struggling to isolate the root cause. Based on the following logs, metrics, and recent changes: [insert context], help identify the most likely causes and suggest next steps for mitigation.

OpenAI - Debugging & optimization - AI Prompts & Code Snippets | Snippets AI