From f316946f2de32c67258010797e3735aa4c23029f Mon Sep 17 00:00:00 2001 From: Ronald Ray Date: Fri, 4 Jan 2019 09:00:53 -0800 Subject: [PATCH] cassproject/cass-profile#18 - Negative assertions from the VLRC now have confidence. --- js/topicArea.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/topicArea.js b/js/topicArea.js index 16b7d9f..5bc97a9 100644 --- a/js/topicArea.js +++ b/js/topicArea.js @@ -309,7 +309,8 @@ Vue.component('competency', { a.setCompetency(EcRemoteLinkedData.trimVersionFromUrl(me.uri)); a.setAssertionDate(Date.now()); //UTC Milliseconds a.setExpirationDate(Date.now() + 1000 * 60 * 60 * 24 * 365); //UTC Milliseconds, 365 days in the future. - a.setNegative(true); //This is an assertion that an individual *can* do something, not that they *cannot*. + a.setNegative(true); //This is an assertion that an individual *cannot* do something, not that they *can*. + a.setConfidence(1.0); EcRepository.save(a, me.getCompetence, console.error); if (assertionHistory[app.subject] != null) assertionHistory[app.subject].addAssertion(a);