Skip to content

ECSoC_2026: Improve scam detector input validation and confidence rendering #198

Description

@Babin123456

Problem

The scam detector allows silent empty submissions and does not show users input limits.

Current Behavior

Empty messages return without visible feedback, and model confidence values are rendered without clamping.

Why This Improvement Is Needed

Users need clear feedback before network requests, and the UI should handle malformed or unexpected model output safely.

Proposed Solution

Add a character limit, live character count, empty-message feedback, oversized-message feedback, and confidence clamping.

Expected Outcome

Chat submissions become clearer, safer, and more predictable.

Additional Notes

This is a client-side UX and robustness improvement only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions