Repository Analysis

louis-e/arnis

Generate any location from the real world in Minecraft with a high level of detail.

2.9 Likely human-written View on GitHub
2.9
Adjusted Score
2.9
Raw Score
100%
Time Factor
2026-05-27
Last Push
15,899
Stars
Rust
Language
94,222
Lines of Code
181
Files
138
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 5HIGH 1MEDIUM 37LOW 95

Pattern Findings

138 matches across 8 categories. Click a row to expand file-level details.

Decorative Section Separators28 hits · 84 pts
SeverityFileLineSnippet
MEDIUMsrc/overture.rs25// ─── Constants ────────────────────────────────────────────────────────────
MEDIUMsrc/overture.rs44// ─── Internal data types ─────────────────────────────────────────────────
MEDIUMsrc/overture.rs76// ─── Public API ──────────────────────────────────────────────────────────
MEDIUMsrc/overture.rs184// ─── Inner implementation ────────────────────────────────────────────────
MEDIUMsrc/overture.rs1274// ─── Sparse byte reader for row-group-only downloads ─────────────────────
MEDIUMsrc/land_cover.rs30// ─── Land cover class constants ────────────────────────────────────────────
MEDIUMsrc/land_cover.rs56// ─── Data structures ──────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs140// ─── Public API ───────────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs237// ─── Cache helpers ────────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs254// ─── ESA tile URL computation ─────────────────────────────────────────────
MEDIUMsrc/land_cover.rs310// ─── COG reading ──────────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs571// ─── TIFF IFD parsing ─────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs822// ─── Binary reading helpers ───────────────────────────────────────────────
MEDIUMsrc/land_cover.rs869// ─── Gap filling ──────────────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs911// ─── Water distance field ─────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs975// ─── Boundary smoothing ───────────────────────────────────────────────────
MEDIUMsrc/land_cover.rs1130// ─── LZW decompression ───────────────────────────────────────────────────
MEDIUMsrc/element_processing/amenities.rs412 // ── Node fountain (single point) ───────────────────────────────
MEDIUMsrc/element_processing/amenities.rs440 // ── Way fountain (polygon) ─────────────────────────────────────
MEDIUMsrc/elevation/postprocess.rs351 // ── Flowing water (river-like) ─────────────────────────
MEDIUMsrc/elevation/postprocess.rs389 // ── Still water (lake / fjord / ocean) ─────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs80// ─── Projection helpers ────────────────────────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs104// ─── Resolution + tile key ─────────────────────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs179// ─── Coverage + level selection ────────────────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs255// ─── Bilinear tile sampling ────────────────────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs325// ─── Provider trait + shared fetch driver ──────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs588// ─── Tile fetch + TIFF decode ──────────────────────────────────────────
MEDIUMsrc/elevation/providers/fixed_tile.rs626// ─── Tests ─────────────────────────────────────────────────────────────
Over-Commented Block73 hits · 71 pts
SeverityFileLineSnippet
LOWsrc/overture.rs601 return (0..metadata.num_row_groups()).collect();
LOWsrc/overture.rs1121 // Overture ML heights for single-story houses are often 3-6 m, which maps
LOWsrc/deterministic_rng.rs1//! Deterministic random number generation for consistent element processing.
LOWsrc/deterministic_rng.rs21/// (e.g., once per region it touches during streaming).
LOWsrc/deterministic_rng.rs41/// salt values for different purposes within the same element)
LOWsrc/bedrock_block_map.rs1//! Bedrock Block Mapping
LOWsrc/ground_generation.rs1//! Ground layer generation — surface blocks, vegetation, shorelines, and underground fill.
LOWsrc/ground_generation.rs41/// water-column neighbours + 8 depth-fill neighbours + a handful of
LOWsrc/ground_generation.rs241 ground.slope(coord)
LOWsrc/ground_generation.rs281 // Probe a column for water at its *own* ground level.
LOWsrc/ground_generation.rs381 // slope ≤ 4 → < 27° : falls through to land cover
LOWsrc/ground_generation.rs421 _ => (GRAVEL, STONE), // 17% scree
LOWsrc/ground_generation.rs481 .count();
LOWsrc/ground_generation.rs1141
LOWsrc/floodfill_cache.rs21
LOWsrc/floodfill_cache.rs361 match element {
LOWsrc/gui.rs661/// is what the "Clean tile cache" button in the GUI's Application
LOWsrc/land_cover.rs1//! ESA WorldCover 2021 land cover data integration.
LOWsrc/land_cover.rs61 /// Classification values (ESA codes) for each grid cell, indexed as [z][x]
LOWsrc/land_cover.rs81 /// Grid height (matches elevation grid height)
LOWsrc/land_cover.rs981/// — visible as a staircase coastline and tile-grid-looking class regions.
LOWsrc/land_cover.rs1021
LOWsrc/progress.rs21}
LOWsrc/ground.rs261 let tz = fz - fz.floor();
LOWsrc/args.rs21
LOWsrc/args.rs61 pub fillground: bool,
LOWsrc/args.rs81
LOWsrc/element_processing/historic.rs41/// Memorials come in many forms. We determine the type from the `memorial` tag:
LOWsrc/element_processing/water_areas.rs201// ============================================================================
LOWsrc/element_processing/buildings.rs781 pub has_single_door: bool,
LOWsrc/element_processing/buildings.rs2661 lx,
LOWsrc/element_processing/buildings.rs4981 equip_y + 1,
LOWsrc/element_processing/buildings.rs5581 _ => width_is_longer,
LOWsrc/element_processing/highways.rs101/// anything in the travel direction, so the target Y varies naturally
LOWsrc/element_processing/highways.rs161 dir_horizontal,
LOWsrc/element_processing/highways.rs661
LOWsrc/element_processing/highways.rs781 // Travel direction for this segment. The perpendicular
LOWsrc/element_processing/highways.rs1221 // road cell (reuses `row_medians` so the per-cell
LOWsrc/world_editor/luanti.rs21/// Encode a mapblock position (x, y, z) into the SQLite integer key.
LOWsrc/world_editor/bedrock.rs1161 #[serde(rename = "showbordereffect")]
LOWsrc/world_editor/mod.rs41#[cfg(feature = "gui")]
LOWsrc/world_editor/mod.rs121 llbbox: LLBBox,
LOWsrc/world_editor/mod.rs261 /// Get the effective ground level at a world coordinate.
LOWsrc/world_editor/common.rs61}
LOWsrc/gui/js/libs/jquery-1.9.1.js1341
LOWsrc/gui/js/libs/jquery-1.9.1.js9581// Expose jQuery as an AMD module, but only for AMD loaders that
LOWsrc/elevation/cache.rs41 /// (elevation + land-cover) in one UI operation.
LOWsrc/elevation/postprocess.rs1use crate::land_cover::{LandCoverData, LC_BUILT_UP, LC_WATER};
LOWsrc/elevation/postprocess.rs121 passes_ran,
LOWsrc/elevation/postprocess.rs181 // Reclassify LC_WATER cells that weren't actually flattened to water
LOWsrc/elevation/postprocess.rs221/// shoreline get mixed water/wall and snap to "water". Their DSM
LOWsrc/elevation/postprocess.rs241/// render as terrain, reclassified away from LC_WATER by the next pass.
LOWsrc/elevation/postprocess.rs261 // instead of collapsing to a single flat Y.
LOWsrc/elevation/postprocess.rs581/// *non-water* cell that touches the component (4-connected boundary, one
LOWsrc/elevation/postprocess.rs641/// original DSM elevation (because they were more than ±2 m off the
LOWsrc/elevation/provider.rs1use crate::coordinate_system::geographic::LLBBox;
LOWsrc/elevation/mod.rs21pub struct ElevationData {
LOWsrc/elevation/mod.rs41///
LOWsrc/elevation/mod.rs61/// boundary rose from ~16.8 km² (4096²) → ~64 km² (8000²) → ~268 km²
LOWsrc/elevation/mod.rs81 let scale_factor_z: f64 = base_scale_z.floor() * scale;
13 more matches not shown…
Hallucination Indicators5 hits · 50 pts
SeverityFileLineSnippet
CRITICALsrc/gui/js/maps/maplibre-gl.js46define("index",["exports","./shared"],(function(e,t){"use strict";var i="5.6.0";function o(){var e=new t.A(4);return t.A
CRITICALsrc/gui/js/maps/leaflet.draw.js8!function(t,e,i){function o(t,e){for(;(t=t.parentElement)&&!t.classList.contains(e););return t}L.drawVersion="1.0.4",L.D
CRITICALsrc/gui/js/maps/leaflet.draw.js9className:"leaflet-div-icon leaflet-editing-icon leaflet-edit-resize"}),touchMoveIcon:new L.DivIcon({iconSize:new L.Poin
CRITICALsrc/gui/js/maps/proj4-src.js5669 wkt.ellps = wkt.GEOGCS.DATUM.SPHEROID.name.replace('_19', '').replace(/[Cc]larke\_18/, 'clrk');
CRITICALsrc/gui/js/libs/jquery-ui-1.10.3.custom.min.js6(function(e,t){function i(t,i){var s,n,r,o=t.nodeName.toLowerCase();return"area"===o?(s=t.parentNode,n=s.name,t.href&&n&
AI Slop Vocabulary9 hits · 27 pts
SeverityFileLineSnippet
MEDIUM…/element_processing/subprocessor/buildings_interior.rs357 // Create a seamless repeating pattern across the interior of this floor
MEDIUM…/element_processing/subprocessor/buildings_interior.rs374 // This creates a seamless tiling effect across the entire building
MEDIUMsrc/gui/js/maps/leaflet-maplibre-gl.js183 // defensive check for robust backward compatibility.
MEDIUMsrc/gui/js/libs/jquery-1.9.1.js9588// AMD modules. A named AMD is safest and most robust way to register.
MEDIUMsrc/elevation/postprocess.rs136/// feathered mask so the transition to natural terrain is seamless. This
MEDIUMsrc/elevation/postprocess.rs232/// peak regardless of which side the tail is on — robust to both cases
MEDIUMsrc/elevation/postprocess.rs335 // IQR-based flowing/still classification. IQR is robust to
MEDIUMsrc/elevation/postprocess.rs391 // histogram mode (robust to both upper and lower tails),
MEDIUMsrc/elevation/postprocess.rs585/// - 25th percentile instead of **min**: robust to one DSM-artifact pit in
Verbosity Indicators15 hits · 22 pts
SeverityFileLineSnippet
LOWsrc/overture.rs442 // Step 1: Get file size via HEAD request
LOWsrc/overture.rs459 // Step 2: Read the Parquet footer.
LOWsrc/overture.rs486 // Step 3: Filter row groups by bbox overlap
LOWsrc/overture.rs500 // Step 4: Download only matching row groups via HTTP Range requests.
LOWsrc/land_cover.rs341 // Step 1: Read the TIFF/BigTIFF header to get IFD location
LOWsrc/land_cover.rs356 // Step 2: Parse TIFF header
LOWsrc/land_cover.rs372 // Step 3: Parse IFD to get image dimensions and tile layout
LOWsrc/land_cover.rs389 // Step 4: Calculate pixel coordinates for our bbox within this ESA tile
LOWsrc/land_cover.rs411 // Step 5: Determine which internal tiles we need
LOWsrc/land_cover.rs418 // Step 6: Fetch and decode each needed internal tile
LOWsrc/land_cover.rs453 // Step 7: Map decompressed pixels into our grid
LOWsrc/element_processing/bridges.rs142 // Step 1: union by shared endpoint at the same effective layer.
LOWsrc/element_processing/bridges.rs163 // Step 2: union by shared bridge:name with close centroids.
LOWsrc/element_processing/bridges.rs196 // Step 3: union dual carriageways (parallel one-way bridge ways with overlapping spans).
LOWsrc/gui/js/libs/jquery-ui-1.10.3.custom.js11147 // IE sets focus asynchronously, so we need to check if focus
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippet
HIGHsrc/gui/js/libs/jquery-ui-1.10.3.custom.js8103 // Format a name, short or long as requested
Hyper-Verbose Identifiers6 hits · 6 pts
SeverityFileLineSnippet
LOWsrc/gui/js/main.js703function initLuantiExperimentalToggle() {
LOWsrc/gui/js/main.js1302function handleWorldSelectionError(errorCode) {
LOWsrc/gui/js/bbox.js623 function addWorldPreviewToEditToolbar() {
LOWsrc/gui/js/bbox.js752 function hideWorldOverlayTemporarily() {
LOWsrc/gui/js/libs/jquery-1.9.1.js7466function addToPrefiltersOrTransports( structure ) {
LOWsrc/gui/js/libs/jquery-1.9.1.js7498function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippet
LOWsrc/gui/js/maps/maplibre-gl.js42define("shared",["exports"],(function(t){"use strict";function e(t,e,r,n){return new(r||(r=Promise))((function(i,s){func