{"action":"created","issue":{"url":"https://api.github.com/repos/numbas/Numbas/issues/392","repository_url":"https://api.github.com/repos/numbas/Numbas","labels_url":"https://api.github.com/repos/numbas/Numbas/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/numbas/Numbas/issues/392/comments","events_url":"https://api.github.com/repos/numbas/Numbas/issues/392/events","html_url":"https://github.com/numbas/Numbas/issues/392","id":96063903,"number":392,"title":"Build in some different layouts for the matrix entry part","user":{"login":"christianp","id":19513,"avatar_url":"https://avatars.githubusercontent.com/u/19513?v=3","gravatar_id":"","url":"https://api.github.com/users/christianp","html_url":"https://github.com/christianp","followers_url":"https://api.github.com/users/christianp/followers","following_url":"https://api.github.com/users/christianp/following{/other_user}","gists_url":"https://api.github.com/users/christianp/gists{/gist_id}","starred_url":"https://api.github.com/users/christianp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianp/subscriptions","organizations_url":"https://api.github.com/users/christianp/orgs","repos_url":"https://api.github.com/users/christianp/repos","events_url":"https://api.github.com/users/christianp/events{/privacy}","received_events_url":"https://api.github.com/users/christianp/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/numbas/Numbas/labels/Wishlist","name":"Wishlist","color":"DDDDDD"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-07-20T13:27:12Z","updated_at":"2016-06-22T10:12:26Z","closed_at":null,"body":"It would be nice to be able to use the matrix entry part for answers that aren't strictly matrices.\r\nOne example I've got at the moment asks the student to fill out a probability table for the sum of two discrete random variables. Their answer would look like:\r\n\r\nx | input | input | input | ...\r\nP(X=x) | input | input | input | ...\r\n\r\nSo the layout would be fixed at 2 rows, with headers on the left of the rows, and the student can decide how many columns to use.\r\n\r\nOther layouts could fix the number of columns and allow any number of rows, or fix both columns and rows and have headers on both the left and right."},"comment":{"url":"https://api.github.com/repos/numbas/Numbas/issues/comments/227701262","html_url":"https://github.com/numbas/Numbas/issues/392#issuecomment-227701262","issue_url":"https://api.github.com/repos/numbas/Numbas/issues/392","id":227701262,"user":{"login":"christianp","id":19513,"avatar_url":"https://avatars.githubusercontent.com/u/19513?v=3","gravatar_id":"","url":"https://api.github.com/users/christianp","html_url":"https://github.com/christianp","followers_url":"https://api.github.com/users/christianp/followers","following_url":"https://api.github.com/users/christianp/following{/other_user}","gists_url":"https://api.github.com/users/christianp/gists{/gist_id}","starred_url":"https://api.github.com/users/christianp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christianp/subscriptions","organizations_url":"https://api.github.com/users/christianp/orgs","repos_url":"https://api.github.com/users/christianp/repos","events_url":"https://api.github.com/users/christianp/events{/privacy}","received_events_url":"https://api.github.com/users/christianp/received_events","type":"User","site_admin":false},"created_at":"2016-06-22T10:12:26Z","updated_at":"2016-06-22T10:12:26Z","body":"Or \"i\", \"j\" and \"k\" after each column, when the answer is a 3D vector. (Or give a list of strings for each column, or a 2D array of strings to go after each entry)"}}
{"actor":{"display_login":"christianp"}}