Commit Graph

15 Commits

Author SHA1 Message Date
Robin Olsen
ee2456c3fd clear terminal between tasks and give users a message confirming they are done 2026-03-20 21:01:46 +01:00
Robin Olsen
151d757209 write task description to file 2026-03-19 13:51:46 +01:00
Robin Olsen
3e9a903506 works now 2026-03-18 11:58:31 +01:00
Robin Olsen
40d25cc716 start with upgdrade (broken right now) 2026-03-18 11:23:10 +01:00
Robin Olsen
e8e8c6c134 change so intro questons dont run if dev 2026-03-12 16:58:56 +01:00
Robin Olsen
a51fd848d6 add intro questoinare to gather participant details 2026-03-12 14:56:07 +01:00
Robin Olsen
1ed9e25923 add nil check here 2026-03-11 12:40:51 +01:00
Robin Olsen
25bb20b7de make sure repl works with new system 2026-03-11 12:34:44 +01:00
Robin Olsen
f2413b68f5 make sure taks are in order and interfaces random 2026-03-11 12:18:17 +01:00
Robin Olsen
72a2e8acf5 Metrics and logs - MongoDB Submission (#43)
Adds MongoDB-backed submission for survey statistics/metrics and introduces MongoDB ObjectID-based participant/task identifiers to support upserts and linking metrics to a participant.

It introduces breaking changes to the exsisting json stat and metric files. Delete the old ones

Changes:

Add internal/storage/MongoStorage and wire pm survey submit / pm start to submit local .pm/*.json files to MongoDB.
Extend stats/metrics models to include MongoDB _id / participant_id fields and add participant ID propagation into task metrics.
Update app initialization to generate ObjectIDs for new participants and expose GetParticipantID() via StatsService.
2026-03-10 14:09:31 +01:00
Robin Olsen
763f079063 refactor for separation of concern for better readabiliy and maintainability 2026-03-03 11:41:07 +01:00
Robin Olsen
c36599c96a reduce deps 2026-03-03 10:46:37 +01:00
Robin Olsen
04191b5a97 we need app 2026-03-02 23:09:03 +01:00
Robin Olsen
cb10aeff6b (hotfix) make sure app is initialized only when we need it 2026-03-02 11:41:57 +01:00
Robin Olsen
9612cb9338 refactor to make cli better and simplify the code 2026-03-01 20:42:56 +01:00