eval_toolkit.docs#

ANCHOR_RE

Compiled regular expression object.

DEFAULT_FORMATTERS

dict() -> new empty dictionary dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs dict(iterable) -> new dictionary initialized as if via: d = {} for k, v in iterable: d[k] = v dict(**kwargs) -> new dictionary initialized with the name=value pairs in the keyword argument list. For example: dict(one=1, two=2).

render_files

IO wrapper: read each target file, render anchors, optionally write.

render_text

Replace anchored bodies in text with values looked up in metrics.

walk_path

Walk a dot-path into nested dicts/lists.