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
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- tooling
Hướng nghiên cứu
Đọc đặc tả giao diện representer và hướng dẫn tạo từ đầu được liên kết trong issue, sau đó kiểm tra cách các track khác của Exercism triển khai representer. Kiểm tra khóa trạng thái trong config.json của track. Được xem là hoàn tất khi một representer dành riêng cho track tuân theo đặc tả và tạo ra hai tệp biểu diễn JSON bắt buộc, hoặc issue được đóng nếu một representer như vậy đã tồn tại.
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
- Factor
- Star
- 14
- Fork
- 17
- Merge trung bình
- 10 giờ 20 phút
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọ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 exercism/factor
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
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
Tất cả issue của exercism/factor
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
mvanhorn/cli-printing-press#4980 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue lane:repo
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
`npx --package=vite-plus vp create` fails with exit 127 when npm is the chosen package managerĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
voidzero-dev/vite-plus#2970 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Feature]: [P3] engine-rs: the package source hash should ignore line endings and untracked filesĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
maniator/verticopolis#880 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
priority: p3 type: feat
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
googleapis/librarian#7775 ·
Maintainer thường phản hồi trong vòng 1 ngày