[workshop-sync] workshop/23-ab-experiments.md: invalid \{\\{\#endif}} templating syntax and incorrect tie-break description
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 85/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- github, markdown
- Lĩnh vực
- documentation
Hướng nghiên cứu
Mở workshop/23-ab-experiments.md và kiểm tra hai khối điều kiện cùng phần giải thích về việc chọn biến thể và checkpoint được nêu trong issue. So sánh cách diễn đạt với các tài liệu tham khảo về templating và thử nghiệm A/B được liên kết trong báo cáo. Công việc hoàn tất khi cả hai thẻ đóng đều dùng cú pháp được tài liệu hóa và văn bản mô tả chính xác việc phân xử ngẫu nhiên khi hòa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Workshop file reviewed
workshop/23-ab-experiments.md
Problem 1 — invalid templating syntax
The file uses {{#endif}} to close conditional template blocks, for example:
{{#if experiments.output_style }} Write according to the output_style: ${{ experiments.output_style }}. ... {{#endif}}
This appears twice. {{#endif}} is not valid gh-aw templating syntax and will not close the conditional block.
Problem 2 — incorrect tie-break description
The file states:
On each run, gh-aw picks the variant with the lowest invocation count so far (ties are broken by first-in-array order), then saves the updated counts and uploads them as the
experimentartifact.
and the related checkpoint item:
You can predict and verify third-variant assignment order from lowest-count selection with first-in-array tie breaks
Current correct syntax
Per the live gh-aw templating reference (https://github.github.com/gh-aw/reference/templating/), conditional blocks are closed with {{/if}}, not {{#endif}} — confirmed example: {{#if expression}} ... {{/if}}.
Per the live A/B experiments reference (https://github.github.com/gh-aw/experimental/experiments/, "Statistical balancing" section):
If multiple variants are tied, including on the first run, one of them is chosen at random.
Tie-breaking is random, not deterministic first-in-array order, so the exact third/fourth/fifth-run assignment cannot be reliably predicted when counts are tied.
Suggested fix
- Replace both occurrences of
{{#endif}}with{{/if}}. - Update the explanation to: "gh-aw picks the variant with the lowest invocation count so far (ties, including on the first run, are broken at random)".
- Reword the related checkpoint item to reflect that tie-break order is random, so exact assignment order can only be predicted when counts are not tied.
Generated by 🔍 Workshop Sync Check · copilot · auto · 184.9 AIC · ⌖ 4.6 AIC · ⊞ 9.2K · ◷
- expires on Oct 14, 2026, 5:02 AM UTC
- Ngôn ngữ chính
- JavaScript
- Star
- 53
- Fork
- 35
- Merge trung bình
- 1 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 16
Chuẩn bị môi trường
Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.
- Không có Dockerfile hay tệp Docker Compose
- Không 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 githubnext/gh-aw-workshop
-
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#4638 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githubnext/gh-aw-workshop#4635 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[guidelines] side-quest-21-01-sub-agent-syntax.md: checklist checkbox count exceeds 10-item limitĐang mởdocumentation guidelines
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
githubnext/gh-aw-workshop#4409 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Markdown lint failure on mainĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
githubnext/gh-aw-workshop#3109 · 11 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
accessibility bug
Độ khó 2/5 1-2 ngày Mức phù hợp với người mới 68/100
githubnext/gh-aw-workshop#2744 · 10 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của githubnext/gh-aw-workshop
Issue tương tự
-
data
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 74/100
gaseous-project/hasheous#637 ·
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 62/100
gramps-project/gramps-web#1549 ·
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 78/100
-
change request evaluating
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
sindresorhus/eslint-plugin-unicorn#3907 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug(api): [E_INVALID_NEW_RECORD] tdocument - title over 300 characters returns 500 on createĐang mởPriority: Low Production Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
GrottoCenter/grottocenter-api#1903 ·
Maintainer thường phản hồi trong vòng 1 ngày