<commit_before>module Parsing exposing (..)

-- External Imports

import Navigation
import UrlParser exposing (Parser, (</>), map, int, oneOf, s, string)
import String


-- Internal Imports

import Types exposing (Route(..))


-- Parsing


urlParser : Navigation.Location -> Route
urlParser location =
    let
        one =
            Debug.log "hash" location.hash
    in
        case UrlParser.parseHash routeParser location of
            Just route ->
                route

            Nothing ->
                NotFound
<commit_msg>Remove logging of hash location<commit_after>module Parsing exposing (..)

-- External Imports

import Navigation
import UrlParser exposing (Parser, (</>), map, int, oneOf, s, string)
import String


-- Internal Imports

import Types exposing (Route(..))


-- Parsing


urlParser : Navigation.Location -> Route
urlParser location =
    case UrlParser.parseHash routeParser location of
        Just route ->
            route

        Nothing ->
            NotFound

{'fraction_non_alphanumeric': 0.08846918489065607, 'fraction_numerical': 0.0, 'mean_word_length': 2.334437086092715, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '865605', 'n_tokens_mistral': 284, 'n_tokens_neox': 259, 'n_words': 90}