You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Operational CI gate — Score a single agent run for tool correctness, trajectory quality, and guardrail compliance. Fail a PR if scores fall below thresholds.
Continual learning research instrument — Measure whether forge-agent is getting better over time. Compute BWT (Backward Transfer), FWT (Forward Transfer), and Plasticity Index across a curriculum of tasks.
All configuration is via environment variables with sensible defaults:
Variable
Default
Description
FERRUM_EVALS_PORT
8002
Server port
SCORE_DB_PATH
~/.ferrum-evals/scores.db
SQLite database path
FERRUM_MEMORY_URL
http://localhost:8000
ferrum-memory service URL
JUDGE_LLM_URL
http://localhost:8080
LLM judge service URL
JUDGE_LLM_MODEL
claude-haiku-4-5-20251001
Judge model
TOOL_CORRECTNESS_THRESHOLD
0.80
Minimum tool correctness score
TRAJECTORY_THRESHOLD
0.70
Minimum trajectory score
ANSWER_RELEVANCY_THRESHOLD
0.80
Minimum answer relevancy score
HALLUCINATION_THRESHOLD
0.20
Maximum hallucination score
OTEL_EXPORTER_OTLP_ENDPOINT
http://localhost:4317
OTLP collector endpoint
API Endpoints
Operational Eval
Method
Endpoint
Description
POST
/eval/run
Trigger evaluation for a session
GET
/eval/status/{run_id}
Check eval run status
POST
/eval/cl-report
Compute CL report (BWT, FWT, Plasticity)
OTLP Span Ingestion
Method
Endpoint
Description
POST
/v1/traces
Receive OpenTelemetry spans
Dataset
Method
Endpoint
Description
POST
/dataset/upload
Upload golden dataset entries
GET
/dataset/entries
Query dataset entries
System
Method
Endpoint
Description
GET
/health
Health status
GET
/openapi.json
OpenAPI schema
Metrics
Operational Metrics (per-session)
Metric
Type
Threshold
Formula
ToolCorrectnessMetric
Jaccard similarity
≥ 0.80
Jaccard on (tool_name, params) pairs
TrajectoryScore
Custom
≥ 0.70
(necessary/total) × (ordered/necessary)
GuardrailCheck
Rule-based
pass
PII/injection pattern matching
AnswerRelevancyMetric
deepeval
≥ 0.80
LLM-as-judge
HallucinationMetric
deepeval
≤ 0.20
LLM-as-judge
Continual Learning Metrics (over episodes)
Metric
Formula
Interpretation
BWT
(1/N) Σ[R(i,N) - R(i,i)]
Negative = forgetting. Zero = stable.
FWT
(1/N) Σ[R(i,i) - R_zero_shot(i)]
Positive = prior helps new tasks.
Plasticity
R_current / R_baseline
< 0.5 = catastrophic forgetting.
CLI
# Run eval on a specific session
ferrum-evals run --session <session_id># Run eval on last N sessions
ferrum-evals run --last 5
# Generate CL report
ferrum-evals cl-report --since 2026-04-01 --output cl_report.html
# Compare two branches
ferrum-evals compare --baseline main --current feature/new-tool-router
# Upload golden dataset
ferrum-evals dataset upload --file golden_dataset.json