fix(eval): remove public preprocessor authoring#1656
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
c9a44ac
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://67495f50.agentv.pages.dev |
| Branch Preview URL: | https://promptfoo-preprocessor-remov.agentv.pages.dev |
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
Public authoring now has one output-shaping contract: use
transform. The SDK no longer exports or serializes preprocessor helper options,defineEval()rejects top-levelpreprocessors, and the YAML loader no longer parses suite-level preprocessor config after rejecting authored usage.The file-output example and current docs now present this as a transform workflow (
examples/features/file-transforms) instead of a preprocessor example. Internal content conversion plumbing remains available only behind non-public runtime types, and retained source traceability usescontent_transform_commandterminology instead ofpreprocessor_command.Validation
bun installbun test packages/core/test/evaluation/preprocessors-yaml.test.ts packages/core/test/evaluation/transform-runtime.test.ts packages/core/test/evaluation/validation/eval-validator.test.ts packages/core/test/evaluation/validation/eval-file-schema.test.tsbun test packages/core/test/evaluation/source-traceability.test.ts packages/core/test/evaluation/orchestrator.test.ts packages/core/test/evaluation/llm-grader-multimodal.test.tsbun --filter @agentv/core typecheckbun --filter @agentv/sdk testbun --filter @agentv/sdk typecheckbun run validate:examplesbun run lintbun --filter @agentv/sdk buildLive provider/grader dogfood was not rerun here because this PR hardens public authoring rejection and SDK/docs surfaces; the downstream transform docs/example dogfood gate remains tracked by
av-kfik.16.Related
Related: av-kfik.34.4