You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e7bdec0
Browse filesBrowse the repository at this point in the historyBrowse files
test(memory): an old title match survives the cut in one big step; .env's dot does not end a not
Two of 21 single-defect mutations of the review fixes passed every suite: limiting before ranking
(the title match was found by the first step's no-read pass, so it was never cut), and splitting a
clause at every dot (only a note that writes the file name differently from the quote shows it).
Each now has a case.
Copy file name to clipboardExpand all lines: extensions/levelcode-ai/test/memoryNotes.test.js
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -68,6 +68,7 @@ test('GROUND: the note keeps every not and never, and adds none', () => {
68
68
assert.deepStrictEqual(mem.groundNote({text: 'Use yarn',said: 'never use npm or yarn',personWords: ['never use npm or yarn']}).reason,'changes-a-not');
69
69
assert.strictEqual(mem.groundNote({text: 'Don\u2019t push to main',said: "don't push to main",personWords: ["don't push to main"]}).verified,true,'curly and straight apostrophes are the same not');
70
70
assert.strictEqual(mem.groundNote({text: 'Never edit package.json by hand',said: 'never edit package.json by hand',personWords: ['never edit package.json by hand']}).verified,true,'a file name is one word, not two clauses');
71
+
assert.strictEqual(mem.groundNote({text: 'No env files in commits',said: 'no .env files in commits',personWords: ['no .env files in commits']}).verified,true,'the dot of .env does not end the "no"');
71
72
});
72
73
test('GROUND: a quote too short to mean anything is not enough',()=>{
0 commit comments