[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6F1Z264JYJR7MSHWP08HYED":3,"skill-same:01M6F1Z264JYJR7MSHWP08HYED":61},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":23,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":39,"commitSha":40,"skillDirectory":41,"forksCount":42,"repositoryHtmlUrl":43,"repositoryHomepageUrl":44,"ownerHtmlUrl":45,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":46,"install":47,"resources":60},"01M6F1Z264JYJR7MSHWP08HYED","testing.update_test_outcomes",null,"Update the expected outcome of failing unit tests","causify-ai\u002Fhelpers","causify-ai","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F121828442?v=4","01M6BZFTHW2MQR7FWK8CDW0DRA","Causify.AI","01M6F1K6CCKKF8YKTBN4ZV509G",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftesting.update_test_outcomes\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33],"testing","test","update","testing update test outcomes","outcomes","unit tests","haiku","outcome","tests","unit","2026-11-10 10:12:30",false,"---\ndescription: Update the expected outcome of failing unit tests\nmodel: haiku\n---\n\n# Goal\n- The user passes you a list of tests or a repro script with tests failing\n  `\u003CFAILING_TESTS>` because of mismatching actual vs expected outputs\n\n# Important\n- For all code you must follow the instructions in\n  `.claude\u002Fskills\u002Fcoding.rules.md`\n- Follow the invariants and conventions for unit tests in\n  `.claude\u002Fskills\u002Ftesting.rules.md`\n\n# Workflow\n\n## Run the Failing Tests\n- Run the tests one at the time in the way the user suggested to verify that the\n  tests are failing due to mismatching outputs\n\n## Classify the Assertion Method\n- Check each failing test method and find out if the result is checked with\n  - `self.check_string()`\n  - `self.assert_equal()` or similar assertion (e.g.,\n    `hunteuti.assert_sys_calls()`, `self.assertEqual()`)\n\n- Print a table with the following info:\n  path of test | fail \u002F pass | check_string or assert_equal\n  ```text\n  | Path | Test | Status | Assertion Method |\n  |------|------|--------|------------------|\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_latex_options::test1 | FAIL | self.assert_equal() with fuzzy_match=True |\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_latex_options::test2 | FAIL | self.assert_equal() with fuzzy_match=True |\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_output_types::test1 | FAIL | self.assert_equal() with fuzzy_match=True |\n  ```\n\n- Save this to a file `tmp.update_test_outcomes.failing_tests.md`\n\n## Update the Expected Output\n- For each failing test method:\n  - If the result is checked with `self.check_string()`\n    - Run the test adding the pytest option `--update_golden` to refresh the output\n  - If the result is checked with `self.assert_equal()` or similar assertions\n    (e.g., `hunteuti.assert_sys_calls()`) read the file\n    `\u003CTEST_DIR>\u002Ftmp.initial.actual.txt`\n    (e.g., `dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Foutcomes\u002FTest_run_pandoc_to_html.test1`)\n    containing the actual variable and update the `expected` variable\n    - E.g.,\n      ```python\n      expected = \"\"\"\n      [{'args': (f'jupytext --to ipynb --update {py_file}',),\n        'function': 'hsystem.system',\n        'kwargs': {}},\n       {'args': (f'jupytext --sync {py_file}',),\n        'function': 'hsystem.system',\n        'kwargs': {}}]\n      \"\"\"\n      ```\n\n- Follow the directions in `.claude\u002Fskills\u002Ftesting.rules.md`\n  - `## Code Formatting in Tests`\n  - `# Test Input and Output Handling`\n\n- Do not change way of checking results\n  - E.g., do not replace `self.assert*()` with `self.check_string()` and vice\n    versa\n  - E.g., do not replace `self.assert*()` with `self.assertIn()`\n\n# Verification\n- [ ] Run all the tests to make sure they are passing\n","# Goal\n- The user passes you a list of tests or a repro script with tests failing\n  `\u003CFAILING_TESTS>` because of mismatching actual vs expected outputs\n\n# Important\n- For all code you must follow the instructions in\n  `.claude\u002Fskills\u002Fcoding.rules.md`\n- Follow the invariants and conventions for unit tests in\n  `.claude\u002Fskills\u002Ftesting.rules.md`\n\n# Workflow\n\n## Run the Failing Tests\n- Run the tests one at the time in the way the user suggested to verify that the\n  tests are failing due to mismatching outputs\n\n## Classify the Assertion Method\n- Check each failing test method and find out if the result is checked with\n  - `self.check_string()`\n  - `self.assert_equal()` or similar assertion (e.g.,\n    `hunteuti.assert_sys_calls()`, `self.assertEqual()`)\n\n- Print a table with the following info:\n  path of test | fail \u002F pass | check_string or assert_equal\n  ```text\n  | Path | Test | Status | Assertion Method |\n  |------|------|--------|------------------|\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_latex_options::test1 | FAIL | self.assert_equal() with fuzzy_match=True |\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_latex_options::test2 | FAIL | self.assert_equal() with fuzzy_match=True |\n  | dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Ftest_notes_to_pdf.py | Test_notes_to_pdf_output_types::test1 | FAIL | self.assert_equal() with fuzzy_match=True |\n  ```\n\n- Save this to a file `tmp.update_test_outcomes.failing_tests.md`\n\n## Update the Expected Output\n- For each failing test method:\n  - If the result is checked with `self.check_string()`\n    - Run the test adding the pytest option `--update_golden` to refresh the output\n  - If the result is checked with `self.assert_equal()` or similar assertions\n    (e.g., `hunteuti.assert_sys_calls()`) read the file\n    `\u003CTEST_DIR>\u002Ftmp.initial.actual.txt`\n    (e.g., `dev_scripts_helpers\u002Fdocumentation\u002Ftest\u002Foutcomes\u002FTest_run_pandoc_to_html.test1`)\n    containing the actual variable and update the `expected` variable\n    - E.g.,\n      ```python\n      expected = \"\"\"\n      [{'args': (f'jupytext --to ipynb --update {py_file}',),\n        'function': 'hsystem.system',\n        'kwargs': {}},\n       {'args': (f'jupytext --sync {py_file}',),\n        'function': 'hsystem.system',\n        'kwargs': {}}]\n      \"\"\"\n      ```\n\n- Follow the directions in `.claude\u002Fskills\u002Ftesting.rules.md`\n  - `## Code Formatting in Tests`\n  - `# Test Input and Output Handling`\n\n- Do not change way of checking results\n  - E.g., do not replace `self.assert*()` with `self.check_string()` and vice\n    versa\n  - E.g., do not replace `self.assert*()` with `self.assertIn()`\n\n# Verification\n- [ ] Run all the tests to make sure they are passing\n",{"model":30,"description":7},"master","804ae3e928c04740cec553be0eb28c8d06ff420e",".claude\u002Fskills\u002Ftesting.update_test_outcomes",1,"https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers","https:\u002F\u002Fcausify-ai.github.io\u002Fhelpers\u002F","https:\u002F\u002Fgithub.com\u002Fcausify-ai","2026-11-02 21:54:29",{"source":8,"skillName":5,"commands":48,"prompt":58,"zipAvailable":59},[49,52,55],{"tool":50,"command":51},"npx","npx skills add causify-ai\u002Fhelpers --skill testing.update_test_outcomes",{"tool":53,"command":54},"bunx","bunx skills add causify-ai\u002Fhelpers --skill testing.update_test_outcomes",{"tool":56,"command":57},"pnpm","pnpm dlx skills add causify-ai\u002Fhelpers --skill testing.update_test_outcomes","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftesting.update_test_outcomes\u002FSKILL.md",true,[],[62,81,99,111,120,134],{"skillNo":63,"name":64,"nameZh":6,"description":65,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":71,"publishedAt":34},"01M6F209RASRBEK7GBNG5M00K0","tutorial_in_60_mins.propagate_docker_changes","Sync tutorial and class-project Docker files to match project_template","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.propagate_docker_changes\u002FSKILL.md",[68],{"categoryNo":69,"categoryName":70,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",[72,73,74,75,76,77,30,78,79,80],"docker","tutorial","tutorial in 60 mins propagate docker changes","propagate","template","sync","files","project","match",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":90,"publishedAt":34},"01M6F207XZ5YDAJ0KNDRE6EN0R","tutorial_in_60_mins.merge_markdown","Merge the content of a markdown file into a Jupyter notebook","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.merge_markdown\u002FSKILL.md",[87],{"categoryNo":88,"categoryName":89,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000002","文档处理",[91,92,73,93,94,95,30,96,97,98],"markdown","merge","tutorial in 60 mins merge markdown","notebook","jupyter","file","jupyter notebook","content",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":34},"01M6F2059X95Q1A13HD67E9JRF","tutorial_in_60_mins.format","Format a directory to follow the \"Learn X in 60 Minutes\" tutorial conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.format\u002FSKILL.md",[],[106,73,107,108,109,30,110],"tutorial in 60 mins format","format","directory","learn","conventions",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":34},"01M6F202MDHMNYD5S1YHG2PKZD","tutorial_in_60_mins.create","Create a tutorial directory for the Learn X in 60 Minutes conventions","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftutorial_in_60_mins.create\u002FSKILL.md",[],[118,73,119,109,108,110],"tutorial in 60 mins create","create",{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"publishedAt":34},"01M6F2004BW13GQ59N3RGSAYVN","todo.reorg_in_progress","Reorganize ai_task_queue.md so in-progress tasks, not-started tasks, and mislabeled topic headers sit under the right H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_in_progress\u002FSKILL.md",[],[127,128,129,130,131,132,133],"progress","todo","todo reorg in progress","tasks","queue","task","stage",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":34},"01M6F1ZXN0G6HBD08GT8HE5FYA","todo.reorg_headers","Reorganize ai_task_queue.md .md so every H2 topic matches ALL TOPICS and every H3 task sits under the right topic, keeping its H1 stage","https:\u002F\u002Fgithub.com\u002Fcausify-ai\u002Fhelpers\u002Fblob\u002Fmaster\u002F.claude\u002Fskills\u002Ftodo.reorg_headers\u002FSKILL.md",[],[141,128,131,132,133],"todo reorg headers"]