Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

## 0.13.0 (unreleased)

### Shared Metric Contract

- Added public `MetricInput -> MetricResult` scorer/metric runtime types and `ScorerFunctionMetric`.
- Extended BYOB `@scorer` with typed scorer metadata and `to_metric()` while preserving current dict scorer behavior.
- Added optional `config_schema` support for typed scorer configs while keeping raw dict configs as the default.
- Split typed scorer config binding into strict `bind(config=ConfigModel(...))` and coercive `bind_raw_config(config={...})` paths.
- Added `@scorer` support for class-based `Metric` objects.

### Adapter Proxy (Breaking — replaces LiteLLM)

- **LiteLLM removed**: The `litellm` dependency, `proxy` and `proxy-full` extras, and `litellm_settings` config field are all removed. The adapter proxy is now built-in with zero external proxy dependencies.
Expand Down
58 changes: 47 additions & 11 deletions src/nemo_evaluator/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,22 +16,30 @@

__version__ = "0.12.0"

from nemo_evaluator.engine.eval_loop import run_evaluation
from nemo_evaluator.engine.model_client import ModelClient
from nemo_evaluator.environments.base import EvalEnvironment, SeedResult, VerifyResult
from nemo_evaluator.environments.custom import benchmark, scorer
from nemo_evaluator.environments.registry import get_environment, list_environments, load_benchmark_file, register
from nemo_evaluator.engine.eval_loop import run_evaluation
from nemo_evaluator.engine.model_client import ModelClient
from nemo_evaluator.solvers import (
ChatSolver,
CompletionSolver,
NatSolver,
OpenClawSolver,
Solver,
SolveResult,
VLMSolver,
)
from nemo_evaluator.scoring import (
BooleanValue,
CandidateOutput,
ContinuousScore,
DatasetRow,
DiscreteScore,
Label,
Metric,
MetricDescriptor,
MetricInput,
MetricOutput,
MetricOutputSpec,
MetricResult,
MetricScorerFunction,
ScorerCallable,
ScorerConfig,
ScorerFunctionMetric,
ScorerInput,
ScorerReturn,
answer_line,
code_sandbox,
code_sandbox_async,
Expand All @@ -40,6 +48,16 @@
multichoice_regex,
needs_judge,
numeric_match,
score_names_from_output_spec,
)
from nemo_evaluator.solvers import (
ChatSolver,
CompletionSolver,
NatSolver,
OpenClawSolver,
Solver,
SolveResult,
VLMSolver,
)

__all__ = [
Expand All @@ -65,6 +83,24 @@
"benchmark",
"scorer",
"ScorerInput",
"Metric",
"BooleanValue",
"DatasetRow",
"CandidateOutput",
"ContinuousScore",
"DiscreteScore",
"Label",
"MetricInput",
"MetricOutput",
"MetricOutputSpec",
"MetricDescriptor",
"MetricResult",
"MetricScorerFunction",
"ScorerCallable",
"ScorerConfig",
"ScorerFunctionMetric",
"ScorerReturn",
"score_names_from_output_spec",
# Scoring primitives
"exact_match",
"multichoice_regex",
Expand Down
Loading
Loading