Repository Analysis

Robbyant/lingbot-map

A feed-forward 3D foundation model for reconstructing scenes from streaming data

37.7 Strong AI signal View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of Robbyant/lingbot-map, a Python project with 10,657 GitHub stars. SynthScan v2.0 examined 40,687 lines of code across 166 source files, recording 754 pattern matches distributed across 16 syntactic categories. The overall adjusted score of 37.7 places this repository in the Strong AI signal band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

37.7
Adjusted Score
37.7
Raw Score
100%
Time Factor
2026-07-12
Last Push
10.7K
Stars
Python
Language
40.7K
Lines of Code
166
Files
754
Pattern Hits
2026-07-14
Scan Date
0.26
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 0HIGH 43MEDIUM 277LOW 434

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 754 distinct pattern matches across 16 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Decorative Section Separators260 hits · 849 pts
SeverityFileLineSnippetContext
MEDIUMgct_profile.py21# ============================================================================COMMENT
MEDIUMgct_profile.py23# ============================================================================COMMENT
MEDIUMgct_profile.py60# ============================================================================COMMENT
MEDIUMgct_profile.py62# ============================================================================COMMENT
MEDIUMgct_profile.py115 # ── Phase 2: causal streaming, one frame at a time ─────────────────────COMMENT
MEDIUMgct_profile.py140# ============================================================================COMMENT
MEDIUMgct_profile.py142# ============================================================================COMMENT
MEDIUMgct_profile.py220# ============================================================================COMMENT
MEDIUMgct_profile.py222# ============================================================================COMMENT
MEDIUMdemo.py52# =============================================================================COMMENT
MEDIUMdemo.py54# =============================================================================COMMENT
MEDIUMdemo.py127# =============================================================================COMMENT
MEDIUMdemo.py129# =============================================================================COMMENT
MEDIUMdemo.py166# =============================================================================COMMENT
MEDIUMdemo.py168# =============================================================================COMMENT
MEDIUMdemo.py250# =============================================================================COMMENT
MEDIUMdemo.py252# =============================================================================COMMENT
MEDIUMdemo.py338# =============================================================================COMMENT
MEDIUMdemo.py340# =============================================================================COMMENT
MEDIUMdemo.py423 # ── Load images & model ──────────────────────────────────────────────────COMMENT
MEDIUMdemo.py501 # ── Optional: torch.compile + CUDA-graph warmup (streaming only) ────────COMMENT
MEDIUMdemo.py539 # ── Inference ────────────────────────────────────────────────────────────COMMENT
MEDIUMdemo.py572 # ── Post-process ─────────────────────────────────────────────────────────COMMENT
MEDIUMdemo.py583 # ── Visualize ────────────────────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py130 # ── Page pool sizing ─────────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py140 # ── Physical paged KV caches ─────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py150 # ── Per-block state ──────────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py177 # ── FlashInfer wrapper ───────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py198 # =========================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py200 # =========================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py373 # ── fp32 gather+SDPA path ─────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py386 # ── Plan once per frame step ──────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py416 # ── Run attention for this layer ──────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py434 # =========================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py436 # =========================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py472 # ── Internal write helpers ────────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py555 # ── Legacy property (used by stream.py) ──────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py563# =============================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py565# =============================================================================COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py610 # ── Page count checks ───────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py627 # ── last_page_len ────────────────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py633 # ── visible page table order ─────────────────────────────────────────COMMENT
MEDIUMlingbot_map/layers/flashinfer_cache.py641 # ── forward pass: plan() once for block 0, run() for both blocks ─────COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py360 # ── Flow-based keyframe helpers ────────────────────────────────────────COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py667 # ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py669 # ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py1083 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py1085 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py1182 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window.py1184 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py423 # ── Flow-based keyframe helpers ────────────────────────────────────────COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py730 # ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py732 # ══════════════════════════════════════════════════════════════════════COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py1145 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py1147 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py1244 # ================================================================COMMENT
MEDIUMlingbot_map/models/gct_stream_window_v2.py1246 # ================================================================COMMENT
MEDIUMbenchmark/run.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMbenchmark/run.py29# ---------------------------------------------------------------------------COMMENT
MEDIUMbenchmark/run.py87# ---------------------------------------------------------------------------COMMENT
200 more matches not shown…
Unused Imports156 hits · 144 pts
SeverityFileLineSnippetContext
LOWlingbot_map/layers/attention.py10CODE
LOWlingbot_map/layers/attention.py11CODE
LOWlingbot_map/layers/attention.py12CODE
LOWlingbot_map/layers/attention.py13CODE
LOWlingbot_map/layers/attention.py22CODE
LOWlingbot_map/layers/attention.py32CODE
LOWlingbot_map/layers/attention.py33CODE
LOWlingbot_map/layers/attention.py33CODE
LOWlingbot_map/layers/attention.py26CODE
LOWlingbot_map/layers/swiglu_ffn.py8CODE
LOWlingbot_map/layers/__init__.py1CODE
LOWlingbot_map/layers/__init__.py2CODE
LOWlingbot_map/layers/__init__.py3CODE
LOWlingbot_map/layers/__init__.py4CODE
LOWlingbot_map/layers/__init__.py5CODE
LOWlingbot_map/layers/rope.py23CODE
LOWlingbot_map/layers/block.py10CODE
LOWlingbot_map/layers/block.py11CODE
LOWlingbot_map/layers/block.py12CODE
LOWlingbot_map/layers/block.py12CODE
LOWlingbot_map/layers/block.py12CODE
LOWlingbot_map/layers/block.py12CODE
LOWlingbot_map/layers/block.py13CODE
LOWlingbot_map/layers/block.py20CODE
LOWlingbot_map/layers/block.py20CODE
LOWlingbot_map/aggregator/__init__.py1CODE
LOWlingbot_map/aggregator/__init__.py2CODE
LOWlingbot_map/aggregator/stream.py16CODE
LOWlingbot_map/utils/pose_enc.py9CODE
LOWlingbot_map/utils/pose_enc.py12CODE
LOWlingbot_map/utils/pose_enc.py13CODE
LOWlingbot_map/utils/pose_enc.py14CODE
LOWlingbot_map/utils/pose_enc.py15CODE
LOWlingbot_map/utils/pose_enc.py16CODE
LOWlingbot_map/utils/pose_enc.py18CODE
LOWlingbot_map/utils/geometry.py7CODE
LOWlingbot_map/utils/rotation.py10CODE
LOWlingbot_map/heads/utils.py8CODE
LOWlingbot_map/heads/camera_head.py7CODE
LOWlingbot_map/heads/camera_head.py8CODE
LOWlingbot_map/heads/camera_head.py12CODE
LOWlingbot_map/heads/dpt_head.py11CODE
LOWlingbot_map/heads/dpt_head.py12CODE
LOWlingbot_map/models/gct_base.py15CODE
LOWlingbot_map/models/gct_stream.py15CODE
LOWlingbot_map/vis/__init__.py31CODE
LOWlingbot_map/vis/__init__.py32CODE
LOWlingbot_map/vis/__init__.py33CODE
LOWlingbot_map/vis/__init__.py33CODE
LOWlingbot_map/vis/__init__.py33CODE
LOWlingbot_map/vis/__init__.py33CODE
LOWlingbot_map/vis/__init__.py34CODE
LOWlingbot_map/vis/__init__.py34CODE
LOWlingbot_map/vis/__init__.py34CODE
LOWlingbot_map/vis/__init__.py34CODE
LOWlingbot_map/vis/__init__.py40CODE
LOWbenchmark/evaluate.py16CODE
LOWbenchmark/benchmark/core/config.py16CODE
LOWbenchmark/benchmark/core/registry.py7CODE
LOWbenchmark/benchmark/core/registry.py8CODE
96 more matches not shown…
Cross-File Repetition27 hits · 135 pts
SeverityFileLineSnippetContext
HIGHlingbot_map/models/gct_stream_window.py0gctstream - streaming gct with kv cache for online inference. provides streaming inference functionality: - temporal cauSTRING
HIGHlingbot_map/models/gct_stream.py0gctstream - streaming gct with kv cache for online inference. provides streaming inference functionality: - temporal cauSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0gctstream - streaming gct with kv cache for online inference. provides streaming inference functionality: - temporal cauSTRING
HIGHlingbot_map/models/gct_stream_window.py0streaming gct model with kv cache for efficient online inference. features: - aggregatorstream with kv cache support (flSTRING
HIGHlingbot_map/models/gct_stream.py0streaming gct model with kv cache for efficient online inference. features: - aggregatorstream with kv cache support (flSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0streaming gct model with kv cache for efficient online inference. features: - aggregatorstream with kv cache support (flSTRING
HIGHlingbot_map/models/gct_stream_window.py0initialize gctstream. args: img_size: input image size patch_size: patch size for embedding embed_dim: embedding dimensiSTRING
HIGHlingbot_map/models/gct_stream.py0initialize gctstream. args: img_size: input image size patch_size: patch size for embedding embed_dim: embedding dimensiSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0initialize gctstream. args: img_size: input image size patch_size: patch size for embedding embed_dim: embedding dimensiSTRING
HIGHlingbot_map/models/gct_stream_window.py0build streaming aggregator with kv cache support (flashinfer backend). returns: aggregatorstream moduleSTRING
HIGHlingbot_map/models/gct_stream.py0build streaming aggregator with kv cache support (flashinfer backend). returns: aggregatorstream moduleSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0build streaming aggregator with kv cache support (flashinfer backend). returns: aggregatorstream moduleSTRING
HIGHlingbot_map/models/gct_stream_window.py0build causal camera head for streaming inference. returns: cameracausalhead module or noneSTRING
HIGHlingbot_map/models/gct_stream.py0build causal camera head for streaming inference. returns: cameracausalhead module or noneSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0build causal camera head for streaming inference. returns: cameracausalhead module or noneSTRING
HIGHlingbot_map/models/gct_stream_window.py0run aggregator to get multi-scale features. args: images: input images [b, s, 3, h, w] num_frame_for_scale: number of frSTRING
HIGHlingbot_map/models/gct_stream.py0run aggregator to get multi-scale features. args: images: input images [b, s, 3, h, w] num_frame_for_scale: number of frSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0run aggregator to get multi-scale features. args: images: input images [b, s, 3, h, w] num_frame_for_scale: number of frSTRING
HIGHlingbot_map/models/gct_stream_window.py0clean kv cache in aggregator. call this method when starting a new video sequence to clear cached key-value pairs from pSTRING
HIGHlingbot_map/models/gct_stream.py0clean kv cache in aggregator. call this method when starting a new video sequence to clear cached key-value pairs from pSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0clean kv cache in aggregator. call this method when starting a new video sequence to clear cached key-value pairs from pSTRING
HIGHlingbot_map/models/gct_stream_window.py0set _skip_append flag on all kv caches (aggregator + camera head). when skip=true, attention layers will attend to [cachSTRING
HIGHlingbot_map/models/gct_stream.py0set _skip_append flag on all kv caches (aggregator + camera head). when skip=true, attention layers will attend to [cachSTRING
HIGHlingbot_map/models/gct_stream_window_v2.py0set _skip_append flag on all kv caches (aggregator + camera head). when skip=true, attention layers will attend to [cachSTRING
HIGHlingbot_map/models/gct_stream_window.py0get information about current kv cache state. returns: dictionary with cache statistics: - num_cached_blocks: number of STRING
HIGHlingbot_map/models/gct_stream.py0get information about current kv cache state. returns: dictionary with cache statistics: - num_cached_blocks: number of STRING
HIGHlingbot_map/models/gct_stream_window_v2.py0get information about current kv cache state. returns: dictionary with cache statistics: - num_cached_blocks: number of STRING
Excessive Try-Catch Wrapping83 hits · 91 pts
SeverityFileLineSnippetContext
LOWlingbot_map/aggregator/base.py229 except Exception as e:CODE
LOWlingbot_map/models/gct_stream.py70 except Exception as e: # pragma: no cover — debug helper, never fatalCODE
LOWlingbot_map/models/gct_stream_window_v2.py87 except Exception as e: # pragma: no cover — debug helper, never fatalCODE
LOWlingbot_map/vis/sky_segmentation.py248 except Exception as e:CODE
MEDIUMlingbot_map/vis/glb_export.py509 print(f"Error downloading file: {e}")CODE
LOWlingbot_map/vis/point_cloud_viewer.py1280 except Exception as e:CODE
LOWlingbot_map/vis/point_cloud_viewer.py1333 except Exception as e:CODE
LOWlingbot_map/vis/point_cloud_viewer.py1364 except Exception as e:CODE
MEDIUMlingbot_map/vis/point_cloud_viewer.py1365 print(f"Error saving video: {e}")CODE
LOWlingbot_map/vis/point_cloud_viewer.py1405 except Exception as e:CODE
MEDIUMlingbot_map/vis/point_cloud_viewer.py1406 print(f"Error saving original video: {e}")CODE
LOWbenchmark/run.py82 except Exception as e:CODE
LOWbenchmark/run.py134 except Exception as e:CODE
MEDIUMbenchmark/run.py135 print(f"Error loading config: {e}")CODE
LOWbenchmark/run.py188 except Exception as e:CODE
LOWbenchmark/run.py209 except Exception as e:CODE
LOWbenchmark/run.py276 except Exception as e:CODE
MEDIUMbenchmark/viewer.py450def _run():CODE
LOWbenchmark/viewer.py243 except Exception as e:CODE
LOWbenchmark/viewer.py290 except Exception as e:CODE
LOWbenchmark/viewer.py322 except Exception as e:CODE
LOWbenchmark/viewer.py408 except Exception:CODE
LOWbenchmark/viewer.py1856 except Exception as e:CODE
LOWbenchmark/viewer.py149 except Exception as e:CODE
LOWbenchmark/viewer.py187 except Exception as e:CODE
LOWbenchmark/viewer.py260 except Exception:CODE
LOWbenchmark/viewer.py279 except Exception as e:CODE
LOWbenchmark/viewer.py311 except Exception as e:CODE
LOWbenchmark/viewer.py815 except Exception as e:CODE
LOWbenchmark/viewer.py884 except Exception:CODE
LOWbenchmark/viewer.py1087 except Exception as e:CODE
LOWbenchmark/viewer.py1122 except Exception as e2:CODE
LOWbenchmark/viewer.py1153 except Exception as e:CODE
LOWbenchmark/viewer.py1198 except Exception as e:CODE
LOWbenchmark/viewer.py1269 except Exception as e:CODE
LOWbenchmark/viewer.py1834 except Exception as e:CODE
LOWbenchmark/evaluate.py120 except Exception as e:CODE
MEDIUMbenchmark/evaluate.py121 print(f"Error loading config: {e}")CODE
LOWbenchmark/evaluate.py182 except Exception as e:CODE
LOWbenchmark/evaluate.py231 except Exception as e:CODE
LOWbenchmark/report.py51 except Exception as exc:CODE
LOWbenchmark/prepare.py86 except Exception as e:CODE
LOWbenchmark/prepare.py125 except Exception as e:CODE
LOWbenchmark/prepare.py145 except Exception as e:CODE
MEDIUMbenchmark/prepare.py146 print(f"Error loading config: {e}")CODE
LOWbenchmark/prepare.py185 except Exception as e:CODE
LOWbenchmark/prepare.py192 except Exception as e:CODE
LOWbenchmark/prepare.py202 except Exception as e:CODE
LOWbenchmark/run_worker.py79 except Exception as e:CODE
LOWbenchmark/run_worker.py103 except Exception as e:CODE
MEDIUMbenchmark/run_worker.py104 print(f"Error loading config: {e}", file=sys.stderr)CODE
LOWbenchmark/run_worker.py127 except Exception as e:CODE
LOWbenchmark/run_worker.py160 except Exception as e:CODE
LOWbenchmark/benchmark/core/saver.py271 except Exception as e:CODE
LOWbenchmark/benchmark/core/loader.py374 except Exception:CODE
LOWbenchmark/benchmark/core/evaluator.py133 except Exception as e:CODE
LOWbenchmark/benchmark/core/evaluator.py158 except Exception as e:CODE
LOWbenchmark/benchmark/core/evaluator.py177 except Exception as e:CODE
LOWbenchmark/benchmark/core/evaluator.py197 except Exception as e:CODE
LOWbenchmark/benchmark/evaluation/points.py527 except Exception as e:CODE
23 more matches not shown…
Docstring Block Structure16 hits · 80 pts
SeverityFileLineSnippetContext
HIGHlingbot_map/layers/rope.py160Applies 2D rotary position embeddings to input tokens. Args: tokens: Input tensor of shape (batch_sSTRING
HIGHlingbot_map/utils/load_fn.py17 Load and preprocess images by center padding to square and resizing to target size. Also returns the position iSTRING
HIGHlingbot_map/utils/load_fn.py105 A quick start function to load and preprocess images for model input. This assumes the images should have the sSTRING
HIGHlingbot_map/vis/glb_export.py46 Converts GCT predictions to a 3D scene represented as a GLB file. Args: predictions: Dictionary contaiSTRING
HIGHbenchmark/benchmark/core/registry.py20Load a dataset class by name. Searches for the class in the datasets/ directory. Args: namSTRING
HIGHbenchmark/benchmark/core/registry.py42Load a method class by name. Searches for the class in the methods/ directory. Args: name:STRING
HIGHbenchmark/benchmark/core/registry.py64Load a class from a module path. Args: module_path: Python module path (e.g., 'datasets.seven_sceneSTRING
HIGHbenchmark/benchmark/core/registry.py98Convert module name to expected class name. Converts snake_case to PascalCase and appends 'Dataset' or 'Method'STRING
HIGHbenchmark/benchmark/io/sampling.py41Read sampling.json file. Args: sampling_file: Sampling metadata file path Returns: Dictionary STRING
HIGHbenchmark/benchmark/io/image.py128Load image from EXR format with adaptive channel support. Args: input_file: Input EXR file path retSTRING
HIGHbenchmark/benchmark/utils/sky_segmentation.py36Create onnxruntime.InferenceSession; raises ImportError if not installed. Args: model_path: Path to ONNX moSTRING
HIGHbenchmark/benchmark/evaluation/trajectory.py114Evaluate trajectory using evo library (ATE and RPE). Args: gt_loader: BSSLoader for ground truth STRING
HIGHbenchmark/benchmark/evaluation/auc.py32Compute pose AUC metrics for a scene. Args: gt_loader: BSSLoader for ground truth directory STRING
HIGHbenchmark/benchmark/geometry/registration.py69Perform Umeyama registration to align source points to target points. This function implements the Umeyama algorithSTRING
HIGHbenchmark/benchmark/geometry/registration.py175Perform RANSAC-based similarity registration robust to outliers. Uses Open3D's RANSAC engine (`registration_ransac_STRING
HIGHbenchmark/benchmark/geometry/registration.py273Perform ICP registration to align source points to target points. This function implements Iterative Closest Point STRING
Hyper-Verbose Identifiers69 hits · 68 pts
SeverityFileLineSnippetContext
LOWdemo.py307def prepare_for_visualization(predictions, images=None):CODE
LOWlingbot_map/layers/attention.py297 def _apply_kv_cache_eviction_causal(self, kv_cache, global_idx, camera_token_idx, scale_token_idx):CODE
LOWlingbot_map/layers/vision_transformer.py228 def prepare_tokens_with_masks(self, x, masks=None):CODE
LOWlingbot_map/layers/vision_transformer.py287 def _get_intermediate_layers_not_chunked(self, x, n=1):CODE
LOWlingbot_map/layers/vision_transformer.py299 def _get_intermediate_layers_chunked(self, x, n=1):CODE
LOWlingbot_map/layers/rope.py88 def _compute_frequency_components(CODE
LOWlingbot_map/layers/flashinfer_cache.py256 def execute_deferred_eviction(CODE
LOWlingbot_map/layers/block.py104def drop_add_residual_stochastic_depth(CODE
LOWlingbot_map/layers/block.py379 def _prepare_blockwise_causal_attn_mask(self,CODE
LOWlingbot_map/aggregator/stream.py370 def _process_global_attention(CODE
LOWlingbot_map/aggregator/base.py503 def _process_global_attention(CODE
LOWlingbot_map/utils/load_fn.py16def load_and_preprocess_images_square(image_path_list, target_size=1024):CODE
LOWlingbot_map/utils/load_fn.py104def load_and_preprocess_images(image_path_list, fx=None, fy=None, cx=None, cy=None, mode="crop", image_size=512, patch_sCODE
LOWlingbot_map/utils/pose_enc.py21def extri_intri_to_pose_encoding(CODE
LOWlingbot_map/utils/pose_enc.py72def pose_encoding_to_extri_intri(CODE
LOWlingbot_map/utils/pose_enc.py231def compare_translation_by_angle(t_gt, t, eps=1e-15, default_err=1e6):CODE
LOWlingbot_map/utils/pose_enc.py310def colmap_to_opencv_intrinsics(K):CODE
LOWlingbot_map/utils/geometry.py25def unproject_depth_map_to_point_map(CODE
LOWlingbot_map/utils/geometry.py57def depth_to_world_coords_points(CODE
LOWlingbot_map/utils/geometry.py97def depth_to_cam_coords_points(depth_map: np.ndarray, intrinsic: np.ndarray) -> tuple[np.ndarray, np.ndarray]:CODE
LOWlingbot_map/utils/geometry.py204def project_world_points_to_camera_points_batch(world_points, cam_extrinsics):CODE
LOWlingbot_map/utils/geometry.py233def project_world_points_to_cam(CODE
LOWlingbot_map/utils/geometry.py413def all_pairs_distance_matrix(poses, beta=2.5):CODE
LOWlingbot_map/utils/geometry.py422def pose_matrix_to_quaternion(pose):CODE
LOWlingbot_map/utils/geometry.py427def compute_distance_matrix_flow(poses, disps, intrinsics):CODE
LOWlingbot_map/models/gct_base.py250 def _unproject_depth_to_world(CODE
LOWlingbot_map/models/gct_stream_window.py409 def _execute_deferred_eviction(self):CODE
LOWlingbot_map/models/gct_stream_window.py894 def _align_and_stitch_windows(CODE
LOWlingbot_map/models/gct_stream_window_v2.py472 def _execute_deferred_eviction(self):CODE
LOWlingbot_map/models/gct_stream_window_v2.py957 def _align_and_stitch_windows(CODE
LOWlingbot_map/vis/sky_segmentation.py92def _result_map_to_non_sky_conf(result_map: np.ndarray) -> np.ndarray:CODE
LOWlingbot_map/vis/sky_segmentation.py183def _save_sky_mask_visualization(CODE
LOWlingbot_map/vis/glb_export.py247def integrate_camera_into_scene(CODE
LOWlingbot_map/vis/glb_export.py337def get_opengl_conversion_matrix() -> np.ndarray:CODE
LOWlingbot_map/vis/glb_export.py396def compute_camera_faces_multi(cone_shape: "trimesh.Trimesh", num_shells: int) -> np.ndarray:CODE
LOWlingbot_map/vis/point_cloud_viewer.py227 def _compute_scene_center_and_scale(self) -> Tuple[np.ndarray, float]:CODE
LOWlingbot_map/vis/point_cloud_viewer.py902 def _smooth_camera_transition(CODE
LOWlingbot_map/vis/point_cloud_viewer.py984 def generate_pseudo_intrinsics(h: int, w: int) -> np.ndarray:CODE
LOWbenchmark/viewer.py739 def _get_methods_for_dataset_scene(self, dataset: str, scene: str) -> List[str]:CODE
LOWbenchmark/viewer.py765 def _update_clear_cache_button(self):CODE
LOWbenchmark/viewer.py1562 def _update_camera_clipping_planes(self):CODE
LOWbenchmark/viewer.py1629 def _update_trajectory_visibility(self):CODE
LOWbenchmark/viewer.py1796 def _update_cameras_visibility(self):CODE
LOWbenchmark/benchmark/core/config.py104 def get_selected_dataset_names(self) -> List[str]:CODE
LOWbenchmark/benchmark/core/config.py121 def get_selected_method_names(self) -> List[str]:CODE
LOWbenchmark/benchmark/core/config.py230 def get_merged_evaluation_config(CODE
LOWbenchmark/benchmark/core/registry.py118 def ensure_dataset_class_name(name: str) -> str:CODE
LOWbenchmark/benchmark/core/loader.py111 def get_processing_dimensions(self) -> Tuple[int, int]:CODE
LOWbenchmark/benchmark/evaluation/points.py478 def save_pointcloud_visualization(CODE
LOWbenchmark/benchmark/report/templates/app.js71function initializeDatasetSelector() {CODE
LOWbenchmark/benchmark/report/templates/app.js166function initializeArtifactMethodSelector() {CODE
LOWbenchmark/benchmark/report/templates/app.js246function selectedDatasetMetricColumns(metricsByCategory) {CODE
LOWbenchmark/benchmark/geometry/registration.py166def umeyama_registration_ransac(CODE
LOWbenchmark/benchmark/geometry/quaternion.py6def rotation_matrix_to_quaternion(R: np.ndarray) -> np.ndarray:CODE
LOWbenchmark/benchmark/geometry/resize.py45def _compute_resize_transform(CODE
LOWbenchmark/methods/lingbot_map.py24def _resolve_keyframe_interval(CODE
LOWbenchmark/datasets/vbr.py184def _parse_tum_trajectory_indexed(path: Path) -> Dict[int, np.ndarray]:CODE
LOWbenchmark/datasets/general.py486def _colmap_camera_to_intrinsics(CODE
LOWdemo_render/batch_demo.py172def extract_frames_from_video(video_path, output_folder, fps=None):CODE
LOWdemo_render/batch_demo.py596def load_predictions_from_npz(input_path, num_workers=None):CODE
9 more matches not shown…
Deep Nesting50 hits · 45 pts
SeverityFileLineSnippetContext
LOWgct_profile.py224CODE
LOWlingbot_map/layers/attention.py139CODE
LOWlingbot_map/layers/attention.py297CODE
LOWlingbot_map/layers/attention.py428CODE
LOWlingbot_map/layers/attention.py687CODE
LOWlingbot_map/aggregator/base.py539CODE
LOWlingbot_map/heads/head_act.py38CODE
LOWlingbot_map/heads/head_act.py61CODE
LOWlingbot_map/heads/camera_head.py256CODE
LOWlingbot_map/models/gct_stream_window.py379CODE
LOWlingbot_map/models/gct_stream_window.py959CODE
LOWlingbot_map/models/gct_stream.py41CODE
LOWlingbot_map/models/gct_stream_window_v2.py50CODE
LOWlingbot_map/models/gct_stream_window_v2.py442CODE
LOWlingbot_map/models/gct_stream_window_v2.py1022CODE
LOWlingbot_map/vis/sky_segmentation.py210CODE
LOWlingbot_map/vis/point_cloud_viewer.py1284CODE
LOWbenchmark/run.py31CODE
LOWbenchmark/run.py119CODE
LOWbenchmark/viewer.py331CODE
LOWbenchmark/viewer.py515CODE
LOWbenchmark/viewer.py1023CODE
LOWbenchmark/viewer.py1129CODE
LOWbenchmark/viewer.py1658CODE
LOWbenchmark/viewer.py1796CODE
LOWbenchmark/evaluate.py105CODE
LOWbenchmark/prepare.py22CODE
LOWbenchmark/run_worker.py28CODE
LOWbenchmark/benchmark/core/saver.py136CODE
LOWbenchmark/benchmark/core/loader.py401CODE
LOWbenchmark/benchmark/core/evaluator.py98CODE
LOWbenchmark/benchmark/io/image.py66CODE
LOWbenchmark/benchmark/io/image.py127CODE
LOWbenchmark/datasets/oxford_spires.py110CODE
LOWdemo_render/batch_demo.py444CODE
LOWdemo_render/batch_demo.py596CODE
LOWdemo_render/batch_demo.py748CODE
LOWdemo_render/rgbd_render/overlay.py350CODE
LOWdemo_render/rgbd_render/renderer.py261CODE
LOWdemo_render/rgbd_render/renderer.py359CODE
LOWdemo_render/rgbd_render/camera.py532CODE
LOWdemo_render/rgbd_render/pipeline/builder.py201CODE
LOWdemo_render/rgbd_render/pipeline/parallel.py151CODE
LOWdemo_render/rgbd_render/data/sky.py261CODE
LOWdemo_render/interactive_viewer/server.py434CODE
LOWdemo_render/interactive_viewer/server.py570CODE
LOWdemo_render/interactive_viewer/server.py592CODE
LOWdemo_render/interactive_viewer/npz_to_glb.py110CODE
LOWpreprocess/oxford.py505CODE
LOWscripts/benchmark_gct_memory.py281CODE
AI Structural Patterns42 hits · 41 pts
SeverityFileLineSnippetContext
LOWdemo.py56CODE
LOWlingbot_map/layers/attention.py37CODE
LOWlingbot_map/layers/attention.py95CODE
LOWlingbot_map/layers/attention.py139CODE
LOWlingbot_map/layers/attention.py360CODE
LOWlingbot_map/layers/attention.py428CODE
LOWlingbot_map/layers/attention.py566CODE
LOWlingbot_map/layers/attention.py595CODE
LOWlingbot_map/layers/vision_transformer.py47CODE
LOWlingbot_map/layers/block.py28CODE
LOWlingbot_map/layers/block.py158CODE
LOWlingbot_map/layers/block.py229CODE
LOWlingbot_map/layers/block.py314CODE
LOWlingbot_map/layers/block.py417CODE
LOWlingbot_map/layers/block.py467CODE
LOWlingbot_map/layers/block.py510CODE
LOWlingbot_map/layers/drop_path.py23CODE
LOWlingbot_map/aggregator/stream.py34CODE
LOWlingbot_map/aggregator/base.py75CODE
LOWlingbot_map/utils/rotation.py103CODE
LOWlingbot_map/heads/camera_head.py30CODE
LOWlingbot_map/heads/camera_head.py164CODE
LOWlingbot_map/heads/camera_head.py439CODE
LOWlingbot_map/heads/dpt_head.py43CODE
LOWlingbot_map/heads/dpt_head.py294CODE
LOWlingbot_map/heads/dpt_head.py459CODE
LOWlingbot_map/heads/dpt_head.py679CODE
LOWlingbot_map/models/gct_base.py39CODE
LOWlingbot_map/models/gct_base.py287CODE
LOWlingbot_map/models/gct_stream_window.py126CODE
LOWlingbot_map/models/gct_stream_window.py959CODE
LOWlingbot_map/models/gct_stream.py85CODE
LOWlingbot_map/models/gct_stream_window_v2.py189CODE
LOWlingbot_map/models/gct_stream_window_v2.py1022CODE
LOWlingbot_map/vis/sky_segmentation.py210CODE
LOWlingbot_map/vis/utils.py206CODE
LOWlingbot_map/vis/glb_export.py35CODE
LOWlingbot_map/vis/point_cloud_viewer.py70CODE
LOWbenchmark/methods/lingbot_map.py48CODE
LOWbenchmark/datasets/general.py51CODE
LOWdemo_render/demo.py40CODE
LOWdemo_render/rgbd_render/data/sky.py261CODE
Structural Annotation Overuse9 hits · 20 pts
SeverityFileLineSnippetContext
LOWlingbot_map/utils/geometry.py264 # Step 1: Apply extrinsic parametersCOMMENT
LOWlingbot_map/utils/geometry.py273 # Step 2: Apply intrinsic parameters and (optional) distortionCOMMENT
LOWbenchmark/README.md496### Step 1: Clone the method repositoryCOMMENT
LOWbenchmark/README.md504### Step 2: Set up the conda environmentCOMMENT
LOWbenchmark/README.md508### Step 3: Create the method moduleCOMMENT
LOWbenchmark/README.md543### Step 4: Create the YAML configCOMMENT
LOWbenchmark/benchmark/geometry/resize.py130 # Step 1: Resize to intermediate sizeCOMMENT
LOWbenchmark/benchmark/geometry/resize.py133 # Step 2: Crop content regionCOMMENT
LOWbenchmark/benchmark/geometry/resize.py141 # Step 3: Place into final canvasCOMMENT
Redundant / Tautological Comments13 hits · 17 pts
SeverityFileLineSnippetContext
LOWlingbot_map/layers/attention.py224 # Check if we should skip appending to cache (non-keyframe in keyframe mode)COMMENT
LOWlingbot_map/layers/attention.py632 # Check if we should skip appending to cache (non-keyframe in keyframe mode)COMMENT
LOWlingbot_map/aggregator/stream.py463 # Check if this is the first block groupCOMMENT
LOWlingbot_map/utils/load_fn.py216 # Check if we have different shapesCOMMENT
LOWlingbot_map/utils/geometry.py150 # Check if se3 is a numpy array or a torch tensorCOMMENT
LOWlingbot_map/heads/camera_head.py312 # Check if this is the first call (processing scale frames)COMMENT
LOWbenchmark/viewer.py144 # Check if alignment state matchesCOMMENT
LOWbenchmark/viewer.py1211 # Check if confidence data existsCOMMENT
LOWbenchmark/viewer.py1304 # Check if this is GT dataCOMMENT
LOWbenchmark/benchmark/io/trajectory.py50 # Check if pose is NaN (legacy explicit-NaN rows)COMMENT
LOWbenchmark/benchmark/io/intrinsics.py36 # Check if intrinsics are NaNCOMMENT
LOWbenchmark/datasets/seven_scenes.py126 # Check if files existCOMMENT
LOWdemo_render/rgbd_render/camera.py642 # Check if in transition zone with previous or next segmentCOMMENT
Modern Structural Boilerplate13 hits · 13 pts
SeverityFileLineSnippetContext
LOWlingbot_map/aggregator/stream.py20logger = logging.getLogger(__name__)CODE
LOWlingbot_map/aggregator/base.py24logger = logging.getLogger(__name__)CODE
LOWlingbot_map/models/gct_base.py22logger = logging.getLogger(__name__)CODE
LOWlingbot_map/models/gct_stream_window.py25logger = logging.getLogger(__name__)CODE
LOWlingbot_map/models/gct_stream.py22logger = logging.getLogger(__name__)CODE
LOWlingbot_map/models/gct_stream_window_v2.py31logger = logging.getLogger(__name__)CODE
LOWlingbot_map/vis/viser_wrapper.py195 def update_point_cloud() -> None:CODE
LOWlingbot_map/vis/__init__.py42__all__ = [CODE
LOWbenchmark/viewer.py36logger = logging.getLogger(__name__)CODE
LOWbenchmark/report.py18logger = logging.getLogger(__name__)CODE
LOWbenchmark/benchmark/report/__init__.py5__all__ = ["ReportGenerator"]CODE
LOWbenchmark/benchmark/report/generator.py14logger = logging.getLogger(__name__)CODE
LOWdemo_render/render_cuda_ext/render_cuda_ext/__init__.py3__all__ = ['frustum_cull', 'voxelize_frame']CODE
Verbosity Indicators5 hits · 11 pts
SeverityFileLineSnippetContext
LOWlingbot_map/utils/geometry.py264 # Step 1: Apply extrinsic parametersCOMMENT
LOWlingbot_map/utils/geometry.py273 # Step 2: Apply intrinsic parameters and (optional) distortionCOMMENT
LOWbenchmark/benchmark/geometry/resize.py130 # Step 1: Resize to intermediate sizeCOMMENT
LOWbenchmark/benchmark/geometry/resize.py133 # Step 2: Crop content regionCOMMENT
LOWbenchmark/benchmark/geometry/resize.py141 # Step 3: Place into final canvasCOMMENT
Self-Referential Comments3 hits · 9 pts
SeverityFileLineSnippetContext
MEDIUMlingbot_map/layers/rope.py9# This module provides a clean implementation of 2D Rotary Position Embeddings,COMMENT
MEDIUMlingbot_map/utils/load_fn.py80 # Create a new black square image and paste originalCOMMENT
MEDIUMlingbot_map/vis/viser_wrapper.py133 # Create the main point cloudCOMMENT
Over-Commented Block4 hits · 4 pts
SeverityFileLineSnippetContext
LOWbenchmark/envs/install_lingbot_map.sh1#!/usr/bin/env bashCOMMENT
LOWdemo_render/process_videos.sh1#!/bin/bashCOMMENT
LOWdemo_render/requirements.txt1# CoreCOMMENT
LOWpreprocess/points_visibility/visibility.cpp1// -------------------------------------------------------------------COMMENT
Example Usage Blocks2 hits · 4 pts
SeverityFileLineSnippetContext
LOWbenchmark/envs/install_lingbot_map.sh11# Usage:COMMENT
LOWdemo_render/process_videos.sh5# Usage:COMMENT
AI Slop Vocabulary2 hits · 2 pts
SeverityFileLineSnippetContext
MEDIUMbenchmark/benchmark/evaluation/points.py254 """Compute comprehensive point cloud evaluation metrics.STRING
MEDIUMbenchmark/benchmark/geometry/registration.py175 """Perform RANSAC-based similarity registration robust to outliers.STRING