From: f...@googlecode.com
Date: Sun, 09 Oct 2011 12:24:56 +0000
Local: Sun, Oct 9 2011 8:24 am
Subject: Re: Issue 4 in fuxi: Switch over to current rdflib
Comment #3 on issue 4 by gjhigg...@gmail.com: Switch over to current rdflib In response to Chimezie's post to the forum: ++ Excellent! I will take a look and try to get a sense of the effort I am able to report that all the above-referenced work has been restored, http://code.google.com/r/gjhiggins-rdfextras/source/browse/#hg%2Frdfe... There is a Hudson CI build which tracks commits: http://bel-epa.com/hudson/job/rdfextras-test/ and which maintains reports of test runs, currently standing at 369 tests http://bel-epa.com/hudson/job/rdfextras-test/lastCompletedBuild/testR... and (fwiw) coverage reports: http://bel-epa.com/hudson/job/rdfextras-test/Test_coverage_Report/ With respect to detail - the MySQL/SPARQL implementation is available as Most of the stores have been recovered and refactored but I'm unsure of http://code.google.com/r/gjhiggins-rdfextras/source/browse/#hg%2Frdfe... Whilst the key-value stores required little change other than a mild Many of the tests make assertions about the length of the graph but this python run_tests.py --pdb-failure > /usr/lib/python2.7/unittest/case.py(496)_baseAssertEqual() -> raise self.failureException(msg) (Pdb) u > /usr/lib/python2.7/unittest/case.py(503)assertEqual() -> assertion_func(first, second, msg=msg) (Pdb) u > ~rdfextras/test/test_store/test_context.py(146)testLenInMultipleContexts() -> self.assertEquals(len(self.graph), oldLen + 1) (Pdb) oldLen 0 (Pdb) self.graph.serialize() *** Exception: Can't split 'hates' (Pdb) self.graph.serialize(format="n3") '\n<pizza> <hates> <tarek> .\n\n' (Pdb) len(self.graph) 3 (Pdb) self.assertEquals(len([y for y in self.graph.triples((None, None, None))]), oldLen + 1) The failure to serialize the test statements as XML is rather inconvenient Still, even with the limitation of several significant test failures, Again, there is a Hudson CI build: http://bel-epa.com/hudson/job/fuxi-rdflib3/ similarly tracking commits and maintaining reports of test runs, currently http://bel-epa.com/hudson/job/fuxi-rdflib3/lastCompletedBuild/testRep... and (again, fwiw) test coverage http://bel-epa.com/hudson/job/fuxi-rdflib3/Test_coverage_Report/ The complete console output is captured here: http://bel-epa.com/hudson/job/fuxi-rdflib3/17/console For my own convenience, I adjusted matters so that I could run nose, its I can't detect any significant difference between the result of suite.py run The overwhelming majority of the test failures would seem to be due to Expected: If this were any domain other than RDF, I would readily opine that a fix I have recently removed the rdflib2/rdflib3 import switching because FuXi HTH, Cheers, Graham Higgins You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||