Align prompts and strengthen validation context
This commit is contained in:
@@ -33,8 +33,6 @@ func TestEmbeddedDefinitionsPrepareThroughPromptKit(t *testing.T) {
|
||||
{PromptIDValidatorSpokenFormPlausibility, "spoken-form validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
|
||||
{PromptIDValidatorMeaningReversalReview, "semantic-reversal validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
|
||||
{PromptIDValidatorEditorialReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
|
||||
{PromptIDValidatorGrammarReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
|
||||
{PromptIDValidatorSpokenWordReview, "editorial validation assistant", "validator_decision_set.v1.json", "fixture-correction"},
|
||||
} {
|
||||
t.Run(tc.id, func(t *testing.T) {
|
||||
prepared, err := engine.Prepare(context.Background(), pk.RunRequest{PromptID: tc.id, PromptVersion: VersionV1, ProfileID: "fixture", Vars: vars})
|
||||
@@ -66,7 +64,7 @@ func TestEmbeddedDefinitionsPrepareThroughPromptKit(t *testing.T) {
|
||||
|
||||
func TestRegistryMetadataMatchesEmbeddedDefinitions(t *testing.T) {
|
||||
all := RegisteredMetadata()
|
||||
if len(all) != 9 {
|
||||
if len(all) != 7 {
|
||||
t.Fatalf("prompt count: %d", len(all))
|
||||
}
|
||||
for _, meta := range all {
|
||||
|
||||
Reference in New Issue
Block a user