fix(harness): nsp residuo nei moduli Onda 0 (lshindex msg + VENDORED.md)
User review ha trovato 2 residui 'nsp' sfuggiti al renaming: erano nei moduli portati in Onda 0 (DOPO l'Onda -1 che aveva pulito), in messaggi utente/docstring non in import. L'import-smoke di Onda 0 non li catturava (verifica solo import, non stringhe). Corretti a tht: 'tht lsh build' (lshindex:61), 'tht schema introspect' (VENDORED.md:25). Lesson: dopo ogni port di file sorgente, grep di nsp su quel file, non solo import-smoke. Suite: 161 passed, zero residui nsp nel codice.
This commit is contained in:
@@ -58,7 +58,7 @@ def load_index(directory: Path, name: str) -> tuple[Any, Any, dict]:
|
||||
if not (lsh_path.exists() and mh_path.exists() and meta_path.exists()):
|
||||
raise LshIndexError(
|
||||
f"Indice LSH non trovato in {directory} (atteso {name}_lsh.pkl). "
|
||||
f"Esegui prima `nsp lsh build`."
|
||||
f"Esegui prima `tht lsh build`."
|
||||
)
|
||||
lsh = pickle.loads(lsh_path.read_bytes())
|
||||
minhashes = pickle.loads(mh_path.read_bytes())
|
||||
|
||||
Reference in New Issue
Block a user