Questions tagged [false-positive]

False positive is the case where the positive result of a test doesn't correspond to reality. It can lead to the wrong decision.

236 questions
0
votes
1 answer

rustc false positive warning about value never read?

Following this article about writing a shell in Rust. Compiler outputs a warning about a variable never being read. use std::io::stdin; use std::io::stdout; use std::io::Write; use std::process::Command; use std::path::Path; fn main(){ let mut…
ymudyruc
  • 13
  • 3
0
votes
1 answer

Why sometimes yolo object detector predicts multiple bounding box per object?

I was reading this report which I faced a problem that I have it too. I have trained a model by yolov3 algorithm and sometimes it predicts more than 1 bounding box over one object. I was wondering what is the cause of this issue. Thanks for your…
0
votes
1 answer

Methods and field names should not differ only by capitalization (squid:S1845) false positive

I have a field name which is similar to static constant public static final String MAIL = "mail"; private String mail; I'm getting sonar warning: `Methods and field names should not be the same or differ only by capitalization…
Ori Marko
  • 56,308
  • 23
  • 131
  • 233
0
votes
1 answer

guava - bloomfilter: is it possible to get a true-negative for a value that was **previously** a false-positive?

If I understand correctly, once an item is put inside a guava bloom filter, mightContain will always return true. If the filter returns false on mightContain, then the value has never been put inside the filter. What I'm wondering is for the values…
eftshift0
  • 26,375
  • 3
  • 36
  • 60
0
votes
0 answers

False positive Sonar S1452 on return type containing generic of wildcard generic in java

I have a function similar to: public MyService> getMyService(){ ... } Which means, get an instance of MyService that works for DTO of any generic type. And I get a sonar s1452 message Generic wildcard types should not be used in return…
Juh_
  • 14,628
  • 8
  • 59
  • 92
0
votes
1 answer

False positive and false negative without loop in R

I have the following dataframe (simplified example) y.true yhat 1 U E 2 E U 3 U E 4 E U 5 E U 6 U E 7 E U 8 E E 9 U U 10 E E I need to calculate the number…
user9875321__
  • 195
  • 12
0
votes
0 answers

BitDefender says Code Insiders download has Heur.BZC.NZF.Pantera.7.37C58EF0

I tried to download the latest Code Insiders at work (the regular Code download scanned fine) and BitDefender said: On-Access has detected a threat.Bitdefender has detected malicious behavior on file…
0
votes
1 answer

Where is the leak in my Java 7 code? Is it a false positive? (Using FileChannel to write a 771kb ByteBuffer (fileFinal)

I am writing a Java 7-compatible program in eclipse, and a part of the code I wrote says there is a memory leak. Here is my code: FileChannel output1 = -->new…
Maq
  • 13
  • 3
0
votes
2 answers

Why actual false positives are much less than desired false positive probability in Guava's BloomFilter?

I use a Bloom Filter with a small desired false positive probability (fpp) and get much less result: BloomFilter bloomFilter = BloomFilter.create(Funnels.longFunnel(), 1_000_000, .001); int c = 0; for (int i = 0; i < 1_000_000; i…
auntyellow
  • 2,423
  • 2
  • 20
  • 47
0
votes
1 answer

Understanding Miss Rate vs FPPI metric for object detection

I have a plot between MR vs FPPI for an object detection model which was trained on a dataset for detecting cars. However, I have no clue how to understand this graph and thus am unable to come to a conclusion regarding whether it does a good job or…
0
votes
0 answers

Application marked as Virus by Microsoft AV - Unsure what behavior it is finding suspect or what to do to try and get it removed

I'm working on a little automation application for a client in DotNet (framework 4.5) and I just got the last version of the application deployed to the client and up and running. However after about a day's worth of use the application got flagged…
Khurram
  • 11
  • 2
0
votes
1 answer

Fixing checksum issues on intel HEX files

I have made the following intel hex file snippet to test with a couple 8051 processor simulators: :1000F5007002501F500CED2562FDEE3561FEEF35A7 :1001050060FFE56233F562E56133F561E56033F57E One I used is located here: http://www.jroweb.de/8051/ From my…
0
votes
1 answer

Is it possible to ignore one single specific line with pylint, without changes to the source code?

Is it possible to ignore one single specific line with pylint? has solutions that requires littering source code with comments what is undesirable for me. Is there way to specify that given instance is false positive in arguments of the pylint…
reducing activity
  • 1,985
  • 2
  • 36
  • 64
0
votes
0 answers

IntelliJ showing false positive errors

My project complains about a missing 'symbol'. All of the classes it claims are missing/do not exist do in fact exist, I've verified myself and they are all present. Additionally, building the code through the javac command still works, which leads…
Frontear
  • 1,150
  • 12
  • 25
0
votes
2 answers

PHP Is one value set and not another

I'm working on a truthy/falsy where I need to check 2 values, of which one may be null, the other 0. If integer vs string value same, they'd be the same. The simplest I've been able to break it down is: if($var1 == $var2) {// They may be the same …
Code Ward
  • 13
  • 2