<commit_before>#! /usr/bin/env python
# -*- coding: utf-8 -*-

from jnpr.junos import Device
from jnpr.junos.utils.config import Config
from jnpr.jsnapy import SnapAdmin

from pprint import pprint, pformat


jsnapy_config =\
'''
hosts:
  - device: 192.168.34.16 
    username : user1
    passwd: <PASSWORD>
    port: 22
tests:
- ./tests/test_hostname.yml
'''
<commit_msg>Add comment on debug script. the problem was closed https://github.com/Juniper/jsnapy/issues/204<commit_after># This is debug script for JSNAPy 1.0.0 issue(https://github.com/Juniper/jsnapy/issues/204)
# If you upgrade after JSNAPY 1.0.1, this issue will be solved.

#! /usr/bin/env python
# -*- coding: utf-8 -*-

from jnpr.junos.utils.config import Config
from jnpr.jsnapy import SnapAdmin

jsnapy_config =\
'''
hosts:
  - device: 192.168.34.16 
    username : user1
    passwd: <PASSWORD>
    port: 22
tests:
- ./tests/test_hostname.yml
'''

{'fraction_non_alphanumeric': 0.13224043715846995, 'fraction_numerical': 0.04371584699453552, 'mean_word_length': 3.361904761904762, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '5660212', 'n_tokens_mistral': 371, 'n_tokens_neox': 334, 'n_words': 87}