Better "expected results" in ADA
Nessuno ha ancora preso questa issue.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 13
- Fork
- 26
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di MicrosoftDocs/executable-docs
-
MicrosoftDocs/executable-docs#675 · 1 assegnatario ·
-
Enhance Content of Docs Aperta
MicrosoftDocs/executable-docs#674 · 1 assegnatario ·
-
MicrosoftDocs/executable-docs#673 · 1 assegnatario ·
-
Content descriptions unclear Aperta
MicrosoftDocs/executable-docs#672 · 1 assegnatario ·
-
MicrosoftDocs/executable-docs#671 · 1 assegnatario ·
Tutte le issue di MicrosoftDocs/executable-docs
Issue simili
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
canonical/paas-charm#368 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
tech debt
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
addition to tracking list Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
StevenBlack/hosts#3256 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
qualcomm/qai-appbuilder#275 ·