PyPI / hf-xet / 1.8.0.dev0

hf-xet 1.8.0.dev0

Source
https://github.com/huggingface/xet-core
Artifact scanned
hf_xet-1.8.0.dev0.tar.gz (sdist · 974.2 KB · SHA-256 f03b30626d14…)
Compared with
hf_xet-1.7.0.tar.gz (0 signals introduced since)
Files
314 scanned, 15 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 5 info
Scan time
0.6 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-23 06:40

Signals

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

  1. identifier `Δt` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    /// Supports two decay modes:
    /// - Time-based: Decay factor for elapsed time Δt is: decay = 2^(-Δt / half_life)
    /// - Count-based: Decay factor for sample count Δn is: decay = 2^(-Δn / half_life)
    #[derive(Debug)]
  2. identifier `Δt` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    /// Supports two decay modes:
    /// - Time-based: Decay factor for elapsed time Δt is: decay = 2^(-Δt / half_life)
    /// - Count-based: Decay factor for sample count Δn is: decay = 2^(-Δn / half_life)
    #[derive(Debug)]
  3. identifier `Δn` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    /// - Time-based: Decay factor for elapsed time Δt is: decay = 2^(-Δt / half_life)
    /// - Count-based: Decay factor for sample count Δn is: decay = 2^(-Δn / half_life)
    #[derive(Debug)]
    pub struct ExpWeightedMovingAvg {
  4. identifier `Δn` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    /// - Time-based: Decay factor for elapsed time Δt is: decay = 2^(-Δt / half_life)
    /// - Count-based: Decay factor for sample count Δn is: decay = 2^(-Δn / half_life)
    #[derive(Debug)]
    pub struct ExpWeightedMovingAvg {
  5. identifier `Δt` mixes scripts: Greek + Latin (in string/comment) (raw pass, confidence 0.40)

    
                    // decay = 2^(-Δt / T½); independent of sample weight
                    let decay = (-dt_secs / *half_life_secs).exp2();
                    *last_update = now;

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 hf_xet-1.8.0.dev0.tar.gz https://files.pythonhosted.org/packages/36/f3/cec7fbe13bfea54f428142fc93edb7d729c74dfeac66a96099b6e2f41527/hf_xet-1.8.0.dev0.tar.gz
printf '%s  %s\n' f03b30626d14e51e5eea209dd325b5638f3e4ed4d4f4735c5fcc8ffa3dbcd967 hf_xet-1.8.0.dev0.tar.gz | shasum -a 256 -c -
mkdir pkg && tar -xzf hf_xet-1.8.0.dev0.tar.gz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg