AI Slop Code RIsk Monitor

biolab/orange3

🍊 :bar_chart: :bulb: Orange: Interactive data analysis

16.4 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for biolab/orange3, a Python project with 5,723 GitHub stars. SynthScan examined 229,505 lines of code across 796 source files, recording 2760 pattern matches distributed across 18 syntactic categories. The legacy adjusted pattern signal is 16.4 (Elevated 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.

16.4
Adjusted Signal
16.4
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.7K
Stars
Python
Language
229.5K
Lines of Code
796
Files
2.8K
Pattern Hits
2026-10-12
Scan Date
0.22
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 35.7/100 · MEDIUM

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

Hallucinated Dependency & Supply Chain Risk 18.4/100 · LOW

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

Agent Over-Engineering Ratio 40.8/100 · MEDIUM

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

PR Review Velocity Impact 57.1/100 · HIGH

Which changes need focused human review? 2760 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 33HIGH 143MEDIUM 54LOW 2530

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 2760 distinct pattern matches across 18 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.

Hyper-Verbose Identifiers1558 hits · 1543 pts
SeverityFileLineSnippetContext
LOWbenchmark/bench_owkmeans.py48 def bench_from_to_sampled_silhouette(self):CODE
LOWbenchmark/bench_basic.py39 def bench_adult_filter_pandas(self):CODE
LOWbenchmark/bench_basic.py44 def bench_adult_filter_pre_pandas(self):CODE
LOWbenchmark/bench_basic.py68 def bench_iris_iteration_pandas(self):CODE
LOWbenchmark/bench_basic.py74 def bench_iris_iteration_pre_pandas(self):CODE
LOWbenchmark/bench_preprocess.py28 def bench_normalize_only_transform(self):CODE
LOWbenchmark/bench_preprocess.py32 def bench_normalize_only_parameters(self):CODE
LOWbenchmark/bench_save.py41 def bench_print_dense_decimals(self):CODE
LOWbenchmark/bench_save.py51 def bench_print_sparse_decimals(self):CODE
LOWbenchmark/bench_transform.py63 def bench_subarray_dense_long(self):CODE
LOWbenchmark/bench_transform.py93 def bench_transform_single_single(self):CODE
LOWbenchmark/bench_transform.py105 def bench_transform_single_single_shared_single(self):CODE
LOWbenchmark/bench_transform.py113 def bench_transform_single_single_shared_single_shared_single(self):CODE
LOWbenchmark/bench_domain.py39 def bench_transform_discretize(self):CODE
LOWbenchmark/bench_domain.py43 def bench_transform_normalize(self):CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveA.py292 def select_proportion_preproc(data, p, rstate=None):CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveB.py308 def select_proportion_preproc(data, p, rstate=None):CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveB.py336def learning_curve_with_test_data(CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveB.py348 def select_proportion_preproc(data, p, rstate=None):CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveC.py476 def select_proportion_preproc(data, p, rstate=None):CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveC.py504def learning_curve_with_test_data(CODE
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveC.py516 def select_proportion_preproc(data, p, rstate=None):CODE
LOWOrange/statistics/util.py30def _count_nans_per_row_sparse(X, weights, dtype=None):CODE
LOW⚡Orange/statistics/util.py53def sparse_count_implicit_zeros(x):CODE
LOW⚡Orange/statistics/util.py60def sparse_has_implicit_zeros(x):CODE
LOW⚡Orange/statistics/util.py67def sparse_implicit_zero_weights(x, weights):CODE
LOWOrange/statistics/distribution.py381def get_distributions_for_columns(data, columns):CODE
LOWOrange/classification/scoringsheet.py111 def _optimize_decision_params_adjustment(self, learner):CODE
LOWOrange/classification/scoringsheet.py132 def _generate_feature_group_index(self, table):CODE
LOWOrange/classification/rules.py92def likelihood_ratio_statistic(x, y):CODE
LOWOrange/classification/rules.py1008 def positive_remaining_data_stopping(self, X, Y, W, target_class, domain):CODE
LOWOrange/classification/rules.py1042 def lrs_significance_rule_stopping(new_rule):CODE
LOWOrange/classification/rules.py1069 def exclusive_cover_and_remove(X, Y, W, new_rule):CODE
LOWOrange/classification/rules.py1095 def weighted_cover_and_remove(self, X, Y, W, new_rule):CODE
LOWOrange/classification/tests/test_gb_cls.py22 def test_predict_single_instance(self):CODE
LOWOrange/classification/tests/test_xgb_cls.py39 def test_predict_single_instance(self, learner_class: XGBBase):CODE
LOWOrange/classification/tests/test_outlier_detection.py38 def assert_table_appended_outlier(self, table1, table2, offset=1):CODE
LOWOrange/classification/tests/test_outlier_detection.py138 def test_single_data_to_model_domain(self):CODE
LOWOrange/classification/tests/test_catgb_cls.py28 def test_predict_single_instance(self):CODE
LOWOrange/classification/tests/test_simple_tree.py11 def test_nonan_classification(self):CODE
LOWOrange/classification/utils/fasterrisk/rounding.py32 def get_multipliers_for_line_search(self, betas):CODE
LOWOrange/classification/utils/fasterrisk/rounding.py64 def star_ray_search_scale_and_round(self, sparseDiversePool_beta0_continuous, sparseDiversePool_betas_continuous):CODE
LOWOrange/classification/utils/fasterrisk/rounding.py93 def line_search_scale_and_round(self, betas):CODE
LOWOrange/classification/utils/fasterrisk/rounding.py144 def get_rounding_distance_and_dimension(self, betas):CODE
LOWOrange/classification/utils/fasterrisk/fasterrisk.py259 def _print_score_calculation_table(self):CODE
LOWOrange/classification/utils/fasterrisk/base_model.py56 def transform_coefficients_to_original_space(self, beta0, betas):CODE
LOWOrange/classification/utils/fasterrisk/base_model.py62 def transform_coefficients_to_normalized_space(self, original_beta0, original_betas):CODE
LOWOrange/classification/utils/fasterrisk/base_model.py93 def finetune_on_current_support(self, ExpyXB, beta0, betas, total_CD_steps=100):CODE
LOWOrange/classification/utils/fasterrisk/utils.py76def download_file_from_google_drive(id, destination):CODE
LOWOrange/misc/server_embedder.py26def _rewrite_proxies_to_mounts(proxies):CODE
LOWOrange/misc/tests/test_embedder_utils.py95 def test_save_cache_no_permission(self):CODE
LOWOrange/misc/tests/test_embedder_utils.py112 def test_load_cache_no_permission(self):CODE
LOWOrange/misc/tests/test_embedder_utils.py133 def test_load_cache_eof_error(self):CODE
LOWOrange/misc/tests/test_distmatrix_xlsx.py253 def test_read_matrix_with_nan_values(self):CODE
LOWOrange/misc/tests/test_server_embedder.py70 def test_on_non_json_response(self):CODE
LOWOrange/misc/tests/test_server_embedder.py77 def test_on_json_wrong_key_response(self):CODE
LOWOrange/misc/tests/test_server_embedder.py102 def test_different_models_caches(self):CODE
LOWOrange/misc/tests/test_server_embedder.py121 def test_too_many_examples_for_one_batch(self):CODE
LOWOrange/misc/tests/test_server_embedder.py162 def test_encode_data_instance(self):CODE
LOWOrange/misc/tests/test_distmatrix.py24 def test_auto_symmetricized_result(self):CODE
1498 more matches not shown…
Empty Error Handlers77 hits · 385 pts
SeverityFileLineSnippetContext
HIGHbenchmark/bench_basic.py9except: # pylint: disable=bare-exceptCODE
HIGHbenchmark/base.py14except ImportError:CODE
HIGHscripts/create_widget_catalog.py48except FileExistsError:CODE
HIGHOrange/util.py527except StopIteration:CODE
HIGHOrange/util.py771except TypeError:CODE
HIGHOrange/__init__.py27except: # pylint: disable=bare-exceptCODE
HIGHOrange/classification/__init__.py26except Exception:CODE
HIGHOrange/classification/__init__.py31except Exception:CODE
HIGHOrange/modelling/__init__.py17except ImportError:CODE
HIGHOrange/modelling/__init__.py22except ImportError:CODE
HIGHOrange/tests/test_table.py1356except SkipRest:CODE
HIGHOrange/tests/test_doctest.py60except ValueError:CODE
HIGHOrange/tests/sql/test_sql_table.py677except BackendError:CODE
HIGHOrange/tests/sql/base.py176except:CODE
HIGHOrange/tests/sql/base.py249except:CODE
HIGHOrange/preprocess/impute.py208except DomainTransformationError:CODE
HIGHOrange/preprocess/discretize.py100except ValueError: # points would create identical formatted thresholdsCODE
HIGHOrange/canvas/config.py231except OSError:CODE
HIGHOrange/canvas/config.py244except OSError:CODE
HIGHOrange/canvas/config.py263except OSError:CODE
HIGHOrange/regression/__init__.py20except Exception:CODE
HIGHOrange/regression/__init__.py25except Exception:CODE
HIGHOrange/data/io_base.py370except IndexError:CODE
HIGHOrange/data/io_base.py550except IndexError:CODE
HIGHOrange/data/io_base.py475except StopIteration:CODE
HIGHOrange/data/io_base.py67except SyntaxError:CODE
HIGHOrange/data/pandas_compat.py205except Exception: # pylint: disable=broad-exceptCODE
HIGHOrange/data/pandas_compat.py199except (ValueError, TypeError):CODE
HIGHOrange/data/filter.py70except NotImplementedError:CODE
HIGHOrange/data/filter.py101except NotImplementedError:CODE
HIGHOrange/data/filter.py130except NotImplementedError:CODE
HIGHOrange/data/filter.py168except NotImplementedError:CODE
HIGHOrange/data/filter.py233except NotImplementedError:CODE
HIGHOrange/data/table.py814except KeyError:CODE
HIGHOrange/data/io_util.py94except OSError:CODE
HIGHOrange/data/io_util.py186except ValueError:CODE
HIGHOrange/data/sql/table.py155except TypeError:CODE
HIGHOrange/data/sql/table.py79except BackendError:CODE
HIGHOrange/data/sql/backend/__init__.py5except ImportError:CODE
HIGHOrange/data/sql/backend/__init__.py10except ImportError:CODE
HIGHOrange/widgets/gui.py51except ImportError:CODE
HIGHOrange/widgets/unsupervised/owlouvainclustering.py487except: # pylint: disable=bare-exceptCODE
HIGHOrange/widgets/tests/base.py159except IOError:CODE
HIGHOrange/widgets/utils/colorpalettes.py662except ValueError:CODE
HIGHOrange/widgets/utils/colorpalettes.py670except ValueError:CODE
HIGHOrange/widgets/utils/encodings.py124except LookupError:CODE
HIGHOrange/widgets/utils/graphicsflowlayout.py136except IndexError:CODE
HIGHOrange/widgets/utils/graphicsflowlayout.py145except ValueError:CODE
HIGHOrange/widgets/utils/headerview.py127except (TypeError, ValueError): # pragma: no coverCODE
HIGHOrange/widgets/utils/headerview.py156except (TypeError, ValueError):CODE
HIGHOrange/widgets/utils/headerview.py165except (TypeError, ValueError):CODE
HIGHOrange/widgets/utils/webview.py8except ImportError:CODE
HIGHOrange/widgets/utils/textimport.py87except AttributeError:CODE
HIGHOrange/widgets/utils/filedialogs.py60except (AttributeError, KeyError, TypeError):CODE
HIGHOrange/widgets/utils/save/owsavebase.py131except ValueError: # on Windows for paths on different drivesCODE
HIGHOrange/widgets/visualize/owtreeviewer2d.py233except RuntimeError: # this gets called through QTimer.singleShotCODE
HIGHOrange/widgets/visualize/tests/test_owbarplot.py148except AssertionError: # skip disabled itemsCODE
HIGHOrange/widgets/visualize/utils/heatmap.py987except IndexError:CODE
HIGHOrange/widgets/visualize/utils/vizrank.py269except Empty:CODE
HIGHOrange/widgets/visualize/utils/vizrank.py323except Empty:CODE
17 more matches not shown…
Hallucination Indicators33 hits · 385 pts
SeverityFileLineSnippetContext
CRITICAL…/widgets/unsupervised/tests/test_owmanifoldlearning.py27 self.widget.apply_button.button.clicked.emit()CODE
CRITICAL…/widgets/unsupervised/tests/test_owmanifoldlearning.py214 self.widget.tsne_editor.metric_combo.activated.emit(4) # MahalanobisCODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py99 self.widget.controls.eps.valueChanged.emit(0.5)CODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py101 self.widget.controls.eps.valueChanged.emit(1)CODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py111 self.widget.controls.eps.valueChanged.emit(0.5)CODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py122 self.widget.controls.min_samples.valueChanged.emit(5)CODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py124 self.widget.controls.min_samples.valueChanged.emit(1)CODE
CRITICAL⚡Orange/widgets/unsupervised/tests/test_owdbscan.py134 self.widget.controls.min_samples.valueChanged.emit(3)CODE
CRITICAL⚡Orange/widgets/tests/base.py363 self.widget.apply_button.button.clicked.emit()CODE
CRITICALOrange/widgets/visualize/owscatterplot.py128 self.master.plot_widget.plotItem.axes.values()]CODE
CRITICALOrange/widgets/visualize/owdistributions.py229 self.master.parent_widget.ploti.axes.values()]CODE
CRITICAL⚡Orange/widgets/visualize/tests/test_owscatterplot.py157 self.assertTrue(self.widget.graph.controls.show_ellipse.isEnabled())CODE
CRITICAL⚡Orange/widgets/visualize/tests/test_owscatterplot.py159 self.widget.graph.controls.show_ellipse.setChecked(True)CODE
CRITICAL⚡Orange/widgets/visualize/tests/test_owscatterplot.py163 self.assertFalse(self.widget.graph.controls.show_ellipse.isEnabled())CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py643 self.widget.graph.controls.jitter_continuous.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py644 self.widget.graph.controls.jitter_size.setValue(1)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py871 self.widget.graph.controls.show_reg_line.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py884 self.widget.graph.controls.show_ellipse.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py1189 x_axis = self.widget.graph.plot_widget.plotItem.getAxis("bottom")CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py1243 self.widget.graph.controls.show_reg_line.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py1245 self.widget.graph.controls.show_ellipse.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py1330 self.widget.graph.controls.jitter_continuous.setChecked(True)CODE
CRITICALOrange/widgets/visualize/tests/test_owscatterplot.py1331 self.widget.graph.controls.jitter_size.setValue(10)CODE
CRITICALOrange/widgets/visualize/tests/test_owfreeviz.py133 self.widget.graph.controls.hide_radius.setSliderPosition(3)CODE
CRITICALOrange/widgets/visualize/tests/test_owdistributions.py874 self.assertFontEqual(w.plotview.parameter_setter.title_item.item.font(), font)CODE
CRITICALOrange/widgets/visualize/tests/test_owdistributions.py889 self.assertEqual(w.plotview.parameter_setter.title_item.item.toPlainText(), "iris distributions")CODE
CRITICAL…nge/widgets/visualize/tests/test_owlinearprojection.py120 self.widget.controls.graph.hide_radius.setValue(5)CODE
CRITICALOrange/widgets/model/tests/test_owstack.py26 self.widget.apply_button.button.clicked.emit()CODE
CRITICALOrange/widgets/model/tests/test_owstack.py29 self.widget.apply_button.button.clicked.emit()CODE
CRITICALOrange/widgets/model/tests/test_owstack.py40 self.widget.apply_button.button.clicked.emit()CODE
CRITICALOrange/widgets/model/tests/test_owstack.py43 self.widget.apply_button.button.clicked.emit()CODE
CRITICAL⚡Orange/widgets/data/tests/test_owcontinuize.py95 self.widget.Outputs.data.send.assert_called_with(out)CODE
CRITICALOrange/widgets/data/tests/test_owdatasampler.py64 buttons = self.widget.controls.sampling_type.group.buttons()CODE
Unused Imports392 hits · 368 pts
SeverityFileLineSnippetContext
LOWsetup.py23CODE
LOWsetup.py24CODE
LOWscripts/create_widget_catalog.py10CODE
LOWdoc/data-mining-library/source/conf.py18CODE
LOWdoc/data-mining-library/source/tutorial/conf.py16CODE
LOWdoc/data-mining-library/source/tutorial/conf.py17CODE
LOWdoc/data-mining-library/source/tutorial/conf.py18CODE
LOWdoc/development/source/conf.py18CODE
LOWdoc/development/source/code/owProduct.py2CODE
LOWOrange/util.py23CODE
LOWOrange/util.py28CODE
LOWOrange/util.py31CODE
LOWOrange/__init__.py4CODE
LOWOrange/__init__.py8CODE
LOWOrange/__init__.py8CODE
LOWOrange/classification/__init__.py4CODE
LOWOrange/classification/__init__.py4CODE
LOWOrange/classification/__init__.py4CODE
LOWOrange/classification/__init__.py4CODE
LOWOrange/classification/__init__.py8CODE
LOWOrange/classification/__init__.py9CODE
LOWOrange/classification/__init__.py10CODE
LOWOrange/classification/__init__.py11CODE
LOWOrange/classification/__init__.py12CODE
LOWOrange/classification/__init__.py13CODE
LOWOrange/classification/__init__.py14CODE
LOWOrange/classification/__init__.py15CODE
LOWOrange/classification/__init__.py16CODE
LOWOrange/classification/__init__.py17CODE
LOWOrange/classification/__init__.py18CODE
LOWOrange/classification/__init__.py19CODE
LOWOrange/classification/__init__.py20CODE
LOWOrange/classification/__init__.py21CODE
LOWOrange/classification/__init__.py22CODE
LOWOrange/classification/__init__.py23CODE
LOWOrange/classification/__init__.py28CODE
LOWOrange/classification/__init__.py25CODE
LOWOrange/classification/__init__.py30CODE
LOW…ge/classification/utils/fasterrisk/sparseBeamSearch.py2CODE
LOWOrange/classification/utils/fasterrisk/rounding.py2CODE
LOWOrange/classification/utils/fasterrisk/base_model.py2CODE
LOW…e/classification/utils/fasterrisk/sparseDiversePool.py2CODE
LOWOrange/misc/__init__.py3CODE
LOWOrange/ensembles/__init__.py4CODE
LOWOrange/ensembles/__init__.py5CODE
LOWOrange/modelling/__init__.py4CODE
LOWOrange/modelling/__init__.py6CODE
LOWOrange/modelling/__init__.py7CODE
LOWOrange/modelling/__init__.py8CODE
LOWOrange/modelling/__init__.py9CODE
LOWOrange/modelling/__init__.py10CODE
LOWOrange/modelling/__init__.py11CODE
LOWOrange/modelling/__init__.py12CODE
LOWOrange/modelling/__init__.py13CODE
LOWOrange/modelling/__init__.py14CODE
LOWOrange/modelling/__init__.py19CODE
LOWOrange/modelling/__init__.py16CODE
LOWOrange/modelling/__init__.py21CODE
LOWOrange/modelling/base.py4CODE
LOWOrange/distance/__init__.py1CODE
332 more matches not shown…
Deep Nesting277 hits · 262 pts
SeverityFileLineSnippetContext
LOWOrange/tree.py250CODE
LOWOrange/util.py496CODE
LOWOrange/statistics/util.py88CODE
LOWOrange/statistics/util.py450CODE
LOWOrange/statistics/util.py479CODE
LOWOrange/statistics/distribution.py125CODE
LOWOrange/statistics/contingency.py61CODE
LOWOrange/statistics/contingency.py280CODE
LOWOrange/classification/rules.py530CODE
LOWOrange/classification/rules.py827CODE
LOWOrange/misc/distmatrix.py173CODE
LOWOrange/misc/_distmatrix_xlsx.py82CODE
LOWOrange/distance/base.py433CODE
LOWOrange/tests/test_datasets.py37CODE
LOWOrange/tests/test_classification.py250CODE
LOWOrange/tests/test_classification.py284CODE
LOWOrange/tests/test_classification.py430CODE
LOWOrange/tests/test_classification.py456CODE
LOWOrange/clustering/clustering.py22CODE
LOWOrange/preprocess/continuize.py19CODE
LOWOrange/preprocess/continuize.py63CODE
LOWOrange/preprocess/discretize.py598CODE
LOWOrange/canvas/run.py26CODE
LOWOrange/canvas/run.py75CODE
LOWOrange/evaluation/scoring.py372CODE
LOWOrange/data/domain.py111CODE
LOWOrange/data/domain.py476CODE
LOWOrange/data/io_base.py55CODE
LOWOrange/data/io_base.py252CODE
LOWOrange/data/io_base.py273CODE
LOWOrange/data/io_base.py669CODE
LOWOrange/data/io.py131CODE
LOWOrange/data/pandas_compat.py263CODE
LOWOrange/data/pandas_compat.py455CODE
LOWOrange/data/pandas_compat.py471CODE
LOWOrange/data/table.py274CODE
LOWOrange/data/table.py592CODE
LOWOrange/data/table.py695CODE
LOWOrange/data/table.py991CODE
LOWOrange/data/table.py1174CODE
LOWOrange/data/table.py1221CODE
LOWOrange/data/table.py1743CODE
LOWOrange/data/table.py2032CODE
LOWOrange/data/table.py2069CODE
LOWOrange/data/table.py2134CODE
LOWOrange/data/table.py2231CODE
LOWOrange/data/io_util.py47CODE
LOWOrange/data/io_util.py71CODE
LOWOrange/data/sql/filter.py49CODE
LOWOrange/data/sql/filter.py75CODE
LOWOrange/data/sql/table.py102CODE
LOWOrange/data/sql/table.py505CODE
LOWOrange/widgets/settings.py205CODE
LOWOrange/widgets/gui.py544CODE
LOWOrange/widgets/gui.py577CODE
LOWOrange/widgets/gui.py595CODE
LOWOrange/widgets/unsupervised/owlouvainclustering.py479CODE
LOWOrange/widgets/unsupervised/owkmeans.py67CODE
LOWOrange/widgets/unsupervised/owtsne.py620CODE
LOWOrange/widgets/unsupervised/owtsne.py740CODE
217 more matches not shown…
Cross-Language Confusion30 hits · 180 pts
SeverityFileLineSnippetContext
HIGHOrange/statistics/util.py31 """ Count the number of nans (undefined) values per row. """STRING
HIGHOrange/data/pandas_compat.py406 if not (xdf.index.equals(ydf.index) and xdf.index.equals(mdf.index)):CODE
HIGHOrange/widgets/unsupervised/owtsne.py369 # If any of the values are invalidated, this should return trueCOMMENT
HIGHOrange/widgets/utils/headerview.py59 return size > 0 and pos + size == self.length()CODE
HIGHOrange/widgets/visualize/owscatterplotgraph.py1796 px = 0 if px is None else px.length()CODE
HIGHOrange/widgets/visualize/owscatterplotgraph.py1800 py = 0 if py is None else py.length()CODE
HIGHOrange/widgets/visualize/owheatmap.py365 box = gui.vBox(self.controlArea, 'Annotation && Legends')CODE
HIGHOrange/widgets/evaluate/owliftcurve.py143 "Some curves are undefined; check models and data")CODE
HIGHOrange/widgets/data/owpaintdata.py1084 self.undo_stack.push(command)CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1097 self.undo_stack.push(UndoCommand(DeleteIndices(mask), self))CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1098 self.undo_stack.push(UndoCommand(Move((move_mask, range(2, 3)), -1), self))CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1099 self.undo_stack.push(CODE
HIGHOrange/widgets/data/owpaintdata.py1125# self.undo_stack.push(command)COMMENT
HIGH⚡Orange/widgets/data/owpaintdata.py1191 self.undo_stack.push(UndoCommand(Append(points), self, text=name))CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1193 self.undo_stack.push(UndoCommand(cmd, self, text=name))CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1202 self.undo_stack.push(CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1207 self.undo_stack.push(CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1213 self.undo_stack.push(CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1220 self.undo_stack.push(UndoCommand(cmd, self, text="Delete"))CODE
HIGH⚡Orange/widgets/data/owpaintdata.py1222 self.undo_stack.push(UndoCommand(cmd, self))CODE
HIGHOrange/widgets/data/owfile.py690 self.url_combo.insertItem(0, url.toString())CODE
HIGHOrange/widgets/data/owfile.py727 "recent_urls": [url.toString()],CODE
HIGHOrange/widgets/data/owpythonscript.py349 more = self.push(line)STRING
HIGHOrange/widgets/data/owpythonscript.py387 return code.InteractiveConsole.push(self, line)STRING
HIGHOrange/widgets/data/owpythonscript.py981 self.console.push("exec(_script)")STRING
HIGH⚡…idgets/data/utils/pythoneditor/rectangularselection.py154 realStartCol = block.length() # out of range valueCODE
HIGH⚡…idgets/data/utils/pythoneditor/rectangularselection.py156 realCurrentCol = block.length() # out of range valueCODE
HIGH⚡…idgets/data/utils/pythoneditor/rectangularselection.py159 min(realStartCol, block.length() - 1))CODE
HIGH⚡…idgets/data/utils/pythoneditor/rectangularselection.py161 min(realCurrentCol, block.length() - 1),CODE
HIGHOrange/widgets/data/utils/pythoneditor/editor.py1177 if column >= block.length():CODE
Cross-File Repetition36 hits · 180 pts
SeverityFileLineSnippetContext
HIGHOrange/statistics/distribution.py0see http://docs.scipy.org/doc/numpy/user/basics.subclassing.htmlSTRING
HIGHOrange/statistics/contingency.py0see http://docs.scipy.org/doc/numpy/user/basics.subclassing.htmlSTRING
HIGHOrange/misc/distmatrix.py0see http://docs.scipy.org/doc/numpy/user/basics.subclassing.htmlSTRING
HIGHOrange/widgets/unsupervised/tests/test_owmds.py0test if data is plotted only once but committed on every input changeSTRING
HIGHOrange/widgets/unsupervised/tests/test_owtsne.py0test if data is plotted only once but committed on every input changeSTRING
HIGHOrange/widgets/tests/base.py0test if data is plotted only once but committed on every input changeSTRING
HIGHOrange/widgets/unsupervised/tests/test_owdistances.py0check if error message appears and then disappears when data is removed from inputSTRING
HIGHOrange/widgets/visualize/tests/test_owscatterplot.py0check if error message appears and then disappears when data is removed from inputSTRING
HIGHOrange/widgets/data/tests/test_owdatasampler.py0check if error message appears and then disappears when data is removed from inputSTRING
HIGHOrange/widgets/tests/base.py0check if model is on output after sending data and applySTRING
HIGHOrange/widgets/model/tests/test_owstack.py0check if model is on output after sending data and applySTRING
HIGHOrange/widgets/model/tests/test_owcalibratedlearner.py0check if model is on output after sending data and applySTRING
HIGHOrange/widgets/evaluate/tests/test_owconfusionmatrix.py0check learner and model for various values of all parameters when properties are not checkedSTRING
HIGHOrange/widgets/model/tests/test_tree.py0check learner and model for various values of all parameters when properties are not checkedSTRING
HIGHOrange/widgets/model/tests/test_owrandomforest.py0check learner and model for various values of all parameters when properties are not checkedSTRING
HIGHOrange/widgets/data/tests/test_owneighbors.py0check widget's data after disconnecting data on the inputSTRING
HIGHOrange/widgets/data/tests/test_oweditdomain.py0check widget's data after disconnecting data on the inputSTRING
HIGHOrange/widgets/data/tests/test_owrank.py0check widget's data after disconnecting data on the inputSTRING
HIGH…idgets/data/utils/pythoneditor/rectangularselection.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/lines.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/indenter.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/vim.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/editor.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…/widgets/data/utils/pythoneditor/brackethighlighter.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…e/widgets/data/utils/pythoneditor/tests/test_indent.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…nge/widgets/data/utils/pythoneditor/tests/test_edit.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…utils/pythoneditor/tests/test_rectangular_selection.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…/data/utils/pythoneditor/tests/test_draw_whitespace.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…a/utils/pythoneditor/tests/test_bracket_highlighter.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/tests/run_all.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…ange/widgets/data/utils/pythoneditor/tests/test_api.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGHOrange/widgets/data/utils/pythoneditor/tests/base.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…ange/widgets/data/utils/pythoneditor/tests/test_vim.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…/utils/pythoneditor/tests/test_indenter/test_python.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…ata/utils/pythoneditor/tests/test_indenter/__init__.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
HIGH…a/utils/pythoneditor/tests/test_indenter/indenttest.py0adapted from a code editor component created for enki editor as replacement for qscintilla. copyright (c) 2020 andrei koSTRING
Modern Structural Boilerplate125 hits · 126 pts
SeverityFileLineSnippetContext
LOWOrange/base.py24__all__ = ["Learner", "Model", "SklLearner", "SklModel",CODE
LOWOrange/classification/gb.py11__all__ = ["GBClassifier"]CODE
LOWOrange/classification/tree.py13__all__ = ["SklTreeLearner", "TreeLearner"]CODE
LOWOrange/classification/sgd.py7__all__ = ["SGDClassificationLearner"]CODE
LOWOrange/classification/rules.py24__all__ = ["CN2Learner", "CN2UnorderedLearner", "CN2SDLearner",CODE
LOWOrange/classification/naive_bayes.py9__all__ = ["NaiveBayesLearner"]CODE
LOWOrange/classification/neural_network.py5__all__ = ["NNClassificationLearner"]CODE
LOWOrange/classification/majority.py8__all__ = ["MajorityLearner"]CODE
LOWOrange/classification/softmax_regression.py8__all__ = ["SoftmaxRegressionLearner"]CODE
LOWOrange/classification/logistic_regression.py10__all__ = ["LogisticRegressionLearner"]CODE
LOWOrange/classification/catgb.py12__all__ = ["CatGBClassifier"]CODE
LOWOrange/classification/base_classification.py3__all__ = ["LearnerClassification", "ModelClassification",CODE
LOWOrange/classification/simple_tree.py6__all__ = ['SimpleTreeLearner']CODE
LOWOrange/classification/svm.py6__all__ = ["SVMLearner", "LinearSVMLearner", "NuSVMLearner"]CODE
LOWOrange/classification/xgb.py13__all__ = ["XGBClassifier", "XGBRFClassifier"]CODE
LOWOrange/classification/outlier_detection.py17__all__ = ["LocalOutlierFactorLearner", "IsolationForestLearner",CODE
LOWOrange/classification/random_forest.py9__all__ = ["RandomForestLearner"]CODE
LOWOrange/classification/calibration.py9__all__ = ["ThresholdClassifier", "ThresholdLearner",CODE
LOWOrange/classification/knn.py5__all__ = ["KNNLearner"]CODE
LOWOrange/classification/simple_random_forest.py6__all__ = ['SimpleRandomForestLearner']CODE
LOWOrange/ensembles/stack.py13__all__ = ['StackedLearner', 'StackedClassificationLearner',CODE
LOWOrange/ensembles/ada_boost.py15__all__ = ['SklAdaBoostClassificationLearner', 'SklAdaBoostRegressionLearner']CODE
LOWOrange/modelling/gb.py12__all__ = ["GBLearner"]CODE
LOWOrange/modelling/tree.py8__all__ = ['SklTreeLearner', 'TreeLearner']CODE
LOWOrange/modelling/randomforest.py8__all__ = ['RandomForestLearner']CODE
LOWOrange/modelling/linear.py9__all__ = ['SGDLearner']CODE
LOWOrange/modelling/neural_network.py5__all__ = ['NNLearner']CODE
LOWOrange/modelling/catgb.py12__all__ = ["CatGBLearner"]CODE
LOWOrange/modelling/ada_boost.py7__all__ = ['SklAdaBoostLearner']CODE
LOWOrange/modelling/constant.py5__all__ = ['ConstantLearner']CODE
LOWOrange/modelling/svm.py9__all__ = ['SVMLearner', 'LinearSVMLearner', 'NuSVMLearner']CODE
LOWOrange/modelling/xgb.py13__all__ = ["XGBLearner", "XGBRFLearner"]CODE
LOWOrange/modelling/column.py10__all__ = ["ColumnLearner", "ColumnModel"]CODE
LOWOrange/modelling/knn.py5__all__ = ['KNNLearner']CODE
LOWOrange/clustering/hierarchical.py15__all__ = ['HierarchicalClustering']CODE
LOWOrange/clustering/kmeans.py9__all__ = ["KMeans"]CODE
LOWOrange/clustering/louvain.py20__all__ = ["Louvain", "matrix_to_knn_graph"]CODE
LOWOrange/clustering/dbscan.py7__all__ = ["DBSCAN"]CODE
LOWOrange/preprocess/continuize.py8__all__ = ["DomainContinuizer"]CODE
LOWOrange/preprocess/fss.py13__all__ = ["SelectBestFeatures", "SelectRandomFeatures"]CODE
LOWOrange/preprocess/preprocess.py17__all__ = ["Continuize", "Discretize", "Impute", "RemoveNaNRows",CODE
LOWOrange/preprocess/normalize.py8__all__ = ["Normalizer"]CODE
LOWOrange/preprocess/remove.py10__all__ = ["Remove"]CODE
LOWOrange/preprocess/impute.py10__all__ = ["ReplaceUnknowns", "Average", "DoNotImpute", "DropInstances",CODE
LOWOrange/preprocess/discretize.py20__all__ = ["EqualFreq", "EqualWidth", "EntropyMDL", "DomainDiscretizer",CODE
LOWOrange/preprocess/score.py15__all__ = ["Chi2",CODE
LOWOrange/evaluation/clustering.py11__all__ = ['ClusteringEvaluation']CODE
LOWOrange/evaluation/scoring.py25__all__ = ["CA", "Precision", "Recall", "F1", "PrecisionRecallFSupport", "AUC",CODE
LOWOrange/evaluation/testing.py15__all__ = ["Results", "CrossValidation", "LeaveOneOut", "TestOnTrainingData",CODE
LOWOrange/regression/gb.py11__all__ = ["GBRegressor"]CODE
LOWOrange/regression/tree.py13__all__ = ["SklTreeRegressionLearner", "TreeLearner"]CODE
LOWOrange/regression/pls.py14__all__ = ["PLSRegressionLearner"]CODE
LOWOrange/regression/linear.py12__all__ = ["LinearRegressionLearner", "RidgeRegressionLearner",CODE
LOWOrange/regression/curvefit.py13__all__ = ["CurveFitLearner"]CODE
LOWOrange/regression/mean.py6__all__ = ["MeanLearner"]CODE
LOWOrange/regression/neural_network.py6__all__ = ["NNRegressionLearner"]CODE
LOWOrange/regression/catgb.py12__all__ = ["CatGBRegressor"]CODE
LOWOrange/regression/svm.py6__all__ = ["SVRLearner", "LinearSVRLearner", "NuSVRLearner"]CODE
LOWOrange/regression/xgb.py12__all__ = ["XGBRegressor", "XGBRFRegressor"]CODE
LOWOrange/regression/base_regression.py3__all__ = ["LearnerRegression", "ModelRegression",CODE
65 more matches not shown…
Excessive Try-Catch Wrapping54 hits · 68 pts
SeverityFileLineSnippetContext
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveC.py361 except Exception as ex:CODE
LOWOrange/util.py394 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/classification/__init__.py26except Exception:CODE
LOWOrange/classification/__init__.py31except Exception:CODE
LOWOrange/misc/server_embedder.py336 except Exception:CODE
LOWOrange/tests/sql/base.py382 except Exception as ex:CODE
LOWOrange/canvas/__main__.py98 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/canvas/__main__.py219 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/canvas/__main__.py330 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/canvas/__main__.py337 except Exception: # pylint: disable=broad-exceptCODE
MEDIUMOrange/canvas/__main__.py88def run(self):CODE
MEDIUMOrange/canvas/__main__.py207def run(self):CODE
MEDIUMOrange/canvas/__main__.py334def run(self):CODE
LOWOrange/evaluation/testing.py47 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWOrange/regression/__init__.py20except Exception:CODE
LOWOrange/regression/__init__.py25except Exception:CODE
LOWOrange/data/io.py177 except Exception as e:CODE
LOWOrange/data/io.py266 except Exception:CODE
MEDIUMOrange/data/io.py258def read(self):CODE
LOWOrange/data/pandas_compat.py205 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/data/io_util.py397 except Exception: # pylint: disable=broad-exceptCODE
LOW⚡Orange/widgets/credentials.py36 except Exception:CODE
LOW⚡Orange/widgets/credentials.py43 except Exception:CODE
LOW⚡Orange/widgets/credentials.py50 except Exception:CODE
MEDIUMOrange/widgets/credentials.py33def __setattr__(self, key, value):CODE
MEDIUMOrange/widgets/credentials.py40def __getattr__(self, item):CODE
MEDIUMOrange/widgets/credentials.py47def __delattr__(self, item):CODE
LOWOrange/widgets/unsupervised/owdistancefile.py122 except Exception as exc:CODE
LOWOrange/widgets/tests/test_workflows.py57 except Exception as e:CODE
LOWOrange/widgets/utils/textimport.py1624 except Exception as err: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/visualize/utils/widget.py720 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/visualize/utils/__init__.py410 except Exception: # ignore current state in case of any problemCODE
MEDIUMOrange/widgets/visualize/utils/__init__.py351def _update_model(self):CODE
LOWOrange/widgets/evaluate/owpredictions.py473 except Exception as exc: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/evaluate/owtestandscore.py1083 except Exception as er: # pylint: disable=broad-exceptCODE
MEDIUMOrange/widgets/evaluate/owtestandscore.py100def __new__(cls, f, *args, **kwargs):CODE
LOWOrange/widgets/model/owneuralnetwork.py277 except Exception as ex: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/model/owcurvefit.py510 except Exception:CODE
LOW⚡Orange/widgets/data/owfile.py433 except Exception as ex:CODE
LOW⚡Orange/widgets/data/owfile.py442 except Exception:CODE
LOW⚡Orange/widgets/data/owfile.py448 except Exception as ex:CODE
LOWOrange/widgets/data/owfile.py496 except Exception as ex:CODE
LOWOrange/widgets/data/owfile.py711 except Exception: # noqa # pylint:disable=broad-exceptCODE
MEDIUMOrange/widgets/data/owfile.py653def get_ext_name(filename):CODE
LOWOrange/widgets/data/owimpute.py480 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/data/owimpute.py499 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/data/owdatasets.py552 except Exception: # anytying can happen, pylint: disable=broad-exceptCODE
LOWOrange/widgets/data/owdatasets.py735 except Exception as ex:CODE
LOWOrange/widgets/data/owfeatureconstructor.py761 except Exception:CODE
MEDIUMOrange/widgets/data/owfeatureconstructor.py756def validate(source):CODE
LOWOrange/widgets/data/owcsvimport.py1228 except Exception as e: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/data/owcsvimport.py1502 except Exception: # pylint: disable=broad-exceptCODE
LOWOrange/widgets/data/owcolor.py676 except Exception as exc:CODE
LOWOrange/widgets/data/tests/test_owfeaturestatistics.py288 except Exception as e:CODE
Self-Referential Comments20 hits · 60 pts
SeverityFileLineSnippetContext
MEDIUM.github/workflows/build-wheels.yaml11 # Create a matrix of all architectures & versions to build.COMMENT
MEDIUMdoc/conf.py36# Define the projects that will share this configuration file.COMMENT
MEDIUMdoc/data-mining-library/source/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdoc/data-mining-library/source/tutorial/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMdoc/development/source/conf.py7# This file is execfile()d with the current directory set to itsCOMMENT
MEDIUMOrange/util.py274 # Create a wrapper for each instance and store it, so that each instance'sCOMMENT
MEDIUMOrange/__init__.py1# This module is a mixture of imports and code, so we allow import anywhereCOMMENT
MEDIUMOrange/distance/base.py1# This module defines abstract base classes; derived classes are abstract, tooCOMMENT
MEDIUMOrange/tests/test_naive_bayes.py16# This class is used to force predict_storage to fall back to the slowerCOMMENT
MEDIUMOrange/clustering/louvain.py60 # Create an empty graph and add all the data ids as nodes for easy mappingCOMMENT
MEDIUMOrange/preprocess/remove.py107# Define a simple Purge expression 'language'.COMMENT
MEDIUMOrange/data/sql/backend/postgres.py198 # Create a new connection pool if none existsCOMMENT
MEDIUMOrange/widgets/utils/plot/owplotgui.py125 # The following methods are disabled to prevent their use by draggingCOMMENT
MEDIUMOrange/widgets/utils/save/owsavebase.py272 # This method is separated out because it will usually be overridenCOMMENT
MEDIUMOrange/widgets/visualize/owscoringsheetviewer.py177 # Create the labels for the sliderCOMMENT
MEDIUMOrange/widgets/visualize/owscoringsheetviewer.py399 # Create a new widget box for the combo box in the main areaCOMMENT
MEDIUMOrange/widgets/visualize/utils/vizrank.py555 # The following methods ensure that the vizrank dialog isCOMMENT
MEDIUMOrange/widgets/data/owmelt.py236 # Create a mask for removing long-list entries with missing or zero valsCOMMENT
MEDIUMOrange/widgets/data/tests/test_owfile.py244 # Create a dummy fileCOMMENT
MEDIUMOrange/projection/manifold.py554 # Create a model object which will be capable of transforming new dataCOMMENT
AI Structural Patterns54 hits · 53 pts
SeverityFileLineSnippetContext
LOWsetup.py137CODE
LOWOrange/base.py670CODE
LOWOrange/base.py730CODE
LOWOrange/classification/gb.py28CODE
LOWOrange/classification/tree.py238CODE
LOWOrange/classification/sgd.py17CODE
LOWOrange/classification/rules.py631CODE
LOWOrange/classification/rules.py1253CODE
LOWOrange/classification/logistic_regression.py39CODE
LOWOrange/classification/svm.py15CODE
LOWOrange/classification/svm.py27CODE
LOWOrange/classification/svm.py39CODE
LOWOrange/classification/xgb.py30CODE
LOWOrange/classification/xgb.py94CODE
LOWOrange/classification/outlier_detection.py94CODE
LOWOrange/classification/outlier_detection.py106CODE
LOWOrange/classification/outlier_detection.py119CODE
LOWOrange/classification/random_forest.py43CODE
LOWOrange/classification/utils/fasterrisk/fasterrisk.py11CODE
LOWOrange/clustering/kmeans.py38CODE
LOWOrange/canvas/__main__.py152CODE
LOWOrange/evaluation/testing.py95CODE
LOWOrange/evaluation/testing.py390CODE
LOWOrange/regression/gb.py28CODE
LOWOrange/regression/tree.py189CODE
LOWOrange/regression/linear.py58CODE
LOWOrange/regression/linear.py70CODE
LOWOrange/regression/linear.py82CODE
LOWOrange/regression/linear.py96CODE
LOWOrange/regression/curvefit.py137CODE
LOWOrange/regression/svm.py15CODE
LOWOrange/regression/svm.py26CODE
LOWOrange/regression/svm.py37CODE
LOWOrange/regression/xgb.py28CODE
LOWOrange/regression/xgb.py81CODE
LOWOrange/regression/random_forest.py43CODE
LOWOrange/data/table.py1125CODE
LOWOrange/widgets/gui.py212CODE
LOWOrange/widgets/gui.py476CODE
LOWOrange/widgets/utils/itemmodels.py954CODE
LOWOrange/widgets/visualize/utils/__init__.py586CODE
LOWOrange/widgets/visualize/utils/__init__.py676CODE
LOWOrange/widgets/data/owmergedata.py687CODE
LOWOrange/widgets/data/owpreprocess.py974CODE
LOWOrange/widgets/data/utils/histogram.py125CODE
LOWOrange/projection/manifold.py123CODE
LOWOrange/projection/manifold.py171CODE
LOWOrange/projection/manifold.py183CODE
LOWOrange/projection/manifold.py197CODE
LOWOrange/projection/manifold.py390CODE
LOWOrange/projection/freeviz.py23CODE
LOWOrange/projection/freeviz.py241CODE
LOWOrange/projection/pca.py32CODE
LOWOrange/projection/pca.py61CODE
Over-Commented Block49 hits · 49 pts
SeverityFileLineSnippetContext
LOWdoc/data-mining-library/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdoc/data-mining-library/source/conf.py61# The master toctree document.COMMENT
LOWdoc/data-mining-library/source/conf.py81# This is also used if you do content translation via gettext catalogs.COMMENT
LOWdoc/data-mining-library/source/conf.py101COMMENT
LOWdoc/data-mining-library/source/conf.py121COMMENT
LOWdoc/data-mining-library/source/conf.py141# A shorter title for the navigation bar. Default is the same as html_title.COMMENT
LOWdoc/data-mining-library/source/conf.py161# html_extra_path = []COMMENT
LOWdoc/data-mining-library/source/conf.py181# If false, no index is generated.COMMENT
LOWdoc/data-mining-library/source/conf.py201# This is the file name suffix for HTML files (e.g. ".xhtml").COMMENT
LOWdoc/data-mining-library/source/conf.py221# -- Options for LaTeX output ---------------------------------------------COMMENT
LOWdoc/data-mining-library/source/conf.py321epub_publisher = authorCOMMENT
LOWdoc/data-mining-library/source/conf.py341# or the project homepage.COMMENT
LOWdoc/data-mining-library/source/conf.py361# A list of files that should not be packed into the epub file.COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py1#!/usr/bin/env python3COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py21# add these directories to sys.path here. If the directory is relative to theCOMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py61release = "1.0.0"COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py81# documents.COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py101# If true, keep warnings as "system message" paragraphs in the built documents.COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py121COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py141html_static_path = ["_static"]COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py161# html_additional_pages = {}COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py181# If true, an OpenSearch description file will be output, and all pages willCOMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py201# html_search_scorer = 'scorer.js'COMMENT
LOWdoc/data-mining-library/source/tutorial/conf.py281COMMENT
LOWdoc/development/source/conf.py1#!/usr/bin/env python3COMMENT
LOWdoc/development/source/conf.py61master_doc = "index"COMMENT
LOWdoc/development/source/conf.py81# Usually you set "language" from the command line for these cases.COMMENT
LOWdoc/development/source/conf.py101# If true, the current module name will be prepended to all descriptionCOMMENT
LOWdoc/development/source/conf.py121COMMENT
LOWdoc/development/source/conf.py141# html_short_title = NoneCOMMENT
LOWdoc/development/source/conf.py161COMMENT
LOWdoc/development/source/conf.py181# html_use_index = TrueCOMMENT
LOWdoc/development/source/conf.py201# html_file_suffix = NoneCOMMENT
LOWdoc/development/source/conf.py221COMMENT
LOWdoc/development/source/conf.py241 "Orange Data Mining",COMMENT
LOWdoc/development/source/conf.py321# for small screen space, using the same theme for HTML and epub output isCOMMENT
LOWdoc/development/source/conf.py341# epub_cover = ()COMMENT
LOWdoc/development/source/conf.py361# epub_tocdup = TrueCOMMENT
LOW…ment/source/orange-demo/orangedemo/OWLearningCurveC.py301 # setup the task stateCOMMENT
LOWOrange/tree.py301 from Orange.classification._tree_scorers import NULL_BRANCHCOMMENT
LOWOrange/classification/_simple_tree.c1#if (defined __GLIBC__ || defined __GNU__ || defined __linux__)COMMENT
LOWOrange/classification/_simple_tree.c61#define QSORT_R_FUNC(base, nel, size, thunk, compar) \COMMENT
LOWOrange/misc/environ.py21 #COMMENT
LOWOrange/widgets/widget.py41#: --------------------------------COMMENT
LOWOrange/widgets/visualize/owdistributions.py1181 key=lambda x: x[1] - x[0])]COMMENT
LOWOrange/widgets/visualize/utils/vizrank.py421"""COMMENT
LOWOrange/widgets/data/owpreprocess.py1061 Description("CUR Matrix Decomposition",COMMENT
LOWOrange/widgets/data/tests/test_owmelt.py41COMMENT
LOWOrange/widgets/data/utils/pythoneditor/editor.py341 # Determine current state and move based on that.COMMENT
Decorative Section Separators14 hits · 40 pts
SeverityFileLineSnippetContext
MEDIUMOrange/misc/environ.py20 # ----------------------------STRING
MEDIUMOrange/tests/test_contingency.py238 #------------------------------------------------------------COMMENT
MEDIUMOrange/tests/test_distribution.py491 # --------------------------------------------------------------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py499 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py638 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py1001 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py1054 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py1288 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py1393 # -----------------------------COMMENT
MEDIUMOrange/widgets/visualize/owdistributions.py1412 # -----------------------------COMMENT
MEDIUMOrange/widgets/data/tests/test_owmelt.py48 # -------------------------------------------------------COMMENT
MEDIUMOrange/widgets/data/tests/test_owmelt.py54 # -------------------------------------------------------COMMENT
MEDIUMOrange/widgets/data/utils/pythoneditor/completer.py537 # ---------------------------------------------------------------------------COMMENT
MEDIUMOrange/widgets/data/utils/pythoneditor/completer.py539 # ---------------------------------------------------------------------------COMMENT
Redundant / Tautological Comments19 hits · 35 pts
SeverityFileLineSnippetContext
LOWOrange/tests/test_manifold.py163 # Set perplexity to avoid warningsCOMMENT
LOWOrange/tests/test_manifold.py209 # Set iterations to 0 so we check that the initialization is fairly randomCOMMENT
LOWOrange/tests/test_manifold.py231 # Set iterations to 0 so we check that the initialization is fairly randomCOMMENT
LOWOrange/utils/tree/skltreeadapter.py138 # Check if a rule with that attribute existsCOMMENT
LOW⚡Orange/widgets/unsupervised/owkmeans.py420 # Check if the k already has a computed clusteringCOMMENT
LOW⚡Orange/widgets/unsupervised/owkmeans.py425 # Check if there is enough dataCOMMENT
LOWOrange/widgets/unsupervised/owtsne.py267 # Assign weights to each job indicating how much time will be spent on eachCOMMENT
LOWOrange/widgets/unsupervised/owtsne.py760 # Set data to None so that the output signal will be clearedCOMMENT
LOWOrange/widgets/unsupervised/tests/test_owtsne.py239 # Set value to 1COMMENT
LOWOrange/widgets/visualize/owtreeviewer.py358 # Set node_labels to None before changing the model,COMMENT
LOW⚡…e/widgets/visualize/tests/test_owscoringsheetviewer.py78 # Check if the slider value is "0" before changing the checkboxCOMMENT
LOW⚡…e/widgets/visualize/tests/test_owscoringsheetviewer.py87 # Check if the slider value is now the same as the attribute's coefficientCOMMENT
LOW⚡…e/widgets/visualize/tests/test_owscoringsheetviewer.py96 # Check if the slider value is "0" againCOMMENT
LOW⚡…e/widgets/visualize/tests/test_owscoringsheetviewer.py103 # Check if the values of the combobox "match" the domainCOMMENT
LOW⚡…e/widgets/visualize/tests/test_owscoringsheetviewer.py122 # Check if the coefficients, scores, and risks have changedCOMMENT
LOWOrange/widgets/evaluate/owpredictions.py305 # Set these to prevent warnings when setting self.shown_probsCOMMENT
LOWOrange/widgets/data/tests/test_owfile.py252 # Open the file with the widgetCOMMENT
LOW⚡Orange/widgets/data/tests/test_owfeaturestatistics.py363 # Check if selecting a single attribute rowCOMMENT
LOW⚡Orange/widgets/data/tests/test_owfeaturestatistics.py372 # Check if selecting a single attribute rowCOMMENT
AI Slop Vocabulary12 hits · 19 pts
SeverityFileLineSnippetContext
MEDIUMOrange/classification/utils/fasterrisk/fasterrisk.py250 """Reset the feature names in the class in order to print out the model card for the userSTRING
MEDIUMOrange/evaluation/scoring.py39 # Essentially `if cls is not Score`, except that Score may not exist yetCOMMENT
LOWOrange/data/io_util.py57 # Else already a file, just pass it throughCOMMENT
LOW⚡Orange/widgets/unsupervised/owkmeans.py415 # If we don't need to recompute anything, just set the results toCOMMENT
LOWOrange/widgets/unsupervised/owtsne.py793 # `super().handleNewSignals` will just set all of them to False or willCOMMENT
MEDIUMOrange/widgets/tests/base.py703 """Plot should exist after data has been sent in order to beSTRING
LOWOrange/widgets/utils/combobox.py40 # some styles take WindowText some just use current pen?COMMENT
LOWOrange/widgets/utils/textimport.py649 # Maybe just use unicodedata.normalize('NFKC', ...) as a converter?COMMENT
LOWOrange/widgets/visualize/pythagorastreeviewer.py148 # Since we have to redraw the whole tree anyways, just call `set_tree`COMMENT
MEDIUMOrange/widgets/visualize/tests/test_owscatterplot.py111 self.widget.send_report() # Essentially, don't crashCODE
LOWOrange/widgets/data/owcsvimport.py1726 # Maybe just return None.COMMENT
LOWOrange/widgets/data/utils/pythoneditor/indenter.py237 else: # oops, strange indentation, just return previous indentCODE
Dead Code5 hits · 10 pts
SeverityFileLineSnippetContext
MEDIUM…e/classification/utils/fasterrisk/sparseDiversePool.py112CODE
MEDIUM…e/classification/utils/fasterrisk/sparseDiversePool.py113CODE
MEDIUM…e/classification/utils/fasterrisk/sparseDiversePool.py115CODE
MEDIUM…e/classification/utils/fasterrisk/sparseDiversePool.py116CODE
MEDIUM…e/classification/utils/fasterrisk/sparseDiversePool.py118CODE
Slop Phrases3 hits · 4 pts
SeverityFileLineSnippetContext
LOWOrange/statistics/util.py634 # don't support 1d matrices, make sure to convert 1d to 2d matricesCOMMENT
LOWOrange/widgets/visualize/pythagorastreeviewer.py774 # make sure to clear out any old slopes if we are drawing a new treeCOMMENT
LOWOrange/widgets/visualize/pythagorastreeviewer.py788 # make sure to pass a reference to parent to each childCOMMENT
Fake / Example Data2 hits · 1 pts
SeverityFileLineSnippetContext
LOWOrange/tests/sql/test_filter.py349 [w] for w in "Lorem ipsum dolor sit amet, consectetur adipiscing"CODE
LOWOrange/tests/sql/test_filter.py349 [w] for w in "Lorem ipsum dolor sit amet, consectetur adipiscing"CODE