fix
This commit is contained in:
@@ -375,9 +375,9 @@ func TestRunSteps_synthPriorHashDoesNotSkipReprocess(t *testing.T) {
|
||||
}
|
||||
normName := "Vogel's WALL 3245 TV Wall Mount"
|
||||
normDesc := "A mount with enough mapped detail for hashing inputs."
|
||||
synthPrior := synthesizeDescriptionFromTitle(normName, "TV Mounts", "en", map[string]any{
|
||||
"brand": "Vogel's", "width": "45 cm", "max_load": "40 kg",
|
||||
})
|
||||
// Use legacy invent phrasing as the stored prior — new factual fallback must not
|
||||
// look like invent, but old catalog rows still do and must force re-enhance.
|
||||
synthPrior := normName + " is a TV Mounts product from Vogel's. Key specs: width 45 cm, max_load 40 kg."
|
||||
if !company.LooksLikeHeuristicSynthesize(synthPrior) {
|
||||
t.Fatalf("expected invent synth prior, got %q", synthPrior)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user