Pydantic model defining immutable benchmark configuration with environment variable expansion.
# Source: https://github.com/EverMind-AI/EverOS | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""Benchmark configuration.
Frozen Pydantic model providing all tunable parameters for the LoCoMo
benchmark pipeline. Defaults are aligned with the upstream evaluation
reference so that numbers are directly comparable.
"""
from __future__ import annotations
import hashlib
import os
import re
import tomllib
from collections.abc import Sequence
from pathlib import Path
from typing import Any, Literal
from pydantic import BaseModel, ConfigDict, Field
def unresolved(value: str) -> bool:
"""Whether a string still contains an unexpanded ``${VAR}`` reference.
Needed because leav
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key