docs: audit and fix dt-eval-lib, dt-eval-cli, and root README#146
Merged
Conversation
krismuhi
previously requested changes
Jul 23, 2026
- Rebuild Available Metrics table from catalog-data.ts as source of truth - Add missing fluency metric (14th built-in metric, fixes count 13→14) - Correct all scoring types: binary→continuous [0.0–1.0] for all metrics - Fix required fields: toxicity (output only), context-relevance (input only), prompt-injection (input only), factual-accuracy/faithfulness/hallucination (remove context/expectedOutput that catalog does not use) - Clarify threshold semantics: pass when value >= 0.5 (default), not binary extremes - Add source-of-truth link to catalog-data.ts - Add note that EvalInput.output is always required at type level Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…rs — chunk B - Add azure-openai and bedrock to provider list and setup sections - Fix env vars: remove incorrect GOOGLE_API_KEY-for-vertex instruction, add GOOGLE_CLOUD_PROJECT/LOCATION for ADC, add Azure and Bedrock vars - Vertex AI: document both auth paths (ADC default, explicit apiKey) and clarify GOOGLE_API_KEY is intentionally ignored for vertex - Azure OpenAI: document all required fields (apiKey, baseUrl, apiVersion, model) and note there is no default model (deployment names are user-defined) - Bedrock: document AWS SDK credential chain, static creds are optional - Consolidate duplicate .env block into single env vars section Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Drop Gemini setup section (GOOGLE_API_KEY already in env vars block) - Collapse Vertex to one sentence (ADC-by-default is the key insight) - Collapse Bedrock to one sentence (credential chain is the key insight) - Keep Azure OpenAI example (4-required-fields + deployment-name gotcha) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…unk C - Add EvalInput example to Configuration section (documents all 4 fields) - Fix provider list in config comment to include all 6 providers - Remove hardcoded stale model defaults, point to providers/index.ts instead - Fold Threshold Override standalone section into config block inline comment - Fix stale JSDoc in types.ts with same pointer to DEFAULT_MODELS Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Provider SDKs are optional peer deps (not auto-installed, no npm warning). Add install table so users know which package to add per provider before hitting a runtime module-not-found error. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…count/flags - Delete fictional `dt-evals deploy` CLI section (command does not exist) - Fix all default models in Supported Providers table from defaults.ts - Fix evaluator count 13→14 - Add missing --store-evaluated-prompt flag to run flags table - Remove credentials from YAML examples (apiToken, Bedrock apiKey/secretKey) replaced with env var comments Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove fictional deploy command from intro code block and Why Teams Use It - Fix metric count 13→14 (two places) - Fix provider claim: OpenAI/Anthropic only → all 6 providers (two places) - Remove apiToken from YAML examples, replace with env var comments - Rebuild Built-in Evaluators table from catalog-data.ts: 14 rows, alphabetical, corrected required fields, added fluency - Replace TypeScript Library section (~100 lines) with 2 sentences + link - Fix Data Expectations: use actual default fields from dql.ts (gen_ai.input.messages primary, OpenLLMetry as fallback) - Remove fictional span.input/output/context fallback claim - Use consistent span.* naming in spanFields example - fix(dt-eval-cli): change default sampling percent from 100 to 5 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove obvious/redundant inline comments throughout YAML examples - Use custom.* naming in spanFields example for clarity - Fix per-metric input routing example comments - Remove storeEvaluatedPrompt comment block (covered by flags table) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Remove extra blank line in root README (MD012) - Update config.test.ts to expect default sampling percent 5 (was 100) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
yassine-dt
force-pushed
the
fix/AI-301-fix-dt-evals-Readme-docs
branch
from
July 23, 2026 13:39
4ad041c to
d0f7610
Compare
thisthat
reviewed
Jul 24, 2026
Co-authored-by: Giovanni Liva <giovanni.liva@dynatrace.com>
thisthat
approved these changes
Jul 24, 2026
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Systematic audit and fix of dt-eval-lib, dt-eval-cli, and root README against source code as ground truth. Every change is backed by a code reference.
dt-eval-lib
dt-eval-cli
Root README
🤖 Generated with Claude Code