Analyse and Refactor Functions
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 52/100
- Loại issue
- Tái cấu trúc
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- performance
Hướng nghiên cứu
Bắt đầu với phần bài tập Sprint-1 được liên kết trong issue và kiểm tra các hàm được cung cấp để tìm sự kém hiệu quả về thời gian hoặc không gian. Với mỗi hàm, hãy ghi lại phân tích độ phức tạp, tái cấu trúc hàm để giảm độ phức tạp và giải thích sự cải thiện trong pull request; xem xét các phân tích của những người khác trước khi gửi bài.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Link to the coursework
https://github.com/CodeYourFuture/Module-Complexity/tree/main/Sprint-1
Learning Objectives
- Identify areas of inefficiency that contribute to higher time or space complexity
- Refactor the code to reduce its complexity.
- Review the analyses of others
Why are we doing this?
It is easier to understand complexity in the abstract than it is to recognise and apply it in our everyday code. In this module you will focus on noticing complexity in code you and your colleagues write.
In Sprint 1, we have provided you a selection of functions that are written in inefficient ways. Your goal is to collaborate on refactoring these functions. It's not enough to improve the code, you must also explain why your refactor is objectively better.
Maximum time in hours
6
How to get help
Bring this to class and study groups. The goal is to collaborate.
How to submit
Fork the repo to your own GitHub account
Make regular small commits with clear messages
When you are ready, open a Pull Request to the CYF repo
Make sure you explain your work clearly in your PR message
- Ngôn ngữ chính
- Python
- Star
- 0
- Fork
- 68
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CodeYourFuture/Module-Complexity
-
NotCoursework
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
-
Complete the SDC end surveyĐang mở🏕 Priority Mandatory 📅 Sprint 2 Core Module-Complexity Submit:None 🦔 Size Tiny
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
Mentored Pair ProgrammingĐang mở🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 2 Module-Complexity Submit:None
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 72/100
-
🏕 Priority Mandatory 🐇 Size Small 📅 Sprint 1 Core Module-Complexity Submit:None
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 55/100
-
Implement a Skip ListĐang mở🏝️ Priority Stretch 📅 Sprint 2 🦑 Size Large Module-Complexity Optional Submit:PR
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 45/100
Tất cả issue của CodeYourFuture/Module-Complexity
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 79/100
micronaut-projects/micronaut-core#14585 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
langgenius/graphon#443 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
[BUG]: Management endpoints /v1/memory/stats and /v1/memory/counts bypass API key authenticationĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
docling-project/docling-serve#788 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Mend: dependency security vulnerability untriaged
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
opensearch-project/cross-cluster-replication#1805 ·
Maintainer thường phản hồi trong vòng 1 ngày