Ур чадварAI
Bug report-г AI-р шинжилж шийдэл олох

Bug report-г AI-р шинжилж шийдэл олох

Bolorshagai Batzaya
Багш
Bolorshagai Batzaya

0 Үзсэн


5m


9 цагийн өмнө



Энэ хичээлийн тухай

Программын алдааг (Bug) засахаас илүү түүнийг хаана, яагаад гарч байгааг олох нь хамгийн их цаг үрдэг. ChatGPT-ийн тусламжтайгаар "Bug Report"-ыг хэрхэн гүнзгий шинжилж, алдааны шалтгааныг (Root Cause) секундын дотор илрүүлж, засах кодын хувилбаруудыг гаргаж авахыг энэ хичээлээр үзнэ.

Ашигласан промт: 

Analyze this bug report and tell me:

- What is the root cause?

- Where in the code could this happen?

- How to reproduce it?


This bug report is unclear. Rewrite it to be more specific and actionable. Include: steps to reproduce, expected vs actual result.


Based on this bug report, suggest:

- The most likely fix

- Alternative solutions

- Which solution is safest?


Based on this bug, what other similar bugs could exist in the codebase? What should we check next? This bug happened in production.


How do we prevent this from happening again?

Suggest:

- Code changes

- Tests to add

- Monitoring to set up