<commit_before>module Data.MediaBus.Conduit.FrameRingSpec (spec) where

import Conduit
import Control.Monad
import Data.Conduit.List
import Data.MediaBus
import Data.Proxy
import Data.Word
import Debug.Trace
import Test.Hspec
import Test.QuickCheck

spec :: Spec
spec =
  describe "FrameRing" $ do

    describe "basics"
      $ do
           it "can be created with mkFrameRing" $ do
             void $ mkFrameRing @IO @() 1 0.1


           it "passes a single frame from a frameRingSink to a frameRingSource"
             pending<commit_msg>Make 'cabal test' run in a nix-shell<commit_after>module Data.MediaBus.Conduit.FrameRingSpec (spec) where

import Conduit
import Control.Monad
import Data.Conduit.List
import Data.MediaBus
import Data.Proxy
import Data.Word
import Debug.Trace
import Test.Hspec
import Test.QuickCheck

spec :: Spec
spec =
  describe "FrameRing" $ do
    describe "basics" $ do
      it "can be created with mkFrameRing" $ void $ mkFrameRing @IO @() 1
      it
        "passes a single frame from a frameRingSink to a frameRingSource"
        pending
    describe "underflow" $ do
      it "will send missing packages with the right frequency" pending
{'fraction_non_alphanumeric': 0.06876061120543293, 'fraction_numerical': 0.003395585738539898, 'mean_word_length': 3.241007194244604, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1432', 'n_tokens_mistral': 367, 'n_tokens_neox': 350, 'n_words': 126}