averbraeck / housinggame-facilitator

Facilitator app for the housing game
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fill groupstate table at each state progress of the facilitator #32

Closed averbraeck closed 2 weeks ago

averbraeck commented 2 weeks ago

To be able to trace progress in the game and report on efficiency, the groupstate table is added, where timestamped data is collected about the exact time of reaching a state by each table (group). The groupstate table has a n:1 relation with groupround and contains a copy of the group_state string.

Each time when the facilitator allows the group to progress to a next state, a new record should be inserted in the groupstate table, with the state, the timestamp, a pointer to the groupround table, and potentially some content.

averbraeck commented 2 weeks ago

GroupStates are filled as intended.

image

averbraeck commented 2 weeks ago

Implemented and working.