aarsh shah
2013-Mar-03 09:23 UTC
[Xapian-devel] Sent a pull request for testing TradWeight using an Rset.
Hello guys.As discussed on IRC,I have sent a pull request for a test for testing TradWeight with an Rset. On Fri, Mar 1, 2013 at 5:30 PM, <xapian-devel-request at lists.xapian.org>wrote:> Send Xapian-devel mailing list submissions to > xapian-devel at lists.xapian.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.xapian.org/mailman/listinfo/xapian-devel > or, via email, send a message with subject or body 'help' to > xapian-devel-request at lists.xapian.org > > You can reach the person managing the list at > xapian-devel-owner at lists.xapian.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Xapian-devel digest..." > > > Today's Topics: > > 1. GSoC 2013 and cotnributing to xapian (Tejas Nikumbh) > 2. Implemented test coverage for using TradWeight with an Rset > (aarsh shah) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Thu, 28 Feb 2013 18:52:32 +0530 > From: Tejas Nikumbh <tejasnikumbh at gmail.com> > Subject: [Xapian-devel] GSoC 2013 and cotnributing to xapian > To: xapian-devel at lists.xapian.org > Message-ID: > < > CAMBfs4NPpJgHFiUMv9p8dm3n1Vh_27FiLz3xsSQnMmTL04YFWw at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hi, > > I am Tejas Nikumbh, an undergrad at Indian Institute of Technology Bombay. > I will be participating in GSoC this year. [GSoC 2013]. In order to imporve > my chances for getting selected this year, I would like to start > contributing early on to Open Source development via xapian. > > Here's a little background info : > > *Languages proficient in : *Java, Python, Javascript [+jQuery] , > HTML[+HTML5 Canvas], CSS [+CSS3]. C++ should be on the list soon. > > *CS Theory :* Discrete Math, Probablity and Random Processes, Data > Structures and Algorithms. > > *SVN : *Github, Mercurial > . > *Basic Machine learning [Regression algos and some classification algos]* > > Based on the above info, are there any projects which might suit me? > > Also, Picking up something reasonable quickly shouldn't be a problem. > Thanks, > > > -- > Tejas Nikumbh, > Third Year Undergraduate, > Electrical Engineering Department, > IIT Bombay. > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.xapian.org/pipermail/xapian-devel/attachments/20130228/fb776ded/attachment.html > > > > ------------------------------ > > Message: 2 > Date: Thu, 28 Feb 2013 23:43:46 +0530 > From: aarsh shah <aarshkshah1992 at gmail.com> > Subject: [Xapian-devel] Implemented test coverage for using TradWeight > with an Rset > To: Xapian Development <xapian-devel at lists.xapian.org> > Message-ID: > < > CABz8NmRc66c+-qvQec7QpXMn0VQ0Fu0FSizj4xQwwdV5aVCUWg at mail.gmail.com> > Content-Type: text/plain; charset="iso-8859-1" > > Hello guys. Olly had pointed out on IRC that there is no test for using the > TradWeight scheme with a Rset and had directed me to the test coverage of > the TradWeight scheme :- > > http://lcov.xapian.org/latest/weight/tradweight.cc.gcov.html > > I have added a test to api_anydb.cc which tests the TradWeight scheme using > an Rset . I simply modified the rset2 test in api_anydb.cc so that the Mset > is made using the TradWeight scheme and passed an Rset to Enquire.get_mset( > ) . > > http://xapian.org/docs/sourcedoc/html/api__anydb_8cc_source.html#l01128 > > The results were as expected and the test passed on all the backends . I > then changed the order of the documents in the second call to > mset_expected_order( ) and as expected, the test failed.So,I think that > the test works fine.Should I send a pull request for this test ? If I > need to make any changes to ensure that this test is correct, please do let > me know . > > -Regards > -Aarsh > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: < > http://lists.xapian.org/pipermail/xapian-devel/attachments/20130228/3b092ec5/attachment-0001.htm > > > > ------------------------------ > > _______________________________________________ > Xapian-devel mailing list > Xapian-devel at lists.xapian.org > http://lists.xapian.org/mailman/listinfo/xapian-devel > > > End of Xapian-devel Digest, Vol 95, Issue 1 > ******************************************* >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.xapian.org/pipermail/xapian-devel/attachments/20130303/7d24786a/attachment.html>