Add local spoken passages with Google retrieval and isolated runtime setup
This commit is contained in:
1 parent
bc9459785d
commit
dab703413e
55 files changed
+3633
-70
No files matched your search
@@ -51,3 +51,13 @@ test('legacy full-pair status remains blocked during download and ready after se
|
||||
assert.equal(semanticIndexReady({...legacy,downloading:false}), true);
|
||||
assert.equal(semanticMediaReady({...legacy,downloading:false}), true);
|
||||
});
|
||||
|
||||
|
||||
test('partial speech publication cannot create an automatic retry loop', () => {
|
||||
const gate = new AutomaticIndexGate();
|
||||
const first = {...text(), speech:{ready:true,pending:true,requested_policy:'speech-v1-a',corpus_revision:7}};
|
||||
assert.equal(gate.claim(semanticIndexKey(first,4)),true);
|
||||
assert.equal(gate.claim(semanticIndexKey({...first,generation:99,pending:0},4)),false);
|
||||
assert.equal(gate.claim(semanticIndexKey({...first,speech:{...first.speech,corpus_revision:8}},4)),true);
|
||||
assert.equal(gate.claim(semanticIndexKey({...first,speech:{...first.speech,requested_policy:'speech-v1-b'}},4)),true);
|
||||
});
|
||||
Reference in new issue
Block a user