Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions notes/design.md
Original file line number Diff line number Diff line change
Expand Up @@ -3364,13 +3364,13 @@ oxlint はスレッド 1 本につき約 6.4 GB のアドレス空間を予約

### 14.10 テストの穴、2026-09-08 棚卸し

**検証方法を先に。** カバレッジ率ではなく**変異テスト**で見る。ソースの一箇所を壊し、`ne vp test
**検証方法を先に。** カバレッジ率ではなく**変異テスト**で見る。ソースの一箇所を壊し、`vp test
tests/lint` が落ちるかを確かめる。落ちなければ、そこはテストが 1 行も守っていない。

```sh
cp src/lint/rules/equals/paths.ts /tmp/m.bak
perl -0pi -e 's/const found = \[path\];/const found = [path];\n return found;/' src/lint/rules/equals/paths.ts
ne vp test tests/lint # 通ってしまうなら未カバー
vp test tests/lint # 通ってしまうなら未カバー
cp /tmp/m.bak src/lint/rules/equals/paths.ts
```

Expand Down
8 changes: 4 additions & 4 deletions skills/proofread/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ git diff -U0 HEAD -- '*.md' | grep -nE 'is yours|are yours|yours to|hands? back|

## 4. Let the sample carry the claim

A claim that fits a sample belongs in a fenced block, where `ne vp test docs/tools/twoslash` checks
it on every run. A negative claim fits too: declare the error code the reader would hit, as
A claim that fits a sample belongs in a fenced block, where `vp test docs/tools/twoslash` checks it
on every run. A negative claim fits too: declare the error code the reader would hit, as
`// @errors: 2339`. A code declared and never raised fails the test.

Use a throwaway probe only where the claim stays in prose, or is about something the book does not
Expand All @@ -130,6 +130,6 @@ Say plainly where a sentence's intent is unclear rather than guessing at a rewri
Then run `vp fmt` on what changed, and the docs typecheck when a fenced sample moved:

```sh
ne vp fmt <files>
ne vp test docs/tools/twoslash
vp fmt <files>
vp test docs/tools/twoslash
```
2 changes: 1 addition & 1 deletion skills/test-audit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ A test that passes whatever the source does. Break the source it covers, run it,
red:

```sh
ne vp test tests/val.test.ts
vp test tests/val.test.ts
```

What to look for first:
Expand Down
Loading