[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HYHZF9Z8857QWYNJX2HPAP":3,"skill-same:01M6HYHZF9Z8857QWYNJX2HPAP":60},{"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":18,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":14,"repositoryHtmlUrl":43,"repositoryHomepageUrl":6,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6HYHZF9Z8857QWYNJX2HPAP","swe-rebench-v2-test-map",null,"Walk PASS_TO_PASS test names to their source files via repo grep, identify the test-to-source ratio, and pre-load the relevant call graph into context before writing the patch.","Jinn-Network\u002Fmono","Jinn-Network","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F236846593?v=4","01M6HYDXMQQYRMV3QZPT7JYY87","Jinn Network","01M6HYDXS833N3PY8EJ5NHJGB6",2,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fswe-rebench-v2-diffmin\u002Fskills\u002Ftest-map\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"test","map","swe rebench v2 test map","writing","graph","grep","repo","context","call graph","patch","files","call","via","relevant","load","source","2026-11-10 10:12:30",false,"---\nname: swe-rebench-v2-test-map\ndescription: Walk PASS_TO_PASS test names to their source files via repo grep, identify the test-to-source ratio, and pre-load the relevant call graph into context before writing the patch.\n---\n\n# PASS_TO_PASS test mapping for SWE-rebench v2\n\nBefore writing a single line of fix code, map the test names you must preserve\n(`PASS_TO_PASS`) to their source files. This gives you an accurate picture of\nthe call graph your patch must not disturb, which is the information needed to\napply minimal-diff discipline correctly.\n\n## Why this matters\n\n`PASS_TO_PASS` names are the regressions you cannot afford. A patch that fixes\n`FAIL_TO_PASS` but breaks five `PASS_TO_PASS` tests scores zero on the\n`brier-loss.v1` evaluator. The test map shows you exactly which functions,\nstructs, and files are exercised by those tests — a constraint that shapes\nwhere you can safely edit.\n\n## Steps\n\n### Step 1: Extract PASS_TO_PASS names from the task spec\n\nThe task body includes `goal.spec.PASS_TO_PASS`, a list of test identifiers\nin the form `\u003Cmodule>::\u003Cfunction>` or `\u003Cfile>::\u003Cclass>::\u003Cmethod>`. Example:\n\n```\ngoal.spec.PASS_TO_PASS = [\n  \"test_nc_get_var_string::test_basic_string_read\",\n  \"test_fill_value::test_default_fill\",\n  \"test_fill_value::test_custom_fill\"\n]\n```\n\n### Step 2: Grep test names to source files\n\nFor each `PASS_TO_PASS` test name, grep the repo for the function or class\ndefinition. Use the filesystem tools or bash to run:\n\n```bash\ngrep -r \"test_basic_string_read\" \u003Crepo_root> --include=\"*.c\" --include=\"*.py\" -l\n```\n\nBuild a map: `test name → test file → source file under test`.\n\nIdentify the source file by reading the test: find the `#include`, `import`,\nor `open()` call that loads the module under test. This is the source file your\npatch may not break.\n\n### Step 3: Compute the test-to-source ratio\n\nCount the number of `PASS_TO_PASS` test functions that exercise each source\nfile. A high ratio (e.g. 8 tests → 1 source file) means the file is heavily\ncovered and every edit carries regression risk. A low ratio means fewer hidden\ndependencies.\n\nAnnotate your edit plan: \"source file `libsrc\u002Fvar.c` is exercised by 3\nPASS_TO_PASS tests; edits must not change the function signature or remove any\nbranch reachable from `test_fill_value`.\"\n\n### Step 4: Pre-load the call graph for the affected function\n\nRead the function you intend to edit. Trace:\n- Which sub-functions does it call?\n- Which of those sub-functions appear in the PASS_TO_PASS test map?\n\nIf a sub-function appears in the test map, your patch must not change its\nbehaviour. If it does not appear, it may be safe to touch — confirm with\nstep 3's ratio.\n\n### Step 5: Write the edit constraint list\n\nOutput a structured list summarising what the patch may and may not touch:\n\n```\nEdit constraint list:\n- File: libsrc\u002Fvar.c\n- Function: nc_get_var_string\n- Lines: 400-410\n- PASS_TO_PASS coverage: 3 tests depend on this function\n- Sub-functions NOT to touch: nc_fill_string (covered by test_fill_value::test_default_fill)\n- Safe to change: local variable stat comparison on line 402\n```\n\nThis list is the input to writing the patch itself.\n\n## Worked example: org__repo-42 (fictional)\n\n**Instance:** `org__repo-42`\n**FAIL_TO_PASS:** `test_parser::test_malformed_json`\n**PASS_TO_PASS:** `test_parser::test_valid_json`, `test_parser::test_empty_object`, `test_roundtrip::test_encode_decode`\n\n**Step 1:** Extract names — three tests to preserve.\n\n**Step 2:** Grep reveals:\n- `test_valid_json` and `test_empty_object` live in `tests\u002Ftest_parser.py`, which imports `src\u002Fparser.py`.\n- `test_encode_decode` lives in `tests\u002Ftest_roundtrip.py`, which imports both `src\u002Fparser.py` and `src\u002Fencoder.py`.\n\n**Step 3:** Ratio for `src\u002Fparser.py`: 3 tests. Ratio for `src\u002Fencoder.py`: 1 test. `src\u002Fparser.py` is more risky.\n\n**Step 4:** The function to fix is `parse_json()` in `src\u002Fparser.py`. It calls `_tokenize()` and `_validate_token()`. `_validate_token()` appears in `test_valid_json` (it is called on valid JSON). Do not change `_validate_token()`; it is covered. `_tokenize()` does not appear — lower risk.\n\n**Step 5:** Edit constraint list:\n```\n- File: src\u002Fparser.py\n- Function: parse_json\n- PASS_TO_PASS coverage: 3 tests via parse_json + _validate_token\n- Sub-functions NOT to touch: _validate_token (PASS_TO_PASS coverage)\n- Sub-functions safe to touch: _tokenize (no direct PASS_TO_PASS coverage)\n- Preferred: fix on lines 88-92 where malformed JSON triggers early return\n```\n\nThis constraint list feeds directly into the diffmin skill's heuristics: one\nhunk, one file, no renames, no changes to `_validate_token`.\n\n## Relationship to the diffmin skill\n\nThe test-map constraint list (which sub-functions are covered by\nPASS_TO_PASS) is the natural input to the diffmin skill's heuristics: it\ntells you which functions are safe to touch and which would inflate\nregression risk. The `mcp__diff-stats__diff_stats` tool described in the\ndiffmin skill can then confirm that the resulting patch satisfies the hunk\nand file count constraints.\n","# PASS_TO_PASS test mapping for SWE-rebench v2\n\nBefore writing a single line of fix code, map the test names you must preserve\n(`PASS_TO_PASS`) to their source files. This gives you an accurate picture of\nthe call graph your patch must not disturb, which is the information needed to\napply minimal-diff discipline correctly.\n\n## Why this matters\n\n`PASS_TO_PASS` names are the regressions you cannot afford. A patch that fixes\n`FAIL_TO_PASS` but breaks five `PASS_TO_PASS` tests scores zero on the\n`brier-loss.v1` evaluator. The test map shows you exactly which functions,\nstructs, and files are exercised by those tests — a constraint that shapes\nwhere you can safely edit.\n\n## Steps\n\n### Step 1: Extract PASS_TO_PASS names from the task spec\n\nThe task body includes `goal.spec.PASS_TO_PASS`, a list of test identifiers\nin the form `\u003Cmodule>::\u003Cfunction>` or `\u003Cfile>::\u003Cclass>::\u003Cmethod>`. Example:\n\n```\ngoal.spec.PASS_TO_PASS = [\n  \"test_nc_get_var_string::test_basic_string_read\",\n  \"test_fill_value::test_default_fill\",\n  \"test_fill_value::test_custom_fill\"\n]\n```\n\n### Step 2: Grep test names to source files\n\nFor each `PASS_TO_PASS` test name, grep the repo for the function or class\ndefinition. Use the filesystem tools or bash to run:\n\n```bash\ngrep -r \"test_basic_string_read\" \u003Crepo_root> --include=\"*.c\" --include=\"*.py\" -l\n```\n\nBuild a map: `test name → test file → source file under test`.\n\nIdentify the source file by reading the test: find the `#include`, `import`,\nor `open()` call that loads the module under test. This is the source file your\npatch may not break.\n\n### Step 3: Compute the test-to-source ratio\n\nCount the number of `PASS_TO_PASS` test functions that exercise each source\nfile. A high ratio (e.g. 8 tests → 1 source file) means the file is heavily\ncovered and every edit carries regression risk. A low ratio means fewer hidden\ndependencies.\n\nAnnotate your edit plan: \"source file `libsrc\u002Fvar.c` is exercised by 3\nPASS_TO_PASS tests; edits must not change the function signature or remove any\nbranch reachable from `test_fill_value`.\"\n\n### Step 4: Pre-load the call graph for the affected function\n\nRead the function you intend to edit. Trace:\n- Which sub-functions does it call?\n- Which of those sub-functions appear in the PASS_TO_PASS test map?\n\nIf a sub-function appears in the test map, your patch must not change its\nbehaviour. If it does not appear, it may be safe to touch — confirm with\nstep 3's ratio.\n\n### Step 5: Write the edit constraint list\n\nOutput a structured list summarising what the patch may and may not touch:\n\n```\nEdit constraint list:\n- File: libsrc\u002Fvar.c\n- Function: nc_get_var_string\n- Lines: 400-410\n- PASS_TO_PASS coverage: 3 tests depend on this function\n- Sub-functions NOT to touch: nc_fill_string (covered by test_fill_value::test_default_fill)\n- Safe to change: local variable stat comparison on line 402\n```\n\nThis list is the input to writing the patch itself.\n\n## Worked example: org__repo-42 (fictional)\n\n**Instance:** `org__repo-42`\n**FAIL_TO_PASS:** `test_parser::test_malformed_json`\n**PASS_TO_PASS:** `test_parser::test_valid_json`, `test_parser::test_empty_object`, `test_roundtrip::test_encode_decode`\n\n**Step 1:** Extract names — three tests to preserve.\n\n**Step 2:** Grep reveals:\n- `test_valid_json` and `test_empty_object` live in `tests\u002Ftest_parser.py`, which imports `src\u002Fparser.py`.\n- `test_encode_decode` lives in `tests\u002Ftest_roundtrip.py`, which imports both `src\u002Fparser.py` and `src\u002Fencoder.py`.\n\n**Step 3:** Ratio for `src\u002Fparser.py`: 3 tests. Ratio for `src\u002Fencoder.py`: 1 test. `src\u002Fparser.py` is more risky.\n\n**Step 4:** The function to fix is `parse_json()` in `src\u002Fparser.py`. It calls `_tokenize()` and `_validate_token()`. `_validate_token()` appears in `test_valid_json` (it is called on valid JSON). Do not change `_validate_token()`; it is covered. `_tokenize()` does not appear — lower risk.\n\n**Step 5:** Edit constraint list:\n```\n- File: src\u002Fparser.py\n- Function: parse_json\n- PASS_TO_PASS coverage: 3 tests via parse_json + _validate_token\n- Sub-functions NOT to touch: _validate_token (PASS_TO_PASS coverage)\n- Sub-functions safe to touch: _tokenize (no direct PASS_TO_PASS coverage)\n- Preferred: fix on lines 88-92 where malformed JSON triggers early return\n```\n\nThis constraint list feeds directly into the diffmin skill's heuristics: one\nhunk, one file, no renames, no changes to `_validate_token`.\n\n## Relationship to the diffmin skill\n\nThe test-map constraint list (which sub-functions are covered by\nPASS_TO_PASS) is the natural input to the diffmin skill's heuristics: it\ntells you which functions are safe to touch and which would inflate\nregression risk. The `mcp__diff-stats__diff_stats` tool described in the\ndiffmin skill can then confirm that the resulting patch satisfies the hunk\nand file count constraints.\n",{"name":5,"description":7},"next","f2aa6f30f2c7d7bcfc4c11e1f6b69f3f44c28603","operator\u002Fplugins\u002Fswe-rebench-v2-diffmin\u002Fskills\u002Ftest-map","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono","https:\u002F\u002Fgithub.com\u002FJinn-Network","2026-11-14 18:31:46",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add Jinn-Network\u002Fmono --skill swe-rebench-v2-test-map",{"tool":52,"command":53},"bunx","bunx skills add Jinn-Network\u002Fmono --skill swe-rebench-v2-test-map",{"tool":55,"command":56},"pnpm","pnpm dlx skills add Jinn-Network\u002Fmono --skill swe-rebench-v2-test-map","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fswe-rebench-v2-diffmin\u002Fskills\u002Ftest-map\u002FSKILL.md",true,[],[61,87,108,124,145,159],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":35},"01M6HYJ7FA967P7Z0KJ98Y6EDB","jinn-operator","Reference for how a Jinn Network operator ran. The operator network is parked and is not running tasks, so use this to explain the jinn CLI, the MCP tools, and the Jinn protocol, not to set up, fund, or start an operator. Activates on mentions of \"jinn\", \"jinn agent\", \"jinn network\", \"jinn run\", \"Task\", \"SolverNet\", \"restoration\", or \"SolverPlugin\" in the context of operating an agent.","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fskills\u002Fjinn-operator\u002FSKILL.md",[],[68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,26],"operator","jinn operator","use","tasks","Tools","start","network","edit","write","read","run","how","cli","Bash","MCP","up","SET","for","operating",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":35},"01M6HYJ34J55KTVBX4ECARYPYG","swe-rebench-v2-task","Reference for swe-rebench-v2.v1 task structure — input fields, repo setup, FAIL_TO_PASS\u002FPASS_TO_PASS semantics, the swe-rebench-v2-solution.v1 output schema, and how to submit a typed payload. Consult this skill when orienting on a task or constructing a solution.","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fswe-rebench-v2-runtime\u002Fskills\u002Ftask\u002FSKILL.md",[],[94,95,96,97,98,99,100,101,102,103,25,104,85,79,105,106,107],"swe rebench v2 task","task","submit","v1","reference","input","schema","how to","payload","repo setup","consult","structure","setup","output",{"skillNo":109,"name":110,"nameZh":6,"description":111,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":112,"categories":113,"keywords":114,"publishedAt":35},"01M6HYHW5ZD1JW791VGWT08KCG","swe-rebench-v2-diffmin","Bias the patch toward the smallest change that flips FAIL_TO_PASS without disturbing PASS_TO_PASS. Use diff_stats to validate hunk count, file count, and rename absence before submitting.","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fswe-rebench-v2-diffmin\u002Fskills\u002Fdiffmin\u002FSKILL.md",[],[115,116,117,118,119,28,70,120,121,122,123],"swe rebench v2 diffmin","rename","validate","change","stats","hunk","bias","diff","file",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":35},"01M6HYHR8FC1VWRCWC03B285HQ","learn","Use when running a goal end-to-end through a seven-phase learning loop. Sequences Orient → Strategize → Plan → Execute → Debrief → Improve → Memory consolidation, dispatching specialized subagents per phase, and improves itself between runs by mutating its own state directory.","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Flearner\u002Fskills\u002Flearn\u002FSKILL.md",[],[126,131,132,133,134,135,76,77,136,137,138,139,95,81,140,70,141,142,143,144],"debrief","memory","consolidation","end","state","directory","goal","plan","specialized","loop","orient","improve","strategize","learning",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"publishedAt":35},"01M6HYHJNRRRFAFQ97Y2DQMB9S","jinn-repo-task","Reference for jinn-repo.v1 task structure — input fields, repo setup (checkout of Jinn-Network\u002Fmono at base_commit), the jinn-repo-solution.v1 output schema, and how the daemon harvests your diff. Consult this skill when orienting on a task or constructing a solution.","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fjinn-repo-runtime\u002Fskills\u002Ftask\u002FSKILL.md",[],[152,25,95,107,99,153,74,154,79,155,105,104,156,97,100,103,157,85,122,158],"jinn repo task","base","at","mono","commit","daemon","checkout",{"skillNo":160,"name":161,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":162,"categories":163,"keywords":164,"publishedAt":35},"01M6HYHEW08BPA4FV5X9K6B3KX","prediction-corpus-retrieval","https:\u002F\u002Fgithub.com\u002FJinn-Network\u002Fmono\u002Fblob\u002Fnext\u002Foperator\u002Fplugins\u002Fjinn-prediction-plugin\u002Fskills\u002Fprediction-corpus-retrieval\u002FSKILL.md",[],[165,166],"retrieval","prediction corpus retrieval"]