Yeah, well at some point they were quite thorough. I admit I haven't
been good about adding tests for new code, but, still it's mostly
covered, versus having a couple tests here and there and most not
tested at all.

EMMA is super, and not too hard to setup. Run some code that exercises
the library and it'll tell you what doesn't ever seem to be executed.
Running all unit tests through it therefore shows quite clearly what's
not getting touched by test execution.

Go for it -- I would consider profiling a slightly higher priority,
but either is a great contribution. Along the way I am sure you will
both get familiar with the code and be able to suggest more changes
and extensions to it. And that is always good for a project.

On Mon, Sep 14, 2009 at 6:25 PM, Tanton Gibbs <[email protected]> wrote:
> If the CF unit tests have been started, then fleshing them out sounds
> like a good place to start.  I've not used EMMA, so that sounds like
> fun.
>
> Thanks for the pointers!
> Tanton
>
> On Mon, Sep 14, 2009 at 10:12 AM, Sean Owen <[email protected]> wrote:
>> FWIW I have been profiling the CF code a lot lately so think it has had a
>> recent, close look. I might turn profilers to areas that haven't had as
>> close a look.
>>
>> The CF unit tests are fine if lagging in completeness. I think it would be
>> perhaps relatively simpler to locate some untested bits and add a test or
>> two - if you can run EMMA on the current tests you will quickly find a few
>> gaps.
>>
>> I think as a result of trying to test some code you will locate some useful
>> ways to refactor and structure the code. That sort of thing strikes me as
>> important now. Best to make some big code moves early while the API is
>> understood to be very in flux, and to build a solid foundation.
>>
>> For instance this week I would like to continue by proposing to merge and
>> reshuffle the utils and common packages.
>>
>> On Sep 14, 2009 5:33 PM, "Grant Ingersoll" <[email protected]> wrote:
>>
>> On Sep 14, 2009, at 12:23 PM, Tanton Gibbs wrote: > Hi, > > I'd like to
>> start working more with th...
>> Testing and profiling of the clustering, classification and collab filtering
>> code would be very welcome.   There are several open issues in JIRA related
>> to these (MAHOUT-165 comes to mind).
>>
>> I think just running some examples at scale and reporting back results would
>> be great as well.  You can also start by looking at
>> https://issues.apache.org/jira/browse/MAHOUT
>>
>> One idea is to take the Wikipedia examples I put up at
>> https://www.ibm.com/developerworks/java/library/j-mahout/index.html (I will
>> donate the code soon) and try running them at larger scale for Wikipedia.
>>
>

Reply via email to