google / google/magika

[Misdetection] texfile file misdetected as ignorefile

Open
#1,249 1 comment 0 reactions 0 assignees View on GitHub
misdetection
Dominant language
Rust
Stars
18.6k
Forks
1.2k
Avg merge
3d 12h
Merged PRs (30d)
20

Description

**What should the file have been detected as? What has the file been misdetected as?**
Tried blabla text file, got detected as ignorefile

```
klsdjcdksaljckldsaj
sdakchdsajkchds
asjkdchdsajkh
```

I understand that this is an edge case.

Image

**Please link or attach the misdetected file below** (Do NOT upload PII!)
Provided up

**Additional context**
None

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported text-file sample and compare its detection with the reported ignorefile result. The issue names no source file or test, so trace the file-type detection entry point and add a regression check for this sample once the relevant component is identified.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.