On 10/16/06, Marvin Humphrey <[EMAIL PROTECTED]> wrote:
>
> On Oct 16, 2006, at 4:00 AM, David Balmain wrote:
>
> >  The C unit tests probably
> > won't pass so if you can fix them the problem should be fixed.
>
> Test output for subversion repository revision 653 on my G4 PowerBook
> below...

Hmmm. They failures are related to float/byte encoding as they are
occuring because the scoring is wrong. But the float/byte conversion
test doesn't seem to be failing.

> I don't see anything failing specifically relating to how Similarity
> encodes/decodes norms.  Is there a test for that?  Have a look at...
>
> <http://www.rectangular.com/svn/kinosearch/trunk/t/504-similarity.t>
>
> The important test is the one that just takes 0 .. 255, transforms
> those to 256 floats, transforms them back again and checks that we
> get 0 .. 255.  You have something like that?
>
> /me investigates ...
>
> Ah, don't see something like that in test_similarity.c  Probably I
> can add that and send you a patch.  Think that's the right direction,
> based on the test results?


Yeah, it is in test/test_helper.c. I guess I should put a comment in
test_similarity about that since that is where most people would
expect to find such a test. Anyway, since it is passing the error must
be occuring somewhere else. I can't think why though as it definitely
seems to have something to do with the norms.

> PS: I have a Mac Mini that just sits there as a backup in case the
> PowerBook has to go into the shop.  If you write a script that emails
> you results in case of test failures, I can set up a cron to do
> nightly smokes.
>
<snip>test results</snip>

That'd be great thanks. I'll probably take a while to get around to
it. Anyway, don't spend too much time on this. I think it is better
for both of us if you concentrate on Lucy. I've seen a lot of action
recently on the commits list. :D

Cheers,
Dave
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to