x-tabdeveloping / turftopic

Robust and fast topic models with sentence-transformers.
https://x-tabdeveloping.github.io/turftopic/
MIT License
17 stars 4 forks source link

Add integration tests #14

Closed x-tabdeveloping closed 6 months ago

x-tabdeveloping commented 7 months ago

Rationale:

It would be nice to have some tests that serve as sanity checks for whenever we make a change in the repo. I would avoid testing small units, so that the interface can stay flexible if we need to change anything.

Implementation:

We should make a test, where a randomly selected model is run on a subset of 20Newsgroups and then export all results in .csv files, then check with pandas whether the files are readable.

x-tabdeveloping commented 6 months ago

24 Addresses this issue, closing