AI Slop Code Risk Monitor

borglab/gtsam

SlopCodeMonitor badge for borglab/gtsam Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

GTSAM is a library of C++ classes that implement smoothing and mapping (SAM) in robotics and vision, using factor graphs and Bayes networks as the underlying computing paradigm rather than sparse matrices.

4.1 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for borglab/gtsam, a Jupyter Notebook project with 3,772 GitHub stars. SynthScan examined 981,346 lines of code across 4224 source files, recording 3284 pattern matches distributed across 23 syntactic categories. The legacy adjusted pattern signal is 4.1 (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.1
Adjusted Signal
4.1
Raw Pattern Score
100%
Time Factor
2026-10-30
Last Push
3.8K
Stars
Jupyter Notebook
Language
981.3K
Lines of Code
4.2K
Files
3.3K
Pattern Hits
2026-10-31
Scan Date
0.03
HC Hit Rate

Risk Review · Payload v1

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

Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.

Cognitive Ownership Risk 15.2/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 2.6/100 · LOW

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

Agent Over-Engineering Ratio 4.8/100 · LOW

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

PR Review Velocity Impact 19.3/100 · LOW

Which changes need focused human review? 3284 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 1HIGH 110MEDIUM 181LOW 2992

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 3284 distinct pattern matches across 23 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 Block2024 hits · 1854 pts
SeverityFileLineSnippetContext
LOWpixi.toml21[package.build]COMMENT
LOWgtsam/precompiled_header.h21// All headers in base, except:COMMENT
LOWgtsam/precompiled_header.h41#include <gtsam/base/ProductLieGroup.h>COMMENT
LOWgtsam/precompiled_header.h61#include <gtsam/geometry/Pose3.h>COMMENT
LOWgtsam/global_includes.h21#include <gtsam/config.h> // Configuration from CMakeCOMMENT
LOWgtsam/slam/FrobeniusFactor.h21#pragma onceCOMMENT
LOWgtsam/slam/RelativeTranslationFactor.h21 * over t_i, t_j in R^d, R_i in SO(d)COMMENT
LOWgtsam/slam/PlanarProjectionFactor.h21 * @file PlanarProjectionFactor.hCOMMENT
LOWgtsam/slam/dataset.h21COMMENT
LOWgtsam/slam/lago.cpp21#include <gtsam/inference/kruskal.h>COMMENT
LOWgtsam/slam/SmartFactorBase.h21COMMENT
LOWgtsam/slam/dataset.cpp21#include <gtsam/base/GenericValue.h>COMMENT
LOWgtsam/slam/dataset.cpp41#include <algorithm>COMMENT
LOWgtsam/slam/FastSync.h21#include <gtsam/dllexport.h>COMMENT
LOWgtsam/slam/GeneralSFMFactor.h21COMMENT
LOWgtsam/slam/tests/testRegularImplicitSchurFactor.cpp21#include <gtsam/base/timing.h>COMMENT
LOWgtsam/slam/tests/testSmartProjectionPoseFactor.cpp21COMMENT
LOWgtsam/slam/tests/testPlanarProjectionFactor.cpp1/**COMMENT
LOWgtsam/slam/tests/testRotateFactor.cpp1/*COMMENT
LOWgtsam/slam/tests/testGeneralSFMFactor_Cal3Bundler.cpp21#include <gtsam/nonlinear/NonlinearFactorGraph.h>COMMENT
LOWgtsam/slam/tests/testSmartProjectionFactor.cpp661/* *************************************************************************/COMMENT
LOWgtsam/slam/tests/testSmartProjectionFactor.cpp681// // 1) triangulation introduces small errors, then for a fair comparison we use expectedPoint asCOMMENT
LOWgtsam/slam/tests/testBetweenFactor.cpp21#include <gtsam/base/numericalDerivative.h>COMMENT
LOWgtsam/slam/tests/testFrobeniusFactor.cpp21 */COMMENT
LOWgtsam/slam/tests/testFrobeniusFactor.cpp121 Values values;COMMENT
LOWgtsam/slam/tests/testFastSync.cpp21#include <gtsam/geometry/Similarity2.h>COMMENT
LOWgtsam/slam/tests/testGeneralSFMFactor.cpp21#include <gtsam/geometry/Cal3_S2.h>COMMENT
LOWgtsam/slam/tests/testInitializePose3.cpp21#include <CppUnitLite/TestHarness.h>COMMENT
LOWgtsam/sam/QuadraticRangeFactor.h41#include <gtsam/base/Matrix.h>COMMENT
LOWgtsam/sam/RISAMGraduationScheduler.h41 */COMMENT
LOWgtsam/sam/tests/testBearingFactor.cpp61// in a constant tangent space. But since the macros below call whitenedErrorCOMMENT
LOWgtsam/sfm/TranslationRecovery.h21#include <map>COMMENT
LOWgtsam/sfm/ShonanAveraging.h21#include <gtsam/base/Matrix.h>COMMENT
LOWgtsam/sfm/ShonanAveraging.cpp21#if defined(__GNUC__) && __GNUC__ == 16COMMENT
LOWgtsam/sfm/ShonanAveraging.cpp641/// This does 2 things:COMMENT
LOWgtsam/sfm/ShonanAveraging.cpp701 // by -2*lmEigenValue (by forming A - 2*lambda_max*I), the shiftedCOMMENT
LOWgtsam/sfm/LocationRecovery.h21COMMENT
LOWgtsam/sfm/GlobalPositioner.h21COMMENT
LOWgtsam/sfm/DsfTrackGenerator.h21#include <gtsam/sfm/SfmTrack.h>COMMENT
LOWgtsam/sfm/TranslationRecovery.cpp21#include <gtsam/geometry/Pose3.h>COMMENT
LOWgtsam/sfm/LocationRecovery.cpp21#include <gtsam/geometry/Unit3.h>COMMENT
LOWgtsam/sfm/cuda/SfmLevenbergMarquardt.h21#include <gtsam/dllexport.h>COMMENT
LOWgtsam/sfm/cuda/SfmLevenbergMarquardt.h281 size_t linearSystemDimension = 0;COMMENT
LOWgtsam/sfm/cuda/SfmLevenbergMarquardt.h301 /// Time before the first iteration: context, uploads, initial error.COMMENT
LOWgtsam/sfm/cuda/SfmLevenbergMarquardt.h321 double projectionBatchElapsed = 0.0;COMMENT
LOWgtsam/sfm/cuda/internal/SfmProjectionBatch.h21#include <gtsam/base/cuda/DeviceArray.h>COMMENT
LOWgtsam/sfm/cuda/internal/SfmValues.h21#include <gtsam/base/cuda/Errors.h>COMMENT
LOWgtsam/sfm/tests/testShonanFactor.cpp21#include <gtsam/base/lieProxies.h>COMMENT
LOWgtsam/sfm/tests/testSfmLevenbergMarquardt.cpp21#include <gtsam/linear/Preconditioner.h>COMMENT
LOWgtsam/sfm/tests/testCudaSfm.cpp21#include <gtsam/inference/Symbol.h>COMMENT
LOWgtsam/sfm/tests/testEssentialMatrixFactor.cpp1/*COMMENT
LOWgtsam/linear/MultifrontalClique.h21#include <gtsam/base/SymmetricBlockMatrix.h>COMMENT
LOWgtsam/linear/GaussianConditional.cpp21#include <gtsam/linear/Sampler.h>COMMENT
LOWgtsam/linear/NoiseModel.h21#include <gtsam/base/Manifold.h>COMMENT
LOWgtsam/linear/MultifrontalClique.cpp21#include <gtsam/linear/GaussianConditional.h>COMMENT
LOWgtsam/linear/GaussianFactorGraph.cpp21#include <gtsam/base/debug.h>COMMENT
LOWgtsam/linear/GaussianFactorGraph.cpp481 }COMMENT
LOWgtsam/linear/BatchJacobianFactor.h21#include <gtsam/base/SymmetricBlockMatrix.h>COMMENT
LOWgtsam/linear/GaussianFactorGraph.h21COMMENT
LOWgtsam/linear/GaussianBayesNet.cpp141 cg->solveTransposeInPlace(gy);COMMENT
1964 more matches not shown…
Hyper-Verbose Identifiers646 hits · 658 pts
SeverityFileLineSnippetContext
LOWgtsam/navigation/doc/galilean_imu_factor_nees.py158def deterministic_convergence(CODE
LOWgtsam/navigation/doc/galilean_imu_factor_nees.py251def rotating_deterministic_samples(CODE
LOWgtsam/navigation/doc/galilean_imu_factor_nees.py404def run_combined_bias_rw_nees(CODE
LOWpython/gtsam/tests/test_KeyWidth.py24 def test_large_symbol_indices(self):CODE
LOWpython/gtsam/tests/test_KeyWidth.py67 def test_keyed_factor_constructors(self):CODE
LOWpython/gtsam/tests/test_KeyWidth.py89 def test_discrete_bayes_tree_key_queries(self):CODE
LOWpython/gtsam/tests/test_OptionalJacobianArgument.py66 def test_agrees_with_whitened_error(self):CODE
LOWpython/gtsam/tests/test_KarcherMeanFactor.py41 def test_find_karcher_mean_identity(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py74 def test_frobenius_between_factor(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py81 def test_frobenius_wormhole_factor(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py101 def test_frobenius_between_factor(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py115 def test_frobenius_between_factor(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py129 def test_frobenius_between_factor(self):CODE
LOWpython/gtsam/tests/test_FrobeniusFactor.py144 def test_frobenius_between_factor(self):CODE
LOWpython/gtsam/tests/test_matrix_shape_checks.py65 def test_cameras_reject_wrong_length(self) -> None:CODE
LOWpython/gtsam/tests/test_CudaGnc.py72 def test_sparse_params_preserve_backend_settings(self):CODE
LOWpython/gtsam/tests/test_CudaGnc.py94 def test_sfm_params_preserve_backend_settings(self):CODE
LOWpython/gtsam/tests/test_CudaGnc.py111 def test_gnc_controls_and_factor_weights(self):CODE
LOW⚡python/gtsam/tests/test_CudaGnc.py149 def test_sparse_zero_iterations_without_device(self):CODE
LOW⚡python/gtsam/tests/test_CudaGnc.py159 def test_sfm_rejects_unsupported_graph_without_device(self):CODE
LOW⚡python/gtsam/tests/test_CudaGnc.py166 def test_sparse_rejects_outlier_on_device(self):CODE
LOWpython/gtsam/tests/test_CudaGnc.py191 def test_sfm_updates_weights_on_device(self):CODE
LOWpython/gtsam/tests/test_CumulativeSplineTrajectory.py12 def test_cardinal_basis_weights(self):CODE
LOWpython/gtsam/tests/test_CumulativeSplineTrajectory.py33 def test_wrapper_configuration(self):CODE
LOWpython/gtsam/tests/test_LandmarkLocalizationDataset.py27 def test_perturbed_measurements_are_deterministic(self):CODE
LOWpython/gtsam/tests/test_LandmarkLocalizationDataset.py113 def test_committed_datasets_are_reproducible(self):CODE
LOWpython/gtsam/tests/test_FixedLagSmootherRetention.py77 def test_release_keyword_argument(self):CODE
LOWpython/gtsam/tests/test_FixedLagSmootherRetention.py92 def test_rejects_retaining_unknown_key(self):CODE
LOWpython/gtsam/tests/test_Factors.py37 def test_gaussian_factor_graph(self):CODE
LOWpython/gtsam/tests/test_Factors.py54 def test_gaussian_factor_graph(self):CODE
LOWpython/gtsam/tests/test_PybindOutputParameters.py9def test_dynamic_matrix_outputs_and_omitted_defaults():CODE
LOWpython/gtsam/tests/test_PybindOutputParameters.py25def test_fixed_optional_jacobian_outputs_and_omitted_defaults():CODE
LOWpython/gtsam/tests/test_PybindOutputParameters.py41def test_raw_matrix_output_and_omitted_default():CODE
LOWpython/gtsam/tests/test_PybindOutputParameters.py55def test_print_errors_callback_and_default():CODE
LOWpython/gtsam/tests/test_CudaSparseLevenbergMarquardt.py48 def _run_or_skip_unavailable_runtime(self, function):CODE
LOWpython/gtsam/tests/test_CudaSparseLevenbergMarquardt.py64 def test_options_and_status_are_wrapped(self):CODE
LOWpython/gtsam/tests/test_CudaSparseLevenbergMarquardt.py116 def test_zero_iterations_runs_without_cuda_setup(self):CODE
LOWpython/gtsam/tests/test_CudaSparseLevenbergMarquardt.py160 def test_sfm_uses_shared_linear_solver_enum(self):CODE
LOWpython/gtsam/tests/test_ParameterGradients.py83 def test_tag_identity_copy_and_hash(self):CODE
LOWpython/gtsam/tests/test_ParameterGradients.py102 def test_shared_parameters_and_fixed_noise(self):CODE
LOWpython/gtsam/tests/test_ParameterGradients.py161 def test_callback_and_tag_lifetimes(self):CODE
LOWpython/gtsam/tests/test_ParameterGradients.py205 def test_absent_and_invalid_callbacks(self):CODE
LOWpython/gtsam/tests/test_Marginals.py23def create_planar_slam_problem():CODE
LOWpython/gtsam/tests/test_Marginals.py74 def test_joint_marginal_blocks(self):CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py22 def test_named_preintegration_backends(self):CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py50 def test_combined_preintegration(self):CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py67 def test_rotating_covariance_accessors(self):CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py119 def test_rotating_factor_constructors(self):CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py194 def test_preintegrate_predict_and_factor(self):CODE
LOWpython/gtsam/tests/test_Sim2.py24 def test_align_poses_along_straight_line(self) -> None:CODE
LOWpython/gtsam/tests/test_Sim2.py59 def test_align_poses_along_straight_line_gauge(self):CODE
LOWpython/gtsam/tests/test_Sim2.py94 def test_align_poses_scaled_squares(self):CODE
LOW⚡python/gtsam/tests/test_Errors.py17 def test_dot_with_empty_blocks(self):CODE
LOW⚡python/gtsam/tests/test_Errors.py24 def test_dot_rejects_block_counts(self):CODE
LOW⚡python/gtsam/tests/test_Errors.py33 def test_dot_rejects_block_dimensions(self):CODE
LOWpython/gtsam/tests/test_Gal3.py31 def test_range_point_derivatives(self):CODE
LOWpython/gtsam/tests/test_Gal3.py47 def test_bearing_point_derivatives(self):CODE
LOWpython/gtsam/tests/test_Gal3.py69 def test_prior_and_between_factors(self):CODE
LOWpython/gtsam/tests/test_TrajectoryAlignerSim3.py44 def test_perfect_alignment_without_initial_sim(self):CODE
LOWpython/gtsam/tests/test_TrajectoryAlignerSim3.py62 def test_perfect_alignment_without_initial_sim_with_points(self):CODE
586 more matches not shown…
Cross-Language Confusion53 hits · 299 pts
SeverityFileLineSnippetContext
HIGH⚡python/gtsam/tests/test_CudaGnc.py157 self.assertTrue(initial.equals(optimizer.optimize(), 1e-12))CODE
HIGHpython/gtsam/tests/test_CumulativeSplineTrajectory.py28 self.assertTrue(actual.equals(expected, 1e-9))CODE
HIGHpython/gtsam/tests/test_LandmarkLocalizationDataset.py39 self.assertTrue(actual.iTj.equals(expected.iTj, 1e-12))CODE
HIGHpython/gtsam/tests/test_HybridValues.py123 self.assertTrue(hv1.equals(hv2, 1e-9))CODE
HIGHpython/gtsam/tests/test_HybridValues.py158 self.assertTrue(hv_copy.equals(hv, 1e-9))CODE
HIGHpython/gtsam/tests/test_SO4.py37 self.assertTrue(actual.equals(I4, 1e-9))CODE
HIGHpython/gtsam/tests/test_SO4.py49 self.assertTrue(actual.equals(expected, 1e-9))CODE
HIGHpython/gtsam/tests/test_CudaSparseLevenbergMarquardt.py128 self.assertTrue(initial.equals(actual, 1e-12))CODE
HIGHpython/gtsam/tests/test_ParameterGradients.py94 self.assertTrue(tag.equals(other))CODE
HIGHpython/gtsam/tests/test_GalileanImuFactor.py42 self.assertTrue(pim.equals(pim, 1e-9))CODE
HIGHpython/gtsam/tests/test_TrajectoryAlignerSim3.py60 self.assertTrue(gt_bSa.equals(recovered, 1e-6))CODE
HIGHpython/gtsam/tests/test_TrajectoryAlignerSim3.py89 self.assertTrue(gt_bSa.equals(recovered, 1e-6))CODE
HIGHpython/gtsam/tests/test_TrajectoryAlignerSim3.py112 self.assertTrue(gt_bSa.equals(recovered, 1e-2))CODE
HIGHpython/gtsam/tests/test_WnoaFactors.py147 self.assertTrue(factor1.equals(factor2, 1e-9))CODE
HIGHpython/gtsam/tests/test_FundamentalMatrix.py41 self.assertTrue(self.trueF.equals(actual, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_FundamentalMatrix.py69 self.assertTrue(self.stereoF.equals(actual, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_HybridBayesNet.py105 self.assertTrue(self.bayesNet.equals(bn_copy, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_HybridBayesNet.py111 self.assertFalse(self.bayesNet.equals(bn_different_order, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_HybridBayesNet.py118 self.assertFalse(self.bayesNet.equals(bn_different_cond, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_DopplerFactor.py125 self.assertTrue(factor1.equals(factor2, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_DopplerFactor.py126 self.assertFalse(factor1.equals(factor3, 1e-9))CODE
HIGH⚡python/gtsam/tests/test_DopplerFactor.py127 self.assertFalse(factor1.equals(factor4, 1e-9)) # differs only in dtCODE
HIGHpython/gtsam/tests/test_DopplerFactor.py244 self.assertTrue(factor1.equals(factor2, 1e-9))CODE
HIGHpython/gtsam/tests/test_DopplerFactor.py245 self.assertFalse(factor1.equals(factor3, 1e-9)) # differs in lever armCODE
HIGH⚡python/gtsam/tests/test_PseudorangeFactor.py45 self.assertTrue(factor1.equals(factor1, 1e-6))CODE
HIGH⚡python/gtsam/tests/test_PseudorangeFactor.py46 self.assertFalse(factor1.equals(factor2, 1e-6))CODE
HIGH⚡python/gtsam/tests/test_PseudorangeFactor.py47 self.assertTrue(factor1.equals(factor3, 1e99))CODE
HIGHpython/gtsam/tests/test_SOn.py37 self.assertTrue(actual.equals(I4, 1e-9))CODE
HIGHpython/gtsam/tests/test_SOn.py49 self.assertTrue(actual.equals(expected, 1e-3)) # not exmap so only approximateCODE
HIGHpython/gtsam/tests/test_fast_sync.py41 self.assertTrue(expected.equals(estimated, tolerance))CODE
HIGHpython/gtsam/tests/test_fast_sync.py49 self.assertTrue(expected_relative.equals(actual_relative, tolerance))CODE
HIGHpython/gtsam/tests/test_fast_sync.py67 self.assertTrue(expected.equals(colamd.atRot2(key), 1e-7))CODE
HIGHpython/gtsam/tests/test_fast_sync.py68 self.assertTrue(expected.equals(custom.atRot2(key), 1e-7))CODE
HIGH⚡python/gtsam/tests/test_dataset.py58 self.assertTrue(graph.equals(actual_graph, 1e-4))CODE
HIGH⚡python/gtsam/tests/test_dataset.py59 self.assertTrue(values.equals(actual_values, 1e-4))CODE
HIGHpython/gtsam/tests/test_Serialization.py45 assert factor.equals(pickle.loads(pickle.dumps(factor)), 1e-9)CODE
HIGHpython/gtsam/utils/test_case.py30 equal = actual.equals(expected, tol)CODE
HIGHpython/gtsam/examples/IMUKittiExampleGPS.py339 if not kitti_calibration.bodyTimu.equals(Pose3(), 1e-8):CODE
HIGHpython/gtsam/examples/PlanarManipulatorExample.py212 equal = actual.equals(expected, tol)CODE
HIGHpython/gtsam_unstable/tests/test_Serialization.py82 self.assertTrue(factor.equals(restored, 1e-9))CODE
HIGH⚡wrap/pybind11/tests/test_methods_and_attributes.py594 - Return (Class::*)(Args...) const && noexcept (peek_noexcept)CODE
HIGHwrap/pybind11/tests/test_methods_and_attributes.py632 - overload_cast_impl::operator()(Return (Class::*)(Args...) const && noexcept, true_type)CODE
HIGH⚡wrap/pybind11/tests/test_methods_and_attributes.py652 - overload_cast_impl::operator()(Return (Class::*)(Args...) const && noexcept, true_type)CODE
HIGH⚡wrap/pybind11/tests/test_methods_and_attributes.py658 assert obj.method_const_rref_noexcept(1.0) == "(double) const && noexcept"STRING
HIGHwrap/tests/test_matlab_wrapper.py202 "isa(varargin{1},'double') && size(varargin{1},1)==3 && size(varargin{1},2)==3",CODE
HIGHwrap/tests/test_matlab_wrapper.py205 "isa(varargin{2},'double') && size(varargin{2},1)==10 && size(varargin{2},2)==1",CODE
HIGHwrap/tests/test_matlab_wrapper.py291 "length(varargin) == 1 && isa(varargin{1},'double')"CODE
HIGHwrap/tests/test_matlab_wrapper.py292 " && size(varargin{1},1)==3 && size(varargin{1},2)==1"CODE
HIGHwrap/tests/test_matlab_wrapper.py305 self.assertIn('length(varargin) == 0 && nargout == 2', matlab_content)CODE
HIGHwrap/tests/test_matlab_wrapper.py315 "length(varargin) == 1 && isa(varargin{1},'gtsam.Pose3') && nargout == 3",CODE
HIGHwrap/tests/test_matlab_wrapper.py327 "length(varargin) == 1 && isa(varargin{1},'double')"CODE
HIGHwrap/tests/test_matlab_wrapper.py328 " && size(varargin{1},2)==1 && nargout == 2",CODE
HIGHwrap/gtwrap/matlab_wrapper/wrapper.py742 methods_wrap += " if (nargin == 2 || (nargin == 3 && strcmp(varargin{3}, 'void')))"STRING
Self-Referential Comments84 hits · 288 pts
SeverityFileLineSnippetContext
MEDIUMgtsam/3rdparty/Eigen/.gitlab-ci.yml1# This file is part of Eigen, a lightweight C++ template libraryCOMMENT
MEDIUMgtsam/3rdparty/Eigen/scripts/relicense.py1# This file is part of Eigen, a lightweight C++ template libraryCOMMENT
MEDIUMgtsam/3rdparty/Eigen/debug/gdb/printers.py2# This file is part of Eigen, a lightweight C++ template libraryCOMMENT
MEDIUMpython/gtsam/__init__.py58 """This function is to add shims for the long-gone Point2 and Point3 types"""STRING
MEDIUMpython/gtsam/tests/test_OdometryExample.py22 # Create the graph (defined in pose2SLAM.h, derived fromCOMMENT
MEDIUMpython/gtsam/tests/test_HybridFactorGraph.py121 # Create a tiny Bayes net P(x0) P(m0) P(z0|x0)COMMENT
MEDIUMpython/gtsam/tests/test_KalmanFilter.py49 # Create the set of expected output TestValuesCOMMENT
MEDIUM⚡python/gtsam/tests/test_KalmanFilter.py65 # Create an KalmanFilter objectCOMMENT
MEDIUM⚡python/gtsam/tests/test_KalmanFilter.py68 # Create the Kalman Filter initialization pointCOMMENT
MEDIUM⚡python/gtsam/tests/test_KalmanFilter.py72 # Create an KF objectCOMMENT
MEDIUMpython/gtsam/tests/test_FundamentalMatrix.py53 # Create the simplest SimpleFundamentalMatrix, a stereo pairCOMMENT
MEDIUM⚡python/gtsam/tests/test_FundamentalMatrix.py78 # Create a point in bCOMMENT
MEDIUM⚡python/gtsam/tests/test_FundamentalMatrix.py90 # Create a stereo pair in pixels, zero principal pointsCOMMENT
MEDIUM⚡python/gtsam/tests/test_FundamentalMatrix.py108 # Create a point in bCOMMENT
MEDIUM⚡python/gtsam/tests/test_FundamentalMatrix.py120 # Create a stereo pair with the right camera rotated 90 degreesCOMMENT
MEDIUMpython/gtsam/tests/test_FundamentalMatrix.py139 # Create a point in bCOMMENT
MEDIUMpython/gtsam/tests/test_EssentialMatrixConstraint.py24 # Create a factorCOMMENT
MEDIUMpython/gtsam/tests/test_EssentialMatrixConstraint.py34 # Create a linearization point at the zero-error pointCOMMENT
MEDIUMpython/gtsam/tests/test_DiscreteFactorGraph.py45 # Create the DiscreteFactorGraphCOMMENT
MEDIUMpython/gtsam/tests/test_DiscreteFactorGraph.py63 # Create a new test with third node and adding unary and ternary factorCOMMENT
MEDIUMpython/gtsam/tests/test_DiscreteBayesNet.py156 # Create a reverse-topologically sorted fragment:COMMENT
MEDIUMpython/gtsam/tests/test_FixedLagSmootherExample.py30 # Define a batch fixed lag smoother, which usesCOMMENT
MEDIUMpython/gtsam/tests/test_FixedLagSmootherExample.py41 # Create a prior on the first pose, placing it at the originCOMMENT
MEDIUMpython/gtsam/tests/test_Sim3.py211 # Create a PriorFactor with a Sim3 priorCOMMENT
MEDIUMpython/gtsam/tests/test_Pose3SLAMExample.py24 # Create a hexagon of posesCOMMENT
MEDIUMpython/gtsam/tests/test_SimpleCamera.py32 # Create a level camera, looking in Y-directionCOMMENT
MEDIUMpython/gtsam/tests/test_DiscreteSearch.py71 # Create an ordering:COMMENT
MEDIUMpython/gtsam/tests/test_backwards_compatibility.py188 # Define a batch fixed lag smoother, which usesCOMMENT
MEDIUMpython/gtsam/tests/test_backwards_compatibility.py199 # Create a prior on the first pose, placing it at the originCOMMENT
MEDIUMpython/gtsam/tests/test_LocalizationExample.py22 # Create the graph (defined in pose2SLAM.h, derived fromCOMMENT
MEDIUMpython/gtsam/tests/test_Chebyshev2.py71 # Create a sequence: dictionary mapping x -> y.COMMENT
MEDIUMpython/gtsam/tests/test_DiscreteBayesTree.py58 # Create a factor graph out of the Bayes net.COMMENT
MEDIUMpython/gtsam/tests/test_DiscreteBayesTree.py61 # Create a BayesTree out of the factor graph.COMMENT
MEDIUMpython/gtsam/tests/test_DiscreteBayesTree.py162 # Create a BayesNetCOMMENT
MEDIUMpython/gtsam/tests/test_DiscreteBayesTree.py174 # Create a BayesTreeCOMMENT
MEDIUMpython/gtsam/utils/visual_data_generator.py87 if options.triangle: # Create a triangle target, just 3 points on a planeCODE
MEDIUMpython/gtsam/examples/ImuFactorISAM2Example.py83 # Create a factor graphCOMMENT
MEDIUMpython/gtsam/examples/ImuFactorISAM2Example.py89 # Create the initial estimate to the solutionCOMMENT
MEDIUMpython/gtsam/examples/IMUKittiExampleGPS.py210 # Create the factor graph and values object that will store new factors andCOMMENT
MEDIUMpython/gtsam/examples/SFMExample_bal.py52 # Create a factor graphCOMMENT
MEDIUM⚡python/gtsam/examples/SFMExample_SphericalCamera.py48 # Create the set of ground-truth landmarks (cube corners)COMMENT
MEDIUM⚡python/gtsam/examples/SFMExample_SphericalCamera.py51 # Create the set of ground-truth poses (circular trajectory around landmarks)COMMENT
MEDIUM⚡python/gtsam/examples/SFMExample_SphericalCamera.py54 # Define the camera observation noise modelCOMMENT
MEDIUM⚡python/gtsam/examples/SFMExample_SphericalCamera.py59 # Create a factor graphCOMMENT
MEDIUM⚡python/gtsam/examples/ViewGraphComparison.py50 # Define the camera calibration parametersCOMMENT
MEDIUM⚡python/gtsam/examples/ViewGraphComparison.py53 # Create the set of 8 ground-truth landmarksCOMMENT
MEDIUM⚡python/gtsam/examples/ViewGraphComparison.py60 # Create the set of ground-truth posesCOMMENT
MEDIUMpython/gtsam/examples/Pose3ISAM2Example.py138 # Create a Nonlinear factor graph as well as the data structure to hold state estimates.COMMENT
MEDIUMpython/gtsam/examples/Pose3ISAM2Example.py149 # Create the ground truth poses of the robot trajectory.COMMENT
MEDIUMpython/gtsam/examples/Pose3ISAM2Example.py152 # Create the ground truth odometry transformations, xyz translations, and roll-pitch-yaw rotationsCOMMENT
MEDIUM⚡python/gtsam/examples/EssentialViewGraphExample.py41 # Define the camera calibration parametersCOMMENT
MEDIUM⚡python/gtsam/examples/EssentialViewGraphExample.py44 # Create the set of 8 ground-truth landmarksCOMMENT
MEDIUM⚡python/gtsam/examples/EssentialViewGraphExample.py47 # Create the set of 4 ground-truth posesCOMMENT
MEDIUMpython/gtsam/examples/EssentialViewGraphExample.py61 # Create the factor graphCOMMENT
MEDIUMpython/gtsam/examples/EssentialViewGraphExample.py85 # Create a delta vector to perturb the ground truth (small perturbation)COMMENT
MEDIUMpython/gtsam/examples/EssentialViewGraphExample.py88 # Create the initial estimate for essential matricesCOMMENT
MEDIUMpython/gtsam/examples/Pose2SLAMExample_g2o.py69 # Create the optimizer ...COMMENT
MEDIUM⚡python/gtsam/examples/VisualISAM2Example.py65 # Define the camera calibration parametersCOMMENT
MEDIUM⚡python/gtsam/examples/VisualISAM2Example.py68 # Define the camera observation noise modelCOMMENT
MEDIUM⚡python/gtsam/examples/VisualISAM2Example.py72 # Create the set of ground-truth landmarksCOMMENT
24 more matches not shown…
AI Slop Vocabulary85 hits · 260 pts
SeverityFileLineSnippetContext
MEDIUMgtsam/slam/SmartProjectionFactorBase.h133 // Definitely true if we do not have a previous linearization point or theCOMMENT
MEDIUMgtsam/slam/FrobeniusFactor.cpp31 // Unwrap robust model if present and remember its robust lossCOMMENT
MEDIUMgtsam/slam/tests/testFastSync.cpp346// Verifies anisotropic, constrained, and robust models are rejected.COMMENT
MEDIUMgtsam/slam/tests/testGeneralSFMFactor.cpp564// Checks the pointer and fixed-size Jacobian overloads and robust gradients.COMMENT
MEDIUMgtsam/sam/RISAM.h162 /// performs a robust update. All extra involved keys will be treated as beingCOMMENT
MEDIUMgtsam/sam/RISAM.h177 /// performs a robust update. All extra involved keys will be treated as beingCOMMENT
MEDIUMgtsam/sam/RISAM.cpp57 // Run the update: robust if we have potential outliers (or if requested)COMMENT
MEDIUMgtsam/sam/RISAMGraduatedFactor.h39 /// @brief The robust loss for this factorCOMMENT
MEDIUM⚡gtsam/sam/RISAMGraduatedFactor.h82 /// @brief returns the graduated robust loss \rho_\mu(r) of the factorCOMMENT
MEDIUM⚡gtsam/sam/RISAMGraduatedFactor.h85 /// @brief Returns the robust loss for this graduated factorCOMMENT
MEDIUM⚡gtsam/sam/RISAMGraduatedFactor.h94 /// graduated robust loss or schedulerCOMMENT
MEDIUMgtsam/sam/RISAMGraduatedFactor.h184 /// @brief Returns the graduated robust loss \rho_\mu(r)COMMENT
MEDIUMgtsam/sam/RISAMGraduationScheduler.h58 /// @note $\mu = 1$ is the target robust loss by GTSAM conventionCOMMENT
MEDIUMgtsam/sfm/ShonanAveraging.h201 // Check if the noise model is already robustCOMMENT
MEDIUMgtsam/sfm/ShonanAveraging.h205 // make robustCOMMENT
MEDIUMgtsam/sfm/ShonanAveraging.cpp382 // Check if noise model is robustCOMMENT
MEDIUMgtsam/sfm/ShonanAveraging.cpp384 // If robust, check if optimality certificate is expectedCOMMENT
MEDIUMgtsam/sfm/cuda/SfmLevenbergMarquardt.h421 /// Whether any measurement carries a robust loss.COMMENT
MEDIUMgtsam/sfm/cuda/SfmTypes.h64/// Whether a robust weight scales the 2D residual as a block or per component.COMMENT
MEDIUMgtsam/sfm/cuda/internal/SfmProjectionBatch.h42 /// Whitening plus a per-measurement robust loss.COMMENT
MEDIUMgtsam/sfm/cuda/internal/SfmProjectionBatch.h104 /// As above, additionally applying a per-measurement robust loss. RobustCOMMENT
MEDIUMgtsam/sfm/cuda/internal/SfmProjectionBatch.h146 /// Whether this robust model can be uploaded: a loss the kernels implement, aCOMMENT
MEDIUMgtsam/sfm/cuda/internal/SfmProjectionBatch.h361 /// Whether a robust loss must be applied on top of whitening.COMMENT
MEDIUMgtsam/sfm/tests/testCudaSfm.cpp1904// supported robust losses and reweighting schemes after correlated whitening.COMMENT
MEDIUM⚡gtsam/sfm/tests/testShonanAveraging.cpp391 // test that each factor is actually robustCOMMENT
MEDIUM⚡gtsam/sfm/tests/testShonanAveraging.cpp392 for (size_t i=0; i<=4; i++) { // note: last is the Gauge factor and is not robustCODE
MEDIUM⚡gtsam/sfm/tests/testShonanAveraging.cpp395 // we expect the factors to be use a robust noise modelCOMMENT
MEDIUMgtsam/linear/NoiseModel.h748 const RobustModel::shared_ptr robust_; ///< robust error function usedCODE
MEDIUMgtsam/linear/NoiseModel.h766 /// Return the contained robust error functionCOMMENT
MEDIUMgtsam/linear/NoiseModel.h802 // These are really robust iterated re-weighting support functionsCOMMENT
MEDIUMgtsam/linear/LossFunctions.h487 /// @brief A static helper function to compute the Geman-McClure robust weightCOMMENT
MEDIUMgtsam/linear/tests/testNoiseModel.cpp632// All robust reweight overloads apply identical block and scalar weights.COMMENT
MEDIUMgtsam/navigation/LeggedEstimator.h55 /// Enable robust contact noise for graph-based variants.COMMENT
MEDIUMgtsam/navigation/LeggedEstimator.h57 /// Scalar-Huber threshold for robust contact factors in graph-based variants.COMMENT
MEDIUMgtsam/3rdparty/Eigen/test/packetmath.cpp499 // apply different offsets to check that ploaddup is robust to unaligned inputsCOMMENT
MEDIUMgtsam/3rdparty/Eigen/test/packetmath.cpp508 // apply different offsets to check that ploadquad is robust to unaligned inputsCOMMENT
MEDIUMgtsam/3rdparty/Eigen/test/array_cwise.cpp538 // msvc complex division is not robustCOMMENT
MEDIUM…gen/unsupported/Eigen/CXX11/src/Tensor/TensorPadding.h366 // number of calls to LinCopy and better utilize vector instructions.COMMENT
MEDIUM…sam/3rdparty/Eigen/Eigen/src/Core/ConditionEstimator.h128 // added to make the algorithm more robust in certain corner cases whereCOMMENT
MEDIUM…am/3rdparty/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h123// to leverage AVX instructions.COMMENT
MEDIUMgtsam/3rdparty/Eigen/Eigen/src/Core/arch/SSE/Complex.h26// to leverage AVX instructions.COMMENT
MEDIUMgtsam/3rdparty/Eigen/Eigen/src/Core/arch/SSE/Complex.h194// to leverage AVX instructions.COMMENT
MEDIUM…am/3rdparty/Eigen/Eigen/src/Core/arch/AVX/PacketMath.h56// to leverage AVX512 instructions.COMMENT
MEDIUM…am/3rdparty/Eigen/Eigen/src/Core/arch/AVX/PacketMath.h638// NOTE: leverage _mm256_i32gather_ps and _mm256_i32gather_pd if AVX2 instructions are availableCOMMENT
MEDIUMgtsam/3rdparty/Eigen/Eigen/src/Geometry/AngleAxis.h200 // let's use the robust Quaternion implementation:COMMENT
MEDIUMgtsam/geometry/Rot3M.cpp131 /// Essentially, this computes the orthogonalization error, distributes theCOMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp365 // DLT is surprisingly robust, but still off (actual error is around 0.26m):COMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp372 // result from nonlinear (but non-robust optimization) is close to DLT and still offCOMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp375 // Again with nonlinear optimization, this time with robust lossCOMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp410 // DLT is surprisingly robust, but still off (actual error is around 0.17m):COMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp417 // result from nonlinear (but non-robust optimization) is close to DLT and still offCOMMENT
MEDIUM⚡gtsam/geometry/tests/testTriangulation.cpp420 // Again with nonlinear optimization, this time with robust lossCOMMENT
MEDIUMgtsam/nonlinear/GncParams.h42/// Choice of robust loss function for GNC.COMMENT
MEDIUMgtsam/nonlinear/GncParams.h106 /// Set the robust loss function to be used in GNC (chosen among the ones in GncLossType).COMMENT
MEDIUMgtsam/nonlinear/GncOptimizer.h157 // if the factor has a robust loss, we remove the robust lossCOMMENT
MEDIUMgtsam/nonlinear/LevenbergMarquardtOptimizer.cpp173 // as the nonlinear error when robust noise models are used.COMMENT
MEDIUMgtsam/nonlinear/WnoaInterpFactor.h811 // Note: Here, we leverage the block-diagonal approximation of theCOMMENT
MEDIUMpython/gtsam/tests/test_backwards_compatibility.py766 """Ensure triangulation with a robust model works."""STRING
MEDIUM⚡python/gtsam/tests/test_backwards_compatibility.py804 # DLT is surprisingly robust, but still off (actual error is around 0.26m)COMMENT
MEDIUM⚡python/gtsam/tests/test_backwards_compatibility.py814 # result from nonlinear (but non-robust optimization) is close to DLT and still offCOMMENT
25 more matches not shown…
Cross-File Repetition49 hits · 245 pts
SeverityFileLineSnippetContext
HIGHpython/gtsam/tests/test_OdometryExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_VisualISAMExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_SFMExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_KalmanFilter.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_FixedLagSmootherExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Cal3Unified.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_PriorFactor.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Pose3SLAMExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_SimpleCamera.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_ScenarioRunner.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Pose2SLAMExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Values.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_JacobianFactor.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_LocalizationExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_PlanarSLAMExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Scenario.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_StereoVOExample.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_KarcherMeanFactor.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_FrobeniusFactor.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_SO4.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_FundamentalMatrix.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_SOn.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_GaussianBayesNet.py0gtsam copyright 2010-2021, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_DiscreteBayesNet.py0gtsam copyright 2010-2021, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_DiscreteDistribution.py0gtsam copyright 2010-2021, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_DecisionTreeFactor.py0gtsam copyright 2010-2021, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_DiscreteBayesTree.py0gtsam copyright 2010-2021, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Sim2.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Sim3.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Rot3.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Sim2.py0test if align pose3pairs method can account for gauge ambiguity. make sure a big and small square can be aligned. the u'STRING
HIGHpython/gtsam/tests/test_Sim3.py0test if align pose3pairs method can account for gauge ambiguity. make sure a big and small square can be aligned. the u'STRING
HIGHpython/gtsam/tests/test_backwards_compatibility.py0test if align pose3pairs method can account for gauge ambiguity. make sure a big and small square can be aligned. the u'STRING
HIGHpython/gtsam/tests/test_Gal3.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_Se23.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_ExtendedPose3.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_NavState.py0gtsam copyright 2010-2019, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHpython/gtsam/tests/test_lago.py0gtsam copyright 2010, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved authors: frank STRING
HIGHpython/gtsam/examples/EssentialViewGraphExample.py0gtsam copyright 2010, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved authors: frank STRING
HIGHpython/gtsam/examples/ViewGraphExample.py0gtsam copyright 2010, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved authors: frank STRING
HIGHwrap/gtwrap/interface_parser/type.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/template.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/module.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/classes.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/namespace.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/function.py0gtsam copyright 2010-2020, georgia tech research corporation, atlanta, georgia 30332-0415 all rights reserved see licensSTRING
HIGHwrap/gtwrap/interface_parser/declaration.py0get the namespaces which this class is nested under as a list.STRING
HIGHwrap/gtwrap/interface_parser/classes.py0get the namespaces which this class is nested under as a list.STRING
HIGHwrap/gtwrap/interface_parser/enum.py0get the namespaces which this class is nested under as a list.STRING
Unused Imports214 hits · 214 pts
SeverityFileLineSnippetContext
LOWgtsam/navigation/doc/galilean_imu_factor_nees.py8CODE
LOWgtsam/3rdparty/Eigen/debug/gdb/printers.py30CODE
LOWpython/gtsam/symbol_shorthand.py4CODE
LOWpython/gtsam/gtsfm.py4CODE
LOWpython/gtsam/__init__.py11CODE
LOWpython/gtsam/__init__.py13CODE
LOWpython/gtsam/__init__.py13CODE
LOWpython/gtsam/__init__.py14CODE
LOWpython/gtsam/noiseModel.py4CODE
LOWpython/gtsam/imuBias.py4CODE
LOWpython/gtsam/tests/test_SFMExample.py17CODE
LOWpython/gtsam/tests/test_DSFMap.py13CODE
LOWpython/gtsam/tests/test_HybridBayesNet.py21CODE
LOWpython/gtsam/tests/test_initialize_pose3.py17CODE
LOWpython/gtsam/tests/test_lago.py16CODE
LOWpython/gtsam/tests/test_Pose3SLAMExample.py12CODE
LOWpython/gtsam/tests/test_NonlinearOptimizer.py13CODE
LOWpython/gtsam/tests/test_ShonanAveraging.py20CODE
LOWpython/gtsam/tests/test_ShonanAveraging.py20CODE
LOWpython/gtsam/tests/test_SimpleCamera.py16CODE
LOWpython/gtsam/tests/test_PinholeCamera.py12CODE
LOWpython/gtsam/tests/test_DiscreteSearch.py21CODE
LOWpython/gtsam/tests/test_Pose2.py17CODE
LOWpython/gtsam/tests/test_HybridNonlinearFactorGraph.py13CODE
LOWpython/gtsam/tests/test_dataset.py14CODE
LOWpython/gtsam/tests/test_SfmData.py13CODE
LOWpython/gtsam/tests/test_ISAM2FillIn.py16CODE
LOWpython/gtsam/tests/test_GaussianFactorGraph.py13CODE
LOWpython/gtsam/tests/test_Scenario.py11CODE
LOWpython/gtsam/tests/test_SphericalCamera.py15CODE
LOWpython/gtsam/utils/plot.py10CODE
LOWpython/gtsam/utils/visual_data_generator.py1CODE
LOWpython/gtsam/utils/logging_optimizer.py7CODE
LOWpython/gtsam/utils/logging_optimizer.py9CODE
LOWpython/gtsam/utils/logging_optimizer.py9CODE
LOWpython/gtsam/examples/ImuFactorISAM2Example.py7CODE
LOWpython/gtsam/examples/ImuFactorISAM2Example.py13CODE
LOWpython/gtsam/examples/CombinedImuFactorExample.py15CODE
LOWpython/gtsam/examples/CombinedImuFactorExample.py24CODE
LOWpython/gtsam/examples/SFMExample_SphericalCamera.py28CODE
LOWpython/gtsam/examples/Pose3SLAMExample_g2o.py10CODE
LOWpython/gtsam/examples/Pose3SLAMExample_g2o.py18CODE
LOWpython/gtsam/examples/Pose2SLAMExample_g2o.py14CODE
LOW…am/examples/Pose3SLAMExample_initializePose3Chordal.py14CODE
LOWpython/gtsam/examples/VisualISAM2Example.py14CODE
LOWpython/gtsam/examples/VisualISAM2Example.py22CODE
LOWpython/gtsam/examples/Pose2SLAMExample_lago.py25CODE
LOWpython/gtsam/examples/LeggedEstimatorExample.py12CODE
LOWpython/gtsam/examples/AbcEquivariantFilterExample.py8CODE
LOWpython/gtsam/examples/PlanarManipulatorExample.py14CODE
LOWpython/gtsam/examples/PlanarManipulatorExample.py22CODE
LOWpython/gtsam/examples/PlanarManipulatorExample.py24CODE
LOWpython/gtsam/examples/ImuFactorExample.py15CODE
LOWpython/gtsam/examples/ImuFactorExample.py24CODE
LOWpython/gtsam/examples/PreintegrationExample.py21CODE
LOWpython/gtsam_unstable/__init__.py1CODE
LOW…ble/examples/SmartStereoProjectionPoseFactorExample.py8CODE
LOW…ble/examples/SmartStereoProjectionPoseFactorExample.py9CODE
LOWgtsam_unstable/timing/process_shonan_timing_results.py5CODE
LOWgtsam_unstable/timing/process_shonan_timing_results.py8CODE
154 more matches not shown…
Deep Nesting40 hits · 40 pts
SeverityFileLineSnippetContext
LOWgtsam/navigation/doc/galilean_imu_factor_nees.py941CODE
LOWpython/gtsam/tests/test_GalileanImuFactor.py67CODE
LOWpython/gtsam/tests/test_Errors.py24CODE
LOWpython/gtsam/tests/test_Errors.py33CODE
LOWpython/gtsam/utils/__init__.py4CODE
LOWpython/gtsam/examples/simulation.py7CODE
LOWpython/gtsam/examples/IMUKittiExampleGPS.py183CODE
LOWpython/gtsam/examples/gtsam_plotly.py203CODE
LOWpython/gtsam/examples/ViewGraphComparison.py97CODE
LOWpython/gtsam/examples/ViewGraphComparison.py222CODE
LOWpython/gtsam/examples/ViewGraphComparison.py314CODE
LOWpython/gtsam/examples/LeggedEstimatorExample.py54CODE
LOWpython/gtsam/examples/LeggedEstimatorExample.py903CODE
LOWpython/gtsam/examples/gnss_frontend.py94CODE
LOWtiming/inspect_mosek_sdp.py24CODE
LOW…p/pybind11/tools/codespell_ignore_lines_from_errors.py17CODE
LOWwrap/pybind11/pybind11/setup_helpers.py290CODE
LOWwrap/pybind11/tests/test_numpy_array.py591CODE
LOWwrap/pybind11/tests/test_factory_constructors.py481CODE
LOWwrap/pybind11/tests/test_factory_constructors.py499CODE
LOWwrap/pybind11/tests/test_numpy_dtypes.py374CODE
LOWwrap/pybind11/tests/test_gil_scoped.py170CODE
LOWwrap/docs/parser/parse_xml.py10CODE
LOWwrap/docs/parser/parse_doxygen_xml.py21CODE
LOWwrap/gtwrap/pybind_wrapper.py498CODE
LOWwrap/gtwrap/pybind_wrapper.py775CODE
LOWwrap/gtwrap/interface_parser/diagnostics.py268CODE
LOWwrap/gtwrap/interface_parser/classes.py317CODE
LOWwrap/gtwrap/xml_parser/xml_parser.py238CODE
LOWwrap/gtwrap/xml_parser/xml_parser.py420CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py399CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1253CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1431CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1500CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1604CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1870CODE
LOWwrap/gtwrap/matlab_wrapper/wrapper.py2040CODE
LOWwrap/gtwrap/template_instantiator/namespace.py11CODE
LOWwrap/gtwrap/template_instantiator/helpers.py31CODE
LOWscripts/test_conda_package.py15CODE
Redundant / Tautological Comments19 hits · 32 pts
SeverityFileLineSnippetContext
LOW⚡python/gtsam/tests/test_FundamentalMatrix.py82 # Check if the line is horizontal at height 2COMMENT
LOW⚡python/gtsam/tests/test_FundamentalMatrix.py112 # Check if the line is horizontal at height 0.3COMMENT
LOWpython/gtsam/tests/test_FundamentalMatrix.py143 # Check if the line is horizontal at height 0.3COMMENT
LOWpython/gtsam/tests/test_DiscreteFactorGraph.py60 # Check if graph evaluation works ( 0.3*0.6*4 )COMMENT
LOW⚡python/gtsam/tests/test_DiscreteFactorGraph.py76 # Check if graph evaluation works (0.3*0.9*1*0.2*8)COMMENT
LOW⚡python/gtsam/tests/test_DiscreteFactorGraph.py84 # Check if graph evaluation works (0.9*0.6*1*0.9*4)COMMENT
LOW⚡python/gtsam/tests/test_DiscreteFactorGraph.py87 # Check if graph product worksCOMMENT
LOWpython/gtsam/tests/test_numerical_derivative.py33 # Check if numerical derivative is close to analytical derivativeCOMMENT
LOWpython/gtsam/tests/test_TranslationRecovery.py48 # Set verbosity to Silent for testsCOMMENT
LOWwrap/gtwrap/xml_parser/xml_parser.py16 # Set this to true to have useful information for debugging this class, as in the CLICOMMENT
LOWwrap/gtwrap/xml_parser/xml_parser.py459 # Check if it's a para AND doesn't contain a parameterlist or simplesect (handle those separately)COMMENT
LOWwrap/gtwrap/matlab_wrapper/wrapper.py1883 # Check if class is in ignore list.STRING
LOWwrap/gtwrap/template_instantiator/namespace.py61 # Check if element is a typedef'd class, function orCOMMENT
LOW⚡wrap/gtwrap/template_instantiator/helpers.py58 # Check if the return type has template parameters as the typename's nameCOMMENT
LOW⚡wrap/gtwrap/template_instantiator/helpers.py68 # Check if template is a scoped template e.g. T::Value where T is the templateCOMMENT
LOWwrap/gtwrap/template_instantiator/helpers.py111 # Check if the class is template instantiatedCOMMENT
LOWwrap/gtwrap/template_instantiator/helpers.py130 # Check if `This` is in the namespacesCOMMENT
LOW.github/workflows/build-cibw.yml158 # Set DYLD_LIBRARY_PATH to REPAIR_LIBRARY_PATH, which is set in cibw_before_all.sh. REPAIR_LIBRARY_PATHCOMMENT
LOW.github/workflows/prod-cibw.yml138 # Set DYLD_LIBRARY_PATH to REPAIR_LIBRARY_PATH, which is set in cibw_before_all.sh. REPAIR_LIBRARY_PATHCOMMENT
Verbosity Indicators12 hits · 25 pts
SeverityFileLineSnippetContext
LOW…orted/Eigen/CXX11/src/Tensor/TensorContractionMapper.h318 // On the right hand side we need to check if the contracting dimensions may haveCOMMENT
LOW⚡gtsam/base/WeightedSampler.h62 // Step 1: The first m items of V are inserted into reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h63 // Step 2: For each item v_i ∈ reservoir: Calculate a key k_i = u_i^(1/w),COMMENT
LOW⚡gtsam/base/WeightedSampler.h75 // Step 4: Repeat Steps 5–10 until the population is exhaustedCOMMENT
LOW⚡gtsam/base/WeightedSampler.h77 // Step 3: The threshold T_w is the minimum key of reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h79 // Step 10: The new threshold T w is the new minimum key of reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h84 // Step 5: Let r = random(0, 1) and X_w = log(r) / log(T_w)COMMENT
LOW⚡gtsam/base/WeightedSampler.h88 // Step 6: From the current item v_c skip items until item v_i, suchCOMMENT
LOW⚡gtsam/base/WeightedSampler.h92 // Step 7: w_c + w_{c+1} + ··· + w_{i−1} < X_w <= w_c + w_{c+1} + ··· +COMMENT
LOW⚡gtsam/base/WeightedSampler.h99 // Step 7: No such item, terminateCOMMENT
LOW⚡gtsam/base/WeightedSampler.h102 // Step 9: Let t_w = T_w^{w_i}, r_2 = random(t_w, 1) and v_i’s key: k_iCOMMENT
LOW⚡gtsam/base/WeightedSampler.h110 // Step 8: The item in reservoir with the minimum key is replaced byCOMMENT
Empty Error Handlers5 hits · 25 pts
SeverityFileLineSnippetContext
HIGHpython/gtsam/examples/simulation.py119except Exception as e:CODE
HIGHwrap/pybind11/pybind11/setup_helpers.py143except ModuleNotFoundError:CODE
HIGHwrap/gtwrap/matlab_wrapper/wrapper.py2061except OSError:CODE
HIGHwrap/gtwrap/matlab_wrapper/wrapper.py2074except OSError:CODE
HIGHwrap/gtwrap/matlab_wrapper/wrapper.py2088except OSError:CODE
Excessive Try-Catch Wrapping18 hits · 24 pts
SeverityFileLineSnippetContext
LOWpython/gtsam/examples/simulation.py119 except Exception as e:CODE
LOWpython/gtsam/examples/gtsam_plotly.py197 except Exception as e:CODE
LOWpython/gtsam/examples/gtsam_plotly.py286 except Exception as e:CODE
LOWpython/gtsam/examples/AbcEquivariantFilterExample.py155 except Exception:CODE
LOWpython/gtsam/examples/AbcEquivariantFilterExample.py225 except Exception:CODE
MEDIUMpython/gtsam/examples/AbcEquivariantFilterExample.py226 print("Error: Could not find EqFdata.csv")CODE
MEDIUMpython/gtsam/notebooks/standardize_notebooks.py109 print(f"Error reading {notebook_path}: {e}")CODE
LOWpython/gtsam/notebooks/standardize_notebooks.py146 except Exception as e:CODE
MEDIUMpython/gtsam/notebooks/standardize_notebooks.py147 print(f"Error writing {notebook_path}: {e}")CODE
MEDIUMpython/gtsam/notebooks/standardize_notebooks.py158 print(f"Error: Directory {directory_path} does not exist")CODE
MEDIUMpython/gtsam/notebooks/standardize_notebooks.py162 print(f"Error: {directory_path} is not a directory")CODE
LOWtiming/pypose_ba/setup_env.sh84except Exception as exc:CODE
LOWwrap/pybind11/tests/conftest.py27except Exception:CODE
LOWwrap/pybind11/tests/test_thread.py22 except Exception as e:CODE
MEDIUMwrap/pybind11/tests/test_thread.py18def run(self):CODE
LOWwrap/pybind11/tests/test_multiple_interpreters.py115 except Exception as e:CODE
LOW.github/scripts/python_wheels/cleanup_gtsam_develop.sh348 except Exception as error:CODE
LOW.github/scripts/python_wheels/cleanup_gtsam_develop.sh401 except Exception as error:CODE
Structural Annotation Overuse11 hits · 24 pts
SeverityFileLineSnippetContext
LOW⚡gtsam/base/WeightedSampler.h62 // Step 1: The first m items of V are inserted into reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h63 // Step 2: For each item v_i ∈ reservoir: Calculate a key k_i = u_i^(1/w),COMMENT
LOW⚡gtsam/base/WeightedSampler.h75 // Step 4: Repeat Steps 5–10 until the population is exhaustedCOMMENT
LOW⚡gtsam/base/WeightedSampler.h77 // Step 3: The threshold T_w is the minimum key of reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h79 // Step 10: The new threshold T w is the new minimum key of reservoirCOMMENT
LOW⚡gtsam/base/WeightedSampler.h84 // Step 5: Let r = random(0, 1) and X_w = log(r) / log(T_w)COMMENT
LOW⚡gtsam/base/WeightedSampler.h88 // Step 6: From the current item v_c skip items until item v_i, suchCOMMENT
LOW⚡gtsam/base/WeightedSampler.h92 // Step 7: w_c + w_{c+1} + ··· + w_{i−1} < X_w <= w_c + w_{c+1} + ··· +COMMENT
LOW⚡gtsam/base/WeightedSampler.h99 // Step 7: No such item, terminateCOMMENT
LOW⚡gtsam/base/WeightedSampler.h102 // Step 9: Let t_w = T_w^{w_i}, r_2 = random(t_w, 1) and v_i’s key: k_iCOMMENT
LOW⚡gtsam/base/WeightedSampler.h110 // Step 8: The item in reservoir with the minimum key is replaced byCOMMENT
Decorative Section Separators6 hits · 18 pts
SeverityFileLineSnippetContext
MEDIUMpixi.toml8# ---------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml15# ---------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml82# ---------------------------------------------------------------------------COMMENT
MEDIUMpixi.toml86# ---------------------------------------------------------------------------COMMENT
MEDIUMgtsam/3rdparty/Eigen/lapack/CMakeLists.txt442 # ==============================================================================COMMENT
MEDIUMpython/gtsam/examples/IMUKittiExampleGPS.py307 # =======================================================================COMMENT
AI Response Leakage2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…am/3rdparty/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h547 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
HIGH…am/3rdparty/Eigen/Eigen/src/Core/arch/SSE/PacketMath.h556 // In this implementation, we take advantage of the fact that pmin/pmax for SSECOMMENT
Hallucination Indicators1 hit · 10 pts
SeverityFileLineSnippetContext
CRITICAL…m/3rdparty/Eigen/bench/perf_monitoring/resources/s2.js1!function(){var a={};a.dev=!1,a.tooltip=a.tooltip||{},a.utils=a.utils||{},a.models=a.models||{},a.charts={},a.logs={},a.CODE
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…sam/3rdparty/Eigen/Eigen/src/Core/util/SymbolicIndex.h19 * Here is a simple example:COMMENT
MEDIUM…arty/Eigen/Eigen/src/Core/arch/AltiVec/MatrixProduct.h114 * As mentioned earlier MatrixProduct breaks complex numbers into a real vector and a complex vector so packing hasCOMMENT
LOWwrap/pybind11/tests/test_numpy_array.py658# value increases without bounds. (Don't forget to Ctrl-C the test!)COMMENT
Synthetic Comment Markers1 hit · 8 pts
SeverityFileLineSnippetContext
HIGHwrap/pybind11/include/pybind11/detail/class.h662 // Fill in all the information, and then downgrade as requested by the caller, or raise anCOMMENT
TODO Padding3 hits · 4 pts
SeverityFileLineSnippetContext
LOWgtsam/3rdparty/Eigen/test/hessenberg.cpp49 // TODO: Add tests for packedMatrix() and householderCoefficients()COMMENT
LOWgtsam/3rdparty/Eigen/unsupported/test/EulerAngles.cpp294 // TODO: Add tests for auto diffCOMMENT
LOWgtsam/3rdparty/Eigen/unsupported/test/EulerAngles.cpp295 // TODO: Add tests for complex numbersCOMMENT
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOWpython/gtsam/examples/CombinedImuFactorExample.py105CODE
LOWpython/gtsam/examples/ImuFactorExample.py103CODE
LOWwrap/gtwrap/pybind_wrapper.py289CODE
LOWwrap/gtwrap/pybind_wrapper.py653CODE
Modern Structural Boilerplate2 hits · 2 pts
SeverityFileLineSnippetContext
LOWpython/gtsam/utils/plot.py36def set_axes_equal(fignum: int) -> None:CODE
LOWpython/gtsam/examples/LeggedEstimatorExample.py934 def update_terrain_height(timestamp_s: float) -> None:CODE
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOWwrap/pybind11/tools/libsize.py7# Usage:COMMENT
Overly Generic Function Names1 hit · 1 pts
SeverityFileLineSnippetContext
LOWwrap/tests/test_interface_parser.py571 def test_function(self):CODE