Feature: Shared Tokens #241
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
For the September 2024 pilot, we expect students to be working with multiple graphs over the duration of the pilot.
Removing the
dataset
field when defining tokens should make it possible to create tokens that are defined by two parameters:There is a new script
ncMakeSharedTokens(classid, projid, numTokens)
that works the same asncMakeTokens
. (ncMakeTokens
still works, but thedatatset
field is now ignored).See #233
To Test
Test Net.Create
npm run dev
if you already have a project defined, or./nc.js --dataset=rome
.ncMakeSharedTokens('history1a', 'tacitus', 30)
, wherehistory1a
is the name of the class andtacitus
is the name of the group.HISTORY1A-TACITUS-NWE
./nc.js --dataset=demo
Test
nc-multiplex
Make sure
nc-multiplex
can still be used to create tokens.nc-multiplex
nc-multiplex/netcreate-itest
git fetch
git checkout
dev-bl/shared-tokens`nvm use
npm ci
npm run package
cd ..
node nc-multiplex.js
http://localhost/manage
Once the user authentication system is added (post-September) this should no longer be necessary.