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 175
    • Issues 175
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • 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
  • #488

Closed
Open
Opened Jun 30, 2025 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

docNgrams test failure

QC caught a bug, yay!

    docNgrams
      always matches if the input text contains any of the terms:     FAIL (0.01s)
        *** Failed! Falsified (after 4 tests):
        EL
        DocumentWithMatches {_dwm_terms = NonEmpty {getNonEmpty = [NgramsTermNonEmpty {unNgramsTermNonEmpty = "\v4Wn"}]}, _dwn_document = ContextOnlyId {_context_oid_id = nodeId-1, _context_oid_hyperdata = HyperdataDocument {_hd_bdd = Nothing, _hd_doi = Nothing, _hd_url = Nothing, _hd_page = Nothing, _hd_title = Just "M 4Fn \v4Wn A", _hd_authors = Nothing, _hd_institutes = Nothing, _hd_source = Just "Closed Source review", _hd_abstract = Nothing, _hd_publication_date = Nothing, _hd_publication_year = Nothing, _hd_publication_month = Nothing, _hd_publication_day = Nothing, _hd_publication_hour = Nothing, _hd_publication_minute = Nothing, _hd_publication_second = Nothing, _hd_language_iso2 = Nothing, _hd_institutes_tree = Nothing}}}
        termsInText empty
        Use --quickcheck-replay="(SMGen 11658558502716640578 16569247787803840857,3)" to reproduce.
        Use -p '/always matches if the input text contains any of the terms/' to rerun this test only.
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
To Do
Assign labels
  • View project labels
Reference: gargantext/haskell-gargantext#488