Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
haskell-gargantext
haskell-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 179
    • Issues 179
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 10
    • Merge Requests 10
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • haskell-gargantexthaskell-gargantext
  • Issues
  • #343

Closed
Open
Opened May 14, 2024 by mzheng@mzheng
  • Report abuse
  • New issue
Report abuse New issue

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.

As a consequence, I don't have anything in terms image

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
toDiscuss
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#343