Building a training set of tags for javascript
@SleeplessByte đang làm issue này rồi.
Từ ngày 4/7/2025.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Hello lovely maintainers 👋
We've recently added "tags" to student's solutions. These express the constructs, paradigms and techniques that a solution uses. We are going to be using these tags for lots of things including filtering, pointing a student to alternative approaches, and much more.
In order to do this, we've built out a full AST-based tagger in C#, which has allowed us to do things like detect recursion or bit shifting. We've set things up so other tracks can do the same for their languages, but its a lot of work, and we've determined that actually it may be unnecessary. Instead we think that we can use machine learning to achieve tagging with good enough results. We've fine-tuned a model that can determine the correct tags for C# from the examples with a high success rate. It's also doing reasonably well in an untrained state for other languages. We think that with only a few examples per language, we can potentially get some quite good results, and that we can then refine things further as we go.
I released a new video on the Insiders page that talks through this in more detail.
We're going to be adding a fully-fledged UI in the coming weeks that allow maintainers and mentors to tag solutions and create training sets for the neural networks, but to start with, we're hoping you would be willing to manually tag 20 solutions for this track. In this post we'll add 20 comments, each with a student's solution, and the tags our model has generated. Your mission (should you choose to accept it) is to edit the tags on each issue, removing any incorrect ones, and add any that are missing. In order to build one model that performs well across languages, it's best if you stick as closely as possible to the C# tags as you can. Those are listed here. If you want to add extra tags, that's totally fine, but please don't arbitrarily reword existing tags, even if you don't like what Erik's chosen, as it'll just make it less likely that your language gets the correct tags assigned by the neural network.
To summarise - there are two paths forward for this issue:
- You're up for helping: Add a comment saying you're up for helping. Update the tags some time in the next few days. Add a comment when you're done. We'll then add them to our training set and move forward.
- You not up for helping: No problem! Just please add a comment letting us know :)
If you tell us you're not able/wanting to help or there's no comment added, we'll automatically crowd-source this in a week or so.
Finally, if you have questions or want to discuss things, it would be best done on the forum, so the knowledge can be shared across all maintainers in all tracks.
Thanks for your help! 💙
- Ngôn ngữ chính
- JavaScript
- Star
- 652
- Fork
- 658
- Merge trung bình
- 13 giờ 46 phút
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
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/javascript
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
exercism/javascript#2865 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
exercism/javascript#2847 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 42/100
exercism/javascript#2832 ·
-
pinned :pushpin:
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 5/100
exercism/javascript#2144 ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
exercism/javascript#1882 · 2 bình luận ·
Tất cả issue của exercism/javascript
Issue tương tự
-
curriculum documentation quality
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
githubnext/gh-aw-workshop#3897 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
agent/quality hive/hosted-available-lke648397-260827-5n31 quality testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 91/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Add: RSV Honduras FeedĐang mởcheck:failed feeds:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
iptv-org/database#36179 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug] : Main navigation "Upcoming Events" link navigates to /events/ without query parameterĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
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 84/100
Maintainer thường phản hồi trong vòng 1 ngày