Skip to content

feat: add python stats helpers and node debounce - #71

Open
tsah-baz wants to merge 1 commit into
mainfrom
test/cr4992-topics
Open

feat: add python stats helpers and node debounce#71
tsah-baz wants to merge 1 commit into
mainfrom
test/cr4992-topics

Conversation

@tsah-baz

@tsah-baz tsah-baz commented Aug 9, 2026

Copy link
Copy Markdown

Adds mean/median helpers in python and a debounce helper for the node example.

Testing: exercised by hand.

@baz-reviewer-dev

baz-reviewer-dev Bot commented Aug 9, 2026

Copy link
Copy Markdown

Generated description

Add mean and median helpers to compute Python statistics with empty-input validation, and add a Node debounce helper that delays execution until calls stop. Update the statistics and example utility components to provide these reusable behaviors.

Topics
TopicDetails
Node debouncing Add debounce to cancel pending timers and invoke the latest call after the configured wait period.
Modified files (1)
  • node/debounce.js
Latest Contributors(1)
UserCommitDate
tsah@Tsahs-MacBook-Pro...feat: add python stats...August 09, 2026
Python statistics Add mean and median to calculate averages and middle values for non-empty numeric collections, including sorting and even-length handling.
Modified files (1)
  • python/stats.py
Latest Contributors(1)
UserCommitDate
tsah@Tsahs-MacBook-Pro...feat: add python stats...August 09, 2026

Review this PR on Baz | Customize your next review

@tsah-baz

Copy link
Copy Markdown
Author

Baz summarize

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant