You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.
I'm having troubles using the ADLCollection and achieving what I want. Here is the thing: I instantiate the collection with some statements returned by an AJAX query to a LRS (I have only statements about the wanted activity, and the 'experienced' verb).
varstatements=newADL.Collection(data);
In these statements, I have multiple statements by actor (each actor tried multiple times the activity... or not), and I would like to keep their best shot at it.
I start by grouping statements by actor. Then i get their max result.score.raw, and then I'm stuck:
I guys,
I'm having troubles using the ADLCollection and achieving what I want. Here is the thing: I instantiate the collection with some statements returned by an AJAX query to a LRS (I have only statements about the wanted activity, and the 'experienced' verb).
In these statements, I have multiple statements by actor (each actor tried multiple times the activity... or not), and I would like to keep their best shot at it.
I start by grouping statements by actor. Then i get their max
result.score.raw
, and then I'm stuck:How can I keep only the best try (i.e. the greatest
result.score.raw
) for each Actor ?Thanks for your help
The text was updated successfully, but these errors were encountered: