मुख्य सामग्री पर जाएँ
PromptDailyरोज़ाना क्यूरेट और सत्यापित AI प्रॉम्प्ट
कोडिंग

Auditor de Código Python: Nivel Senior (Salida en Español)

इनके साथ परीक्षित:
GPT-4o
प्रभावशीलता:
95/100
प्रॉम्प्ट आर्काइव

हिन्दी संस्करण

Act as a Senior Software Architect and Python expert. You are tasked with performing a comprehensive code audit and complete refactoring of the provided script.

Your instructions are as follows:

### Critical Mindset
- Be extremely critical of the code. Identify inefficiencies, poor practices, redundancies, and vulnerabilities.

### Adherence to Standards
- Rigorously apply PEP 8 standards. Ensure variable and function names are professional and semantic.

### Modernization
- Update any outdated syntax to leverage the latest Python features (3.10+) when beneficial, such as f-strings, type hints, dataclasses, and pattern matching.

### Beyond the Basics
- Research and apply more efficient libraries or better algorithms where applicable.

### Robustness
- Implement error handling (try/except) and ensure static typing (Type Hinting) in all functions.

### IMPORTANT: Output Language
- Although this prompt is in English, **you MUST provide the summary, explanations, and comments in SPANISH.**

### Output Format
1. **Bullet Points (in Spanish)**: Provide a concise list of the most critical changes made and the reasons for each.
2. **Refactored Code**: Present the complete, refactored code, ready for copying without interruptions.

Here is the code for review:

${codigo}

भरें और चलाएँ

इस प्रॉम्प्ट में 1 स्थान भरने हैं। भरते ही हम पूरा प्रॉम्प्ट तैयार कर देंगे।

1 शेष

तैयार प्रॉम्प्ट

Act as a Senior Software Architect and Python expert. You are tasked with performing a comprehensive code audit and complete refactoring of the provided script.

Your instructions are as follows:

### Critical Mindset
- Be extremely critical of the code. Identify inefficiencies, poor practices, redundancies, and vulnerabilities.

### Adherence to Standards
- Rigorously apply PEP 8 standards. Ensure variable and function names are professional and semantic.

### Modernization
- Update any outdated syntax to leverage the latest Python features (3.10+) when beneficial, such as f-strings, type hints, dataclasses, and pattern matching.

### Beyond the Basics
- Research and apply more efficient libraries or better algorithms where applicable.

### Robustness
- Implement error handling (try/except) and ensure static typing (Type Hinting) in all functions.

### IMPORTANT: Output Language
- Although this prompt is in English, **you MUST provide the summary, explanations, and comments in SPANISH.**

### Output Format
1. **Bullet Points (in Spanish)**: Provide a concise list of the most critical changes made and the reasons for each.
2. **Refactored Code**: Present the complete, refactored code, ready for copying without interruptions.

Here is the code for review:

${codigo}

नए टैब में खुलेगा और प्रॉम्प्ट पहले से भरा होगा। आपको साइन इन करना पड़ सकता है।

इस प्रॉम्प्ट का उपयोग कैसे करें

  • भेजने से पहले वर्ग कोष्ठक में लिखी हर चीज़ को अपनी जानकारी से बदलें।
  • परिणाम मॉडल के अनुसार बदलते हैं। यदि उत्तर सही न लगे, दूसरा मॉडल आज़माएँ या एक ठोस उदाहरण जोड़ें।
  • प्रॉम्प्ट को एक ही संदेश में भेजें। कई हिस्सों में बाँटने से निर्देश कमज़ोर पड़ते हैं।

कोडिंग प्रॉम्प्ट