AI Slop Code Risk Monitor

vespa-engine/vespa

SlopCodeMonitor badge for vespa-engine/vespa Adjusted legacy signal; badge bands: 25 / 50 / 75 (different from dashboard bands).

The AI search platform

2.0 Low pattern signal View on GitHub

Open-Source Code Quality, Security and Technical Debt Review

This report summarizes scanner evidence for vespa-engine/vespa, a Java project with 7,156 GitHub stars. SynthScan examined 2,297,151 lines of code across 19479 source files, recording 1856 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 2.0 (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.

2.0
Adjusted Signal
2.0
Raw Pattern Score
100%
Time Factor
2026-10-31
Last Push
7.2K
Stars
Java
Language
2.3M
Lines of Code
19.5K
Files
1.9K
Pattern Hits
2026-10-31
Scan Date
0.01
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 3.4/100 · LOW

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

Hallucinated Dependency & Supply Chain Risk 5.7/100 · LOW

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

Agent Over-Engineering Ratio 1.0/100 · LOW

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

PR Review Velocity Impact 8.9/100 · LOW

Which changes need focused human review? 1856 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 229HIGH 33MEDIUM 109LOW 1485

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 1856 distinct pattern matches across 21 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.

Hallucination Indicators229 hits · 2608 pts
SeverityFileLineSnippetContext
CRITICAL…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java194 var exception = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java217 CompletionException exception = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java241 LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java265 LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICAL…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java427 LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows(STRING
CRITICAL…rc/main/java/com/yahoo/jdisc/utils/BundleResolver.java32 repoAdmin = new RepositoryAdminImpl(bundleContext, new org.apache.felix.utils.log.Logger(bundleContext));CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java37 static final String READ_CHAR_BUFFER = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read(CharBuffer)";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java38 static final String READ = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read()";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java39 static final String READ_CHAR = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read(char[])";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java40 static final String READ_CHAR_INT_INT = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read(char[], int, CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java41 static final String SKIP_LONG = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.skip(long)";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java42 static final String READY = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.ready()";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java43 static final String MARK_SUPPORTED = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.markSupported()";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java44 static final String MARK_INT = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.mark(int)";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java45 static final String RESET = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.reset()";CODE
CRITICAL⚡…test/java/com/yahoo/io/reader/NamedReaderTestCase.java46 static final String CLOSE = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.close()";CODE
CRITICAL…b/src/main/java/com/yahoo/compress/ZstdCompressor.java51 return (int) io.airlift.compress.zstd.ZstdDecompressor.getDecompressedSize(input, inputOffset, inputLength);CODE
CRITICAL…in/java/com/yahoo/search/predicate/PredicateQuery.java69 this.featureHash = com.yahoo.search.predicate.index.Feature.createHash(key, value);CODE
CRITICAL…src/main/java/com/yahoo/jdisc/bundle/ApplicationH.java22 org.apache.commons.logging.LogFactory.getLog("jcl").info("[jcl] hello world");CODE
CRITICAL…espa/models/evaluation/RankProfilesConfigImporter.java281 return com.yahoo.tensor.serialization.JsonFormat.decode(type, IOUtils.readFileBytes(file));CODE
CRITICAL…ahoo/vespa/indexinglanguage/EmbeddingScriptTester.java111 .setInputStream(new com.yahoo.vespa.indexinglanguage.parser.IndexingInput(string));CODE
CRITICAL…/vespa/indexinglanguage/expressions/NGramTestCase.java73 boolean oldValue = com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.isEnabled();CODE
CRITICAL…/vespa/indexinglanguage/expressions/NGramTestCase.java75 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(useSimpleAnnotations);CODE
CRITICAL…/vespa/indexinglanguage/expressions/NGramTestCase.java115 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(oldValue);CODE
CRITICAL⚡…language/linguistics/LinguisticsAnnotatorTestCase.java337 boolean oldValue = com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.isEnabled();CODE
CRITICAL⚡…language/linguistics/LinguisticsAnnotatorTestCase.java340 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…language/linguistics/LinguisticsAnnotatorTestCase.java344 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL⚡…language/linguistics/LinguisticsAnnotatorTestCase.java347 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(oldValue);CODE
CRITICAL…espa/indexinglanguage/expressions/EmbedExpression.java338 embedderContext.setDeadline(com.yahoo.language.process.InvocationContext.Deadline.of(instant)));CODE
CRITICAL…com/yahoo/docproc/jdisc/DocumentProcessingHandler.java114 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL…ava/com/yahoo/vespa/config/server/ServerCacheTest.java46 userConfigDefinitionRepo.add(fooBazDefKey, new com.yahoo.vespa.config.buildergen.ConfigDefinition("baz", new StrCODE
CRITICAL…a/config/server/http/v2/ApplicationApiHandlerTest.java118 var request = com.yahoo.container.jdisc.HttpRequest.createTestRequest("http://host:123/application/v2/tenant/" +STRING
CRITICAL…a/config/server/http/v2/ApplicationApiHandlerTest.java130 var request = com.yahoo.container.jdisc.HttpRequest.createTestRequest("http://host:123/application/v2/tenant/" +STRING
CRITICAL…o/vespa/config/server/application/ApplicationTest.java104 return new com.yahoo.vespa.config.buildergen.ConfigDefinition(key.getName(), schema);CODE
CRITICAL…oo/vespa/config/server/StaticConfigDefinitionRepo.java39 this.repo = new com.yahoo.config.model.application.provider.StaticConfigDefinitionRepo(serverDB.serverdefs());CODE
CRITICAL…ahoo/vespa/config/server/model/LbServicesProducer.java90 .scope(LbServicesConfig.Tenants.Applications.Endpoints.Scope.Enum.valueOf(clusterEndpoints.scope().name(CODE
CRITICAL…ahoo/vespa/config/server/model/LbServicesProducer.java91 .routingMethod(LbServicesConfig.Tenants.Applications.Endpoints.RoutingMethod.Enum.valueOf(clusterEndpoinCODE
CRITICAL…espa/config/server/session/SessionZooKeeperClient.java85 // NOTE: Any state added here MUST also be propagated in com.yahoo.vespa.config.server.deploy.Deployment.prepare()COMMENT
CRITICAL…o/searchlib/aggregation/GroupingSerializationTest.java85 com.yahoo.searchlib.aggregation.ForceLoad.forceLoad();CODE
CRITICAL…o/searchlib/aggregation/GroupingSerializationTest.java86 com.yahoo.searchlib.expression.ForceLoad.forceLoad();CODE
CRITICAL…com/yahoo/searchlib/aggregation/ForceLoadTestCase.java15 assertTrue(com.yahoo.searchlib.aggregation.ForceLoad.forceLoad());CODE
CRITICAL…/com/yahoo/searchlib/expression/ForceLoadTestCase.java15 assertTrue(com.yahoo.searchlib.expression.ForceLoad.forceLoad());CODE
CRITICAL…ain/java/com/yahoo/searchlib/aggregation/Grouping.java22 com.yahoo.searchlib.aggregation.ForceLoad.forceLoad();CODE
CRITICAL…ain/java/com/yahoo/searchlib/aggregation/Grouping.java23 com.yahoo.searchlib.expression.ForceLoad.forceLoad();CODE
CRITICAL…ialization/SimpleAnnotationsSerializationTestCase.java167 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java186 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java192 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java202 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java208 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL…ialization/SimpleAnnotationsSerializationTestCase.java232 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL…ialization/SimpleAnnotationsSerializationTestCase.java238 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java282 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java292 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java297 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java300 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java305 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java309 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL…ialization/SimpleAnnotationsSerializationTestCase.java325 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java336 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true);CODE
CRITICAL⚡…ialization/SimpleAnnotationsSerializationTestCase.java346 com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false);CODE
169 more matches not shown…
Over-Commented Block1307 hits · 1293 pts
SeverityFileLineSnippetContext
LOWtsan-suppressions.txt1# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWtsan-suppressions.txt21# compacting the enum store). Without that interlock, we could get aCOMMENT
LOWubsan-suppressions.txt1# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…er/src/vespa/storageserver/app/servicelayerprocess.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…ver/src/vespa/storageserver/app/distributorprocess.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rc/test/models/lightgbm/train_lightgbm_cat_integers.py1#! /usr/bin/env python3COMMENT
LOW…src/test/models/lightgbm/train_lightgbm_categorical.py1#! /usr/bin/env python3COMMENT
LOW…ankingexpression/importer/lightgbm/LightGBMParser.java101 }COMMENT
LOW…com/yahoo/jdisc/core/DeactivatedContainerWatchdog.java141 Text.format(COMMENT
LOWlogd/src/logd/absl_wrapped_proto.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWlogd/src/logd/watcher.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWlogd/src/logd/rpc_forwarder.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWlogd/src/tests/rotate/dummyserver.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWlogd/src/tests/watcher/watcher_test.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWlogd/src/apps/logd/main.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/vespa/metrics/metric.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/vespa/metrics/prometheus_writer.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/vespa/metrics/metrics.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/vespa/metrics/metricset.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/vespa/metrics/metricmanager.h41 * 2. Metric lock.COMMENT
LOWmetrics/src/vespa/metrics/metricmanager.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWmetrics/src/tests/metricmanagertest.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rchcore/src/vespa/searchcore/proton/matching/query.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/vespa/searchcore/proton/matching/extract_features.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/vespa/searchcore/proton/matching/result_processor.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…e/src/vespa/searchcore/proton/matching/match_tools.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/src/vespa/searchcore/proton/matching/match_master.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rchcore/src/vespa/searchcore/proton/matching/matcher.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…hcore/src/vespa/searchcore/proton/matching/matcher.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…hcore/src/vespa/searchcore/proton/matching/matcher.cpp21#include <vespa/searchlib/engine/searchrequest.h>COMMENT
LOW…/vespa/searchcore/proton/matching/blueprintbuilder.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rc/vespa/searchcore/proton/matching/docsum_matcher.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rc/vespa/searchcore/proton/matching/handlerecorder.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…ore/src/vespa/searchcore/proton/matching/match_tools.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…core/src/vespa/searchcore/proton/matching/querynodes.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/src/vespa/searchcore/proton/matching/match_thread.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…vespa/searchcore/proton/matching/attribute_limiter.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…re/src/vespa/searchcore/proton/matching/match_thread.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/searchcore/proton/metrics/documentdb_tagged_metrics.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…earchcore/proton/documentmetastore/documentmetastore.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…ton/documentmetastore/documentmetastoreflushtarget.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rchcore/proton/documentmetastore/documentmetastore.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…rchcore/proton/documentmetastore/documentmetastore.cpp21#include <vespa/searchlib/attribute/load_utils.h>COMMENT
LOW…/searchcore/proton/documentmetastore/lid_allocator.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/searchcore/proton/attribute/attribute_initializer.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…espa/searchcore/proton/attribute/attribute_directory.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…vespa/searchcore/proton/attribute/attribute_writer.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…pa/searchcore/proton/attribute/attribute_directory.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…vespa/searchcore/proton/attribute/attributemanager.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…vespa/searchcore/proton/attribute/attributemanager.cpp21#include <vespa/searchlib/attribute/attributecontext.h>COMMENT
LOW…rchcore/proton/attribute/attribute_vector_explorer.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…archcore/proton/attribute/attribute_aspect_delayer.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…spa/searchcore/proton/attribute/flushableattribute.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOWsearchcore/src/vespa/searchcore/proton/test/test.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…earchcore/proton/test/document_db_config_set_builder.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…a/searchcore/proton/test/documentdb_config_builder.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…c/vespa/searchcore/proton/test/dummy_document_sub_db.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…c/vespa/searchcore/proton/docsummary/docsumcontext.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…/vespa/searchcore/proton/docsummary/summarymanager.cpp1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
LOW…src/vespa/searchcore/proton/feedoperation/operations.h1// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.COMMENT
1247 more matches not shown…
Decorative Section Separators89 hits · 261 pts
SeverityFileLineSnippetContext
MEDIUMintegration/tmgrammar/tools/generate_yql_tmgrammar.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_yql_tmgrammar.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_yql_tmgrammar.py108# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_yql_tmgrammar.py110# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py41# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py43# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py55# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py57# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py100# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py102# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py180# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py202# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py306# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py308# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py352# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py354# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py390 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py392 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py573 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py576 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py726 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py728 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py776 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py778 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py971 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py973 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py1106 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py1108 # =====================================================================COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py1155# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/generate_tmgrammar.py1157# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_yql_tmgrammar.py80# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_yql_tmgrammar.py82# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡integration/tmgrammar/tools/test_yql_tmgrammar.py136# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡integration/tmgrammar/tools/test_yql_tmgrammar.py138# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡integration/tmgrammar/tools/test_tmgrammar.py155# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡integration/tmgrammar/tools/test_tmgrammar.py161# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py34# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py36# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py208# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py210# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py248# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py250# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py486# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py488# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py570# ---------------------------------------------------------------------------COMMENT
MEDIUMintegration/tmgrammar/tools/test_tmgrammar.py572# ---------------------------------------------------------------------------COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt9# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt11# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt161# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt649# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt1090# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt1521# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt1887# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt2454# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt2824# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt3399# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt3440# ================================================COMMENT
MEDIUM…src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt3581# ================================================COMMENT
MEDIUM⚡vespalib/src/vespa/fastlib/text/PropList-4.0.0.txt27# ================================================COMMENT
MEDIUM⚡vespalib/src/vespa/fastlib/text/PropList-4.0.0.txt34# ================================================COMMENT
29 more matches not shown…
Hyper-Verbose Identifiers125 hits · 129 pts
SeverityFileLineSnippetContext
LOW…/java/com/yahoo/jdisc/ProxyRequestHandlerTestCase.java478 private static class MyRequestHandler extends AbstractResource implements RequestHandler {CODE
LOW…/java/com/yahoo/jdisc/ProxyRequestHandlerTestCase.java524 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…ore/src/test/java/com/yahoo/jdisc/RequestTestCase.java328 private static class MyRequestHandler extends NoopSharedResource implements RequestHandler {CODE
LOW…ore/src/test/java/com/yahoo/jdisc/RequestTestCase.java341 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…st/java/com/yahoo/jdisc/benchmark/LatencyTestCase.java120 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…st/java/com/yahoo/jdisc/benchmark/LatencyTestCase.java141 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…ahoo/jdisc/handler/ThreadedRequestHandlerTestCase.java182 private static class MyRequestHandler extends ThreadedRequestHandler {CODE
LOW…ahoo/jdisc/handler/ThreadedRequestHandlerTestCase.java212 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…/com/yahoo/jdisc/handler/ResponseDispatchTestCase.java188 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…ahoo/jdisc/handler/AbstractRequestHandlerTestCase.java177 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…ava/com/yahoo/jdisc/handler/RequestDeniedTestCase.java50 private static class MyRequestHandler extends NoopSharedResource implements RequestHandler {CODE
LOW…ava/com/yahoo/jdisc/handler/RequestDeniedTestCase.java63 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…a/com/yahoo/jdisc/handler/RequestDispatchTestCase.java230 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…a/com/yahoo/jdisc/handler/BindingNotFoundTestCase.java42 private class MyResponseHandler implements ResponseHandler {CODE
LOW…hoo/jdisc/handler/CallableRequestDispatchTestCase.java37 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…a/com/yahoo/jdisc/core/TimeoutManagerImplTestCase.java455 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…a/com/yahoo/jdisc/core/TimeoutManagerImplTestCase.java505 private static class MyRequestHandler extends AbstractResource implements RequestHandler {CODE
LOW…a/com/yahoo/jdisc/core/ApplicationRestartTestCase.java122 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…a/com/yahoo/jdisc/core/ApplicationRestartTestCase.java133 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…va/com/yahoo/jdisc/core/ContainerShutdownTestCase.java707 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…va/com/yahoo/jdisc/core/ContainerShutdownTestCase.java798 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…va/com/yahoo/jdisc/core/ApplicationLoaderTestCase.java209 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…va/com/yahoo/jdisc/core/ApplicationLoaderTestCase.java220 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…/com/yahoo/jdisc/core/ApplicationShutdownTestCase.java87 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…/com/yahoo/jdisc/core/ApplicationShutdownTestCase.java102 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…va/com/yahoo/jdisc/core/ContainerSnapshotTestCase.java172 private static class MyRequestHandler extends AbstractResource implements RequestHandler {CODE
LOW…va/com/yahoo/jdisc/core/ContainerResourceTestCase.java101 private static class MyRequestHandler implements RequestHandler {CODE
LOW…ahoo/jdisc/test/ServerProviderConformanceTestTest.java595 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…test/java/com/yahoo/jdisc/test/TestDriverTestCase.java119 private static class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…test/java/com/yahoo/jdisc/test/TestDriverTestCase.java138 private static class MyResponseHandler implements ResponseHandler {CODE
LOW…yahoo/jdisc/application/BindingRepositoryTestCase.java171 static class PatternStealingRequestHandler extends NoopSharedResource implements RequestHandler {CODE
LOW…/com/yahoo/jdisc/service/ConnectToHandlerTestCase.java61 private class MyRequestHandler extends AbstractRequestHandler {CODE
LOW…/com/yahoo/jdisc/service/ConnectToHandlerTestCase.java79 private class MyResponseHandler implements ResponseHandler {CODE
LOW…src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java20class ProxyRequestHandler implements DelegatedRequestHandler {CODE
LOW…src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java85 private static class ProxyResponseHandler implements ResponseHandler {CODE
LOW…src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java214 private static class NullContentResponseHandler implements ResponseHandler {CODE
LOW…va/com/yahoo/jdisc/handler/ThreadedRequestHandler.java19 * class MyRequestHandler extends ThreadedRequestHandler {COMMENT
LOW…va/com/yahoo/jdisc/handler/ThreadedRequestHandler.java45public abstract class ThreadedRequestHandler extends AbstractRequestHandler {CODE
LOW…va/com/yahoo/jdisc/handler/AbstractRequestHandler.java30public abstract class AbstractRequestHandler extends com.yahoo.jdisc.AbstractResource implements RequestHandler {CODE
LOW…/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java69 private static class NullContentRequestHandler implements DelegatedRequestHandler {CODE
LOW…main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java120 private class ManagedRequestHandler implements DelegatedRequestHandler {CODE
LOW…va/com/yahoo/jdisc/test/NonWorkingResponseHandler.java11public class NonWorkingResponseHandler implements ResponseHandler {CODE
LOW…om/yahoo/jdisc/test/ServerProviderConformanceTest.java2895 private static abstract class TestRequestHandler extends AbstractRequestHandler {CODE
LOW…ava/com/yahoo/jdisc/test/NonWorkingRequestHandler.java13public final class NonWorkingRequestHandler extends NoopSharedResource implements RequestHandler {CODE
LOW…m/yahoo/vespa/config/proxy/DelayedResponseHandler.java22public class DelayedResponseHandler implements Runnable {CODE
LOW…java/com/yahoo/vespa/config/proxy/ResponseHandler.java19public class ResponseHandler {CODE
LOW…o/config/subscription/impl/JRTConfigRequesterTest.java201 private static class ErrorResponseHandler extends MockConnection.OKResponseHandler {CODE
LOW…o/config/subscription/impl/JRTConfigRequesterTest.java220 private static class DelayedResponseHandler extends MockConnection.OKResponseHandler {CODE
LOW…com/yahoo/config/subscription/impl/MockConnection.java87 static class OKResponseHandler extends AbstractResponseHandler {CODE
LOW…com/yahoo/config/subscription/impl/MockConnection.java106 public abstract static class AbstractResponseHandler implements ResponseHandler {CODE
LOW⚡integration/tmgrammar/tools/test_yql_tmgrammar.py140def test_keyword_completeness(grammar: dict) -> tuple[bool, list[str]]:CODE
LOW⚡integration/tmgrammar/tools/test_tmgrammar.py166def _parse_java_classified_tokens() -> dict[str, set[str]]:CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py187def test_keyword_completeness(grammar: dict) -> tuple[bool, list[str]]:CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py553def _collect_keyword_patterns(obj, patterns: list[re.Pattern]) -> None:CODE
LOW…gins/logstash-input-vespa/lib/logstash/inputs/vespa.rb159 def fetch_documents_from_vespa(uri)CODE
LOWvespalib/src/vespa/vespalib/quant/lloyd_max.py37def compute_codebook_centroids(bits):CODE
LOW…ahoo/vespa/config/server/SuperModelRequestHandler.java24public class SuperModelRequestHandler implements RequestHandler {CODE
LOW…hlib/src/tests/attribute/benchmark/benchmarkplotter.rb74def xml_getter_search_throughput(xml_root)CODE
LOW…hlib/src/tests/attribute/benchmark/benchmarkplotter.rb78def xml_getter_updater_thread_throughput(xml_root)CODE
LOW…ava/com/yahoo/messagebus/jdisc/MbusServerTestCase.java298 private static class MyRequestHandler extends AbstractRequestHandler {CODE
65 more matches not shown…
Synthetic Comment Markers11 hits · 84 pts
SeverityFileLineSnippetContext
HIGHAI_POLICY.md21### Use quote blocks for AI-generated textCOMMENT
HIGH…re/src/vespa/searchcore/proton/matching/querylimiter.h83 int units; // as requested; capped only when grantedCODE
HIGH⚡vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp2// start of auto-generated code for N = 1COMMENT
HIGH⚡vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp12// end of auto-generated code for N = 1COMMENT
HIGH⚡vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp13// start of auto-generated code for N = 2COMMENT
HIGHvespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp117// end of auto-generated code for N = 2COMMENT
HIGHvespalib/src/tests/fuzzy/table_dfa/table_dfa_test.cpp322 fprintf(stderr, "// start of auto-generated code for N = %u\n", N);CODE
HIGHvespalib/src/tests/fuzzy/table_dfa/table_dfa_test.cpp349 fprintf(stderr, "// end of auto-generated code for N = %u\n", N);CODE
HIGH…torage/persistence/filestorage/filestorhandlerimpl.cpp584 // Ok if op is SPLIT, as we have already done as requested.COMMENT
HIGH…/com/yahoo/search/grouping/UniqueGroupingSearcher.java199 return List.of(); // There weren't any hits as far out as requested.CODE
HIGH…ch/src/main/java/com/yahoo/search/yql/FieldFiller.java42 // always fill as requested first:COMMENT
Magic Placeholder Names7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…st/java/ai/vespa/llm/clients/OpenAICompatibleTest.java23 private static final String API_KEY = "<your-api-key>";CODE
HIGH…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java32 private static final String API_KEY = "<YOUR_API_KEY>";CODE
HIGH…ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java32 private static final String API_KEY = "<YOUR_API_KEY>";CODE
HIGH…gration/src/main/java/ai/vespa/llm/clients/OpenAI.java57 private static final String DEFAULT_API_KEY = "<YOUR_API_KEY>";CODE
HIGH…gration/src/main/java/ai/vespa/llm/clients/OpenAI.java57 private static final String DEFAULT_API_KEY = "<YOUR_API_KEY>";CODE
HIGH…ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java27 private static final String API_KEY = "<YOUR_API_KEY>";CODE
HIGH…ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java27 private static final String API_KEY = "<YOUR_API_KEY>";CODE
Cross-File Repetition7 hits · 35 pts
SeverityFileLineSnippetContext
HIGH…nfig/server/deploy/HostedDeployNodeAllocationTest.java0[ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ]STRING
HIGH…com/yahoo/vespa/config/server/deploy/DeployTester.java0[ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ]STRING
HIGH…a/config/server/maintenance/TenantsMaintainerTest.java0[ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ]STRING
HIGH…/config/server/maintenance/SessionsMaintainerTest.java0[ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ]STRING
HIGH…t/java/com/yahoo/search/handler/SearchHandlerTest.java0<?xml version="1.0" encoding="utf-8" ?> <result total-hit-count="0"> <hit relevancy="1.0"> <field name="relevancy">1.0</STRING
HIGH…java/com/yahoo/search/handler/SearchHandlerTester.java0<?xml version="1.0" encoding="utf-8" ?> <result total-hit-count="0"> <hit relevancy="1.0"> <field name="relevancy">1.0</STRING
HIGH…om/yahoo/search/handler/JSONSearchHandlerTestCase.java0<?xml version="1.0" encoding="utf-8" ?> <result total-hit-count="0"> <hit relevancy="1.0"> <field name="relevancy">1.0</STRING
Empty Error Handlers6 hits · 30 pts
SeverityFileLineSnippetContext
HIGHintegration/tmgrammar/tools/test_tmgrammar.py261except re.error:CODE
HIGHintegration/tmgrammar/tools/test_tmgrammar.py269except re.error:CODE
HIGHintegration/tmgrammar/tools/test_tmgrammar.py286except re.error:CODE
HIGHintegration/tmgrammar/tools/test_tmgrammar.py293except re.error:CODE
HIGHintegration/tmgrammar/tools/test_tmgrammar.py508except re.error:CODE
HIGHintegration/tmgrammar/tools/test_tmgrammar.py561except re.error:CODE
Self-Referential Comments9 hits · 27 pts
SeverityFileLineSnippetContext
MEDIUM…st/models/onnx/external_data/add_with_external_data.py20# Create a constant tensor that will be stored externallyCOMMENT
MEDIUM…st/models/onnx/external_data/add_with_external_data.py67# Create the graphCOMMENT
MEDIUM…st/models/onnx/external_data/add_with_external_data.py76# Create the model with IR version 10COMMENT
MEDIUM…rc/test/models/lightgbm/train_lightgbm_cat_integers.py57# Create a query column: 1 for the first 10 rows, 2 for the next 10, etc.COMMENT
MEDIUM…rc/test/models/lightgbm/train_lightgbm_cat_integers.py77# Create the LightGBM Dataset with query informationCOMMENT
MEDIUM…src/test/models/lightgbm/train_lightgbm_categorical.py57# Create a query column: 1 for the first 10 rows, 2 for the next 10, etc.COMMENT
MEDIUM…src/test/models/lightgbm/train_lightgbm_categorical.py77# Create the LightGBM Dataset with query informationCOMMENT
MEDIUM…plugins/logstash-input-vespa/spec/inputs/vespa_spec.rb139 # Create a self-signed certificate for testingCOMMENT
MEDIUM…plugins/logstash-input-vespa/spec/inputs/vespa_spec.rb160 # Create a valid RSA key for testingCOMMENT
AI Slop Vocabulary7 hits · 20 pts
SeverityFileLineSnippetContext
LOWjdisc_core/src/main/java/com/yahoo/jdisc/Response.java221 * RequestHandler#handleTimeout(Request, ResponseHandler)}, simply call this method.COMMENT
MEDIUM…i/messagebus/protocol/DocumentRouteSelectorPolicy.java113 // of such field writes once the constructor is complete, use release/acquire pairing to be robustCOMMENT
MEDIUM…rage/src/vespa/storage/bucketdb/btree_lockable_map.hpp275 // This is a pragmatic stop-gap solution; a more robust change requiresCOMMENT
MEDIUMfbench/src/httpclient/httpclient.cpp111 // this is always requested to get robust info on total hit count.COMMENT
MEDIUM…in/java/com/yahoo/vespa/model/container/Container.java264 * TODO: Remove. Use {@link #getPortsMeta()} and check tags in conjunction with {@link #getRelativePort(int)}.COMMENT
MEDIUM…ain/java/com/yahoo/language/process/SpecialTokens.java129 // XXX not fool proof length test, should test codepoint by codepoint for mixed case user input? not even thCOMMENT
MEDIUM…ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java87 // of returning the search. Consider this more robust than asserting on timings.COMMENT
Fake / Example Data15 hits · 16 pts
SeverityFileLineSnippetContext
LOW…ai/vespa/rankingexpression/importer/ImportedModel.java248 * ("placeholder") names+types, and outputs maps to expressions nodes.COMMENT
LOW…spa/config/server/filedistribution/FileServerTest.java100 IOUtils.writeFile(dir + "/subdir/12z/f1", "dummy-data-2", true);CODE
LOW…spa/config/server/filedistribution/FileServerTest.java113 assertEquals("dummy-data-2", IOUtils.readFile(new File(downloadedFileUncompressed, "12z/f1")));CODE
LOW…spa/config/server/filedistribution/FileServerTest.java148 IOUtils.writeFile(dir + "/12y/f1", "dummy-data", true);CODE
LOW…spa/config/server/filedistribution/FileServerTest.java163 assertEquals(new String(content.get(), StandardCharsets.UTF_8), "dummy-data");CODE
LOW…spa/config/server/filedistribution/FileServerTest.java213 IOUtils.writeFile(dir + "/12y/f1", "dummy-data", true);CODE
LOW…spa/config/server/filedistribution/FileServerTest.java218 assertEquals(new String(content.get(), StandardCharsets.UTF_8), "dummy-data");CODE
LOW…/tests/persistence/filestorage/filestormanagertest.cpp1233 doc->setValue(type.getField("hstringval"), document::StringFieldValue("John Doe"));CODE
LOW…/tests/persistence/filestorage/filestormanagertest.cpp1235 doc->setValue(type.getField("hstringval"), document::StringFieldValue("Jane Doe"));CODE
LOW…ude/searcher/test/FieldCollapsingSearcherTestCase.java554 assertTrue(r.isFilled("placeholder"));CODE
LOW…ude/searcher/test/FieldCollapsingSearcherTestCase.java567 assertFalse(r.isFilled("placeholder"));CODE
LOW…search/pagetemplates/config/PageTemplateXMLReader.java228 else if (child.getNodeName().equals("placeholder"))CODE
LOWeval/src/vespa/eval/eval/node_tools.cpp59 result.push_back(std::make_unique<Error>("placeholder"));CODE
LOWfnet/src/vespa/fnet/transport.cpp78 int dummy_value = 0; // rendezvous must have input valueCODE
LOWfnet/src/vespa/fnet/transport.cpp79 if (meet->rendezvous(dummy_value)) {CODE
Cross-Language Confusion2 hits · 15 pts
SeverityFileLineSnippetContext
HIGH⚡integration/tmgrammar/tools/compare_tokens.py293 print(f"Error: {java_path} not found. Run: cd integration/schema-language-server/language-server && mvn test-comCODE
HIGH⚡integration/tmgrammar/tools/compare_tokens.py296 print(f"Error: {tm_path} not found. Run: cd tools && npm install && node tm_tokenize.mjs", file=sys.stderr)CODE
Deep Nesting15 hits · 12 pts
SeverityFileLineSnippetContext
LOW…el-integration/src/test/models/xgboost/model_parser.py140CODE
LOWintegration/tmgrammar/tools/test_yql_tmgrammar.py96CODE
LOWintegration/tmgrammar/tools/test_yql_tmgrammar.py153CODE
LOWintegration/tmgrammar/tools/test_yql_tmgrammar.py157CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py86CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py104CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py252CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py280CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py325CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py490CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py553CODE
LOWintegration/tmgrammar/tools/compare_tokens.py83CODE
LOWintegration/tmgrammar/tools/compare_tokens.py201CODE
LOWintegration/tmgrammar/tools/compare_tokens.py245CODE
LOWconfig-model/src/main/python/ES_Vespa_parser.py215CODE
Slop Phrases3 hits · 8 pts
SeverityFileLineSnippetContext
MEDIUM…tash-output-vespa/src/main/resources/type_mappings.yml54 # this is the only integer tensor type supported by Vespa (you can use it to store size * 8 bits)COMMENT
MEDIUM…age/src/vespa/storage/storageserver/mergethrottler.cpp688 // limit chosen for demonstration purposes, but is entirely generalizable):COMMENT
MEDIUM…n/java/com/yahoo/search/mcp/McpSearchSpecProvider.java378 Most likely the Vespa application will be different so the example queries are meant for demonstration pCODE
Unused Imports8 hits · 6 pts
SeverityFileLineSnippetContext
LOWmodel-integration/src/test/models/onnx/simple/gather.py3CODE
LOWintegration/tmgrammar/tools/generate_yql_tmgrammar.py29CODE
LOWintegration/tmgrammar/tools/generate_tmgrammar.py33CODE
LOWintegration/tmgrammar/tools/generate_tmgrammar.py37CODE
LOWintegration/tmgrammar/tools/test_yql_tmgrammar.py17CODE
LOWintegration/tmgrammar/tools/test_tmgrammar.py18CODE
LOW…rc/test/derived/globalphase_token_functions/files/m.py5CODE
LOWconfig-model/src/main/python/ES_Vespa_parser.py5CODE
Redundant / Tautological Comments4 hits · 6 pts
SeverityFileLineSnippetContext
LOWvespabase/src/common-env.sh42# Check if a variable is set. Plain environment precedes prefixed vars.COMMENT
LOW…ns/logstash-output-vespa/integration-test/run_tests.sh48# Check if ports required by Vespa are already in useCOMMENT
LOW…ns/logstash-output-vespa/integration-test/run_tests.sh203 # Check if schema file was generated correctlyCOMMENT
LOW…ns/logstash-output-vespa/integration-test/run_tests.sh209 # Check if certificates are referenced in services.xmlCOMMENT
TODO Padding4 hits · 6 pts
SeverityFileLineSnippetContext
LOW…ahoo/logserver/handlers/archive/LogWriterLRUCache.java22 // TODO: implement unit test for thisCOMMENT
LOW…madocument/resolvers/RankExpressionSymbolResolver.java236 // TODO: Implement error message for the error above.COMMENT
LOW…/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java270 // TODO: Add errorCOMMENT
LOW…ava/com/yahoo/search/searchchain/ExecutionFactory.java49 // TODO: Fix tests depending on HandlersConfigurerTestWrapper so that this constructor can be removedCOMMENT
Excessive Try-Catch Wrapping2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM⚡integration/tmgrammar/tools/compare_tokens.py293 print(f"Error: {java_path} not found. Run: cd integration/schema-language-server/language-server && mvn test-comCODE
MEDIUM⚡integration/tmgrammar/tools/compare_tokens.py296 print(f"Error: {tm_path} not found. Run: cd tools && npm install && node tm_tokenize.mjs", file=sys.stderr)CODE
AI Structural Patterns4 hits · 4 pts
SeverityFileLineSnippetContext
LOW…del-integration/src/test/models/onnx/llm/random_llm.py18CODE
LOW…onnx/transformer/dummy_transformer_without_type_ids.py18CODE
LOW…/test/models/onnx/transformer/dummy_transformer_mlm.py21CODE
LOW…/src/test/models/onnx/transformer/dummy_transformer.py19CODE
Verbosity Indicators1 hit · 2 pts
SeverityFileLineSnippetContext
LOWvespajlib/src/main/java/com/yahoo/text/Utf8.java435 //we need to check if the last UTF-8 sequence resulted in a surrogate pair:COMMENT
Structural Annotation Overuse1 hit · 2 pts
SeverityFileLineSnippetContext
LOWvespalog/src/vespa/log/log-target-file.cpp25 // NOTE: This function cannot LOG()COMMENT