<commit_before># **** [template_spec.cfg]                      ****
# **** Specification file for template          ****
# **** Provides parameter types and defaults    ****
# **** Need to specify only non defaults in     ****
# **** actual configuration                     ****

[General]
    # useful to differentiate results of different runs
    # ! output files are suffixed with _gpot in addition to this
    file_suffix = string(default='')

    dt = float(min=1e-6, default=1e-4)             # simulation time step

    steps = integer(min=1, default=1000)           # number of time steps

    # logging option (log file is neurokernel.log)
    log = option('none', 'file', 'screen', 'both', default='none')

    eye_num = integer(min=1, max=1, default=1)     # number of eyes

[Lamina]
    debug = boolean(default=false)             # LPU debugging flag

    time_sync = boolean(default=false)         # LPU time synchronization flag

    composition = '''option('Neighbor', 'One2One', 'Original', 'Simple', 
'Pattern', default='Simple')'''
    
    # number of amacrine cells relative to cartridges
    relative_am = option('equal', 'half', 'custom', default='half')

    number_am = integer(min=1, default=300)

    gexf_file = string(default=lamina)

    output_file = string(default=lamina_output)

    radius = float(default=1)

    rings = integer(min=0, default=14)         # number of rings

    # euler angles that describe rotation of retina,
    # should be 3xretina_num
    # approximations: pi: 3.1415, pi/2: 1.5707
    # for cylinder use (0, -1.5707, 0)
    eulerangles = float_list(min=3, default=list(0, 0, 0))

    # vision model
    model = string(default='lamina_model_template')

[Composition]
    [[Pattern]]
        n_pattern_x = int_list(min=6, default=list(1, 1, 0, -1, -1, 0))
        n_pattern_y = int_list(min=6, default=list(0, 1, 1, 0, -1, -1))

        am_pattern_x = int_list(min=1, default=list(0))
        am_pattern_y = int_list(min=1, default=list(0))

    [[Neighbor]]
        # no configuration needed

    [[One2One]]
        # no configuration needed 

    # original implementation
    [[Original]]
        # bound of amacrine distance to connected
        # cartridges, value relative to 1
        b_amacrine = float(min=0, max=1, default=0.1) 

    [[Simple]]
        # no configuration needed
<commit_msg>use vision_model_template by default in example<commit_after># **** [template_spec.cfg]                      ****
# **** Specification file for template          ****
# **** Provides parameter types and defaults    ****
# **** Need to specify only non defaults in     ****
# **** actual configuration                     ****

[General]
    # useful to differentiate results of different runs
    # ! output files are suffixed with _gpot in addition to this
    file_suffix = string(default='')

    dt = float(min=1e-6, default=1e-4)             # simulation time step

    steps = integer(min=1, default=1000)           # number of time steps

    # logging option (log file is neurokernel.log)
    log = option('none', 'file', 'screen', 'both', default='none')

    eye_num = integer(min=1, max=1, default=1)     # number of eyes

[Lamina]
    debug = boolean(default=false)             # LPU debugging flag

    time_sync = boolean(default=false)         # LPU time synchronization flag

    composition = '''option('Neighbor', 'One2One', 'Original', 'Simple', 
'Pattern', default='Simple')'''
    
    # number of amacrine cells relative to cartridges
    relative_am = option('equal', 'half', 'custom', default='half')

    number_am = integer(min=1, default=300)

    gexf_file = string(default=lamina)

    output_file = string(default=lamina_output)

    radius = float(default=1)

    rings = integer(min=0, default=14)         # number of rings

    # euler angles that describe rotation of retina,
    # should be 3xretina_num
    # approximations: pi: 3.1415, pi/2: 1.5707
    # for cylinder use (0, -1.5707, 0)
    eulerangles = float_list(min=3, default=list(0, 0, 0))

    # vision model
    model = string(default='vision_model_template')

[Composition]
    [[Pattern]]
        n_pattern_x = int_list(min=6, default=list(1, 1, 0, -1, -1, 0))
        n_pattern_y = int_list(min=6, default=list(0, 1, 1, 0, -1, -1))

        am_pattern_x = int_list(min=1, default=list(0))
        am_pattern_y = int_list(min=1, default=list(0))

    [[Neighbor]]
        # no configuration needed

    [[One2One]]
        # no configuration needed 

    # original implementation
    [[Original]]
        # bound of amacrine distance to connected
        # cartridges, value relative to 1
        b_amacrine = float(min=0, max=1, default=0.1) 

    [[Simple]]
        # no configuration needed

{'fraction_non_alphanumeric': 0.12962962962962962, 'fraction_numerical': 0.02861952861952862, 'mean_word_length': 2.833064516129032, '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': '2457158', 'n_tokens_mistral': 1555, 'n_tokens_neox': 1416, 'n_words': 409}