Skip to content
This repository has been archived by the owner on Jun 17, 2019. It is now read-only.

WordTree filter bug #22

Open
trivedigaurav opened this issue Feb 12, 2015 · 10 comments
Open

WordTree filter bug #22

trivedigaurav opened this issue Feb 12, 2015 · 10 comments

Comments

@trivedigaurav
Copy link
Owner

"Therefore" is mentioned only in one of the documents but three are displayed in the grid (See screenshot). Can be an issue with the backend as well.

screen shot 2015-02-12 at 1 31 46 pm

@trivedigaurav
Copy link
Owner Author

Backend is fine. Issue is in wordtree-layout.js

@trivedigaurav
Copy link
Owner Author

This bug is seen with left-most or right-most node in the tree that contain more than one word. Pending investigation.

@trivedigaurav
Copy link
Owner Author

1694335 fixes the issue by not allowing nodes to collapse if they have only one child. Fixes the bug but now the wordtree is more spread out. Can be made compact.

@trivedigaurav
Copy link
Owner Author

There are still some problems relating to this issue.

If I begin filtering from left and then switch to the right half, then there seems to be a problem.

@trivedigaurav trivedigaurav reopened this Feb 24, 2015
@trivedigaurav
Copy link
Owner Author

The intersection computation logic in wordtree-controller lines 633-646 is flawed. For example, if I search for "with biopsy" and then filter on "with biopsy and", we also include documents that may contain "with biopsy" and "biospy and" but in different sentences. Not sure if we can resolve this just from the front end.

@trivedigaurav
Copy link
Owner Author

This needs to be fixed before the studies...

@trivedigaurav
Copy link
Owner Author

I am trying a fix at c390bd1. Needs to be tested properly.

@trivedigaurav
Copy link
Owner Author

I have merged the change with master at 8d066a3. But I am scared to close the bug as it keeps coming back :D. Hopefully, this time it has been fixed for good.

@trivedigaurav trivedigaurav removed the bug label Jun 5, 2015
@trivedigaurav trivedigaurav removed their assignment Jun 5, 2015
@trivedigaurav
Copy link
Owner Author

More issues found in the prepilot! Re-opening!!

@trivedigaurav trivedigaurav reopened this Jul 7, 2015
@trivedigaurav
Copy link
Owner Author

The pre-pilot bug has been fixed with e07b376. I was expecting a set of sentences in lowercase from the backend but it wasn't the case. Converting to lowercase before matching in filters.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant