[ngrams] some more nodestory work (simplification and refactoring)

4 jobs for 281-dev-ngrams-fixes in 70 minutes and 32 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Stack
passed #10323
stack

00:04:15

 
  Cabal
passed #10324
cabal

00:33:48

 
  Bench
passed #10325
bench

00:16:02

 
  Test
failed #10326
test

00:16:25

 
Name Stage Failure
failed
test Test
Test suite garg-test-hspec: PASS
Test suite logged to:
/builds/gargantext/haskell-gargantext/dist-newstyle/build/x86_64-linux/ghc-8.10.7/gargantext-0.0.6.9.9.8.3.4/t/garg-test-hspec/test/gargantext-0.0.6.9.9.8.3.4-garg-test-hspec.log
1 of 1 test suites (1 of 1 test cases) passed.
Error: cabal: Tests failed for test:garg-test-tasty from
gargantext-0.0.6.9.9.8.3.4.

Cleaning up file based variables
ERROR: Job failed: exit code 1