Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplication of results when using "composer.run" on single CAS #34

Open
Myyyvothrr opened this issue Apr 20, 2023 · 1 comment
Open
Labels
bug Something isn't working

Comments

@Myyyvothrr
Copy link
Member

There seems to be a problem if we process multiple single CAS objects by manually "run"ing the composer. The results of the service are duplicated in the results, indicating that some intermediate CAS ist not "reset". This works fine if a collection reader is used however, and it also worked in earlier versions (a6852c7 is the last confirmed). For testing, running the complete test suite of the sentiment tool (https://github.com/texttechnologylab/TTLab-UIMA/blob/main/textimager-uima-transformers-sentiment/src/test/java/org/hucompute/textimager/uima/transformers/sentiment/CardiffnlpTwitterXlmRobertaBaseSentimentTest.java) should fail, while running the unit tests manually one by one every test should succeed.

@Myyyvothrr Myyyvothrr added the bug Something isn't working label Apr 20, 2023
@Myyyvothrr Myyyvothrr changed the title Duplication of results when using "omposer.run" on single CAS Duplication of results when using "composer.run" on single CAS Apr 20, 2023
@Myyyvothrr
Copy link
Member Author

Should be fixed in PR #35

@alleonhardt @abrami Could you check this change does not introduce unexpected side effects?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant