Open Myyyvothrr opened 1 year ago
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 (a6852c774d70208140a11691c76a826068ea8a77 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.
Should be fixed in PR https://github.com/texttechnologylab/DockerUnifiedUIMAInterface/pull/35
@alleonhardt @abrami Could you check this change does not introduce unexpected side effects?
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 (a6852c774d70208140a11691c76a826068ea8a77 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.