navigating-stories / orange-story-navigator

Add-on to the Orange3 data mining toolkit with text processing widgets from the project Navigating Stories
https://research-software-directory.org/projects/navigating-stories
Other
2 stars 2 forks source link

The documentviewer shows texts and titles wrong #51

Closed ThijsVroegh closed 2 months ago

ThijsVroegh commented 3 months ago
Story Navigator version

0.0.18

Orange version

3.36.2

Expected behavior

I expect the texts in the data set to be displayed in the correct order and I expect titles and text to match.

Actual behavior

I created a dataset to test the different functions but the viewer shows texts that are not even in the dataset

Steps to reproduce the behavior
  1. I created a dataset of 17 texts
  2. I imported the dataset
  3. Connect elements, extract elements
  4. Connect actors widget to both document and elements
  5. If I open the actors widget and go through the texts, I see that the titles do not match the displayed text. Only the first two texts are correctly displayed, all the rest got mixed up.
Additional info (worksheets, data, screenshots, ...)

image

image

image

image

image

kodymoodley commented 3 months ago

We need the input stories / data to reproduce this. I will attach it here when I find it.

kodymoodley commented 3 months ago

Issue with dictionary (story_title, story_id) key - value assignment perhaps?

kodymoodley commented 2 months ago

Fixed in #58.