Better "expected results" in ADA
Chưa có ai nhận issue này.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
A common failure in ADA is the result of poor result formatting. In my experience we can significantly improve on this by having the generation use a regular expression for validation rather than the similarity. This is because the system will often use truncated results (which is good from a readability perspective). For example:
{
"agentPoolProfiles": [
{
"name": "nodepool1",
"count": 1,
"vmSize": "Standard_DS2_v2",
"maxPods": 110,
"osType": "Linux"
}
],
"dnsPrefix": "AKSClusterxxx-dns",
"provisioningState": "Succeeded",
"resourceGroup": "AKSLabResourceGroupxxx",
"name": "AKSClusterxxx",
"type": "Microsoft.ContainerService/ManagedClusters",
...
}
However, this is not valid JSON and thus the validation step fails.
In this case, and in many like it, what we are actually looking for is "provisioningState": "Succeeded". Therefore for responses like this one we can use:
<!-- expected_similarity=.*Succeeded -->
On a similar note, it seems the tool gives a default similarity value of 0.3 which, for the most part, is too low to be reliable.
- Ngôn ngữ chính
- Python
- Star
- 13
- Fork
- 26
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
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 MicrosoftDocs/executable-docs
-
MicrosoftDocs/executable-docs#675 · 1 người được giao ·
-
Enhance Content of Docs Đang mở
MicrosoftDocs/executable-docs#674 · 1 người được giao ·
-
MicrosoftDocs/executable-docs#673 · 1 người được giao ·
-
Content descriptions unclear Đang mở
MicrosoftDocs/executable-docs#672 · 1 người được giao ·
-
MicrosoftDocs/executable-docs#671 · 1 người được giao ·
Tất cả issue của MicrosoftDocs/executable-docs
Issue tương tự
-
essnmx good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
-
[Feature] 奇物选择添加优先级 Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
syfoud/Simulated_Scepter#174 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
Giskard-AI/giskard-oss#2840 · 1 bình luận ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Đang mởarea: repo bug perceived difficulty: 2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
yeti-platform/yeti#1380 ·