Hi folks,
I’m probably missing something obvious, but have scratched my head enough over this for now…
Working with a custom function, I’m trying to figure out (1) how to sort tiddlers according to the yield of the custom function for each tiddler, and (2) how to leverage the custom function in Advanced Search filter — so as to export a set of tiddlers based on what the custom function yields.
Along the way, I should also note a gap in our documentation at tw-com: function Operator has a link at bottom for Examples, but it’s a dead end. Maybe some examples could be generated to help with questions such as mine…
So: I have a custom function called tally.micro
. It’s an overall score for a student’s assignment, where — for pedagogical and privacy reasons — I never display the overall score on our shared semi-public site (and I don’t even store it in a field). Instead I have little Harvey-ball icons for how well the assignment submission satisfies each element of scoring rubric. From those rubric elements, I can reconstruct an overall numeric score for the assignment. That’s what the tally.micro
custom function does, which I use behind the scenes and in end-of-semester grading communications. (Yes, of course students can also do this reconstruction. But the idea is to focus student attention on the qualitative information more than on the numbers, and to minimize temptation for students to engage in quantitative comparison.)
I’d love to be able to (1) sort tiddlers by their tally.micro score; (2) get Advanced Search to filter for tiddlers with a certain tally.micro score range.
Here’s my implementation as it currently stands, not quite able to accomplish either of the above, though I can leverage the function to get an (unsorted) list of tiddlers that satisfy a filter condition using the custom function in a nested list.
Much appreciation for any insight!