Panic Trace TFICF
While testing things I stumbled upon an error locally
alertWithStacktrace {ct_callStack = [("panicTrace",SrcLoc {srcLocPackage = "gargantext-0.0.7.1.3-inplace", srcLocModule = "Gargantext.Core.Text.Metrics.TFICF", srcLocFile = "src/Gargantext/Core/Text/Metrics/TFICF.hs", srcLocStartLine = 58, srcLocStartCol = 50, srcLocEndLine = 58, srcLocEndCol = 60})], ct_error = UnexpectedPanic "[ERR][G.T.Metrics.TFICF] Frequency impossible: ic = 2.0, it = 7.0, sc = 8.0, st = 7.0"}
I created a new Corpus, queried car with HAL as the database and Mines Alès as the organization. It only generate 7 documents.
I tried to reproduce it on dev but it didn't produce any error. Anoe thinks that it depends on the numbers of terms in the database, since my database doesn't contain as many words as the one on dev. As of right now, in my ngrams table, I have 483631 entries.