Skip to content

[Bug] Downloaded TXT analysis report has poor formatting and encoding issues #1685

Description

@Void-Anvesha

Summary

The downloaded TXT analysis report is difficult to read because it contains broken characters, Markdown syntax, and inconsistent formatting.

Steps To Reproduce

  1. Run a code analysis.
  2. Click the download report button.
  3. Open the downloaded .txt file.

Expected Behavior

The TXT report should be clean and structured with readable headings, sections, bullet points, issue details, and suggestions. Special characters should display correctly.

Actual Behavior

The downloaded report contains:

  • Broken or incorrectly encoded characters, such as QyverixAI appearing incorrectly.
  • Raw Markdown syntax, such as **Python**.
  • Inconsistent separators and spacing.
  • Issue and suggestion details that are difficult to scan.

Suggested Improvement

Format the exported report like this:

QyverixAI Analysis Report
==========================

Date: 25 July 2026, 11:33 PM
Language: Python
Engine: Rule-based

EXPLANATION
-----------
Complexity: Beginner
Summary: ...

Key points:
- Written in Python
- Defines 1 function: add
- Recursive call detected

DEBUGGING
---------
Issues found: 1

[INFO] Missing type hints — Line 1
Description: ...
Suggested fix: ...

SUGGESTIONS
-----------
Quality score: 64/100 (C)

[MEDIUM] Documentation
Description: ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    closedClosed due to assignment or outdated issueduplicateThis issue or pull request already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions