PREV INDEX NEXT

Author: Stan Eisenstat
Subject: Re: Question about output of test scripts
Date: Friday, 30 Oct 2020, 20:17:35


    > For several of the test scripts (labeled both Correctness? and Compresses?)
    > I receive the following line(or line in a similar form) of output:
    >
    > -------------- nBits grows: Correctness?
    > 0a1
    > > size(-m 16) = 41883 > 33506 = .80 * 41883 = .80 * size(-m 9)
    > Error: STDOUT differs from expected
    >   0 point   09. size(-m 16) = size(-m 14) << size(-m 9)?:  Style/C-Pike

The line

   size(-m 16) = 41883 > 33506 = .80 * 41883 = .80 * size(-m 9)

means that for the input file /c/cs323/Style/C-Pike:

* The size of the output from
    % ./encode -m 16
  is 41883 bytes.

* The size of the output from
    % ./encode -m 9
  is 41883 bytes.

* The first number (41883) is greater than  33506,
  which is 80% of the second number (41883).

In other words, running with -m 16 is not compressing
significantly more than running with -m 9.'

The most likely explanation is that your code ignores
the -m flag.

--Stan-
PREV INDEX NEXT