teknologi-umum / spectator

Coding exam platform on your browser
GNU General Public License v3.0
11 stars 0 forks source link

Fake data collection #86

Closed aldy505 closed 2 years ago

aldy505 commented 2 years ago

Create (generated or manually, either will do) a set of data for the buckets that supplies:

Please refer to the issue where we discussed about the schema for the database.

ghost commented 2 years ago

User Personal Info

[
  {
    "type": "personal_info",
    "session_id": "a12",
    "student_number": "en2mpm",
    "hours_of_practice": 0,
    "years_of_experience": 0,
    "familiar_languages": "c"
  },
  {
    "type": "personal_info",
    "session_id": "a91",
    "student_number": "xp32m",
    "hours_of_practice": 0,
    "years_of_experience": 0,
    "familiar_languages": "java"
  },
  {
    "type": "personal_info",
    "session_id": "a32",
    "student_number": "rpm2db",
    "hours_of_practice": 0,
    "years_of_experience": 0,
    "familiar_languages": "\"\""
  },
  {
    "type": "personal_info",
    "session_id": "a21",
    "student_number": "yarn2",
    "hours_of_practice": 0,
    "years_of_experience": 0,
    "familiar_languages": "js"
  }
]
ghost commented 2 years ago

Mouse Movement

[
  {
    "session_id": "a",
    "type": "coding_event_mousemove",
    "question_number": 1,
    "direction": "up",
    "x_position": 234,
    "y_position": 123,
    "window_width": 1447,
    "window_height": 1024
  },
  {
    "session_id": "a91",
    "type": "coding_event_mousemove",
    "question_number": 1,
    "direction": "up",
    "x_position": 234,
    "y_position": 123,
    "window_width": 1447,
    "window_height": 1024
  },
  {
    "session_id": "a32",
    "type": "coding_event_mousemove",
    "question_number": 1,
    "direction": "up",
    "x_position": 234,
    "y_position": 123,
    "window_width": 1447,
    "window_height": 1024
  },
  {
    "session_id": "a21",
    "type": "coding_event_mousemove",
    "question_number": 1,
    "direction": "up",
    "x_position": 234,
    "y_position": 123,
    "window_width": 1447,
    "window_height": 1024
  }
]
ghost commented 2 years ago

SAM Result

[
  {
    "session_id": "a12",
    "type": "code_test_attempt",
    "question_number": 1,
    "code": "aoe",
    "language": "c++"
  },
  {
    "session_id": "a12",
    "type": "code_test_attempt",
    "question_number": 2,
    "code": "aoe",
    "language": "c++"
  },
  {
    "session_id": "a12",
    "type": "code_test_attempt",
    "question_number": 1,
    "code": "aoe",
    "language": "c++"
  },
  {
    "session_id": "a12",
    "type": "code_test_attempt",
    "question_number": 3,
    "code": "aoe",
    "language": "java"
  },
  {
    "session_id": "a12",
    "type": "code_submit",
    "question_number": 1,
    "code": "aoe",
    "language": "c++"
  }
]
aldy505 commented 2 years ago

@artileda pak bikin PR pak. bikin folder baru isi file json itu.

ghost commented 2 years ago

@artileda pak bikin PR pak. bikin folder baru isi file json itu.

oke