Comments (9)
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.
Fixed by aad21b0.
from cayley.
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.
Branch mentioned above is here.
from cayley.
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.
Bisection with one skip due to panics (09244dd) points to one of these:
from cayley.
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.
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.
Fixed in #116
from cayley.
Related Issues (20)
- 'go build ./cmd/cayley' breaks: missing go.sum entry for module providing package github.com/golang/protobuf/proto HOT 3
- Move cayley.io to Github Pages or Netlify or similar HOT 1
- Aggregations
- Code quality: NameOf and ValueOf should return errors HOT 2
- Relationships not displaying correctly in new cayley version HOT 1
- Cayley.io is down again HOT 10
- Seeking for a new maintainer HOT 13
- hidalgo: interfaces changed a bit in newer versions HOT 2
- Security issue with github.com/gogo/protobuf version < 1.3.2 HOT 2
- Repl Allows One Command to Execute and Subsequent Commands Fail HOT 1
- request a new release HOT 1
- Filter path by Label field of quads HOT 1
- Filter path by empty label field (FilterContext) HOT 1
- Plans for a new release? HOT 2
- Build Issue using cayley 0.7.7 HOT 1
- q InternalQuad ==> q *InternalQuad
- gio gui HOT 1
- Plans for a new release?
- Discourse forum down
- Is this project dead? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cayley.