Skip to content

Save text files with the log of the quiz run #13

Description

@ZelenyMartin

As a quiz administrator (lecturer) I want to have some artifacts saved on my hard drive reflecting last quiz run.

Basic event log would be a CSV file with one event per line. Events needs to have a timestamp and event description. It should be easily machine readable.

Example (exact format is upon later agreement):

timestamp,time_spent,question,participant,event,result
2026-06-24 22:21:20,0,1,"admin","sent",
2026-06-24 22:21:44,24,1,"Alice","response",True
2026-06-24 22:21:45,25,1,"Bob","response",False

The data format should easily provide additional answers like: What was the hardest question? What was an average response time for every question?

The log file name should be dynamically generated with the timestamp (like 2026-06-24_22:21:55_quiz_log.csv) and stored in the current working directory.

Additionally I want to have another simpler file with just the results (participants ordered by score) - 2026-06-24_22:21:55_quiz_results.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions