trace-bug: say how much precision the rates need
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m14s
CI / checks (push) Skipped
CI / checks (pull_request) Successful in 1m14s
Calibration showed Haiku fixing the right constant but keeping only four decimal places, which passes the visible test and still loses the JPY rate's precision. An explicit plan should say so. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
25fd57351d
commit
277bff6fcd
1 file changed
+3
-1
@@ -14,6 +14,8 @@ plan: |
|
||||
3. Fix it at its source, in that shared function or the value it uses. Do
|
||||
not special-case currencies in `invoicing/invoice.py` or
|
||||
`invoicing/currency.py`: every caller of the shared function has the
|
||||
same problem, and all of them must be fixed by your change.
|
||||
same problem, and all of them must be fixed by your change. The rates in
|
||||
`invoicing/currency.py` have up to six decimal places (JPY is 0.006712),
|
||||
and no step may round a rate or fraction to fewer places than that.
|
||||
4. Run `python -m pytest -q` until every test passes.
|
||||
5. Call finish.
|
||||
Reference in new issue
Block a user