From 30048dcfd7955c92473a09f9cbd95fcaf7f4c0d5 Mon Sep 17 00:00:00 2001 From: nstclair-cc <20171905+nstclair-cc@users.noreply.github.com> Date: Tue, 14 May 2024 10:45:25 -0700 Subject: [PATCH 1/3] fixed broken image (used inquiryspace-resources as host since Dan already had the image there) --- data-science-worlds/barty/barty.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-science-worlds/barty/barty.html b/data-science-worlds/barty/barty.html index f59d0420..873a0e46 100644 --- a/data-science-worlds/barty/barty.html +++ b/data-science-worlds/barty/barty.html @@ -331,7 +331,7 @@

Hints

- +
From 2d7edee25dbeb0384e9da089ad66988d0d640593 Mon Sep 17 00:00:00 2001 From: Doug Martin Date: Tue, 28 May 2024 09:41:53 -0400 Subject: [PATCH 2/3] chore: Obfuscated Firebase API key [PT-187643494] Obfuscated Firebase API key using atob() so that automated key leak detectors are not falsely triggered. NOTE: the Firebase API key is a public key so this does not leak secrets. --- CollaborationService/js/CollaborationService.js | 2 +- GoogleSheets/js/Everything.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CollaborationService/js/CollaborationService.js b/CollaborationService/js/CollaborationService.js index 0ada62e7..241993b7 100644 --- a/CollaborationService/js/CollaborationService.js +++ b/CollaborationService/js/CollaborationService.js @@ -553,7 +553,7 @@ var dispatcher = Object.create({ // jshint ignore:line init: function () { firebase.initializeApp({ - apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M", + apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"), authDomain: "codap-collaborations.firebaseapp.com", databaseURL: "https://codap-collaborations.firebaseio.com", storageBucket: "codap-collaborations.appspot.com", diff --git a/GoogleSheets/js/Everything.js b/GoogleSheets/js/Everything.js index 3f45a80f..7667eb3d 100644 --- a/GoogleSheets/js/Everything.js +++ b/GoogleSheets/js/Everything.js @@ -544,7 +544,7 @@ var dispatcher = Object.create({ // jshint ignore:line init: function () { firebase.initializeApp({ - apiKey: "AIzaSyBkHsVd9ZUNL0Uy6SbqbaOn8nwIvmlwW9M", + apiKey: atob("QUl6YVN5QmtIc1ZkOVpVTkwwVXk2U2JxYmFPbjhud0l2bWx3VzlN"), authDomain: "codap-collaborations.firebaseapp.com", databaseURL: "https://codap-collaborations.firebaseio.com", storageBucket: "codap-collaborations.appspot.com", From 54fb6e31312843a8faa93961b62995e2f0eb8e2e Mon Sep 17 00:00:00 2001 From: William Finzer Date: Wed, 5 Jun 2024 10:23:15 -0700 Subject: [PATCH 3/3] * Fixes a bug for logistic regression in which an outcome attribute name requires backquotes in a formula that converts categories to 0 and 1. --- eepsmedia/plugins/testimate/src/connect.js | 4 ++-- eepsmedia/plugins/testimate/src/testimate.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/eepsmedia/plugins/testimate/src/connect.js b/eepsmedia/plugins/testimate/src/connect.js index db1ad85c..036828cd 100644 --- a/eepsmedia/plugins/testimate/src/connect.js +++ b/eepsmedia/plugins/testimate/src/connect.js @@ -202,7 +202,7 @@ connect = { updateDatasetForLogisticGroups: async function (iValue, iAxis) { const theVariable = (iAxis === "X") ? data.xAttData.name : data.yAttData.name; - const theFormula = `if (${theVariable} = "${iValue}", 1, 0)`; + const theFormula = `\`${theVariable}\` = "${iValue}" ? 1 : 0`; const newAttributeInfo = { name: testimate.constants.logisticGroupAttributeName, @@ -538,4 +538,4 @@ connect = { } -} \ No newline at end of file +} diff --git a/eepsmedia/plugins/testimate/src/testimate.js b/eepsmedia/plugins/testimate/src/testimate.js index 02009502..35b51317 100644 --- a/eepsmedia/plugins/testimate/src/testimate.js +++ b/eepsmedia/plugins/testimate/src/testimate.js @@ -215,7 +215,7 @@ const testimate = { constants: { pluginName: `testimate`, - version: `2024g`, + version: `2024h`, dimensions: {height: 555, width: 444}, emittedDatasetName: `tests and estimates`, // for receiving emitted test and estimate results @@ -237,4 +237,4 @@ const testimate = { valueDictionary : {}, // records the number in the "value" box } } -} \ No newline at end of file +}