[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M699R8Q44GVQBV10Z0DHBAJX":3,"skill-same:01M699R8Q44GVQBV10Z0DHBAJX":71},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":42,"linkOnly":43,"markdownContent":44,"markdownBody":45,"frontMatter":46,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":55,"updatedAt":56,"install":57,"resources":70},"01M699R8Q44GVQBV10Z0DHBAJX","testing-course-samples","课程示例代码验证与测试","Use wen dem ask you to validate, test, smoke-test, or run di course notebook and code samples against live Microsoft Foundry \u002F Azure OpenAI configuration. E cover environment setup (.env, az login, packages), di scripts\u002Fvalidate-notebooks.ps1 runner, how to understand PASS\u002FFAIL results, and which lessons need extra resources (Azure AI Search, GitHub MCP, Foundry Local, Playwright).","当用户要求你根据真实的 Microsoft Foundry \u002F Azure OpenAI 配置来验证、测试、冒烟测试或运行课程笔记本和代码示例时使用。涵盖环境设置（.env、az login、软件包）、scripts\u002Fvalidate-notebooks.ps1 运行器、如何理解 PASS\u002FFAIL 结果，以及哪些课程需要额外资源（Azure AI Search、GitHub MCP、Foundry Local、Playwright）。","microsoft\u002Fai-agents-for-beginners","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M6998ZK2275KMJE6Y5SEA2X2",79626,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fpcm\u002F.agents\u002Fskills\u002Ftesting-course-samples\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,10,37,38,39,40,41],"testing","testing course samples","MCP","github","playwright","test","foundry","foundry local","microsoft foundry","validate","azure ai","2026-11-10 10:12:30",false,"---\nname: testing-course-samples\ndescription: Use wen dem ask you to validate, test, smoke-test, or run di course notebook\n  and code samples against live Microsoft Foundry \u002F Azure OpenAI configuration. E\n  cover environment setup (.env, az login, packages), di scripts\u002Fvalidate-notebooks.ps1\n  runner, how to understand PASS\u002FFAIL results, and which lessons need extra resources\n  (Azure AI Search, GitHub MCP, Foundry Local, Playwright).\n---\n# Testing di Course Samples\n\nMake sure say di lesson notebooks and code samples dey run well well for one live\nMicrosoft Foundry \u002F Azure OpenAI setup. Di repo get one runner wey dey for\n[`scripts\u002Fvalidate-notebooks.ps1`](..\u002F..\u002F..\u002F..\u002F..\u002Fscripts\u002Fvalidate-notebooks.ps1) wey\ndey run every Python notebook without display and e go show PASS\u002FFAIL matrix.\n\n## Wen you go use am\n- \"Make sure say all di notebooks \u002F samples dey work for my Azure subscription.\"\n- \"Quick check di course after you upgrade packages or change models.\"\n- \"Which lessons still dey pass \u002F fail for live?\"\n\nNo use am for di AI Smoke Test GitHub Action (wey dey check *deployed*\nhosted agents — see [`tests\u002FREADME.md`](..\u002F..\u002F..\u002Ftests\u002FREADME.md)). Dis skill\ndey run di notebooks for local machine.\n\n## Wetin you go need (check first)\n1. **Python 3.12+** with all di course dependencies: `python -m pip install -r requirements.txt`\n   plus di executor: `python -m pip install nbconvert ipykernel`.\n2. **`.env` for di root of di repo** (copy am from [`.env.example`](..\u002F..\u002F..\u002F..\u002F..\u002F.env.example)) with at least:\n   - `AZURE_AI_PROJECT_ENDPOINT` — Foundry project endpoint\n     (`https:\u002F\u002F\u003Caccount>.services.ai.azure.com\u002Fapi\u002Fprojects\u002F\u003Cproject>`)\n   - `AZURE_AI_MODEL_DEPLOYMENT_NAME` — one deployment wey no old (e.g. `gpt-5-mini`)\n   - `AZURE_OPENAI_ENDPOINT` (`https:\u002F\u002F\u003Caccount>.openai.azure.com`) and `AZURE_OPENAI_DEPLOYMENT`\n     for di lessons wey dey call Azure OpenAI directly (Lesson 06, 02-azure-openai, 14 handoff\u002Fhuman-loop).\n3. **You don do `az login` finish** — di samples dey use `AzureCliCredential` (Entra ID, no need key).\n4. Make sure say di model deployment dey:\n   `az cognitiveservices account deployment list -g \u003Crg> -n \u003Caccount> -o table`.\n\n## How to run the validation\n```powershell\n# All Python notebooks (no go include .NET, .venv, site-packages, translations, skill assets)\npwsh scripts\u002Fvalidate-notebooks.ps1\n\n# One lesson, wit longer time wey e fit run per cell\npwsh scripts\u002Fvalidate-notebooks.ps1 -Filter '08-*' -Timeout 600\n\n# Only show wetin go run (no dey run anything)\npwsh scripts\u002Fvalidate-notebooks.ps1 -List\n\n# Clear interpreter (if `python` no dey for PATH, like Windows Store alias)\npwsh scripts\u002Fvalidate-notebooks.ps1 -Python \"C:\u002Fpath\u002Fto\u002Fpython.exe\"\n```\nDi script dey write di runs copy, per-notebook logs, and `results.json` go\n`$env:TEMP\\aiab-nbval` and e go exit with di number of failures.\n\nTemporary failures (shared-subscription HTTP 429 rate limits, one-time\n`AzureCliCredential` token wahala, or timeout) e go try again automatically\n(`-Retries`, default 2, plus `-RetryDelaySeconds` backoff, default 20). If\none model deployment dey always 429, check di subscription's GlobalStandard\nTPM quota (`az cognitiveservices usage list -l \u003Cregion>`) — even if you raise one\ndeployment capacity e no go help if di *subscription* quota don finish.\n\n## How to understand di results\n- `PASS` — di notebook run finish without any cell error.\n- `FAIL` — di first `*Error` \u002F `*Exception` line dey appear; open di right\n  `log_*.txt` for di output folder to see di full problem.\n- One single notebook failure dey controlled by `-Timeout` (per cell), so if one\n  human-in-the-loop cell jam, e go show `StdinNotImplementedError` instead of hang.\n\n## Lessons wey need extra things (dem go fail if no get dem)\n| Lesson | Extra requirement |\n|--------|-------------------|\n| 05 Agentic RAG | Azure AI Search (`AZURE_SEARCH_SERVICE_ENDPOINT`, key) — get fallback way wey dey memory |\n| 11 MCP \u002F GitHub | GitHub MCP server + PAT |\n| 13 memory (cognee) | `cognee` setup with one model provider |\n| 15 browser-use | Playwright browsers installed (`playwright install`) + `AZURE_OPENAI_CHAT_DEPLOYMENT_NAME` |\n| 17 local agent | Foundry Local runtime + Qwen model wey you don download (on-device, no cloud) |\n| `*-dotnet-*` notebooks | .NET Interactive kernel (no include by default; use `-IncludeDotnet`) |\n\n## How to report back\nSummarize am as PASS\u002FFAIL table grouped by lesson. Separate real regressions\n(code\u002Fconfig bugs wey need fix) from environment problems (missing Search\u002FFoundry Local\u002FPAT),\nand talk about di failing `log_*.txt` for each real failure.\n\n---\n\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER START -->\n**Disclaimer**:\nDis document don translate wit AI translation service [Co-op Translator](https:\u002F\u002Fgithub.com\u002FAzure\u002Fco-op-translator). Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER END -->","# Testing di Course Samples\n\nMake sure say di lesson notebooks and code samples dey run well well for one live\nMicrosoft Foundry \u002F Azure OpenAI setup. Di repo get one runner wey dey for\n[`scripts\u002Fvalidate-notebooks.ps1`](..\u002F..\u002F..\u002F..\u002F..\u002Fscripts\u002Fvalidate-notebooks.ps1) wey\ndey run every Python notebook without display and e go show PASS\u002FFAIL matrix.\n\n## Wen you go use am\n- \"Make sure say all di notebooks \u002F samples dey work for my Azure subscription.\"\n- \"Quick check di course after you upgrade packages or change models.\"\n- \"Which lessons still dey pass \u002F fail for live?\"\n\nNo use am for di AI Smoke Test GitHub Action (wey dey check *deployed*\nhosted agents — see [`tests\u002FREADME.md`](..\u002F..\u002F..\u002Ftests\u002FREADME.md)). Dis skill\ndey run di notebooks for local machine.\n\n## Wetin you go need (check first)\n1. **Python 3.12+** with all di course dependencies: `python -m pip install -r requirements.txt`\n   plus di executor: `python -m pip install nbconvert ipykernel`.\n2. **`.env` for di root of di repo** (copy am from [`.env.example`](..\u002F..\u002F..\u002F..\u002F..\u002F.env.example)) with at least:\n   - `AZURE_AI_PROJECT_ENDPOINT` — Foundry project endpoint\n     (`https:\u002F\u002F\u003Caccount>.services.ai.azure.com\u002Fapi\u002Fprojects\u002F\u003Cproject>`)\n   - `AZURE_AI_MODEL_DEPLOYMENT_NAME` — one deployment wey no old (e.g. `gpt-5-mini`)\n   - `AZURE_OPENAI_ENDPOINT` (`https:\u002F\u002F\u003Caccount>.openai.azure.com`) and `AZURE_OPENAI_DEPLOYMENT`\n     for di lessons wey dey call Azure OpenAI directly (Lesson 06, 02-azure-openai, 14 handoff\u002Fhuman-loop).\n3. **You don do `az login` finish** — di samples dey use `AzureCliCredential` (Entra ID, no need key).\n4. Make sure say di model deployment dey:\n   `az cognitiveservices account deployment list -g \u003Crg> -n \u003Caccount> -o table`.\n\n## How to run the validation\n```powershell\n# All Python notebooks (no go include .NET, .venv, site-packages, translations, skill assets)\npwsh scripts\u002Fvalidate-notebooks.ps1\n\n# One lesson, wit longer time wey e fit run per cell\npwsh scripts\u002Fvalidate-notebooks.ps1 -Filter '08-*' -Timeout 600\n\n# Only show wetin go run (no dey run anything)\npwsh scripts\u002Fvalidate-notebooks.ps1 -List\n\n# Clear interpreter (if `python` no dey for PATH, like Windows Store alias)\npwsh scripts\u002Fvalidate-notebooks.ps1 -Python \"C:\u002Fpath\u002Fto\u002Fpython.exe\"\n```\nDi script dey write di runs copy, per-notebook logs, and `results.json` go\n`$env:TEMP\\aiab-nbval` and e go exit with di number of failures.\n\nTemporary failures (shared-subscription HTTP 429 rate limits, one-time\n`AzureCliCredential` token wahala, or timeout) e go try again automatically\n(`-Retries`, default 2, plus `-RetryDelaySeconds` backoff, default 20). If\none model deployment dey always 429, check di subscription's GlobalStandard\nTPM quota (`az cognitiveservices usage list -l \u003Cregion>`) — even if you raise one\ndeployment capacity e no go help if di *subscription* quota don finish.\n\n## How to understand di results\n- `PASS` — di notebook run finish without any cell error.\n- `FAIL` — di first `*Error` \u002F `*Exception` line dey appear; open di right\n  `log_*.txt` for di output folder to see di full problem.\n- One single notebook failure dey controlled by `-Timeout` (per cell), so if one\n  human-in-the-loop cell jam, e go show `StdinNotImplementedError` instead of hang.\n\n## Lessons wey need extra things (dem go fail if no get dem)\n| Lesson | Extra requirement |\n|--------|-------------------|\n| 05 Agentic RAG | Azure AI Search (`AZURE_SEARCH_SERVICE_ENDPOINT`, key) — get fallback way wey dey memory |\n| 11 MCP \u002F GitHub | GitHub MCP server + PAT |\n| 13 memory (cognee) | `cognee` setup with one model provider |\n| 15 browser-use | Playwright browsers installed (`playwright install`) + `AZURE_OPENAI_CHAT_DEPLOYMENT_NAME` |\n| 17 local agent | Foundry Local runtime + Qwen model wey you don download (on-device, no cloud) |\n| `*-dotnet-*` notebooks | .NET Interactive kernel (no include by default; use `-IncludeDotnet`) |\n\n## How to report back\nSummarize am as PASS\u002FFAIL table grouped by lesson. Separate real regressions\n(code\u002Fconfig bugs wey need fix) from environment problems (missing Search\u002FFoundry Local\u002FPAT),\nand talk about di failing `log_*.txt` for each real failure.\n\n---\n\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER START -->\n**Disclaimer**:\nDis document don translate wit AI translation service [Co-op Translator](https:\u002F\u002Fgithub.com\u002FAzure\u002Fco-op-translator). Even tho we dey try make am correct, abeg make you know say automated translation fit get errors or mistakes. Di original document for dia own language na im be di correct source. For important info, make person wey sabi human translation do am. We no go responsible for any misunderstanding or wrong understanding wey fit happen because of dis translation.\n\u003C!-- CO-OP TRANSLATOR DISCLAIMER END -->",{"name":5,"description":7},"main","f09e94ffe170f8af6d3db7c42987bbe4db227723","translations\u002Fpcm\u002F.agents\u002Fskills\u002Ftesting-course-samples",26075,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners","https:\u002F\u002Faka.ms\u002Fai-agents-beginners","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-07 12:51:12",{"source":9,"skillName":5,"commands":58,"prompt":68,"zipAvailable":69},[59,62,65],{"tool":60,"command":61},"npx","npx skills add microsoft\u002Fai-agents-for-beginners --skill testing-course-samples",{"tool":63,"command":64},"bunx","bunx skills add microsoft\u002Fai-agents-for-beginners --skill testing-course-samples",{"tool":66,"command":67},"pnpm","pnpm dlx skills add microsoft\u002Fai-agents-for-beginners --skill testing-course-samples","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fpcm\u002F.agents\u002Fskills\u002Ftesting-course-samples\u002FSKILL.md",true,[],[72,83,98,113,129,139],{"skillNo":73,"name":5,"nameZh":74,"description":17,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":76,"categories":77,"keywords":82,"publishedAt":42},"01M69A206TRZ8KK0CW0HYJF5V5","测试课程示例","","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Ftesting-course-samples\u002FSKILL.md",[78,79],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":80,"categoryName":81,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSYDSNXQT2W2GMZGF0ZHH4","示例与演示技能",[31,32],{"skillNo":84,"name":85,"nameZh":86,"description":17,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":87,"categories":88,"keywords":95,"publishedAt":42},"01M69A1XRB2SFHYRMEH0K08EKZ","microsoft-docs","Microsoft 文档查询","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fmicrosoft-docs\u002FSKILL.md",[89,92],{"categoryNo":90,"categoryName":91,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":93,"categoryName":94,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",[96,10,97],"docs","microsoft docs",{"skillNo":99,"name":100,"nameZh":101,"description":17,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":102,"categories":103,"keywords":110,"publishedAt":42},"01M69A1VPZFJQ1HNGTZQ5P3WSC","local-ai-agents","本地 AI 智能体","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Flocal-ai-agents\u002FSKILL.md",[104,107],{"categoryNo":105,"categoryName":106,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BRZZF9D7PVFN5MXSPWWD61","AI 工程师",{"categoryNo":108,"categoryName":109,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BSAA4FBTWZP6X98STEHG99","智能体开发",[111,112],"ai agents","local ai agents",{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":127,"publishedAt":42},"01M69A1S947N7MM6V9JF85S2E7","jupyter-notebook","Jupyter 笔记本创建与编辑","當使用者要求建立、搭建或編輯 Jupyter 筆記本（`.ipynb`）用於實驗、探索或教學時使用；優先使用隨附範本並執行輔助腳本 `new_notebook.py` 來產生一個乾淨的起始筆記本。","当用户要求创建、搭建或编辑 Jupyter 笔记本（`.ipynb`）用于实验、探索或教学时使用；优先使用随附模板并执行辅助脚本 `new_notebook.py` 来生成一个干净的起始笔记本。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fjupyter-notebook\u002FSKILL.md",[121,124],{"categoryNo":122,"categoryName":123,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":125,"categoryName":126,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[128],"jupyter notebook",{"skillNo":130,"name":131,"nameZh":132,"description":17,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":133,"categories":134,"keywords":137,"publishedAt":42},"01M69A1Q8EXPWKZSQK69V6WF22","deploying-scalable-agents","可扩展智能体部署","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fdeploying-scalable-agents\u002FSKILL.md",[135,136],{"categoryNo":105,"categoryName":106,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":108,"categoryName":109,"taxonomyType":28,"taxonomyTypeDesc":29},[138],"deploying scalable agents",{"skillNo":140,"name":141,"nameZh":142,"description":17,"descriptionZh":75,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":149,"publishedAt":42},"01M69A1MHZTH3RH9N8VYSYG74X","azure-openai-to-responses","Azure OpenAI 迁移至 Responses API","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fai-agents-for-beginners\u002Fblob\u002Fmain\u002Ftranslations\u002Fzh-TW\u002F.agents\u002Fskills\u002Fazure-openai-to-responses\u002FSKILL.md",[145,146],{"categoryNo":105,"categoryName":106,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":147,"categoryName":148,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BT7QVANT4709358VEJK53E","代码实现",[150],"azure openai to responses"]