GithubHelp home page GithubHelp logo

Comments (9)

kortschak avatar kortschak commented on July 17, 2024

Update: I'm thinking it is in the merge 62785d2 rather than the resultion of Go names 191244c. This is unfortunate since it's the much larger commit.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

Fixed by aad21b0.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

I closed too soon. I have added more stringent testing to cayley_test.go (reflect.DeepEqual on the basis that the order of returned results is consistent) and this fails. The number of results is correct though.

If I comment out the line that invokes the materializer, the test passes. The failure does not look like an out of order result return.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

Branch mentioned above is here.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

I have back ported the test case to b74cb14 and it fails there too - output here for convenience. Sorry @barakmich, I think the ball is in your court.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

Bisection with one skip due to panics (09244dd) points to one of these:

09244dd
24f57df

from cayley.

kortschak avatar kortschak commented on July 17, 2024

I have narrowed this down to an off-by-one error. The result in the incorrect cases is returning the object of the next quad: e.g. (snipped from 30kmovies...)

 </en/speed_1994> <name> "Speed" .
 </en/speed_1994> <type> </film/film> .

 </en/keanu_reeves> <name> "Keanu Reeves" .
 </en/keanu_reeves> <type> </people/person> .

Not sure yet where it's coming from, but looking.

from cayley.

kortschak avatar kortschak commented on July 17, 2024

Adding in a clone of the input iterator to the Materializer and tracking them together I see this (just running "Net and Speed"):

clone:10201 mat:10201 correct
clone:10201 mat:10201 correct
clone:10201 mat:10201 correct
clone:<nil> mat:10201 incorrect
clone:12510 mat:12510 correct
clone:12510 mat:12510 correct
clone:26153 mat:26153 correct
clone:26153 mat:26153 correct

So it looks like the off by one is due to the materializer not properly reflecting the change over in paths. If I get a chance tonight I'll keep tracking this.

from cayley.

barakmich avatar barakmich commented on July 17, 2024

Fixed in #116

from cayley.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.