Skip to content

Adding a file for generating descriptions (v1) #206

Adding a file for generating descriptions (v1)

Adding a file for generating descriptions (v1) #206

Triggered via pull request June 9, 2025 23:01
Status Failure
Total duration 39s
Artifacts

ci.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

11 errors
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L14
Replace `m·=>·s.add(m.from·+·m.to·+·(m.promotion·??·"")));` with `(m)·=>⏎····s.add(m.from·+·m.to·+·(m.promotion·??·'')),⏎··)`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L9
Replace `····=·(p:·number)·=>·{·const·w·=·winRate(p),·l·=·winRate(-p);·return·{·w,·d:·1·-·w·-·l·};·};` with `=·(p:·number)·=>·{⏎··const·w·=·winRate(p),⏎····l·=·winRate(-p)⏎··return·{·w,·d:·1·-·w·-·l·}⏎}`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L6
Replace `·B·=·0.8,·EPS·=·0.08;` with `⏎··B·=·0.8,⏎··EPS·=·0.08`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L4
Replace `·····=·Record<string,·number[]>;` with `=·Record<string,·number[]>`
lint: src/hooks/useAnalysisController/useDescriptionGenerator.ts#L1
Replace `"chess.js";` with `'chess.js'`
Node 18 Build
Process completed with exit code 1.