Skip to content

Conversation

@jqnatividad
Copy link
Collaborator

resolves #2723

This is just Phase 1, where we compute readily available addl stats from existing stats

Future phases will include being able to use a DSL (luau, python or Mini Jinja?) to add custom formulas.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR introduces a new moarstats command that computes additional statistical measures by extending existing stats CSV files generated by the stats command. This is Phase 1 of a larger feature, with future phases planned to support custom formulas via a DSL.

Key Changes

  • Implements five new statistical measures: Pearson's Second Skewness Coefficient, Range to Standard Deviation Ratio, Quartile Coefficient of Dispersion, Bowley's Skewness Coefficient, and Z-Score of Mode
  • Auto-generates baseline stats if not present, with configurable options
  • Supports custom output paths and rounding precision

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 12 comments.

Show a summary per file
File Description
src/cmd/moarstats.rs New command implementation with statistics computation logic and stats file handling
tests/test_moarstats.rs Comprehensive test suite covering basic usage, auto-generation, custom output, rounding, value verification, and edge cases
src/main.rs Registers moarstats command in full-featured build
src/mainlite.rs Registers moarstats command in lite build
src/maindp.rs Registers moarstats command in datapusher+ build
src/cmd/mod.rs Adds moarstats module declaration
tests/tests.rs Includes moarstats test module

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.

jqnatividad and others added 3 commits December 20, 2025 09:54
…ilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

jqnatividad and others added 5 commits December 20, 2025 10:18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…ing run_qsv_cmd to util

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 8 comments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

jqnatividad and others added 2 commits December 20, 2025 11:08
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@jqnatividad jqnatividad merged commit 219cf48 into master Dec 20, 2025
17 checks passed
@jqnatividad jqnatividad deleted the 2723-moarstats branch December 20, 2025 16:33
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.

moarstats: new command for even moar stats

2 participants