On Sun, 1 Sep 2019, Henrik K wrote:

On Sat, Aug 31, 2019 at 12:08:31PM -0700, John Hardin wrote:
All:

I'd like to add "use POSIX" to some code used in ruleqa - anybody know
whether that would break ruleqa because that module isn't installed?

It's core module, so it's not possible to be missing.

Thanks. I did a quick search but didn't find any definitive information on that detail, and I'm too distant from day-to-day Perl programming anymore to remember that offhand.

What are you planning?

The overlap percentages are calculated using int(), so they truncate - an overlap of 0.999% is reported as "no overlap". I'd prefer to replace that with a ceil() so that 0.001% - 0.999% is reported as 1% overlap instead.

I'd be open to Math::Round() as well.

It shouldn't affect score generation but would potentially make combination analysis for FP tuning a little better.


--
 John Hardin KA7OHZ                    http://www.impsec.org/~jhardin/
 jhar...@impsec.org    FALaholic #11174     pgpk -a jhar...@impsec.org
 key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C  AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
  Are you a mildly tech-literate politico horrified by the level of
  ignorance demonstrated by lawmakers gearing up to regulate online
  technology they don't even begin to grasp? Cool. Now you have a
  tiny glimpse into a day in the life of a gun owner.   -- Sean Davis
-----------------------------------------------------------------------
 885 days since the first commercial re-flight of an orbital booster (SpaceX)

Reply via email to