🏠 Inicio
Pruebas de rendimiento
📊 Todos los benchmarks 🦖 Dinosaurio v1 🦖 Dinosaurio v2 ✅ Aplicaciones To-Do List 🎨 Páginas libres creativas 🎯 FSACB - Showcase definitivo 🌍 Benchmark de traducción
Modelos
🏆 Top 10 modelos 🆓 Modelos gratuitos 📋 Todos los modelos ⚙️ Kilo Code
Recursos
💬 Biblioteca de prompts 📖 Glosario de IA 🔗 Enlaces útiles
Advanced

Comprehensive Code Review

#code-review #security #refactoring

Analyze code for bugs, security issues, and suggest refactoring for readability.

Perform a comprehensive line-by-line analysis of the following Python function: def calc(a,b): return a/b. Identify potential security vulnerabilities (such as division by zero), performance bottlenecks, and violations of PEP-8 standards. Then, provide a refactored version of the function that addresses all issues, including type hinting and docstrings explaining the changes made.