Repository Analysis

langchain4j/langchain4j

LangChain4j is an idiomatic, open-source Java library for building LLM-powered applications on the JVM. It offers a unified API over popular LLM providers and vector stores, and makes implementing tool calling (including MCP support), agents and RAG easy. It integrates seamlessly with enterprise Java frameworks like Quarkus and Spring Boot.

2.3 Likely human-written View on GitHub

Analysis Overview

This report presents the forensic synthetic code analysis of langchain4j/langchain4j, a Java project with 12,595 GitHub stars. SynthScan v2.0 examined 821,736 lines of code across 3493 source files, recording 365 pattern matches distributed across 14 syntactic categories. The overall adjusted score of 2.3 places this repository in the Likely human-written band.

The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).

2.3
Adjusted Score
2.3
Raw Score
100%
Time Factor
2026-07-14
Last Push
12.6K
Stars
Java
Language
821.7K
Lines of Code
3.5K
Files
365
Pattern Hits
2026-07-14
Scan Date
0.06
HC Hit Rate

What These Metrics Mean

Adjusted Score
Primary synthetic code indicator. Raw score normalised per 1,000 lines of code and multiplied by the temporal discount factor. This is the definitive comparative metric — use it to rank repositories by AI authorship density.
Raw Score
The unmodified sum of all severity-weighted, context-multiplied pattern match scores before temporal discounting. Reflects the absolute signal strength independent of when the repository was last active.
Time Factor
The temporal discount multiplier (0–100%) applied to the raw score. Repositories last updated before ChatGPT's launch (Nov 2022) receive a 5% factor. Full signal is only assigned to repositories active in the post-adoption era (Jan 2024+).
Pattern Hits
Total count of individual pattern matches across all files and categories. A high hit count with a low score may indicate a very large codebase with isolated AI snippets; a low count with a high score indicates dense, concentrated AI signatures.
HC Hit Rate
High+Critical pattern hits per file, averaged across the repository. This orthogonal signal catches repositories where a few files are densely packed with high-severity AI tells — a strong indicator even when the normalised score appears moderate due to codebase size.
Lines of Code / Files
Total lines and files analysed. The scanner examines 94 file extensions. These denominators are used to normalise the score, enabling fair comparison between repositories of vastly different sizes.

Score History

This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.

Severity Breakdown

Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.

CRITICAL 102HIGH 100MEDIUM 71LOW 92

Directory Score Breakdown

This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.

Pattern Findings

The scanner identified 365 distinct pattern matches across 14 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. 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 diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.

Hallucination Indicators102 hits · 1100 pts
SeverityFileLineSnippetContext
CRITICAL…dev/langchain4j/model/ollama/OllamaEmbeddingModel.java89 return dev.langchain4j.model.embedding.response.EmbeddingResponse.builder()CODE
CRITICAL…hain4j/http/client/jdk/MultipartBodyPublisherTest.java137 org.junit.jupiter.api.Assertions.assertTrue(STRING
CRITICAL…dev/langchain4j/code/azure/acads/SessionsREPLTool.java372 .POST(java.net.http.HttpRequest.BodyPublishers.ofByteArray(requestBody))CODE
CRITICAL…dev/langchain4j/code/azure/acads/SessionsREPLTool.java376 nativeHttpClient.send(request, java.net.http.HttpResponse.BodyHandlers.ofString());CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java158 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java186 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java216 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java236 "Python tutorial for data science", dev.langchain4j.data.document.Metadata.from("language", "python"));CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java239 dev.langchain4j.data.document.Metadata.from("language", "java"));CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java241 "Python guide for machine learning", dev.langchain4j.data.document.Metadata.from("language", "python"));CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java250 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java254 .filter(dev.langchain4j.store.embedding.filter.MetadataFilterBuilder.metadataKey("language")CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java282 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…tore/embedding/pgvector/PgVectorHybridFilteringIT.java314 .search(dev.langchain4j.store.embedding.EmbeddingSearchRequest.builder()CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java263 .messages(List.of(dev.langchain4j.data.message.UserMessage.from("hello")))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java325 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java345 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java364 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java383 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java419 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java441 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java461 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java481 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java511 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java540 .messages(dev.langchain4j.data.message.UserMessage.from("hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java591 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java677 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java742 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java813 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java875 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…ev/langchain4j/model/watsonx/WatsonxChatModelTest.java955 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…/java/dev/langchain4j/model/watsonx/ConverterTest.java262 var toConvert = new com.ibm.watsonx.ai.chat.model.PartialToolCall(CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java222 var messages = List.<ChatMessage>of(com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"));CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java314 var messages = List.<ChatMessage>of(com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"));CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java373 .messages(List.of(dev.langchain4j.data.message.UserMessage.from("hello")))CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java464 com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"),CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java552 com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"),CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java626 com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"),CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java637 var messages = List.<ChatMessage>of(com.ibm.watsonx.ai.chat.model.UserMessage.text("Hello"));CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java731 handler.onPartialToolCall(new com.ibm.watsonx.ai.chat.model.PartialToolCall(CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java733 handler.onPartialToolCall(new com.ibm.watsonx.ai.chat.model.PartialToolCall(CODE
CRITICAL…ain4j/model/watsonx/WatsonxStreamingChatModelTest.java933 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…va/dev/langchain4j/model/watsonx/WatsonxChatModel.java68 var watsonxChatRequestBuilder = com.ibm.watsonx.ai.chat.ChatRequest.builder();CODE
CRITICAL…main/java/dev/langchain4j/model/watsonx/Converter.java177 return com.ibm.watsonx.ai.chat.model.SystemMessage.of(systemMessage.text());CODE
CRITICAL…main/java/dev/langchain4j/model/watsonx/Converter.java191 return com.ibm.watsonx.ai.chat.model.UserMessage.of(CODE
CRITICAL…ngchain4j/model/watsonx/WatsonxStreamingChatModel.java75 var watsonxChatRequestBuilder = com.ibm.watsonx.ai.chat.ChatRequest.builder();CODE
CRITICAL…angchain4j/model/bedrock/AbstractBedrockChatModel.java522 return software.amazon.awssdk.services.bedrockruntime.model.ToolSpecification.builder()CODE
CRITICAL…angchain4j/model/bedrock/AbstractBedrockChatModel.java545 toolConfigurationBuilder.toolChoice(software.amazon.awssdk.services.bedrockruntime.model.ToolChoice.fromAny(CODE
CRITICAL…i/MistralAiStreamingChatModelStrictJsonSchemaTest.java61 .messages(dev.langchain4j.data.message.UserMessage.from("What is the answer?"))CODE
CRITICAL…rdrail/OutputGuardrailRemoveViolatingMessageTests.java53 OutputGuardrailException ex = org.junit.jupiter.api.Assertions.assertThrows(CODE
CRITICALdocs/docs/tutorials/customizable-http-client.md59org.apache.hc.client5.http.impl.classic.HttpClientBuilder httpClientBuilder = org.apache.hc.client5.http.impl.classic.HtCODE
CRITICAL…enai/OpenAiResponsesStreamingChatModelPayloadTest.java109 .messages(dev.langchain4j.data.message.UserMessage.from("Hello"))CODE
CRITICAL…j/model/openai/OpenAiStreamingResponseBuilderTest.java271 builder.append(chatCompletionResponseWithLogProb(dev.langchain4j.model.openai.internal.chat.LogProb.builder()CODE
CRITICAL…j/model/openai/OpenAiStreamingResponseBuilderTest.java276 builder.append(chatCompletionResponseWithLogProb(dev.langchain4j.model.openai.internal.chat.LogProb.builder()CODE
CRITICAL…odel/openai/internal/OpenAiImageContentFormatTest.java33 dev.langchain4j.data.message.UserMessage.from(imageContent);CODE
CRITICAL…odel/openai/internal/OpenAiImageContentFormatTest.java59 dev.langchain4j.data.message.UserMessage.from(imageContent);CODE
CRITICAL…odel/openai/internal/OpenAiImageContentFormatTest.java175 dev.langchain4j.data.message.UserMessage.from(imageContent);CODE
CRITICAL…ev/langchain4j/model/openai/OpenAiModerationModel.java77 dev.langchain4j.model.openai.internal.moderation.ModerationRequest.builder()CODE
CRITICAL…dev/langchain4j/model/openai/OpenAiEmbeddingModel.java184 dev.langchain4j.model.openai.internal.embedding.EmbeddingRequest.builder()CODE
CRITICAL…dev/langchain4j/model/openai/internal/OpenAiUtils.java118 return dev.langchain4j.model.openai.internal.chat.SystemMessage.from(((SystemMessage) message).text());CODE
42 more matches not shown…
Cross-File Repetition72 hits · 360 pts
SeverityFileLineSnippetContext
HIGH…gentic/patterns/goap/horoscope/HoroscopeGenerator.java0you are an astrologist that generates horoscopes based on the user's name and zodiac sign.STRING
HIGHdocs/docs/tutorials/agents.md0you are an astrologist that generates horoscopes based on the user's name and zodiac sign.STRING
HIGH…est/java/dev/langchain4j/agentic/WorkflowAgentsIT.java0you are an astrologist that generates horoscopes based on the user's name and zodiac sign.STRING
HIGH…c/test/java/dev/langchain4j/agentic/HoroscopeMain.java0you are an astrologist that generates horoscopes based on the user's name and zodiac sign.STRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0you are an astrologist that generates horoscopes based on the user's name and zodiac sign.STRING
HIGH…chain4j/agentic/patterns/goap/writer/WriterAgents.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGHdocs/docs/tutorials/agents.md0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…est/java/dev/langchain4j/agentic/WorkflowAgentsIT.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…test/java/dev/langchain4j/agentic/StreamingAgents.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…c/test/java/dev/langchain4j/agentic/TypedAgentsIT.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…test/java/dev/langchain4j/agentic/DynamicAgentsIT.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…/src/test/java/dev/langchain4j/agentic/mcp/Agents.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…/src/test/java/dev/langchain4j/agentic/a2a/Agents.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…4j/agentic/declarative/StreamingChatModelSupplier.java0* you are a creative writer. * generate a draft of a story long no more than 3 sentence around the given topic. * returnSTRING
HIGH…chain4j/agentic/patterns/goap/writer/WriterAgents.java0you are a professional editor. analyze and rewrite the following story to better align with the target audience of {{audSTRING
HIGHdocs/docs/tutorials/agents.md0you are a professional editor. analyze and rewrite the following story to better align with the target audience of {{audSTRING
HIGH…est/java/dev/langchain4j/agentic/WorkflowAgentsIT.java0you are a professional editor. analyze and rewrite the following story to better align with the target audience of {{audSTRING
HIGH…test/java/dev/langchain4j/agentic/StreamingAgents.java0you are a professional editor. analyze and rewrite the following story to better align with the target audience of {{audSTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0you are a professional editor. analyze and rewrite the following story to better align with the target audience of {{audSTRING
HIGH…chain4j/agentic/patterns/goap/writer/WriterAgents.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGHdocs/docs/tutorials/agents.md0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…test/java/dev/langchain4j/agentic/StreamingAgents.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…test/java/dev/langchain4j/agentic/DynamicAgentsIT.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…/src/test/java/dev/langchain4j/agentic/mcp/Agents.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…/src/test/java/dev/langchain4j/agentic/a2a/Agents.java0you are a professional editor. analyze and rewrite the following story to better fit and be more coherent with the {{stySTRING
HIGH…chain4j/agentic/patterns/goap/writer/WriterAgents.java0you are a critical reviewer. give a review score between 0.0 and 1.0 for the following story based on how well it alignsSTRING
HIGHdocs/docs/tutorials/agents.md0you are a critical reviewer. give a review score between 0.0 and 1.0 for the following story based on how well it alignsSTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0you are a critical reviewer. give a review score between 0.0 and 1.0 for the following story based on how well it alignsSTRING
HIGH…/src/test/java/dev/langchain4j/agentic/mcp/Agents.java0you are a critical reviewer. give a review score between 0.0 and 1.0 for the following story based on how well it alignsSTRING
HIGH…/src/test/java/dev/langchain4j/agentic/a2a/Agents.java0you are a critical reviewer. give a review score between 0.0 and 1.0 for the following story based on how well it alignsSTRING
HIGH…v/langchain4j/model/mistralai/MistralAiFimModelIT.java0public static void main(string[] args) { // create a function to multiply two numbersSTRING
HIGH…in4j/model/mistralai/MistralAiStreamingFimModelIT.java0public static void main(string[] args) { // create a function to multiply two numbersSTRING
HIGHdocs/docs/integrations/language-models/mistral-ai.md0public static void main(string[] args) { // create a function to multiply two numbersSTRING
HIGH…gchain4j/model/googleai/GoogleAiGeminiChatModelIT.java0extract information from the following text: 1. a circle with a radius of 5 2. a rectangle with a width of 10 and a heigSTRING
HIGHdocs/docs/tutorials/structured-outputs.md0extract information from the following text: 1. a circle with a radius of 5 2. a rectangle with a width of 10 and a heigSTRING
HIGH…in4j/model/openai/OpenAiChatModelWithJsonSchemaIT.java0extract information from the following text: 1. a circle with a radius of 5 2. a rectangle with a width of 10 and a heigSTRING
HIGH…ev/langchain4j/model/azure/AzureOpenAiChatModelIT.java0extract information from the following text: 1. a circle with a radius of 5 2. a rectangle with a width of 10 and a heigSTRING
HIGH…anthropic/AnthropicChatRequestCacheParametersTest.java0{ "id": "msg_123", "type": "message", "role": "assistant", "model": "claude-3-5-sonnet-20241022", "content": [{"type": "STRING
HIGH…hropic/AnthropicMidConversationSystemMessagesTest.java0{ "id": "msg_123", "type": "message", "role": "assistant", "model": "claude-3-5-sonnet-20241022", "content": [{"type": "STRING
HIGH…angchain4j/model/anthropic/AnthropicChatModelTest.java0{ "id": "msg_123", "type": "message", "role": "assistant", "model": "claude-3-5-sonnet-20241022", "content": [{"type": "STRING
HIGHdocs/docs/tutorials/agents.md0generate the horoscope for {{person}}. the person has a name and a zodiac sign. use both to create a personalized horoscSTRING
HIGH…est/java/dev/langchain4j/agentic/WorkflowAgentsIT.java0generate the horoscope for {{person}}. the person has a name and a zodiac sign. use both to create a personalized horoscSTRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0generate the horoscope for {{person}}. the person has a name and a zodiac sign. use both to create a personalized horoscSTRING
HIGHdocs/docs/tutorials/agents.md0analyze the following user request and categorize it as 'legal', 'medical' or 'technical'. in case the request doesn't bSTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0analyze the following user request and categorize it as 'legal', 'medical' or 'technical'. in case the request doesn't bSTRING
HIGH…c/test/java/dev/langchain4j/agentic/TypedAgentsIT.java0analyze the following user request and categorize it as 'legal', 'medical' or 'technical'. in case the request doesn't bSTRING
HIGHdocs/docs/tutorials/agents.md0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGH…test/java/dev/langchain4j/agentic/StreamingAgents.java0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGH…ntic/src/test/java/dev/langchain4j/agentic/Agents.java0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGH…c/test/java/dev/langchain4j/agentic/TypedAgentsIT.java0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGHdocs/docs/tutorials/tools.md0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGH…ava/dev/langchain4j/service/AiServicesWithToolsIT.java0you are a technical expert. analyze the following user request under a technical point of view and provide the best possSTRING
HIGHdocs/docs/tutorials/agents.md0you are a banker that can only withdraw us dollars (usd) from a user account.STRING
HIGH…st/java/dev/langchain4j/agentic/SupervisorAgentIT.java0you are a banker that can only withdraw us dollars (usd) from a user account.STRING
HIGH…t/java/dev/langchain4j/agentic/DeclarativeAgentIT.java0you are a banker that can only withdraw us dollars (usd) from a user account.STRING
12 more matches not shown…
Modern AI Meta-Vocabulary64 hits · 155 pts
SeverityFileLineSnippetContext
MEDIUM…chain4j/agentic/patterns/goap/writer/GoapWriterIT.java32 // Manually add additional variables to the agentic scope to verify that GOAP is able to handle themCOMMENT
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java204 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java204 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java294 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java294 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUM…hain4j/model/bedrock/BedrockChatRequestParameters.java189 * Configuration information for a <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.htmlCOMMENT
MEDIUM…ain4j/model/bedrock/BedrockGuardrailConfiguration.java4 * @see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails.html">Amazon Bedrock Guardrails</a>COMMENT
MEDIUM…ain4j/model/bedrock/BedrockGuardrailConfiguration.java76 * See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-streaming.html">Configure streamCOMMENT
MEDIUM…docs/integrations/embedding-models/google-vertex-ai.md88### Configuring the embedding modelCOMMENT
MEDIUM…cs/integrations/prompt-repetition/prompt-repetition.md78## Non-RAG UsageCOMMENT
MEDIUM…cs/integrations/prompt-repetition/prompt-repetition.md96## RAG UsageCOMMENT
MEDIUMdocs/docs/integrations/embedding-stores/pgvector.md121## Complete RAG Example with PGVectorCOMMENT
MEDIUMdocs/docs/integrations/embedding-stores/hibernate.md276## Complete RAG Example with HibernateCOMMENT
MEDIUM…cs/docs/integrations/embedding-stores/mongodb-atlas.md222## RAGCOMMENT
MEDIUMdocs/docs/tutorials/rag.md5# RAG (Retrieval-Augmented Generation)COMMENT
MEDIUMdocs/docs/tutorials/rag.md14## What is RAG?COMMENT
MEDIUMdocs/docs/tutorials/rag.md40## RAG StagesCOMMENT
MEDIUMdocs/docs/tutorials/rag.md76## RAG Flavours in LangChain4jCOMMENT
MEDIUMdocs/docs/tutorials/rag.md79- [Easy RAG](/tutorials/rag/#easy-rag): the easiest way to start with RAGCODE
MEDIUMdocs/docs/tutorials/rag.md80- [Naive RAG](/tutorials/rag/#naive-rag): a basic implementation of RAG using vector searchCODE
MEDIUMdocs/docs/tutorials/rag.md81- [Advanced RAG](/tutorials/rag/#advanced-rag): a modular RAG framework that allows for additional steps such asCODE
MEDIUMdocs/docs/tutorials/rag.md85## Easy RAGCOMMENT
MEDIUMdocs/docs/tutorials/rag.md209## Core RAG APIsCOMMENT
MEDIUMdocs/docs/tutorials/rag.md727## Naive RAGCOMMENT
MEDIUMdocs/docs/tutorials/rag.md750## Advanced RAGCOMMENT
MEDIUMdocs/docs/tutorials/guardrails.md42Ideally, guardrail implementations should follow the [single responsibility principle](https://en.wikipedia.org/wiki/SinCODE
MEDIUMdocs/docs/tutorials/guardrails.md245| [`MessageModeratorInputGuardrail`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-guardrails/src/maiCODE
MEDIUMdocs/docs/tutorials/guardrails.md246| [`PatternBasedPromptInjectionGuardrail`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-guardrails/sCODE
MEDIUMdocs/docs/tutorials/guardrails.md280| **_fatal with retry_** | `retry(String)` or `retry(String, Throwable)` | - Similar to **_fatCODE
MEDIUMdocs/docs/tutorials/guardrails.md281| **_fatal with reprompt_** | `reprompt(String, String)` or `reprompt(String, Throwable, String)` | - Similar to **_fatCODE
MEDIUMdocs/docs/tutorials/guardrails.md446| [`JsonExtractorOutputGuardrail`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-guardrails/src/main/CODE
MEDIUMdocs/docs/tutorials/guardrails.md556 | [`InputGuardrailsConfigBuilderFactory`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/maiCODE
MEDIUMdocs/docs/tutorials/guardrails.md557| [`OutputGuardrailsConfigBuilderFactory`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/maiCODE
MEDIUMdocs/docs/tutorials/ai-services.md813## RAGSTRING
MEDIUMdocs/docs/tutorials/ai-services.md846### RAG as a ToolSTRING
MEDIUMdocs/docs/tutorials/observability.md32| [`AiServiceRequestIssuedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/deCODE
MEDIUMdocs/docs/tutorials/observability.md33| [`AiServiceResponseReceivedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/javaCODE
MEDIUMdocs/docs/tutorials/observability.md34| [`AiServiceErrorEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/dev/langchCODE
MEDIUMdocs/docs/tutorials/observability.md37| [`InputGuardrailExecutedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/deCODE
MEDIUMdocs/docs/tutorials/observability.md37| [`InputGuardrailExecutedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/deCODE
MEDIUMdocs/docs/tutorials/observability.md38| [`OutputGuardrailExecutedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/dCODE
MEDIUMdocs/docs/tutorials/observability.md38| [`OutputGuardrailExecutedEvent`](https://github.com/langchain4j/langchain4j/blob/main/langchain4j-core/src/main/java/dCODE
MEDIUMdocs/docs/tutorials/observability.md385## RAG Observability (EmbeddingModel, EmbeddingStore and ContentRetriever)COMMENT
MEDIUMdocs/docs/tutorials/agents.md1217## Pure agentic AISTRING
MEDIUMdocs/docs/tutorials/agents.md1489## Custom agentic patternsSTRING
MEDIUMdocs/docs/tutorials/agents.md1583### Goal oriented agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md1728### Peer-to-peer agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md1959### Blackboard agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md2073### Voting agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md2243### Debate agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md2369### Belief-Desire-Intention (BDI) agentic patternSTRING
MEDIUMdocs/docs/tutorials/agents.md2733### AgenticScope and agentic systems recoverabilitySTRING
MEDIUMdocs/docs/tutorials/agents.md2955The additional `langchain4j-agentic-a2a` module provides a seamless integration with the [A2A](https://a2aprotocol.ai/) STRING
MEDIUMdocs/docs/tutorials/agents.md3101The additional `langchain4j-agentic-mcp` module allows wrapping a single [MCP](https://modelcontextprotocol.io/) tool asSTRING
MEDIUM…agentic/observability/AgentMonitorConcurrencyTest.java75 // Set up the root invocation first, single-threaded — mirrors how the agenticCOMMENT
MEDIUM…chain4j/service/AiServiceStreamingResponseHandler.java169 // If we're using output guardrails, then buffer the partial response until the guardrails have completedCOMMENT
MEDIUM…chain4j/service/AiServiceStreamingResponseHandler.java182 // If we're using output guardrails, then buffer the partial response until the guardrails have completedCOMMENT
MEDIUM…chain4j/service/AiServiceStreamingResponseHandler.java406 // Invoke output guardrailsCOMMENT
MEDIUM…chain4j/service/AiServiceStreamingResponseHandler.java430 // If we have output guardrails, we should process all of the partial responses first beforeCOMMENT
MEDIUM…hain4j/service/guardrail/AbstractGuardrailService.java37 // Caches for whether or not a method has input or output guardrailsCOMMENT
4 more matches not shown…
Magic Placeholder Names25 hits · 130 pts
SeverityFileLineSnippetContext
HIGH…j/model/anthropic/internal/client/AnthropicClient.java85 * .apiKey("your-api-key")COMMENT
HIGH…/anthropic/internal/client/DefaultAnthropicClient.java98 * .apiKey("your-api-key")COMMENT
HIGHdocs/docs/integrations/embedding-models/watsonx.md36 .apiKey("your-api-key") // Simple IBM Cloud authenticationCODE
HIGHdocs/docs/integrations/embedding-models/watsonx.md126 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/embedding-models/mistral-ai.md45export MISTRAL_AI_API_KEY=your-api-key #For Unix OS basedCODE
HIGHdocs/docs/integrations/embedding-models/mistral-ai.md46SET MISTRAL_AI_API_KEY=your-api-key #For Windows OSCODE
HIGHdocs/docs/integrations/embedding-models/ovh-ai.md32export OVHAI_AI_API_KEY=your-api-key #For Unix OS basedCODE
HIGHdocs/docs/integrations/embedding-models/ovh-ai.md33SET OVHAI_AI_API_KEY=your-api-key #For Windows OSCODE
HIGHdocs/docs/integrations/language-models/watsonx.md42 .apiKey("your-api-key") // Simple IBM Cloud authenticationCODE
HIGHdocs/docs/integrations/language-models/watsonx.md153 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md175 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md210 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md246 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md302 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md353 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md380 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md392 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md404 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/watsonx.md473 .apiKey("your-api-key")CODE
HIGHdocs/docs/integrations/language-models/mistral-ai.md45export MISTRAL_AI_API_KEY=your-api-key #For Unix OS basedCODE
HIGHdocs/docs/integrations/language-models/mistral-ai.md46SET MISTRAL_AI_API_KEY=your-api-key #For Windows OSCODE
HIGH…docs/integrations/language-models/openai-compatible.md43 .apiKey("YOUR_API_KEY")CODE
HIGH…/docs/integrations/scoring-reranking-models/watsonx.md36 .apiKey("your-api-key") // Simple IBM Cloud authenticationCODE
HIGH…/docs/integrations/scoring-reranking-models/watsonx.md128 .apiKey("your-api-key")CODE
HIGHdocs/docs/tutorials/kotlin.md38 .apiKey("YOUR_API_KEY")CODE
Over-Commented Block57 hits · 44 pts
SeverityFileLineSnippetContext
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29601collarboneCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29621##)COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29641##{COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29661##¶COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29681##ɕCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29701##ʌCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29721##βCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29741##бCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29761##іCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29781##պCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29801##םCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29821##حCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29841##چCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29861##थCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29881##।COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29901##দCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29921##டCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29941##යCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29961##་COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt29981##თCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30001##ᄌCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30021##ᆨCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30041##ᵖCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30061##„COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30081##ⁿCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30101##₤COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30121##∂COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30141##⊗COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30161##⽥COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30181##けCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30201##ふCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30221##ィCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30241##トCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30261##レCOMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30281##井COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30301##出COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30321##同COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30341##奈COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30361##崎COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30381##成COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30401##朝COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30421##氵COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30441##発COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30461##糹COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30481##車COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30501##雄COMMENT
LOW…j-embeddings/src/main/resources/bert-vocabulary-en.txt30521##?COMMENT
LOW…tore/embedding/pgvector/PgVectorHybridFilteringIT.java61 protected void assertScore(EmbeddingMatch<TextSegment> match, double expectedScore) {COMMENT
LOW…/model/bedrock/BedrockSystemMessageExtractionTest.java601 }COMMENT
LOW…angchain4j/model/openai/OpenAiToolSpecificationIT.java41 // "type": "boolean"COMMENT
LOW…-open-ai/src/test/script/deploy-azure-openai-models.sh1#!/usr/bin/env bashCOMMENT
LOW…ev/langchain4j/mcp/client/ToolSpecificationHelper.java181 } else {COMMENT
LOW…est/java/dev/langchain4j/agentic/RecoverabilityIT.java141 // ---- Track the PendingResponse created by HumanInTheLoop so we can unblock Phase 1 during cleanup ----COMMENT
LOW…ial/src/test/script/deploy-microsoft-foundry-models.sh1#!/usr/bin/env bashCOMMENT
LOW…ev/langchain4j/service/common/AbstractAiServiceIT.java121COMMENT
LOW…ev/langchain4j/service/common/AbstractAiServiceIT.java141 // ToolExecutionResultMessage.from(...)COMMENT
LOW…re-ai-search/src/test/script/deploy-azure-ai-search.sh1#!/usr/bin/env bashCOMMENT
Synthetic Comment Markers3 hits · 20 pts
SeverityFileLineSnippetContext
HIGH…v/langchain4j/model/googleai/GeneratedImageHelper.java12 * This provides a convenient way to extract images generated by Gemini's image generation models.COMMENT
HIGHdocs/docs/tutorials/ai-services.md228Note that `toolSpecifications` and `responseFormat` specified in the `ChatRequestParameters` will override those generatCODE
HIGH…/main/java/dev/langchain4j/data/message/AiMessage.java19 * Represents a message generated by AI (language model).COMMENT
Hyper-Verbose Identifiers9 hits · 9 pts
SeverityFileLineSnippetContext
LOW…/langchain4j/code/judge0/Judge0JavaScriptEngineIT.java42 codeExecutionEngine.execute("function calculateCompoundInterest(principal, rate, time, compounds) {\n"CODE
LOW…chain4j/service/AiServiceStreamingResponseHandler.java65class AiServiceStreamingResponseHandler implements StreamingChatResponseHandler {CODE
LOW…ev/langchain4j/model/StreamingResponseHandlerTest.java8 public static class MinimalStreamingResponseHandler<T> implements StreamingResponseHandler<T> {CODE
LOW…ain4j/model/chat/TestStreamingChatResponseHandler.java19public class TestStreamingChatResponseHandler implements StreamingChatResponseHandler {CODE
LOW…ngchain4j/model/chat/TestStreamingResponseHandler.java15public class TestStreamingResponseHandler<T> implements StreamingResponseHandler<T> {CODE
LOW…dev/langchain4j/model/chat/StreamingChatModelTest.java33 public static final class CollectorResponseHandler implements StreamingChatResponseHandler {CODE
LOW…ernal/MappingTrackingStreamingChatResponseHandler.java29public class MappingTrackingStreamingChatResponseHandler implements StreamingChatResponseHandler {CODE
LOW…in4j/guardrail/StreamingToSynchronousChatExecutor.java48 private static class StreamingToSyncResponseHandler implements StreamingChatResponseHandler {CODE
LOW…/langchain4j/model/LambdaStreamingResponseHandler.java36public class LambdaStreamingResponseHandler {CODE
Fake / Example Data11 hits · 9 pts
SeverityFileLineSnippetContext
LOW…/model/bedrock/common/BedrockStreamingChatModelIT.java157 .messages(UserMessage.from("Say 'Lorem ipsum dolor sit amet'"))CODE
LOW…/model/bedrock/common/BedrockStreamingChatModelIT.java157 .messages(UserMessage.from("Say 'Lorem ipsum dolor sit amet'"))CODE
LOW…/model/bedrock/common/BedrockStreamingChatModelIT.java187 .messages(UserMessage.from("Say 'Lorem ipsum dolor sit amet'"))CODE
LOW…/model/bedrock/common/BedrockStreamingChatModelIT.java187 .messages(UserMessage.from("Say 'Lorem ipsum dolor sit amet'"))CODE
LOW…el/googleai/GoogleAiGeminiBatchEmbeddingModelTest.java546 var segment = TextSegment.from("Text with other metadata", Metadata.from("author", "John Doe"));CODE
LOW…hain4j/model/anthropic/AnthropicCustomHeadersTest.java79 .apiKey("dummy-key")STRING
LOW…hain4j/model/anthropic/AnthropicCustomHeadersTest.java98 .apiKey("dummy-key")STRING
LOW…hain4j/model/anthropic/AnthropicCustomHeadersTest.java171 .apiKey("dummy-key")STRING
LOW…in4j/model/anthropic/AnthropicChatModelErrorsTest.java37 .apiKey("dummy-key")CODE
LOW…in4j/model/anthropic/AnthropicChatModelErrorsTest.java107 .apiKey("dummy-key")CODE
LOWdocs/docs/tutorials/structured-outputs.md516lack sufficient information (e.g., using "John Doe" when then name is missing)".STRING
Slop Phrases4 hits · 7 pts
SeverityFileLineSnippetContext
LOW…/dev/langchain4j/store/embedding/oracle/SQLFilter.java40 * // Don't forget to close the statement :)COMMENT
LOW…src/main/java/dev/langchain4j/mcp/McpToolProvider.java338 * NOTE: When writing the mapping function, don't forget to include the tool arguments as well (these shouldCOMMENT
MEDIUM…angchain4j/service/output/ServiceOutputParserTest.java207 "Sure, here is your JSON:\n```\n{\"key\":\"value\"}\n```\nLet me know if you need more help."CODE
MEDIUM…angchain4j/service/output/ServiceOutputParserTest.java231 "Sure, here is your JSON:\n```\n{\"keyProperty\" :\n {\"key\" : \"value\"}\n}\n```\nLet me know if you nCODE
Structural Annotation Overuse5 hits · 7 pts
SeverityFileLineSnippetContext
LOW…n/java/dev/langchain4j/model/googleai/GeminiFiles.java87 // Step 1: Initial resumable request to get upload URLCOMMENT
LOW…n/java/dev/langchain4j/model/googleai/GeminiFiles.java90 // Step 2: Upload the actual file bytesCOMMENT
LOWdocs/docs/tutorials/agents.md2765// Step 1: Validate the order and write results to shared stateSTRING
LOWdocs/docs/tutorials/agents.md2771// Step 2: Pause for human approval using PendingResponseSTRING
LOWdocs/docs/tutorials/agents.md2778// Step 3: Finalize based on the approval decisionSTRING
Decorative Section Separators2 hits · 6 pts
SeverityFileLineSnippetContext
MEDIUM…j/agentic/patterns/p2p/P2PPlannerComposeActionsIT.java22 // ── Typed keys ──────────────────────────────────────────────────────COMMENT
MEDIUM…j/agentic/patterns/p2p/P2PPlannerComposeActionsIT.java36 // ── Agent wrapper interfaces ────────────────────────────────────────COMMENT
Excessive Try-Catch Wrapping6 hits · 6 pts
SeverityFileLineSnippetContext
LOW.github/workflows/nightly_jdk21.yaml186 except Exception:CODE
LOW.github/workflows/nightly_oracle.yaml81 except Exception:CODE
LOW.github/workflows/nightly_jdk17.yaml186 except Exception:CODE
LOW.github/workflows/main.yaml98 except Exception:CODE
LOW.github/workflows/main.yaml278 except Exception:CODE
LOW.github/workflows/nightly_jdk25.yaml182 except Exception:CODE
AI Slop Vocabulary3 hits · 5 pts
SeverityFileLineSnippetContext
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java204 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUM…/langchain4j/model/bedrock/BedrockPromptCachingIT.java294 You are a helpful coding assistant. Time now is %s. You are an experienced and knowledgeable coding assiSTRING
MEDIUMdocs/package-lock.json16787 "resolved": "https://registry.npmjs.org/robust-predicates/-/robust-predicates-3.0.3.tgz",CODE
Verbosity Indicators2 hits · 4 pts
SeverityFileLineSnippetContext
LOW…n/java/dev/langchain4j/model/googleai/GeminiFiles.java87 // Step 1: Initial resumable request to get upload URLCOMMENT
LOW…n/java/dev/langchain4j/model/googleai/GeminiFiles.java90 // Step 2: Upload the actual file bytesCOMMENT