<commit_before>package pongo2

import (
	"io/ioutil"
)

// Version string
const Version = "1.0-rc1"

// Helper function which panics, if a Template couldn't
// successfully parsed. This is how you would use it:
//     var baseTemplate = pongo2.Must(pongo2.FromFile("templates/base.html"))
func Must(tpl *Template, err error) *Template {
	if err != nil {
		panic(err)
	}
	return tpl
}

// Loads  a template from string and returns a Template instance.
func FromString(tpl string) (*Template, error) {
	t, err := newTemplateString(tpl)
	return t, err<commit_msg>changed version const to 'dev'<commit_after>package pongo2

import (
	"io/ioutil"
)

// Version string
const Version = "dev"

// Helper function which panics, if a Template couldn't
// successfully parsed. This is how you would use it:
//     var baseTemplate = pongo2.Must(pongo2.FromFile("templates/base.html"))
func Must(tpl *Template, err error) *Template {
	if err != nil {
		panic(err)
	}
	return tpl
}

// Loads  a template from string and returns a Template instance.
func FromString(tpl string) (*Template, error) {
	t, err := newTemplateString(tpl)
	return t, err
{'fraction_non_alphanumeric': 0.1147396293027361, 'fraction_numerical': 0.00794351279788173, 'mean_word_length': 3.9519650655021836, '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': '3243115', 'n_tokens_mistral': 372, 'n_tokens_neox': 373, 'n_words': 127}