PyPI / polars-runtime-32 / 2.1.0

polars-runtime-32 2.1.0

Source
https://github.com/pola-rs/polars
Artifact scanned
polars_runtime_32-2.1.0.tar.gz (sdist · 3.7 MB · SHA-256 c575f5f3cdb8…)
Compared with
polars_runtime_32-2.0.0.tar.gz (12 signals introduced since)
Files
2245 scanned, 70 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 21 info
Scan time
3.2 s
LLM review
LLM review by claude-haiku-5-5 (Anthropic): nothing at warn or critical to review.
Disclude version
4.3.0
Scanned (UTC)
2026-10-26 15:42

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:279:44 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // Hoeffding's tail `2 exp(-t² / 2Σw²)` (KLL Lemma 1) at `t = εn`, solved for `Σw²`.
            let z = f64::sqrt(2.0 * f64::ln(2.0 / FAILURE_PROBABILITY));
  2. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:279:74 new in this release

    identifier `εn` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // Hoeffding's tail `2 exp(-t² / 2Σw²)` (KLL Lemma 1) at `t = εn`, solved for `Σw²`.
            let z = f64::sqrt(2.0 * f64::ln(2.0 / FAILURE_PROBABILITY));
  3. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:279:92 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // Hoeffding's tail `2 exp(-t² / 2Σw²)` (KLL Lemma 1) at `t = εn`, solved for `Σw²`.
            let z = f64::sqrt(2.0 * f64::ln(2.0 / FAILURE_PROBABILITY));
  4. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:282:28 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // Solve `z * sqrt(Σw²) ≤ error * n` for `k`, with `Σw² = var * (n/k)²`.
            let k_from_total_variance = |var: f64| z * f64::sqrt(var) / error;
  5. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:282:65 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // Solve `z * sqrt(Σw²) ≤ error * n` for `k`, with `Σw² = var * (n/k)²`.
            let k_from_total_variance = |var: f64| z * f64::sqrt(var) / error;
  6. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:285:13 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // `Σw²` of the compactors in units of (n/k)²:
            //   * Where c is the CAPACITY_DECAY.
            //   * Where h is the height of a compactor (counting from 0).
  7. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:293:34 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

            //   * A weight shift at height h moves a rank by at most one item's weight, so it adds
            //     (2^h)² = 4^h to `Σw²`.
            //   * So each compactor adds y_(h+1) * 4^(h+1) / (y_h * 4^h) times as many
            //     weight-shifts as the one below it:
  8. info unicode-mixed-script crates/polars-compute/src/approx_quantile.rs:312:13 new in this release

    identifier `Σw²` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
            // `Σw²` of the sampler in units of (n/k)²:
            //   * `feed` conserves weight, so at most `n / 2^h` emissions happen at height `h`,
            //     each a step of size `2^h` (KLL Lemma 2). Summed, that is at most `n * 2^L`.
  9. info unicode-homoglyph crates/polars-compute/src/approx_quantile.rs:316:44 new in this release

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            //   * Level L-1 sits at depth D = H - L and was replaced, so `k * c^D ≤ CUTOFF`.
            //     Hence `2^D ≥ (k / CUTOFF)^α` where `α = ln 2 / ln(1/c)` (KLL Theorem. 2).
            //   * Recall `n/k ≥ 2^(H-2)` ⇒ `2^H ≤ 4 * n/k`.
            //   * Compute the full variance:
  10. info unicode-homoglyph crates/polars-compute/src/approx_quantile.rs:316:55 new in this release

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            //   * Level L-1 sits at depth D = H - L and was replaced, so `k * c^D ≤ CUTOFF`.
            //     Hence `2^D ≥ (k / CUTOFF)^α` where `α = ln 2 / ln(1/c)` (KLL Theorem. 2).
            //   * Recall `n/k ≥ 2^(H-2)` ⇒ `2^H ≤ 4 * n/k`.
            //   * Compute the full variance:
  11. info unicode-homoglyph crates/polars-compute/src/approx_quantile.rs:319:73 new in this release

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            //   * Compute the full variance:
            //       n * 2^L = n * 2^H / 2^D ≤ (4 * n²/k) / (k / CUTOFF)^α
            //               = (n/k)² * 4 * k * (CUTOFF / k)^α
            let alpha = f64::ln(2.0) / f64::ln(1.0 / CAPACITY_DECAY);
  12. info unicode-homoglyph crates/polars-compute/src/approx_quantile.rs:320:59 new in this release

    identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

            //       n * 2^L = n * 2^H / 2^D ≤ (4 * n²/k) / (k / CUTOFF)^α
            //               = (n/k)² * 4 * k * (CUTOFF / k)^α
            let alpha = f64::ln(2.0) / f64::ln(1.0 / CAPACITY_DECAY);
            let sampler_var = |k: f64| 4.0 * k * f64::powf(SAMPLER_CUTOFF as f64 / k, alpha);
  13. identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

                writeln!(f, "m_index: {}", self.current_index)?;
                writeln!(f, "α[m]: {:?}", self.alpha.get(self.m))?;
            } else {
                // Index is at tail, so OOB.
  14. identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

                writeln!(f, "m_index: tail")?;
                writeln!(f, "α[m]: tail")?;
            }
  15. info whitespace-anomaly crates/polars-core/src/fmt.rs:21:1

    file mixes tab and space indentation (31 tab-indented and 1183 space-indented lines) (raw pass, confidence 0.40)

    #[cfg(any(
        feature = "dtype-date",
        feature = "dtype-datetime",
        feature = "dtype-time"
  16. identifier `α` contains homoglyph candidates: α (03B1)→a (in string/comment) (raw pass, confidence 0.35)

        /// # use polars_core::prelude::*;
        /// let df1: DataFrame = df!("Ray type" => ["α", "β", "X", "γ"])?;
        /// let df2: DataFrame = df1.drop("Ray type")?;
        ///
  17. 240 of 568 non-conventional identifiers are single-character (42%) (token pass, confidence 0.50)

  18. identifier `Aᵢ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

    /// The per-column-set predicates implied by each top-level OR conjunct of
    /// `predicate`: `(A₁∧X₁) ∨ (A₂∧X₂)` implies `A₁∨A₂` and `X₁∨X₂` when every `Aᵢ`
    /// references the same set of columns, likewise every `Xᵢ`. Each derived
  19. identifier `Xᵢ` mixes scripts: Latin + Other (in string/comment) (raw pass, confidence 0.40)

    /// `predicate`: `(A₁∧X₁) ∨ (A₂∧X₂)` implies `A₁∨A₂` and `X₁∨X₂` when every `Aᵢ`
    /// references the same set of columns, likewise every `Xᵢ`. Each derived
    /// predicate is redundant next to the original, but references a single
  20. info identifier-low-length crates/polars-utils/src/option.rs:1:1

    23 of 53 non-conventional identifiers are single-character (43%) (token pass, confidence 0.50)

  21. file mixes tab and space indentation (15 tab-indented and 48 space-indented lines) (raw pass, confidence 0.40)

    fn test_time_units_9413() {
        let start = NaiveDate::from_ymd_opt(2022, 1, 1)
            .unwrap()
            .and_hms_opt(0, 0, 0)

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o polars_runtime_32-2.1.0.tar.gz https://files.pythonhosted.org/packages/e0/a6/46e09af693326735b1fba3a8bf5a725b57136fb1342e707e75d3113c826b/polars_runtime_32-2.1.0.tar.gz
printf '%s  %s\n' c575f5f3cdb8a5f9be65477b9b4202b062593687fe62a0082add87fbd4571067 polars_runtime_32-2.1.0.tar.gz | shasum -a 256 -c -
mkdir pkg && tar -xzf polars_runtime_32-2.1.0.tar.gz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg