bashrs-oracle

Crates.iobashrs-oracle
lib.rsbashrs-oracle
version6.55.0
created_at2025-11-27 18:12:20.371788+00
updated_at2026-01-18 09:51:09.218979+00
descriptionML-powered error classification oracle for bashrs using aprender (GPU-accelerated)
homepage
repositoryhttps://github.com/paiml/bashrs
max_upload_size
id1954192
size128,233
Noah Gift (noahgift)

documentation

README

bashrs-oracle

ML-powered error classification oracle for bashrs using aprender (GPU-accelerated).

Features

  • GPU Acceleration: Uses aprender with trueno SIMD backend for fast inference
  • Error Classification: Classifies shell script errors into actionable categories
  • Fix Suggestions: Provides ML-based fix suggestions for common errors

Usage

use bashrs_oracle::{ErrorClassifier, ErrorCategory};

let classifier = ErrorClassifier::new()?;
let category = classifier.classify("unquoted variable expansion")?;

Categories

  • Security - Security vulnerabilities (injection, etc.)
  • Correctness - Logic errors and bugs
  • Style - Code style issues
  • Performance - Performance problems
  • Portability - Cross-shell compatibility issues

License

MIT OR Apache-2.0

Commit count: 1117

cargo fmt