AI Slop Code RIsk Monitor

tracel-ai/burn

Burn is a next generation tensor library and Deep Learning Framework that doesn't compromise on flexibility, efficiency and portability.

4.5 Low pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for tracel-ai/burn, a Rust project with 16,094 GitHub stars. SynthScan examined 451,225 lines of code across 2066 source files, recording 1901 pattern matches distributed across 13 syntactic categories. The legacy adjusted pattern signal is 4.5 (Low pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

4.5
Adjusted Signal
4.5
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
16.1K
Stars
Rust
Language
451.2K
Lines of Code
2.1K
Files
1.9K
Pattern Hits
2026-10-12
Scan Date
0.00
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 17.2/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 1815 finding(s).

Hallucinated Dependency & Supply Chain Risk 0.9/100 · LOW

Are imports declared and package/API names verified? 26 finding(s).

Agent Over-Engineering Ratio 2.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 63 finding(s).

PR Review Velocity Impact 20.8/100 · LOW

Which changes need focused human review? 1901 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 6HIGH 0MEDIUM 77LOW 1818

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1901 distinct pattern matches across 13 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Over-Commented Block1755 hits · 1570 pts
SeverityFileLineSnippetContext
LOWCargo.toml221cubecl-environment = { git = "https://github.com/tracel-ai/cubecl", default-features = false, rev = "f70376aba4dd8126df7COMMENT
LOWdeny.toml21# output a note when they are encountered.COMMENT
LOWdeny.toml41# The default lint level for `default` features for external crates that are notCOMMENT
LOWcrates/burn-pack/src/lib.rs1#![cfg_attr(not(feature = "std"), no_std)]COMMENT
LOWcrates/burn-pack/src/lib.rs21//! ```COMMENT
LOWcrates/burn-pack/src/lib.rs41//! .unwrap();COMMENT
LOWcrates/burn-pack/src/lib.rs61//! │ Header — 10 bytes ([`HEADER_SIZE`]) │COMMENT
LOWcrates/burn-pack/src/lib.rs81//! │ tensors sliced zero-copy. │COMMENT
LOWcrates/burn-pack/src/lib.rs101//! - [`MAX_CBOR_RECURSION_DEPTH`] — deepest CBOR nesting (stack-overflow guard)COMMENT
LOWcrates/burn-pack/src/base.rs21pub const MAGIC_SIZE: usize = 4;COMMENT
LOWcrates/burn-pack/src/base.rs41/// Industry alignment choices:COMMENT
LOWcrates/burn-pack/src/base.rs61 (unaligned_start.div_ceil(TENSOR_ALIGNMENT) * TENSOR_ALIGNMENT) as usizeCOMMENT
LOWcrates/burn-pack/src/base.rs301#[derive(Debug, Clone, Serialize, Deserialize)]COMMENT
LOWcrates/burn-pack/src/atomic.rs1//! Writing a file without ever leaving a partial one at its destination.COMMENT
LOWcrates/burn-pack/src/atomic.rs21///COMMENT
LOWcrates/burn-pack/src/atomic.rs41/// let (scratch, _reserved) = AtomicFile::create(destination)?;COMMENT
LOWcrates/burn-pack/src/atomic.rs61 ///COMMENT
LOWcrates/burn-pack/src/atomic.rs121 ".{}-{}.tmp",COMMENT
LOWcrates/burn-pack/src/atomic.rs141 /// here cannot stand in for it.COMMENT
LOWcrates/burn-pack/src/atomic.rs181 /// the mode across restores what a truncating overwrite would have left. Ownership andCOMMENT
LOWcrates/burn-pack/src/atomic.rs201 "cannot carry the permissions of '{}' onto the file replacing it: {e}",COMMENT
LOWcrates/burn-pack/src/writer.rs21COMMENT
LOWcrates/burn-pack/src/writer.rs41/// blob, each tensor's [`Placement`] in write order, and the total size of the data section.COMMENT
LOWcrates/burn-pack/src/writer.rs101COMMENT
LOWcrates/burn-pack/src/writer.rs121 pub fn size(&self) -> Result<usize, Error> {COMMENT
LOWcrates/burn-pack/src/writer.rs181 /// extension. Use [`auto_extension(false)`](Self::auto_extension) to preserve the path.COMMENT
LOWcrates/burn-pack/src/writer.rs201 /// destination may hold the old container or the new one, and the finished scratch file mayCOMMENT
LOWcrates/burn-pack/src/writer.rs241 /// Write directly to a file, replacing its contents in place.COMMENT
LOWcrates/burn-pack/src/reader.rs21COMMENT
LOWcrates/burn-pack/src/tensor.rs1//! Tensor-library-agnostic tensor entry for the burnpack format.COMMENT
LOWcrates/burn-pack/src/tensor.rs21COMMENT
LOWcrates/burn-pack/src/tensor.rs41/// container from lengths alone and then draws the data one tensor at a time.COMMENT
LOWcrates/burn-pack/src/tensor.rs101/// available up front viaCOMMENT
LOWcrates/burn-pack/src/tensor.rs141 Self {COMMENT
LOWcrates/burn-pack/src/tensor.rs221 /// Named `to_` rather than `bytes` because it can cost the whole tensor: a `Deferred` oneCOMMENT
LOWcrates/burn-rl/src/lib.rs1#![warn(missing_docs)]COMMENT
LOWcrates/burn-rl/src/transition_buffer/base.rs21/// A batch of transitions.COMMENT
LOWcrates/burn-rl/src/transition_buffer/slice_access.rs1use burn_core::prelude::*;COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs1//! Shape assertion macros. Parsing and expansion live in burn-derive; these wrappers forwardCOMMENT
LOWcrates/burn-tensor/src/shape_macros.rs21/// ```COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs41/// use burn_tensor::{Tensor, assert_shape};COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs61/// use burn_tensor::{Tensor, assert_shape};COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs81/// ```COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs101 $crate::__assert_shape!($crate, $($tt)*)COMMENT
LOWcrates/burn-tensor/src/shape_macros.rs121/// With debug assertions on, a mismatch panics like [`assert_shape!`](crate::assert_shape):COMMENT
LOWcrates/burn-tensor/src/remote.rs1//! Reaching a remote compute server as a client.COMMENT
LOWcrates/burn-tensor/src/remote.rs41 /// or an [`IrohHost`] with relay or endpoint settings.COMMENT
LOWcrates/burn-tensor/src/remote.rs121 /// returned with the session it already has.COMMENT
LOWcrates/burn-tensor/src/device.rs41/// Tensors inherit that context when created and can later change it independently.COMMENT
LOWcrates/burn-tensor/src/device.rs61///COMMENT
LOWcrates/burn-tensor/src/device.rs81/// (take an integer index or a [`DeviceIndex`]), `Device::wgpu` /COMMENT
LOWcrates/burn-tensor/src/device.rs141 /// Compares devices based on hardware identity.COMMENT
LOWcrates/burn-tensor/src/device.rs261/// adapter, an externally-created wgpu setup, or just "best available").COMMENT
LOWcrates/burn-tensor/src/device.rs281COMMENT
LOWcrates/burn-tensor/src/device.rs301impl Device {COMMENT
LOWcrates/burn-tensor/src/device.rs361 /// Flex backend device.COMMENT
LOWcrates/burn-tensor/src/device.rs421 Self::new(wgpu_device(COMMENT
LOWcrates/burn-tensor/src/device.rs461 }COMMENT
LOWcrates/burn-tensor/src/device.rs501 }COMMENT
LOWcrates/burn-tensor/src/device.rs541 let _ = source;COMMENT
1695 more matches not shown…
Decorative Section Separators59 hits · 248 pts
SeverityFileLineSnippetContext
MEDIUM⚡crates/burn-pack/src/lib.rs60//! ┌──────────────────────────────────────────────────────────────┐COMMENT
MEDIUM⚡crates/burn-pack/src/lib.rs65//! ├──────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡crates/burn-pack/src/lib.rs73//! ├──────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡crates/burn-pack/src/lib.rs76//! ├──────────────────────────────────────────────────────────────┤COMMENT
MEDIUM⚡crates/burn-pack/src/lib.rs82//! └──────────────────────────────────────────────────────────────┘COMMENT
MEDIUMexamples/custom-image-dataset/src/model.rs13// ┌────────────────────┐COMMENT
MEDIUMexamples/custom-image-dataset/src/model.rs23// └────────────────────┘COMMENT
MEDIUM.github/workflows/stale-pr.yml19 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/dependencies.yml29 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/dependencies.yml34 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/dependencies.yml39 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/dependencies.yml45 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/dependencies.yml52 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml72 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml78 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml81 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml89 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml93 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml109 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml115 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml118 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml143 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml152 # # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml160 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml163 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml168 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml213 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml219 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml222 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml267 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml273 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/test.yml276 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test.yml243 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test.yml249 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml23 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml29 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml32 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml40 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml50 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml56 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml59 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml72 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml78 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml81 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml94 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml100 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml103 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml116 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml122 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/vulnerabilities.yml125 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml79 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml85 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml118 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml124 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml157 # --------------------------------------------------------------------------------COMMENT
MEDIUM.github/workflows/test-gpu.yml163 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/valgrind.yml26 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/valgrind.yml29 # --------------------------------------------------------------------------------COMMENT
MEDIUM⚡.github/workflows/valgrind.yml33 # --------------------------------------------------------------------------------COMMENT
Hallucination Indicators6 hits · 60 pts
SeverityFileLineSnippetContext
CRITICAL…es/burn-cubecl-fusion/src/optim/reduce/optimization.rs292 self.info.trace_read_fallback.resources.outputs.len()CODE
CRITICAL…ecl-fusion/src/optim/reduce_broadcasted/fuser/block.rs99 self.fuser.fuser.fuser.fuser.num_multi_block_local_inputs() > 0;CODE
CRITICALcrates/burn-nn/src/modules/rnn/gru.rs337 let bias = self.forward.update_gate.input_transform.bias.is_some();CODE
CRITICALcrates/burn-nn/src/modules/rnn/basic.rs275 let [d_input, _] = self.forward.gate.input_transform.weight.shape().dims();CODE
CRITICALcrates/burn-nn/src/modules/rnn/basic.rs276 let bias = self.forward.gate.input_transform.bias.is_some();CODE
CRITICALcrates/burn-nn/src/modules/rnn/lstm/bilstm_module.rs79 let bias = self.forward.input_gate.input_transform.bias.is_some();CODE
Structural Annotation Overuse21 hits · 40 pts
SeverityFileLineSnippetContext
LOWcrates/burn-store/src/keyremapper.rs250 // Step 1: Collect all paths and find all index positionsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/lpips/weights.rs86 // Step 1: Load backbone ImageNet weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/lpips/weights.rs96 // Step 2: Load LPIPS linear layer weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/dists/weights.rs60 // Step 1: Download and load VGG16 ImageNet backbone weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/dists/weights.rs68 // Step 2: Download DISTS alpha/beta weightsCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs573 // Step 1: Score matmul via gemmCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs600 // Step 2: Apply scale/softcap/mask/bias, online softmax, rescale outputCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs673 // Step 3: Value matmul via gemmCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs310 // Step 1: Transpose if tall matrix (more rows than columns)COMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs317 // Step 2: Normalize by Frobenius normCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs397 // Step 1: Apply momentumCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs401 // Step 2: Orthogonalize via Newton-SchulzCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs404 // Step 3: Adjust learning rate based on parameter shapeCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs407 // Step 4: Apply weight decay (using ORIGINAL lr, not adjusted)COMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs416 // Step 5: Update parameter (using ADJUSTED lr)COMMENT
LOWcrates/burn-optim/src/optim/muon.rs329 // Step 3: Newton-Schulz iterationCOMMENT
LOWcrates/burn-optim/src/optim/muon.rs346 // Step 4: Restore transpose if it was a tall matrixCOMMENT
LOWburn-book/src/onnx-import.md67### Step 1: Update `Cargo.toml`COMMENT
LOWburn-book/src/onnx-import.md83### Step 2: Update `build.rs`COMMENT
LOWburn-book/src/onnx-import.md101### Step 3: Modify `mod.rs`COMMENT
LOWburn-book/src/onnx-import.md112### Step 4: Use the Imported ModelCOMMENT
Verbosity Indicators17 hits · 34 pts
SeverityFileLineSnippetContext
LOWcrates/burn-store/src/keyremapper.rs250 // Step 1: Collect all paths and find all index positionsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/lpips/weights.rs86 // Step 1: Load backbone ImageNet weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/lpips/weights.rs96 // Step 2: Load LPIPS linear layer weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/dists/weights.rs60 // Step 1: Download and load VGG16 ImageNet backbone weightsCOMMENT
LOW⚡crates/burn-train/src/metric/vision/dists/weights.rs68 // Step 2: Download DISTS alpha/beta weightsCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs573 // Step 1: Score matmul via gemmCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs600 // Step 2: Apply scale/softcap/mask/bias, online softmax, rescale outputCOMMENT
LOWcrates/burn-flex/src/ops/attention.rs673 // Step 3: Value matmul via gemmCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs310 // Step 1: Transpose if tall matrix (more rows than columns)COMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs317 // Step 2: Normalize by Frobenius normCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs397 // Step 1: Apply momentumCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs401 // Step 2: Orthogonalize via Newton-SchulzCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs404 // Step 3: Adjust learning rate based on parameter shapeCOMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs407 // Step 4: Apply weight decay (using ORIGINAL lr, not adjusted)COMMENT
LOW⚡crates/burn-optim/src/optim/muon.rs416 // Step 5: Update parameter (using ADJUSTED lr)COMMENT
LOWcrates/burn-optim/src/optim/muon.rs329 // Step 3: Newton-Schulz iterationCOMMENT
LOWcrates/burn-optim/src/optim/muon.rs346 // Step 4: Restore transpose if it was a tall matrixCOMMENT
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…h-tests/tests/non_contiguous_indexes/export_weights.py12 # Create a list to store the layersCOMMENT
MEDIUMcrates/burn-store/benches/download_resnet18.py26 # Create a temporary directory for the modelCOMMENT
MEDIUMcrates/burn-store/benches/generate_unified_models.py39 # Create a model with 20 layers matching the Rust LargeModelCOMMENT
MEDIUMcrates/burn-store/benches/generate_unified_models.py130 # Create the large modelCOMMENT
MEDIUMcrates/burn-dataset/src/source/huggingface/importer.py48 # Create the database connection descriptor (sqlite)COMMENT
MEDIUM…pytorch-reader/src/tests/create_legacy_with_offsets.py12# Create a state dict with tensors that share storageCOMMENT
MEDIUM…pytorch-reader/src/tests/create_legacy_with_offsets.py16# Create a base tensor with known patternCOMMENT
MEDIUMcrates/pytorch-reader/src/tests/simple_legacy.py9# Create a simple state dictCOMMENT
MEDIUMcrates/burn-backend-tests/tests/autodiff/sign.rs6// >>> # Create a tensor with requires_grad=TrueCOMMENT
AI Slop Vocabulary8 hits · 24 pts
SeverityFileLineSnippetContext
MEDIUMcrates/burn-dispatch/src/backend.rs137/// Essentially, [`Dispatch`] is the single entry point for executing tensor operationsCOMMENT
MEDIUMcrates/burn-backend/src/backend/ops/modules/unfold.rs12/// The idea behind using convolution for unfolding is to leverage the sliding window mechanism ofCOMMENT
MEDIUMcrates/burn-fusion/src/stream/multi/tests.rs1186#[ignore = "timing harness; run explicitly"]COMMENT
MEDIUMcrates/burn-fusion/src/stream/execution/tests.rs3//! The primary focus is on validating the seamless interaction between these three components toCOMMENT
MEDIUMcrates/burn-nn/src/loss/lp_loss.rs28 /// - `p = 1.0`: L1 loss (MAE with mean reduction) - robust to outliersCOMMENT
MEDIUMcrates/burn-nn/src/loss/lp_loss.rs31 /// - `0 < p < 1`: More robust to outliers than L1 (quasi-norm)COMMENT
MEDIUMcrates/burn-nn/src/loss/lp_loss.rs304 // L0.5 quasi-norm: more robust to outliers than L1COMMENT
MEDIUMcrates/burn-nn/src/modules/rope_encoding.rs110 // Essentially a cache of pre-computed RoPE values.COMMENT
Unused Imports20 hits · 20 pts
SeverityFileLineSnippetContext
LOW…urn-store/pytorch-tests/tests/conv1d/export_weights.py5CODE
LOW…rch-tests/tests/missing_module_field/export_weights.py5CODE
LOW…urn-store/pytorch-tests/tests/conv2d/export_weights.py5CODE
LOW…-store/pytorch-tests/tests/embedding/export_weights.py5CODE
LOW…store/pytorch-tests/tests/layer_norm/export_weights.py5CODE
LOW…re/pytorch-tests/tests/top_level_key/export_weights.py5CODE
LOW…-store/pytorch-tests/tests/key_remap/export_weights.py5CODE
LOW…pytorch-tests/tests/conv_transpose2d/export_weights.py5CODE
LOW…pytorch-tests/tests/conv_transpose1d/export_weights.py5CODE
LOW…store/pytorch-tests/tests/group_norm/export_weights.py5CODE
LOW…rn-store/pytorch-tests/tests/boolean/export_weights.py5CODE
LOW…rn-store/pytorch-tests/tests/integer/export_weights.py5CODE
LOW…h-tests/tests/non_contiguous_indexes/export_weights.py5CODE
LOW…store/pytorch-tests/tests/batch_norm/export_weights.py5CODE
LOW…urn-store/pytorch-tests/tests/buffer/export_weights.py5CODE
LOWcrates/burn-store/benches/download_resnet18.py15CODE
LOWcrates/burn-store/benches/generate_unified_models.py22CODE
LOWcrates/pytorch-reader/src/tests/test_data.py11CODE
LOWcrates/pytorch-reader/src/tests/test_data.py12CODE
LOW…les/import-model-weights/weights/mnist_train_export.py6CODE
Slop Phrases1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUMexamples/custom-image-dataset/src/training.rs97 // NOTE: we use the CIFAR-10 test set as validation for demonstration purposesCOMMENT
Hyper-Verbose Identifiers2 hits · 2 pts
SeverityFileLineSnippetContext
LOW…rc/pytorch/tests/store/test_data/generate_enum_test.py50def generate_enum_variant_mismatch_test():CODE
LOWcrates/pytorch-reader/src/tests/create_tar_format.py50def pickle_tuple_with_torch_class(items, class_name):CODE
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWcrates/burn-store/benches/download_resnet18.py32 # Check if already downloadedCOMMENT
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippetContext
LOWcrates/burn-store/benches/download_resnet18.py66 except Exception as e:CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOW…les/import-model-weights/weights/mnist_train_export.py44CODE