Open usernamenumber opened 9 years ago
arbtt can generate csv output as shown:
Tag,Time,Percentage
Program:Firefox,3:28:00,77.90
Program:Scratch,0:35:00,13.11
Program:rxvt,0:12:00,4.49
[...]
Then it looks like this can be transformed to:
{
"actor": {
"name": "Linux username",
"mbox": "mailto:"
},
"verb": {
"id": "http://adlnet.gov/expapi/verbs/interacted",
"display": { "en-US": "interacted" }
},
"object": {
"id": "http://tunapanda.com/swag/activities/programming",
"definition": {
"name": { "en-US": "Programming" }
},
"extensions": {
"http://tunapanda.com/swag/duration": "35:33"
}
},
"context": {
"application": "Scratch"
}
}
Was there a discussion about what base urls to use for ids?
@limikael's ktouch reporter uses tunapanda.org/ktouch (example), but I don't think there's been extensive discussion on this, though there should be. It makes sense to me to use a /swag prefix (or maybe swag.tunapanda.org for the "host"?), but Micke's spent the most time with this, so I'd like to hear his opinions if he has any.
What I did was to sort of push this decision, the ktouchxapi program is independent and configurable. Look here for configuration options:
https://github.com/tunapanda/ktouchxapi/blob/master/src/ktouchxapi.js
And the option specifically related to the base url is the --targetPrefix option. The file that Brad referred to is more a test rather than something that is actually used when the program is actually running, as you can see it is in the test/lab directory of the project.
So yes it is an important discussion, but I think we should make it configurable in the reporting agents, so the discussion will be a deployment discussion, rather than a development discussion. Also, it will make the reporters usable by other people and organizations which hopefully means that other people are more likely to pitch in work later on. Makes sense?
// Micke
On Thu, Apr 23, 2015 at 5:42 AM, Brad Smith notifications@github.com wrote:
@limikael https://github.com/limikael's ktouch reporter uses tunapanda.org/ktouch (example https://github.com/tunapanda/ktouchxapi/blob/master/test/lab/tincantest.insert.js), but I don't think there's been extensive discussion on this, though there should be. It makes sense to me to use a /swag prefix (or maybe swag.tunapanda.org for the "host"?), but Micke's spent the most time with this, so I'd like to hear his opinions if he has any.
— Reply to this email directly or view it on GitHub https://github.com/tunapanda/swag/issues/9#issuecomment-95398458.
@limikael Got it. Thanks!
Agreed. Good plan! On Apr 23, 2015 8:44 AM, "Jason Mule" notifications@github.com wrote:
@limikael https://github.com/limikael Got it. Thanks!
— Reply to this email directly or view it on GitHub https://github.com/tunapanda/swag/issues/9#issuecomment-95591063.
Issue moved here:
ARBTT looks promising for this.
For details on what a reporter is, see here.