question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Learner response is always empty

See original GitHub issue

Hello,

I noticed that learner_response is always empty on commit messages.

Our course is created on ispring, let me know if you want to see get sample course for testing.

Commit json:

{
	"cmi": {
		"comments_from_learner": {},
		"comments_from_lms": {},
		"completion_status": "incomplete",
		"completion_threshold": "",
		"credit": "credit",
		"entry": "",
		"exit": "suspend",
		"interactions": {
			"0": {
				"id": "Slide4_Q__2126E834-D922-4421-AB75-663ADEA645F9_",
				"type": "choice",
				"objectives": {},
				"timestamp": "2020-08-13T08:48:17.0Z",
				"weighting": "1",
				"learner_response": "",
				"result": "correct",
				"latency": "PT0H0M2S",
				"description": "",
				"correct_responses": {
					"0": {
						"pattern": "0_Hyv_ksyn_ja_ymm_rr_n_yll__mainitut_ehdot_ja_sitoudun_noudattamaan_niit_"
					}
				}
			},
			"1": {
				"id": "Slide9_Q_fxixsw3vuaze-wl18ts2oadpl",
				"type": "choice",
				"objectives": {},
				"timestamp": "2020-08-13T08:48:24.0Z",
				"weighting": "1",
				"learner_response": "",
				"result": "correct",
				"latency": "PT0H0M2S",
				"description": "Lonkero pitää juoda lämpimänä.",
				"correct_responses": {
					"0": {
						"pattern": "0_Kyll_"
					}
				}
			}
		},
		"launch_data": "",
		"learner_id": 12,
		"learner_name": "firstname lastmane",
		"learner_preference": {
			"audio_level": "1",
			"language": "",
			"delivery_speed": "1",
			"audio_captioning": "0"
		},
		"location": "",
		"max_time_allowed": "",
		"mode": "normal",
		"objectives": {},
		"progress_measure": "0.1836735",
		"scaled_passing_score": "",
		"score": {
			"scaled": "0",
			"raw": "0",
			"min": "0",
			"max": "8"
		},
		"session_time": "PT0H0M19S",
		"success_status": "failed",
		"suspend_data": "N4IgJiBcBM0BwBY4BoQBsopANygbQAZkBGZaZAZmQWQFZkA2ZAdmTgF1VsALfTkAG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KGG4YR48cmKM0QDx+HOnqYZoE9VAOW5RsBkjPo5gKe4UflboGhDVUpi2AtAwZbZUHSfJ4dOJkQDzKYXnrSMcjQeHUB6LY1gKd5iC9EAEHpbEWTxEkCXF1kDbJClEWRGlUFoHXg2hfXSUZY2HZuNnzepD5vlQBgbcd+3Dbt4lnfJV2qRRT2QHLFUBd1o2/bJAPmWDhFQ8tkA4B9vXA/93EwTpnlefrUAXR1YUVVFOZJQ+OUTSr/hFRVZV7TmO101dPVXT9Y11dQM0dUtBvrW1W1B8dZ19Tyd1IFHzX+8dX0Cy2QokUVUNwy4DNs1zfN/SLZgS3gctK2rWs8wLJtW3bTsewHYcxwnKcZznBdlzXLddwPI9T3PK8bzvB9n1fJ+H8f4LwAWAmBCCUEYLwWqIhZC6Q0IYSwjha4eECJERImRCiVEaJ0QYkxFibEOJcR4nxASQkRJiRWBJKSMk5IKSUipNSGktI6T0gZIyJkzIWSsjZOyDknIuTch5LyPk/IBSCiFMKEVShRRWDFeKiVkqpXSplbKuV8qFWKqVcqlVqq1Xqo1ZqrV2qdW6r1fqg1hqjXGpNaas15qLWWtANaG0to7T2gdI6J0zoXSujdO6D0novTeh9L62Afp/QBkDEGYM4CQ2hqgfGnREY5GRgWNG8MsZpJzGTAmKwiYkzyRTU4Sgabsk5FyBmTMWZswLBzXyQseZ8n9IvXoAwV4gBFnkMWCdJabByDLKAcsFZgmVsedIasbSay5H0VYvI+YqiRA0bKKIRBkEoNQOgjAWD8FmfMguKIBjtDQGgZAxzTnnJOWci5NzrlXMubch5aBvhokrqAOkKp6wSzFBLP0OpOjj31GGf0ecQBonTl8vpvzWT/NQIC103cQAgoqdycFTogAA",
		"time_limit_action": "continue,no message"
	}
}

Also description is empty on the first interaction. The description field is about 1000 chars (TOS that needs to be accepted). Might that cause problems when the description field is very long? It works fine on other interactions.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:16 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jcputneycommented, Aug 17, 2020

Ok, yes, the learner_response can be up to 4000 for long-fill-in. I’ll take a look at why it’s not being saved.

0reactions
jcputneycommented, Feb 13, 2021

@Hesesses I believe this was fixed in a release, so I’m going to go ahead and close this. Please feel free to re-open if that is not the case.

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Classroom Is Empty: Is That a Problem? - Reflective MedEd
It animates me, inspires me, energizes me and I thoroughly enjoy it. My lectures proceed differently; in real-time, based on varying cues from ......
Read more >
http response body always empty or undefined - Stack Overflow
I'm making a get call from a nodejs service inside a docker container to an api in another container with the request module...
Read more >
Response with empty body - is this a problem? - jQuery Forum
An empty response is OK, unless you are getting JSON format. In which case it gets 200, and it is an error. JΛ̊KE....
Read more >
Dynamic content always returns empty from Request response
I am creating a request/response API that interacts with Dynamics 365. I have created the JSON schema from the payload & can see...
Read more >
[Core 2.1] HttpContext.Response.Body is empty when trying to ...
Response.Body = responseBody; await _next(context); //responseBodyAsString is ALWAYS empty/"" string responseBodyAsString = await ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found