| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 3 days | Expose Spearman, so both methods work without a dataset file main | Pjotr Prins | |
| `Spearman` was a private struct, so only `Pearson` could be constructed from outside the crate: a caller that already holds two value vectors -- a request handler, an enrichment step, a test -- could not compute the rank correlation without going through `Compute`, which means writing the dataset to a file and reading the result back out of a CSV. That is why `Pearson` was public and `Spearman` was not, and it is not a distinction worth keeping: the p-value code is the same either way. `Compute` remains the streaming path for a whole dataset. tests/in_memory.rs is an integration test (outside the crate, so it can only use the public surface) covering the three pieces that path needs: both methods in memory, the positional row parser dropping unparseable values together with their x, and the |r|-descending/NaN-last ordering. Also documents `Compute::sorter`, which orders by *signed* r while `custom_float_sorter` -- the one `compute` uses -- orders by magnitude. The two disagree for negative correlations; left as is because it is public API, but no longer silent. | |||
| 2025-11-13 | refactor: Remove reduntant tests. | Alexander_Kabui | |
| 2025-11-13 | fix(correlation): sort rho values by absolute magnitude. | Alexander_Kabui | |
| 2025-11-13 | feat: Add unittests for checking if negative correlations are handled correctly. | Alexander_Kabui | |
| 2025-03-04 | refactor: Replace redundant double-sorting with a single call to ↵ | Alexander_Kabui | |
| `custom_float_sorter`. | |||
| 2025-03-04 | Refactor `custom_float_sorter` for improved NaN and Infinity handling | Alexander_Kabui | |
| - Place NaNs at the end of the list. - Sort positive infinity (`f64::INFINITY`) before finite numbers. - Sort negative infinity (`f64::NEG_INFINITY`) after finite numbers. - Add tests for negative numbers, NaN, and Infinity cases. | |||
| 2022-11-28 | delete redundant code | AlexanderKabui | |
| 2022-11-28 | apply custom sorter | AlexanderKabui | |
| 2022-11-28 | add custom sorter function | AlexanderKabui | |
| 2022-10-11 | Filter out any traits with less than 4 items from the computation. | Frederick Muriuki Muriithi | |
| 2022-09-30 | Handle "divide-by-zero" | Frederick Muriuki Muriithi | |
| Sort NAN as less than everything else | |||
| 2022-08-15 | first row also contains values for correlation | Alexander_Kabui | |
| current datasetup passes no column names | |||
| 2022-08-08 | allow unused variables | Alexander_Kabui | |
| 2022-08-08 | clippy fixes | Alexander_Kabui | |
| 2022-08-08 | minor fixes | Alexander_Kabui | |
| 2022-08-08 | rust clippy fixes | Alexander_Kabui | |
| 2022-08-08 | remove unecessary debug statements | Alexander_Kabui | |
| 2022-08-08 | update result returned | Alexander_Kabui | |
| 2022-08-08 | fix for failing tests | Alexander_Kabui | |
| 2022-08-08 | Don't write to root | Frederick Muriuki Muriithi | |
| 2022-08-06 | Fix tests | Frederick Muriuki Muriithi | |
| - Eliminate hard-coded absolute paths from the tests and replace them with relative paths - Update tests where data formats have changed | |||
| 2022-08-06 | Remove unnecessary parsing | Frederick Muriuki Muriithi | |
| JSON already has a way to denote an array of objects, so there is no need to manually parse such arrays from strings. | |||
| 2022-08-05 | add patch for readme | Alexander_Kabui | |
| 2022-08-05 | minor fix | Alexander_Kabui | |
| 2022-07-14 | minor fixes | Alexander_Kabui | |
| 2022-07-14 | cargo formatting | Alexander_Kabui | |
| 2022-07-14 | add numoverlap to output | Alexander_Kabui | |
| 2022-07-04 | add output file path | Alexander_Kabui | |
| 2022-06-15 | minor fix | Alexander | |
| 2022-06-15 | resolve conflict | Alexander | |
| 2022-06-15 | cargo formatting | Alexander | |
| 2022-05-27 | temp disable ext sorter | Alexander | |
| 2022-05-27 | sort and write to file | Alexander | |
| 2022-05-27 | function to write to file | Alexander | |
| 2022-05-27 | update on sorter | Alexander | |
| 2022-05-26 | init implementation of extern sorting | Alexander | |
| 2022-05-26 | add sorter module | Alexander | |
| 2022-05-26 | debug code for elapsed time | Alexander | |
| 2022-05-24 | implementation of extern sorter | Alexander | |
| 2022-05-19 | modify:return tuple with row name | Alexander | |
| 2022-05-19 | update json object | Alexander | |
| 2022-05-19 | add entry point module | Alexander | |
| 2022-05-19 | code cleanup | Alexander | |
| 2022-05-18 | mv test files to tests/data | Alexander | |
| 2022-05-18 | code formatting | Alexander | |
| 2022-05-18 | add main file | Alexander | |
| 2022-05-18 | add parser for json files | Alexander | |
| 2022-05-12 | new types for correlationRow struct | Alexander | |
| 2022-05-12 | implement naive sorter for floats | Alexander | |
| 2022-05-09 | filter key names from rows | Alexander | |
