You are working on the LaunchPlatform/beancount-black repository. The source code is checked out at /testbed…
You are working on the LaunchPlatform/beancount-black repository. The source code is checked out at /testbed…: a task in SWE-Lego-RL-2699 (Harbor dataset). When bean-black formats these numbers, it will use the python Decimal representation of the number python from decimal import Decimal…
The task
When bean-black formats these numbers, it will use the python Decimal representation of the number ```python from decimal import Decimal Decimal('0.0000001') # -> 1E-7 ``` The scientific notation returned by this formatting is incompatible with beancount, and results in a syntax error (it appears that the E is…
Part of Lego-X/Lego-RL-2699.