Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve Testability of Chi Square #7

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

RobbieMcKinstry
Copy link
Contributor

@RobbieMcKinstry RobbieMcKinstry commented Oct 21, 2024

Improve testability of Chi Square calc engine.

This commit is an iteration on the design of the Chi Square calculator.
I realized the calculator should be purely functional so we can write
better test cases, instead of collecting observations within the
calculator itself. This commit rewrites the calculator to be more
testable.

test: Refactor Chi Square calculator to improve testability.


Add Rust Toolchain File

Adding a Rust toolchain file allows us to ensure our CI tests against
stable. This file tells Rustup which toolchain to use, and CI will
automatically ensure Rust is running the latest version of stable, since
we include rustup update stable in our CI script.

chore: Add Rust toolchain file so we track stable.

Adding a Rust toolchain file allows us to ensure our CI tests against
stable. This file tells Rustup which toolchain to use, and CI will
automatically ensure Rust is running the latest version of stable, since
we include `rustup update stable` in our CI script.

chore: Add Rust toolchain file so we track stable.
This commit is an iteration on the design of the Chi Square calculator.
I realized the calculator should be purely functional so we can write
better test cases, instead of collecting observations within the
calculator itself. This commit rewrites the calculator to be more
testable.

test: Refactor Chi Square calculator to improve testability.
Copy link
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @RobbieMcKinstry and the rest of your teammates on Graphite Graphite

@RobbieMcKinstry RobbieMcKinstry added the enhancement New feature or request label Oct 21, 2024 — with Graphite App
@RobbieMcKinstry RobbieMcKinstry marked this pull request as ready for review October 21, 2024 02:18
@RobbieMcKinstry RobbieMcKinstry changed the title Add Rust Toolchain File Improve Testability of Chi Square Oct 21, 2024
@RobbieMcKinstry RobbieMcKinstry added this pull request to the merge queue Oct 21, 2024
Merged via the queue into trunk with commit a7baea4 Oct 21, 2024
4 checks passed
@RobbieMcKinstry RobbieMcKinstry deleted the robbie/raw-compute branch October 21, 2024 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant