mirror of
https://github.com/kenhuangus/wikiskill
synced 2026-09-22 23:34:25 +08:00
CI fix: rename smoke_test.py to smoke_check.py (pytest was collecting and executing it at import)
This commit is contained in:
1 parent
ff07a2e217
commit
69066b3368
26 files changed
+439
-1
No files matched your search
@@ -0,0 +1 @@
|
||||
- [rounding-errors](wiki/patterns/rounding-errors.md): wrong answers from skipped rounding; FIX: round final result to 2 decimals.
|
||||
@@ -0,0 +1 @@
|
||||
Analyzed traces; recorded rounding-error pattern.
|
||||
@@ -0,0 +1,10 @@
|
||||
# Pattern: Rounding errors
|
||||
|
||||
## Description
|
||||
Demo pattern: naive rounding gives wrong answers.
|
||||
|
||||
## Root cause
|
||||
Skipping the final rounding step.
|
||||
|
||||
## Workaround
|
||||
Always round the final result to 2 decimals.
|
||||
@@ -0,0 +1,9 @@
|
||||
|
||||
## Iteration 1 — create 'unit-conversion'
|
||||
- validation score: 1.0000
|
||||
- outcome: Accepted
|
||||
- purpose: Created from wiki pattern rounding-errors.md.
|
||||
- diff:
|
||||
```diff
|
||||
(new skill)
|
||||
```
|
||||
Reference in new issue
Block a user