logging in CTAT

25 views
Skip to first unread message

kmul...@gmail.com

unread,
Apr 5, 2021, 6:36:25 PM4/5/21
to CTAT Users
We are planning to use dataShop in conjunction with our CTAT HTML example-tracing tutor we are building, and had a couple of logging-related questions:

(1) are all CTAT widgets logged automatically (even if they do not appear in a behavior graph)? Hints can't be added to the graph and are logged but I wasn't sure about other widgets (e.g., buttons, see next question)
(2) if we add JavaScript functionality to a CTATButton, for instance to show some other widget when the button is clicked, will that be logged or is something additional required for user-defined functions related to onclick? (Note: we are doing this outside of the behavior graph because when people click the button doesn't matter so we don't want to insert it into a solution path).

Many thanks for your help, Kasia

Jonathan Sewall

unread,
Apr 6, 2021, 9:42:01 AM4/6/21
to ctat-...@googlegroups.com, kmul...@gmail.com
Actions on CTAT widgets should be logged to DataShop regardless of whether those widgets' identifiers (HTML id attribute) appear as selections in the behavior graph. A typical use is to set the CTAT component's data-ctat-tutor to "false", so that the CTATButton (e.g.) generates an Untutored Action when clicked. Untutored Actions are logged to the DataShop, but you'll see nothing in the Outcome column of the export. 
     Also, with example-tracing tutors, an Untutored Action also creates an entry in the tracer's variable table. E.g., clicking an untutored CTATButton instance whose id is "button1" will create a new variable with name button1 and value -1. Elsewhere in your graph, formulas for matching other tutored steps can tell whether the student had previously clicked button1 by calling hasValue(button1).

--
You received this message because you are subscribed to the Google Groups "CTAT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ctat-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ctat-users/1794e3f0-3cb3-4bab-8299-a4faa6598988n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages