Better "expected results" in ADA
まだ誰も着手していません。
評価
この issue はまだ評価されていません。
説明
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.
- 主要言語
- Python
- スター
- 13
- フォーク
- 26
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
MicrosoftDocs/executable-docs のほかの issue
-
MicrosoftDocs/executable-docs#675 · 担当者 1 名 ·
-
MicrosoftDocs/executable-docs#674 · 担当者 1 名 ·
-
MicrosoftDocs/executable-docs#673 · 担当者 1 名 ·
-
MicrosoftDocs/executable-docs#672 · 担当者 1 名 ·
-
MicrosoftDocs/executable-docs#671 · 担当者 1 名 ·
MicrosoftDocs/executable-docs の issue をすべて見る
似ている issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
canonical/paas-charm#368 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
tech debt
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
StevenBlack/hosts#3256 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
qualcomm/qai-appbuilder#275 ·