From 350cf27522c56304250d71c55b0c52049cc8c8fd Mon Sep 17 00:00:00 2001 From: rostislav Date: Tue, 17 Mar 2026 09:44:21 +0200 Subject: [PATCH 1/3] feat: Enhance Markdown formatting in output schemas for improved readability and clarity --- frontend | 2 +- .../target/failsafe-reports/failsafe-summary.xml | 8 -------- .../inference-orchestrator/src/model/output_schemas.py | 4 ++-- .../src/utils/prompts/constants_stage_1.py | 4 ++-- .../src/utils/prompts/constants_stage_2.py | 4 ++-- 5 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 java-ecosystem/target/failsafe-reports/failsafe-summary.xml diff --git a/frontend b/frontend index b909b45c..1fbb78a1 160000 --- a/frontend +++ b/frontend @@ -1 +1 @@ -Subproject commit b909b45ce60cbf049328bd480ddd5af903726d13 +Subproject commit 1fbb78a1e9999314f6bf40893f3901aeebb358d0 diff --git a/java-ecosystem/target/failsafe-reports/failsafe-summary.xml b/java-ecosystem/target/failsafe-reports/failsafe-summary.xml deleted file mode 100644 index fffbf434..00000000 --- a/java-ecosystem/target/failsafe-reports/failsafe-summary.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - 0 - 0 - 0 - 0 - - \ No newline at end of file diff --git a/python-ecosystem/inference-orchestrator/src/model/output_schemas.py b/python-ecosystem/inference-orchestrator/src/model/output_schemas.py index 1aa83cd9..2034c8df 100644 --- a/python-ecosystem/inference-orchestrator/src/model/output_schemas.py +++ b/python-ecosystem/inference-orchestrator/src/model/output_schemas.py @@ -59,8 +59,8 @@ def normalize_scope(cls, v) -> str: return "LINE" title: Optional[str] = Field(default=None, description="Short issue title, max 10 words (e.g., 'Missing null check in user lookup')") - reason: str = Field(description="Detailed explanation of the issue, evidence, and impact") - suggestedFixDescription: str = Field(description="Description of the suggested fix") + reason: str = Field(description="Detailed explanation of the issue, evidence, and impact. Use Markdown formatting (inline code, bold, bullet lists, short code blocks) for readability.") + suggestedFixDescription: str = Field(description="Description of the suggested fix. Use Markdown formatting (inline code, bold, bullet lists) for readability.") suggestedFixDiff: Optional[str] = Field(default=None, description="Optional unified diff format patch for the fix") isResolved: bool = Field(default=False, description="Whether this issue from previous analysis is resolved") # Resolution tracking fields diff --git a/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_1.py b/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_1.py index f09b6b3f..2d35fb3c 100644 --- a/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_1.py +++ b/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_1.py @@ -125,9 +125,9 @@ "line": "42", "codeSnippet": "REQUIRED: exact line of source code at the issue location (copied verbatim from diff/file). Issues WITHOUT codeSnippet are DISCARDED.", "title": "Short issue title, max 10 words", - "reason": "Detailed explanation of the issue", + "reason": "Detailed explanation of the issue in **Markdown** format. Use inline code (`backticks`), bold, bullet lists, and short code blocks where appropriate to improve readability.", "resolutionReason": "When isResolved=true: specific explanation of HOW/WHY the issue was fixed (must NOT repeat the issue description)", - "suggestedFixDescription": "Clear description of how to fix the issue", + "suggestedFixDescription": "Clear description of how to fix the issue in **Markdown** format. Use inline code (`backticks`), bold, and bullet lists where appropriate.", "suggestedFixDiff": "Unified diff showing exact code changes (MUST follow SUGGESTED_FIX_DIFF_FORMAT)", "isResolved": false }} diff --git a/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_2.py b/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_2.py index d609a3d7..9ca7878b 100644 --- a/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_2.py +++ b/python-ecosystem/inference-orchestrator/src/utils/prompts/constants_stage_2.py @@ -68,10 +68,10 @@ "line": 42, "codeSnippet": "exact verbatim line of code from primary_file where the issue is most evident", "affected_files": ["path1", "path2"], - "description": "Pattern or risk spanning multiple files", + "description": "Pattern or risk spanning multiple files, in **Markdown** format. Use inline code, bold, and bullet lists where appropriate.", "evidence": "Which files exhibit this pattern and how they interact", "business_impact": "What breaks if this is not fixed", - "suggestion": "How to fix across these files" + "suggestion": "How to fix across these files, in **Markdown** format. Use inline code, bold, and bullet lists where appropriate." }} ], "data_flow_concerns": [ From a25e50b33f4269e5c40145e037f26dd0f15a68f6 Mon Sep 17 00:00:00 2001 From: rostislav Date: Tue, 17 Mar 2026 09:48:42 +0200 Subject: [PATCH 2/3] test review functionality --- LICENSE | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LICENSE b/LICENSE index 4c1bb72d..3a16b0b6 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ Functional Source License, Version 1.1, MIT Future License - +TEST TEXT TO FIND DURING REVIEW Copyright 2025-2026 CodeCrow ## Terms and Conditions From 6023d3b08e781a269809336c093bb731532b3c54 Mon Sep 17 00:00:00 2001 From: rostislav Date: Tue, 17 Mar 2026 09:50:38 +0200 Subject: [PATCH 3/3] Remove test text part from license --- LICENSE | 1 - 1 file changed, 1 deletion(-) diff --git a/LICENSE b/LICENSE index 3a16b0b6..cdf4266c 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,4 @@ Functional Source License, Version 1.1, MIT Future License -TEST TEXT TO FIND DURING REVIEW Copyright 2025-2026 CodeCrow ## Terms and Conditions