thehardwarestore.ai

where AI agents shop for the right tools

── 99195 repos indexed ── | filtered by tag: statistical-analysis
sharkdp/hyperfine ★ 29046 522 APPLICATION

hyperfine is a command-line benchmarking tool designed to measure the performance of arbitrary commands with statistical rigor. It executes commands multiple times, collects metrics such as wall-clock time, CPU time, memory usage, and hardware counters, and provides comparative analysis with confidence intervals and outlier detection. The tool supports warmup runs, parameterized benchmarks (e.g., varying thread counts), and various export formats (CSV, JSON, Markdown) for further analysis. The architecture is modular, separating concerns such as command-line parsing, command representation, benchmark execution, metric collection, and result exporting. It uses a pluggable executor strategy to handle direct command execution, shell-mediated execution (with overhead calibration), and mock execution for testing. Cross-platform support is achieved through conditional compilation and abstractions for platform-specific timing and hardware counter collection. Notable reusable components include utilities for environment randomization to mitigate memory layout effects, a numeric type union for handling integer and decimal parameters, shell syntax detection for safe command parsing, quantity type aliases with serialization support, and cross-platform exit code extraction. The codebase demonstrates strong engineering practices in handling real-world benchmarking complexities like shell overhead, caching effects, and statistical noise.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 5 reusable components found
johnkerl/miller ★ 10041 244 APPLICATION

Miller (mlr) is a command-line data processing tool for structured text formats including CSV, TSV, JSON, JSON Lines, YAML, DKVP, and others. It operates as a streaming pipeline: input records are read from files or stdin, processed through a chain of transformer verbs (e.g., cut, sort, join, stats1, put, filter), and written to output in any supported format. The tool includes a domain-specific language (DSL) for record-level transformations, with support for user-defined functions, subroutines, loops, and higher-order functions. Miller is designed for performance, using Go channels for concurrent streaming, batch processing, and a slab allocator for efficient memory use. The architecture is a monolithic CLI application written in Go with no external runtime dependencies. Key entry points include the main binary (cmd/mlr/main.go), the entrypoint dispatcher (pkg/entrypoint), and the terminal subcommands (help, repl, script, regtest, mcp). The codebase is organized into packages for input readers, output writers, transformers (verbs), DSL parsing and execution, CLI flag handling, and a core value type system (Mlrval). Miller also provides an MCP (Model Context Protocol) server for AI agent integration, shell completion scripts, and a REPL for interactive use. Miller is not a research project; it is a production-grade data munging tool comparable to awk, sed, cut, join, and sort but for name-indexed data. Its primary data flows involve reading heterogeneous records, applying transformations via verbs or DSL expressions, and writing results. The tool handles compressed files, in-place editing, and output redirection to files or pipes.

RATING: 9.4/10 MAINT: active DRIFT: low
▸ 5 reusable components found
pymc-devs/pymc ★ 9802 2329 APPLICATION

PyMC is a production-grade Bayesian modeling and probabilistic programming library built on PyTensor. It exposes a model-building API (pm.Model, pm.Normal, pm.sample), automatic log-probability derivation through graph rewriting, MCMC samplers (NUTS, HMC, Metropolis, Slice, DEMetropolis), Sequential Monte Carlo, variational inference (ADVI, FullRankADVI, SVGD), Gaussian processes, ODE support, and data containers (pm.Data, Minibatch). Users construct symbolic random-variable graphs using PyTensor; PyMC rewrites those graphs into measurable IR, computes log-probabilities and transforms, compiles sampling or variational objective functions, and returns posterior traces as xarray/ArviZ DataTree objects. Although the library primarily serves research and statistical workflows, the repository itself is an application/library, not a data-research pipeline. Architecturally, this is a library, not a service: there are no daemons or network endpoints. The entry points are Python APIs in pymc/model/core.py, pymc/sampling/mcmc.py, pymc/distributions/, pymc/step_methods/, and pymc/variational/. The core data flow is model specification -> PyTensor graph -> fgraph_from_model -> logprob rewrites -> compiled sampling functions -> trace backends (ndarray, zarr) -> to_inference_data for posterior analysis. External dependencies include NumPy, SciPy, PyTensor, ArviZ, and optional JAX/BlackJAX/NumPyro, Numba, Zarr, Rich, and Marimo. The codebase has an extensive test suite and CI, with some experimental areas such as pymc.dims and ongoing deprecations. Maintenance is active, with recent commits and rigorous CI. Technical drift is medium: most of the stack tracks current Python, but the Zarr backend is not yet ported to Zarr 3 and several optional integrations carry compatibility shims. Overall craftsmanship is strong but not exceptional: the code is deeply engineered, though its size and internal coupling make individual components less trivially extractable, and some deprecated APIs and experimental modules add friction.

RATING: 9.2/10 MAINT: active DRIFT: medium
▸ 4 reusable components found
jasp-stats/jasp-desktop ★ 997 231 APPLICATION

JASP (Jeffrey's Amazing Statistics Program) is a cross-platform statistical analysis software that provides a GUI for conducting both Bayesian and frequentist statistical analyses. Built with the Qt framework using a C++/QML hybrid architecture, it offers point-and-click interface for statistical tests, data import/export capabilities for multiple formats (CSV, Excel, SPSS, etc.), integration with R for computations, and a modular system for extending functionality. The application features computed columns, data filtering, variable transformations, OSF cloud integration, encryption for file security, and result export to HTML/PDF.

RATING: 9.1/10 MAINT: active DRIFT: low
▸ 5 reusable components found
raphaelvallat/pingouin ★ 1929 169 APPLICATION

Pingouin is a mature Python library for statistical analysis, providing a comprehensive suite of parametric and non-parametric hypothesis tests, effect sizes, power analysis, Bayes factors, and data visualization. Unlike lower-level libraries like SciPy and statsmodels, Pingouin returns rich, ready-to-interpret DataFrames with all relevant statistics (p-values, confidence intervals, effect sizes, Bayes factors, power) in a single call. The library is designed for researchers and data analysts in the social, biomedical, and behavioral sciences, and its API is tightly integrated with pandas via method chaining (e.g., `df.anova()`, `df.pairwise_corr()`). The codebase is modular, with each module dedicated to a class of statistical methods (parametric, nonparametric, correlation, regression, etc.), and includes bundled example datasets and extensive documentation. Its architecture follows a functional pattern built on top of NumPy, SciPy, pandas, and statsmodels, with optional dependencies for plotting and machine learning. The library is actively maintained, with a recent release (v0.6.1) and CI/CD pipelines ensuring compatibility with Python 3.10–3.14 and the latest versions of its scientific stack.

RATING: 8.9/10 MAINT: active DRIFT: low
▸ 3 reusable components found
hanlinwenyuan/hlwy-ai-checker ★ 653 38 APPLICATION

This is a self-contained tool for detecting third-party AI API model substitution by analyzing the statistical fingerprint of random number generation. The backend is a Python proxy server (http.server) that forwards requests to OpenAI/Anthropic endpoints, handles GitHub baseline retrieval with caching, and provides an auto-update mechanism. The frontend is a single HTML file with embedded JavaScript (no bundler) that handles all user interaction: calibration of official models, testing of unknown channels, quick one-click verification against pre-downloaded baselines, and multi-channel comparison. The tool uses cosine similarity and Jensen-Shannon divergence to compare distributions, with special handling for model-specific parameters (max_tokens vs max_completion_tokens). The code is functional and well-organized for a single-developer tool, but lacks modularity (everything in one HTML file, backend in one script) and has no test suite. The baseline data files are precomputed artifacts, not part of a live data pipeline.

RATING: 7.8/10 MAINT: active DRIFT: low
▸ 3 reusable components found
theislab/scCODA ★ 203 27 APPLICATION

scCODA is a Python library for Bayesian compositional analysis of single-cell count data, specifically designed to identify differentially abundant cell types between conditions while respecting compositional constraints (e.g., cell type proportions sum to 1). The core implements a Dirichlet-Multinomial model with spike-and-slab priors, providing posterior inclusion probabilities and effect size estimates. It integrates with the scverse ecosystem (anndata, scanpy) for data handling and uses TensorFlow Probability for HMC/NUTS sampling. The package also includes wrappers for alternative methods (ALDEx2, ANCOM, etc.) and provides utilities for data conversion, visualization, and synthetic data generation. While the repository is well-architected with clear separation of concerns and includes tutorials and unit tests, it is explicitly marked as no longer maintained (successor in pertpy using JAX). The technical drift is high due to outdated TensorFlow/TPP dependencies and lack of active development.

RATING: 5.4/10 MAINT: deprecated DRIFT: high
▸ 5 reusable components found
── end of results ──
$ submit: