Build representer
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 35/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- vim
- Lĩnh vực
- tooling
Hướng nghiên cứu
Đọc tài liệu về interface của representer và tài liệu tạo từ đầu được liên kết trong issue, sau đó kiểm tra các triển khai của những track khác. Xây dựng một representer cho track Vim Script tuân theo đặc tả và tạo ra hai tệp biểu diễn JSON; nếu hoạt động, đặt .status.representer thành true trong config.json của track.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
In Exercism v3, we're introducing a new (optional) tool: the representer. The goal of the representer is to take a solution and returning a representation, which is an extraction of a solution to its essence with normalized names, comments, spacing, etc. but still uniquely identifying the approach taken. Two different ways of solving the same exercise must not have the same representation.
Each representer is track-specific. When a new solution is submitted, we run the track's representer, which outputs two JSON files that describe the representation.
Once we have a normalized representation for a solution, a team of vetted mentors will look at the solution and comment on it (if needed). These comments will then automatically be submitted to each new solution with the same representation. A notification will be sent for old solutions with a matching representation.
The representer is an optional tool though, which means that if a track does not have a representer, it will still function normally.
Goal
Build a representer for your track according to the spec. Check this page to help you get started with building a representer.
Note that the simplest representer is one that merely returns the solution's source code.
It can be very useful to check how other tracks have implemented their representer.
If your track already has a working representer, please close this issue and ensure that the .status.representer key in the track config.json file is set to true.
Choosing between representer and analyzer
There is some overlap between the goals of the representer and the analyzer. If you want to build both, we recommend starting by building the representer for the following reasons:
- Representers are usually (far) easier to implement
- Representers can have a far bigger impact on the mentoring load than analyzers by empowering mentors
- Representers apply to all exercises, whereas analyzers usually target specific exercises or a subset
Tracking
- Ngôn ngữ chính
- Vim Script
- Star
- 22
- Fork
- 27
- Merge trung bình
- 8 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 exercism/vimscript
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
-
🚨 configlet sync --test found unsynced testsCó thể làm lại được @BNAndras đã nhận 120 ngày trước và không có pull request nào đang mở. Đang mở
-
Build analyzerĐang mởx:action/create x:knowledge/advanced x:module/analyzer x:size/massive x:type/coding
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
Pass linting checksĐang mởx:action/fix x:knowledge/elementary x:size/medium x:type/content
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 25/100
-
x:action/improve x:knowledge/intermediate x:module/practice-exercise x:size/large x:type/content
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Tất cả issue của exercism/vimscript
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
rubygems/rubygems.org#6895 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement good first issue hacktoberfest size/medium up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Redo-San/RedoSan-Authenticity#507 ·
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 68/100
petercorke/robotics-toolbox-python#709 ·
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 68/100
cline/mcp-marketplace#2750 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
anthropics/claude-agent-sdk-python#1353 ·
Maintainer thường phản hồi trong vòng 1 ngày