WISE-Community / WISE-API

WISE Backend
https://wise.berkeley.edu
Other
4 stars 3 forks source link

Relocate PeerGroupActivity settings #106

Closed hirokiterashima closed 2 years ago

hirokiterashima commented 2 years ago

Description

Move the PeerGroupActivity settings out from components and into the top level of project.json

{
  “title”: “Thermodynamics”,
  …
  “peerGroupActivities”: [
    {
      “tag”: “peerGroupActivity1”,
      “label”: “Grouping for lesson 1”,
      “logic”: “custom”,   // random, manual, custom  [{“name”:”random”}]
      “customLogicExpression”: “1 && 2”,
      “maxMembership”: 2,
      “logicThresholdCount”: 2,
      “logicThresholdPercent”: 50
    }
  ],
  …
  nodes: [
    {
       “id”:”node1”,
       “components”: [
         {
           “id”: “abcxyz”,
           “type”: “OpenResponse”,
           “peerGroupActivityTag”: “peerGroupActivity1”
         }
       ]
    }
  ]
}
hirokiterashima commented 2 years ago

closed by #108