The AI search platform
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.
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.
Can maintainers explain intent, assumptions, and trade-offs? 1491 finding(s).
Are imports declared and package/API names verified? 261 finding(s).
Are wrappers, guards, and repeated structures necessary? 233 finding(s).
Which changes need focused human review? 1856 finding(s).
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.
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.
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.
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.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 194 | var exception = org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 217 | CompletionException exception = org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 241 | LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 265 | LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows( | CODE |
| CRITICAL | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 427 | LanguageModelException exception = org.junit.jupiter.api.Assertions.assertThrows( | STRING |
| CRITICAL | …rc/main/java/com/yahoo/jdisc/utils/BundleResolver.java | 32 | repoAdmin = new RepositoryAdminImpl(bundleContext, new org.apache.felix.utils.log.Logger(bundleContext)); | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 37 | static final String READ_CHAR_BUFFER = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read(CharBuffer)"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 38 | static final String READ = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read()"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 39 | static final String READ_CHAR = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.read(char[])"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 40 | 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.java | 41 | static final String SKIP_LONG = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.skip(long)"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 42 | static final String READY = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.ready()"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 43 | static final String MARK_SUPPORTED = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.markSupported()"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 44 | static final String MARK_INT = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.mark(int)"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 45 | static final String RESET = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.reset()"; | CODE |
| CRITICAL⚡ | …test/java/com/yahoo/io/reader/NamedReaderTestCase.java | 46 | static final String CLOSE = "com.yahoo.io.reader.NamedReaderTestCase.MarkerReader.close()"; | CODE |
| CRITICAL | …b/src/main/java/com/yahoo/compress/ZstdCompressor.java | 51 | return (int) io.airlift.compress.zstd.ZstdDecompressor.getDecompressedSize(input, inputOffset, inputLength); | CODE |
| CRITICAL | …in/java/com/yahoo/search/predicate/PredicateQuery.java | 69 | this.featureHash = com.yahoo.search.predicate.index.Feature.createHash(key, value); | CODE |
| CRITICAL | …src/main/java/com/yahoo/jdisc/bundle/ApplicationH.java | 22 | org.apache.commons.logging.LogFactory.getLog("jcl").info("[jcl] hello world"); | CODE |
| CRITICAL | …espa/models/evaluation/RankProfilesConfigImporter.java | 281 | return com.yahoo.tensor.serialization.JsonFormat.decode(type, IOUtils.readFileBytes(file)); | CODE |
| CRITICAL | …ahoo/vespa/indexinglanguage/EmbeddingScriptTester.java | 111 | .setInputStream(new com.yahoo.vespa.indexinglanguage.parser.IndexingInput(string)); | CODE |
| CRITICAL | …/vespa/indexinglanguage/expressions/NGramTestCase.java | 73 | boolean oldValue = com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.isEnabled(); | CODE |
| CRITICAL | …/vespa/indexinglanguage/expressions/NGramTestCase.java | 75 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(useSimpleAnnotations); | CODE |
| CRITICAL | …/vespa/indexinglanguage/expressions/NGramTestCase.java | 115 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(oldValue); | CODE |
| CRITICAL⚡ | …language/linguistics/LinguisticsAnnotatorTestCase.java | 337 | boolean oldValue = com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.isEnabled(); | CODE |
| CRITICAL⚡ | …language/linguistics/LinguisticsAnnotatorTestCase.java | 340 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …language/linguistics/LinguisticsAnnotatorTestCase.java | 344 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL⚡ | …language/linguistics/LinguisticsAnnotatorTestCase.java | 347 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(oldValue); | CODE |
| CRITICAL | …espa/indexinglanguage/expressions/EmbedExpression.java | 338 | embedderContext.setDeadline(com.yahoo.language.process.InvocationContext.Deadline.of(instant))); | CODE |
| CRITICAL | …com/yahoo/docproc/jdisc/DocumentProcessingHandler.java | 114 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL | …ava/com/yahoo/vespa/config/server/ServerCacheTest.java | 46 | userConfigDefinitionRepo.add(fooBazDefKey, new com.yahoo.vespa.config.buildergen.ConfigDefinition("baz", new Str | CODE |
| CRITICAL | …a/config/server/http/v2/ApplicationApiHandlerTest.java | 118 | var request = com.yahoo.container.jdisc.HttpRequest.createTestRequest("http://host:123/application/v2/tenant/" + | STRING |
| CRITICAL | …a/config/server/http/v2/ApplicationApiHandlerTest.java | 130 | var request = com.yahoo.container.jdisc.HttpRequest.createTestRequest("http://host:123/application/v2/tenant/" + | STRING |
| CRITICAL | …o/vespa/config/server/application/ApplicationTest.java | 104 | return new com.yahoo.vespa.config.buildergen.ConfigDefinition(key.getName(), schema); | CODE |
| CRITICAL | …oo/vespa/config/server/StaticConfigDefinitionRepo.java | 39 | this.repo = new com.yahoo.config.model.application.provider.StaticConfigDefinitionRepo(serverDB.serverdefs()); | CODE |
| CRITICAL | …ahoo/vespa/config/server/model/LbServicesProducer.java | 90 | .scope(LbServicesConfig.Tenants.Applications.Endpoints.Scope.Enum.valueOf(clusterEndpoints.scope().name( | CODE |
| CRITICAL | …ahoo/vespa/config/server/model/LbServicesProducer.java | 91 | .routingMethod(LbServicesConfig.Tenants.Applications.Endpoints.RoutingMethod.Enum.valueOf(clusterEndpoin | CODE |
| CRITICAL | …espa/config/server/session/SessionZooKeeperClient.java | 85 | // NOTE: Any state added here MUST also be propagated in com.yahoo.vespa.config.server.deploy.Deployment.prepare() | COMMENT |
| CRITICAL | …o/searchlib/aggregation/GroupingSerializationTest.java | 85 | com.yahoo.searchlib.aggregation.ForceLoad.forceLoad(); | CODE |
| CRITICAL | …o/searchlib/aggregation/GroupingSerializationTest.java | 86 | com.yahoo.searchlib.expression.ForceLoad.forceLoad(); | CODE |
| CRITICAL | …com/yahoo/searchlib/aggregation/ForceLoadTestCase.java | 15 | assertTrue(com.yahoo.searchlib.aggregation.ForceLoad.forceLoad()); | CODE |
| CRITICAL | …/com/yahoo/searchlib/expression/ForceLoadTestCase.java | 15 | assertTrue(com.yahoo.searchlib.expression.ForceLoad.forceLoad()); | CODE |
| CRITICAL | …ain/java/com/yahoo/searchlib/aggregation/Grouping.java | 22 | com.yahoo.searchlib.aggregation.ForceLoad.forceLoad(); | CODE |
| CRITICAL | …ain/java/com/yahoo/searchlib/aggregation/Grouping.java | 23 | com.yahoo.searchlib.expression.ForceLoad.forceLoad(); | CODE |
| CRITICAL | …ialization/SimpleAnnotationsSerializationTestCase.java | 167 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 186 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 192 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 202 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 208 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL | …ialization/SimpleAnnotationsSerializationTestCase.java | 232 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL | …ialization/SimpleAnnotationsSerializationTestCase.java | 238 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 282 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 292 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 297 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 300 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 305 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 309 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL | …ialization/SimpleAnnotationsSerializationTestCase.java | 325 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 336 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(true); | CODE |
| CRITICAL⚡ | …ialization/SimpleAnnotationsSerializationTestCase.java | 346 | com.yahoo.document.annotation.internal.SimpleIndexingAnnotations.setEnabled(false); | CODE |
| 169 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tsan-suppressions.txt | 1 | # Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | tsan-suppressions.txt | 21 | # compacting the enum store). Without that interlock, we could get a | COMMENT |
| LOW | ubsan-suppressions.txt | 1 | # 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.cpp | 1 | // 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.cpp | 1 | // 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.py | 1 | #! /usr/bin/env python3 | COMMENT |
| LOW | …src/test/models/lightgbm/train_lightgbm_categorical.py | 1 | #! /usr/bin/env python3 | COMMENT |
| LOW | …ankingexpression/importer/lightgbm/LightGBMParser.java | 101 | } | COMMENT |
| LOW | …com/yahoo/jdisc/core/DeactivatedContainerWatchdog.java | 141 | Text.format( | COMMENT |
| LOW | logd/src/logd/absl_wrapped_proto.h | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | logd/src/logd/watcher.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | logd/src/logd/rpc_forwarder.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | logd/src/tests/rotate/dummyserver.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | logd/src/tests/watcher/watcher_test.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | logd/src/apps/logd/main.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/vespa/metrics/metric.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/vespa/metrics/prometheus_writer.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/vespa/metrics/metrics.h | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/vespa/metrics/metricset.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/vespa/metrics/metricmanager.h | 41 | * 2. Metric lock. | COMMENT |
| LOW | metrics/src/vespa/metrics/metricmanager.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | metrics/src/tests/metricmanagertest.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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.cpp | 1 | // 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.cpp | 21 | #include <vespa/searchlib/engine/searchrequest.h> | COMMENT |
| LOW | …/vespa/searchcore/proton/matching/blueprintbuilder.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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.h | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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.h | 1 | // 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.h | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | …ton/documentmetastore/documentmetastoreflushtarget.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 21 | #include <vespa/searchlib/attribute/load_utils.h> | COMMENT |
| LOW | …/searchcore/proton/documentmetastore/lid_allocator.cpp | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 21 | #include <vespa/searchlib/attribute/attributecontext.h> | COMMENT |
| LOW | …rchcore/proton/attribute/attribute_vector_explorer.cpp | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. | COMMENT |
| LOW | searchcore/src/vespa/searchcore/proton/test/test.h | 1 | // 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.h | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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.cpp | 1 | // 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.cpp | 1 | // 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.h | 1 | // 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… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | integration/tmgrammar/tools/generate_yql_tmgrammar.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_yql_tmgrammar.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_yql_tmgrammar.py | 108 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_yql_tmgrammar.py | 110 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 41 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 43 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 55 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 57 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 100 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 102 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 180 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 202 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 306 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 308 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 352 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 354 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 390 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 392 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 573 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 576 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 726 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 728 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 776 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 778 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 971 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 973 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 1106 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 1108 | # ===================================================================== | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 1155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/generate_tmgrammar.py | 1157 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_yql_tmgrammar.py | 80 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_yql_tmgrammar.py | 82 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | integration/tmgrammar/tools/test_yql_tmgrammar.py | 136 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | integration/tmgrammar/tools/test_yql_tmgrammar.py | 138 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | integration/tmgrammar/tools/test_tmgrammar.py | 155 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | integration/tmgrammar/tools/test_tmgrammar.py | 161 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 34 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 36 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 208 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 210 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 248 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 250 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 486 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 488 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 570 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | integration/tmgrammar/tools/test_tmgrammar.py | 572 | # --------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 9 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 11 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 161 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 649 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 1090 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 1521 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 1887 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 2454 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 2824 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 3399 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 3440 | # ================================================ | COMMENT |
| MEDIUM | …src/vespa/fastlib/text/DerivedCoreProperties-4.0.0.txt | 3581 | # ================================================ | COMMENT |
| MEDIUM⚡ | vespalib/src/vespa/fastlib/text/PropList-4.0.0.txt | 27 | # ================================================ | COMMENT |
| MEDIUM⚡ | vespalib/src/vespa/fastlib/text/PropList-4.0.0.txt | 34 | # ================================================ | COMMENT |
| 29 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …/java/com/yahoo/jdisc/ProxyRequestHandlerTestCase.java | 478 | private static class MyRequestHandler extends AbstractResource implements RequestHandler { | CODE |
| LOW | …/java/com/yahoo/jdisc/ProxyRequestHandlerTestCase.java | 524 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …ore/src/test/java/com/yahoo/jdisc/RequestTestCase.java | 328 | private static class MyRequestHandler extends NoopSharedResource implements RequestHandler { | CODE |
| LOW | …ore/src/test/java/com/yahoo/jdisc/RequestTestCase.java | 341 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …st/java/com/yahoo/jdisc/benchmark/LatencyTestCase.java | 120 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …st/java/com/yahoo/jdisc/benchmark/LatencyTestCase.java | 141 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …ahoo/jdisc/handler/ThreadedRequestHandlerTestCase.java | 182 | private static class MyRequestHandler extends ThreadedRequestHandler { | CODE |
| LOW | …ahoo/jdisc/handler/ThreadedRequestHandlerTestCase.java | 212 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …/com/yahoo/jdisc/handler/ResponseDispatchTestCase.java | 188 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …ahoo/jdisc/handler/AbstractRequestHandlerTestCase.java | 177 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …ava/com/yahoo/jdisc/handler/RequestDeniedTestCase.java | 50 | private static class MyRequestHandler extends NoopSharedResource implements RequestHandler { | CODE |
| LOW | …ava/com/yahoo/jdisc/handler/RequestDeniedTestCase.java | 63 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/handler/RequestDispatchTestCase.java | 230 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/handler/BindingNotFoundTestCase.java | 42 | private class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …hoo/jdisc/handler/CallableRequestDispatchTestCase.java | 37 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/core/TimeoutManagerImplTestCase.java | 455 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/core/TimeoutManagerImplTestCase.java | 505 | private static class MyRequestHandler extends AbstractResource implements RequestHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/core/ApplicationRestartTestCase.java | 122 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …a/com/yahoo/jdisc/core/ApplicationRestartTestCase.java | 133 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ContainerShutdownTestCase.java | 707 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ContainerShutdownTestCase.java | 798 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ApplicationLoaderTestCase.java | 209 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ApplicationLoaderTestCase.java | 220 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …/com/yahoo/jdisc/core/ApplicationShutdownTestCase.java | 87 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …/com/yahoo/jdisc/core/ApplicationShutdownTestCase.java | 102 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ContainerSnapshotTestCase.java | 172 | private static class MyRequestHandler extends AbstractResource implements RequestHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/core/ContainerResourceTestCase.java | 101 | private static class MyRequestHandler implements RequestHandler { | CODE |
| LOW | …ahoo/jdisc/test/ServerProviderConformanceTestTest.java | 595 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …test/java/com/yahoo/jdisc/test/TestDriverTestCase.java | 119 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …test/java/com/yahoo/jdisc/test/TestDriverTestCase.java | 138 | private static class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …yahoo/jdisc/application/BindingRepositoryTestCase.java | 171 | static class PatternStealingRequestHandler extends NoopSharedResource implements RequestHandler { | CODE |
| LOW | …/com/yahoo/jdisc/service/ConnectToHandlerTestCase.java | 61 | private class MyRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …/com/yahoo/jdisc/service/ConnectToHandlerTestCase.java | 79 | private class MyResponseHandler implements ResponseHandler { | CODE |
| LOW | …src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java | 20 | class ProxyRequestHandler implements DelegatedRequestHandler { | CODE |
| LOW | …src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java | 85 | private static class ProxyResponseHandler implements ResponseHandler { | CODE |
| LOW | …src/main/java/com/yahoo/jdisc/ProxyRequestHandler.java | 214 | private static class NullContentResponseHandler implements ResponseHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/handler/ThreadedRequestHandler.java | 19 | * class MyRequestHandler extends ThreadedRequestHandler { | COMMENT |
| LOW | …va/com/yahoo/jdisc/handler/ThreadedRequestHandler.java | 45 | public abstract class ThreadedRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/handler/AbstractRequestHandler.java | 30 | public abstract class AbstractRequestHandler extends com.yahoo.jdisc.AbstractResource implements RequestHandler { | CODE |
| LOW | …/main/java/com/yahoo/jdisc/core/ContainerSnapshot.java | 69 | private static class NullContentRequestHandler implements DelegatedRequestHandler { | CODE |
| LOW | …main/java/com/yahoo/jdisc/core/TimeoutManagerImpl.java | 120 | private class ManagedRequestHandler implements DelegatedRequestHandler { | CODE |
| LOW | …va/com/yahoo/jdisc/test/NonWorkingResponseHandler.java | 11 | public class NonWorkingResponseHandler implements ResponseHandler { | CODE |
| LOW | …om/yahoo/jdisc/test/ServerProviderConformanceTest.java | 2895 | private static abstract class TestRequestHandler extends AbstractRequestHandler { | CODE |
| LOW | …ava/com/yahoo/jdisc/test/NonWorkingRequestHandler.java | 13 | public final class NonWorkingRequestHandler extends NoopSharedResource implements RequestHandler { | CODE |
| LOW | …m/yahoo/vespa/config/proxy/DelayedResponseHandler.java | 22 | public class DelayedResponseHandler implements Runnable { | CODE |
| LOW | …java/com/yahoo/vespa/config/proxy/ResponseHandler.java | 19 | public class ResponseHandler { | CODE |
| LOW | …o/config/subscription/impl/JRTConfigRequesterTest.java | 201 | private static class ErrorResponseHandler extends MockConnection.OKResponseHandler { | CODE |
| LOW | …o/config/subscription/impl/JRTConfigRequesterTest.java | 220 | private static class DelayedResponseHandler extends MockConnection.OKResponseHandler { | CODE |
| LOW | …com/yahoo/config/subscription/impl/MockConnection.java | 87 | static class OKResponseHandler extends AbstractResponseHandler { | CODE |
| LOW | …com/yahoo/config/subscription/impl/MockConnection.java | 106 | public abstract static class AbstractResponseHandler implements ResponseHandler { | CODE |
| LOW⚡ | integration/tmgrammar/tools/test_yql_tmgrammar.py | 140 | def test_keyword_completeness(grammar: dict) -> tuple[bool, list[str]]: | CODE |
| LOW⚡ | integration/tmgrammar/tools/test_tmgrammar.py | 166 | def _parse_java_classified_tokens() -> dict[str, set[str]]: | CODE |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 187 | def test_keyword_completeness(grammar: dict) -> tuple[bool, list[str]]: | CODE |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 553 | def _collect_keyword_patterns(obj, patterns: list[re.Pattern]) -> None: | CODE |
| LOW | …gins/logstash-input-vespa/lib/logstash/inputs/vespa.rb | 159 | def fetch_documents_from_vespa(uri) | CODE |
| LOW | vespalib/src/vespa/vespalib/quant/lloyd_max.py | 37 | def compute_codebook_centroids(bits): | CODE |
| LOW | …ahoo/vespa/config/server/SuperModelRequestHandler.java | 24 | public class SuperModelRequestHandler implements RequestHandler { | CODE |
| LOW | …hlib/src/tests/attribute/benchmark/benchmarkplotter.rb | 74 | def xml_getter_search_throughput(xml_root) | CODE |
| LOW | …hlib/src/tests/attribute/benchmark/benchmarkplotter.rb | 78 | def xml_getter_updater_thread_throughput(xml_root) | CODE |
| LOW | …ava/com/yahoo/messagebus/jdisc/MbusServerTestCase.java | 298 | private static class MyRequestHandler extends AbstractRequestHandler { | CODE |
| 65 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | AI_POLICY.md | 21 | ### Use quote blocks for AI-generated text | COMMENT |
| HIGH | …re/src/vespa/searchcore/proton/matching/querylimiter.h | 83 | int units; // as requested; capped only when granted | CODE |
| HIGH⚡ | vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp | 2 | // start of auto-generated code for N = 1 | COMMENT |
| HIGH⚡ | vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp | 12 | // end of auto-generated code for N = 1 | COMMENT |
| HIGH⚡ | vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp | 13 | // start of auto-generated code for N = 2 | COMMENT |
| HIGH | vespalib/src/vespa/vespalib/fuzzy/inline_tfa.hpp | 117 | // end of auto-generated code for N = 2 | COMMENT |
| HIGH | vespalib/src/tests/fuzzy/table_dfa/table_dfa_test.cpp | 322 | fprintf(stderr, "// start of auto-generated code for N = %u\n", N); | CODE |
| HIGH | vespalib/src/tests/fuzzy/table_dfa/table_dfa_test.cpp | 349 | fprintf(stderr, "// end of auto-generated code for N = %u\n", N); | CODE |
| HIGH | …torage/persistence/filestorage/filestorhandlerimpl.cpp | 584 | // Ok if op is SPLIT, as we have already done as requested. | COMMENT |
| HIGH | …/com/yahoo/search/grouping/UniqueGroupingSearcher.java | 199 | return List.of(); // There weren't any hits as far out as requested. | CODE |
| HIGH | …ch/src/main/java/com/yahoo/search/yql/FieldFiller.java | 42 | // always fill as requested first: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …st/java/ai/vespa/llm/clients/OpenAICompatibleTest.java | 23 | private static final String API_KEY = "<your-api-key>"; | CODE |
| HIGH | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 32 | private static final String API_KEY = "<YOUR_API_KEY>"; | CODE |
| HIGH | …ion/src/test/java/ai/vespa/llm/clients/OpenAITest.java | 32 | private static final String API_KEY = "<YOUR_API_KEY>"; | CODE |
| HIGH | …gration/src/main/java/ai/vespa/llm/clients/OpenAI.java | 57 | private static final String DEFAULT_API_KEY = "<YOUR_API_KEY>"; | CODE |
| HIGH | …gration/src/main/java/ai/vespa/llm/clients/OpenAI.java | 57 | private static final String DEFAULT_API_KEY = "<YOUR_API_KEY>"; | CODE |
| HIGH | …ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java | 27 | private static final String API_KEY = "<YOUR_API_KEY>"; | CODE |
| HIGH | …ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java | 27 | private static final String API_KEY = "<YOUR_API_KEY>"; | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …nfig/server/deploy/HostedDeployNodeAllocationTest.java | 0 | [ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ] | STRING |
| HIGH | …com/yahoo/vespa/config/server/deploy/DeployTester.java | 0 | [ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ] | STRING |
| HIGH | …a/config/server/maintenance/TenantsMaintainerTest.java | 0 | [ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ] | STRING |
| HIGH | …/config/server/maintenance/SessionsMaintainerTest.java | 0 | [ { "clusterid": "container", "names": [ "c.example.com" ], "scope": "zone", "routingmethod": "exclusive" } ] | STRING |
| HIGH | …t/java/com/yahoo/search/handler/SearchHandlerTest.java | 0 | <?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.java | 0 | <?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.java | 0 | <?xml version="1.0" encoding="utf-8" ?> <result total-hit-count="0"> <hit relevancy="1.0"> <field name="relevancy">1.0</ | STRING |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 261 | except re.error: | CODE |
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 269 | except re.error: | CODE |
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 286 | except re.error: | CODE |
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 293 | except re.error: | CODE |
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 508 | except re.error: | CODE |
| HIGH | integration/tmgrammar/tools/test_tmgrammar.py | 561 | except re.error: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …st/models/onnx/external_data/add_with_external_data.py | 20 | # Create a constant tensor that will be stored externally | COMMENT |
| MEDIUM | …st/models/onnx/external_data/add_with_external_data.py | 67 | # Create the graph | COMMENT |
| MEDIUM | …st/models/onnx/external_data/add_with_external_data.py | 76 | # Create the model with IR version 10 | COMMENT |
| MEDIUM | …rc/test/models/lightgbm/train_lightgbm_cat_integers.py | 57 | # 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.py | 77 | # Create the LightGBM Dataset with query information | COMMENT |
| MEDIUM | …src/test/models/lightgbm/train_lightgbm_categorical.py | 57 | # 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.py | 77 | # Create the LightGBM Dataset with query information | COMMENT |
| MEDIUM | …plugins/logstash-input-vespa/spec/inputs/vespa_spec.rb | 139 | # Create a self-signed certificate for testing | COMMENT |
| MEDIUM | …plugins/logstash-input-vespa/spec/inputs/vespa_spec.rb | 160 | # Create a valid RSA key for testing | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | jdisc_core/src/main/java/com/yahoo/jdisc/Response.java | 221 | * RequestHandler#handleTimeout(Request, ResponseHandler)}, simply call this method. | COMMENT |
| MEDIUM | …i/messagebus/protocol/DocumentRouteSelectorPolicy.java | 113 | // of such field writes once the constructor is complete, use release/acquire pairing to be robust | COMMENT |
| MEDIUM | …rage/src/vespa/storage/bucketdb/btree_lockable_map.hpp | 275 | // This is a pragmatic stop-gap solution; a more robust change requires | COMMENT |
| MEDIUM | fbench/src/httpclient/httpclient.cpp | 111 | // this is always requested to get robust info on total hit count. | COMMENT |
| MEDIUM | …in/java/com/yahoo/vespa/model/container/Container.java | 264 | * TODO: Remove. Use {@link #getPortsMeta()} and check tags in conjunction with {@link #getRelativePort(int)}. | COMMENT |
| MEDIUM | …ain/java/com/yahoo/language/process/SpecialTokens.java | 129 | // XXX not fool proof length test, should test codepoint by codepoint for mixed case user input? not even th | COMMENT |
| MEDIUM | …ava/ai/vespa/search/llm/RAGSearcherWithOpenAITest.java | 87 | // of returning the search. Consider this more robust than asserting on timings. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ai/vespa/rankingexpression/importer/ImportedModel.java | 248 | * ("placeholder") names+types, and outputs maps to expressions nodes. | COMMENT |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 100 | IOUtils.writeFile(dir + "/subdir/12z/f1", "dummy-data-2", true); | CODE |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 113 | assertEquals("dummy-data-2", IOUtils.readFile(new File(downloadedFileUncompressed, "12z/f1"))); | CODE |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 148 | IOUtils.writeFile(dir + "/12y/f1", "dummy-data", true); | CODE |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 163 | assertEquals(new String(content.get(), StandardCharsets.UTF_8), "dummy-data"); | CODE |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 213 | IOUtils.writeFile(dir + "/12y/f1", "dummy-data", true); | CODE |
| LOW | …spa/config/server/filedistribution/FileServerTest.java | 218 | assertEquals(new String(content.get(), StandardCharsets.UTF_8), "dummy-data"); | CODE |
| LOW | …/tests/persistence/filestorage/filestormanagertest.cpp | 1233 | doc->setValue(type.getField("hstringval"), document::StringFieldValue("John Doe")); | CODE |
| LOW | …/tests/persistence/filestorage/filestormanagertest.cpp | 1235 | doc->setValue(type.getField("hstringval"), document::StringFieldValue("Jane Doe")); | CODE |
| LOW | …ude/searcher/test/FieldCollapsingSearcherTestCase.java | 554 | assertTrue(r.isFilled("placeholder")); | CODE |
| LOW | …ude/searcher/test/FieldCollapsingSearcherTestCase.java | 567 | assertFalse(r.isFilled("placeholder")); | CODE |
| LOW | …search/pagetemplates/config/PageTemplateXMLReader.java | 228 | else if (child.getNodeName().equals("placeholder")) | CODE |
| LOW | eval/src/vespa/eval/eval/node_tools.cpp | 59 | result.push_back(std::make_unique<Error>("placeholder")); | CODE |
| LOW | fnet/src/vespa/fnet/transport.cpp | 78 | int dummy_value = 0; // rendezvous must have input value | CODE |
| LOW | fnet/src/vespa/fnet/transport.cpp | 79 | if (meet->rendezvous(dummy_value)) { | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH⚡ | integration/tmgrammar/tools/compare_tokens.py | 293 | print(f"Error: {java_path} not found. Run: cd integration/schema-language-server/language-server && mvn test-com | CODE |
| HIGH⚡ | integration/tmgrammar/tools/compare_tokens.py | 296 | print(f"Error: {tm_path} not found. Run: cd tools && npm install && node tm_tokenize.mjs", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …el-integration/src/test/models/xgboost/model_parser.py | 140 | CODE | |
| LOW | integration/tmgrammar/tools/test_yql_tmgrammar.py | 96 | CODE | |
| LOW | integration/tmgrammar/tools/test_yql_tmgrammar.py | 153 | CODE | |
| LOW | integration/tmgrammar/tools/test_yql_tmgrammar.py | 157 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 86 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 104 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 252 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 280 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 325 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 490 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 553 | CODE | |
| LOW | integration/tmgrammar/tools/compare_tokens.py | 83 | CODE | |
| LOW | integration/tmgrammar/tools/compare_tokens.py | 201 | CODE | |
| LOW | integration/tmgrammar/tools/compare_tokens.py | 245 | CODE | |
| LOW | config-model/src/main/python/ES_Vespa_parser.py | 215 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …tash-output-vespa/src/main/resources/type_mappings.yml | 54 | # 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.cpp | 688 | // limit chosen for demonstration purposes, but is entirely generalizable): | COMMENT |
| MEDIUM | …n/java/com/yahoo/search/mcp/McpSearchSpecProvider.java | 378 | Most likely the Vespa application will be different so the example queries are meant for demonstration p | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | model-integration/src/test/models/onnx/simple/gather.py | 3 | CODE | |
| LOW | integration/tmgrammar/tools/generate_yql_tmgrammar.py | 29 | CODE | |
| LOW | integration/tmgrammar/tools/generate_tmgrammar.py | 33 | CODE | |
| LOW | integration/tmgrammar/tools/generate_tmgrammar.py | 37 | CODE | |
| LOW | integration/tmgrammar/tools/test_yql_tmgrammar.py | 17 | CODE | |
| LOW | integration/tmgrammar/tools/test_tmgrammar.py | 18 | CODE | |
| LOW | …rc/test/derived/globalphase_token_functions/files/m.py | 5 | CODE | |
| LOW | config-model/src/main/python/ES_Vespa_parser.py | 5 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vespabase/src/common-env.sh | 42 | # Check if a variable is set. Plain environment precedes prefixed vars. | COMMENT |
| LOW | …ns/logstash-output-vespa/integration-test/run_tests.sh | 48 | # Check if ports required by Vespa are already in use | COMMENT |
| LOW | …ns/logstash-output-vespa/integration-test/run_tests.sh | 203 | # Check if schema file was generated correctly | COMMENT |
| LOW | …ns/logstash-output-vespa/integration-test/run_tests.sh | 209 | # Check if certificates are referenced in services.xml | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ahoo/logserver/handlers/archive/LogWriterLRUCache.java | 22 | // TODO: implement unit test for this | COMMENT |
| LOW | …madocument/resolvers/RankExpressionSymbolResolver.java | 236 | // TODO: Implement error message for the error above. | COMMENT |
| LOW | …/yahoo/search/dispatch/rpc/RpcProtobufFillInvoker.java | 270 | // TODO: Add error | COMMENT |
| LOW | …ava/com/yahoo/search/searchchain/ExecutionFactory.java | 49 | // TODO: Fix tests depending on HandlersConfigurerTestWrapper so that this constructor can be removed | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | integration/tmgrammar/tools/compare_tokens.py | 293 | print(f"Error: {java_path} not found. Run: cd integration/schema-language-server/language-server && mvn test-com | CODE |
| MEDIUM⚡ | integration/tmgrammar/tools/compare_tokens.py | 296 | print(f"Error: {tm_path} not found. Run: cd tools && npm install && node tm_tokenize.mjs", file=sys.stderr) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …del-integration/src/test/models/onnx/llm/random_llm.py | 18 | CODE | |
| LOW | …onnx/transformer/dummy_transformer_without_type_ids.py | 18 | CODE | |
| LOW | …/test/models/onnx/transformer/dummy_transformer_mlm.py | 21 | CODE | |
| LOW | …/src/test/models/onnx/transformer/dummy_transformer.py | 19 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vespajlib/src/main/java/com/yahoo/text/Utf8.java | 435 | //we need to check if the last UTF-8 sequence resulted in a surrogate pair: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | vespalog/src/vespa/log/log-target-file.cpp | 25 | // NOTE: This function cannot LOG() | COMMENT |