Skip to content

🎨 Palette: [UX improvement] Add thousands separators to numerical CLI outputs#130

Closed
EiJackGH wants to merge 2 commits into
mainfrom
palette-python-thousands-separators-2314839574868505288
Closed

🎨 Palette: [UX improvement] Add thousands separators to numerical CLI outputs#130
EiJackGH wants to merge 2 commits into
mainfrom
palette-python-thousands-separators-2314839574868505288

Conversation

@EiJackGH

Copy link
Copy Markdown
Owner

💡 What: Added thousands separators (,) to the string formatting of financial values (cash, final portfolio, profit/loss) and cryptocurrency amounts within the CLI output of the Bitcoin trading simulation.

🎯 Why: To significantly reduce cognitive load when parsing dense numerical CLI data. Numbers like $10,000.00 are far easier to read and comprehend quickly than $10000.00, providing a smoother and more "pleasant to use" interface.

📸 Before/After:
Before: Day 30: Portfolio Value: $10815.29, Cash: $10815.29, BTC: 0.0000
After: Day 30: Portfolio Value: $10,815.29, Cash: $10,815.29, BTC: 0.0000

Accessibility: This is a cognitive accessibility improvement. Chunking large numbers with commas improves scannability for all users and specifically assists those with reading or processing difficulties when interpreting large blocks of text and data logs.


PR created automatically by Jules for task 2314839574868505288 started by @EiJackGH

*   Updated `bitcoin_trading_simulation.py` to format large numerical values with commas (e.g., `$10,000.00` instead of `$10000.00`).
*   Appended UX learning to `.Jules/palette.md` noting the importance of readability for dense numerical data.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

*   Removed standard library module `venv` from `requirements.txt` to fix `pip install` failures in CI.
*   Updated `bitcoin_trading_simulation.py` to format large numerical values with commas (e.g., `$10,000.00` instead of `$10000.00`).
*   Appended UX learning to `.Jules/palette.md` noting the importance of readability for dense numerical data.

Co-authored-by: EiJackGH <172181576+EiJackGH@users.noreply.github.com>
@github-actions

github-actions Bot commented Jun 9, 2026

Copy link
Copy Markdown

Stale pull request message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant