Ciao Jeremy Thanks for that! It helps clarify what I am trying to do!
I will post an update note in the original thread about how I look at the issue now. Best wishes TT On Thursday, 15 July 2021 at 10:39:57 UTC+2 [email protected] wrote: > Hi TT > > Thank you – I was hoping you might find the translation mechanism > interesting too, does it fit your needs discussed in that other thread? > > You can try out the translation mechanism in the demo by switching the > language to "Spanish" in the sidebar tab; you'll get gobbledegook that > isn't Spanish, but it illustrates the difference. (Note that in the demo > only the UI is translated, the questions themselves there are only in > English). > > Best wishes > > Jeremy. > > Very interesting to see! Thanks. > I ran through the whole thing and completed all questions. It is a > seriously real application! :-) > > As a side note: The Anna Freud people designed the questions really well. > It is extremely difficult to design such questionnaires in a way that makes > sense in normal English AND can produce operational, quantitative, > meaningful, results. Hats off to them! > > Best wishes > TT > > On Wednesday, 14 July 2021 at 12:46:02 UTC+2 [email protected] wrote: > >> I’ve recently completed a small project for the Anna Freud National >> Centre for Children and Families in London (see https://annafreud.org/) >> to make an interactive questionnaire that has some interesting features: >> >> >> - Fairly sophisticated scoring of the answers to multiple choice >> questions >> - Generating spreadsheet files that can be downloaded and opened in >> Excel, and .DOC files that open in Microsoft Word >> - Copying spreadsheet data to the clipboard for pasting directly into >> Excel >> >> >> In its current form, the questionnaire is not directly reusable for other >> purposes, but I hope some of the techniques will prove useful to others. >> >> The context for this work is that the AFNCCF trains teams of care workers >> in Britain and around the world to work with the most troubled, hard to >> reach young people and their families. For more than a decade, they have >> been working on the Adolescent Integrative Measure (AIM) to help care >> workers make a systematic, objective record of the problems affecting a >> particular young person, and to make suggestions of the interventions that >> are indicated by the answers. By repeating the questionnaire after an >> interval of months, workers can track a young persons progress. For the >> last few years, the questionnaire has been filled out on paper but there >> has long been a desire to simplify the process by moving it online. >> >> You can try out the questionnaire in a demo here: >> >> https://federatial.github.io/afnccf-aim-questionnaire/ >> >> You can also see the questionnaire in AFNNCF's own site here: >> >> https://manuals.annafreud.org/ambit/#AIM%20Questionnaire >> >> The code is on GitHub: >> >> https://github.com/Federatial/afnccf-aim-questionnaire >> >> AIM is a series of multiple choice questions that measure the severity of >> a particular problem. The spectrum of responses is a heartbreaking reminder >> of the difficulties that young people can go through, and I’m very happy >> that our collective work on TiddlyWiki is helping people help people in >> these situations. >> >> >> Workers can also mark up to 6 of the questions as being “key problems” to >> indicate that they need particular attention: >> >> >> >> There is a simple visualisation of progress through the questionnaire as >> questions are answered: >> >> >> The questions are presented sequentially, with “next” and “previous” >> buttons to move between them, and a dropdown that enables jumping directly >> to a particular question. It also provides feedback of which questions have >> been completed, and which have been marked as key problems: >> >> >> Until all the questions are answered, the results are blocked: >> >> >> Note that if you scroll down you’ll find a button that answers all the >> questions instantly, making it easier to see the results. >> >> >> Once all the questions have been answered, the results are displayed in >> several different tabs: >> >> >> - *Focal*: Each suggested intervention is ranked in order of >> how severe the set of problems are (their averaged AIM scores) that >> indicate that particular intervention. This is good for focusing on the >> most severe problems >> - *Global*: Each suggested intervention is ranked according to how >> many different problems (that is AIM items scoring greater than 2) the >> young person has which that particular intervention is relevant for. This >> is good for covering the whole set of problems and causes >> - *Limit*: Limit suggested interventions only to those relevant for >> items identified as key problems >> >> >> The underlying calculations are probably the most complex that I have >> attempted in TiddlyWiki (particularly the global ranking), making extensive >> use of the mathematics operators and the ‘reduce’ and ‘filter’ operators. >> >> >> (Note that the suggested interventions link to missing tiddlers in the >> demo). >> >> The questions comprising the questionnaire and the user interface that >> presents them can all be translated into other languages which are >> automatically engaged when TiddlyWiki’s core language is switched: >> >> >> Answers are stored in temporary tiddlers that are not saved to the >> server, so several ways are provided to downloaded/exported them: >> >> - As a .DOC file that can be read by Microsoft Word >> - As a .CSV file that can be read by Microsoft Excel >> - Via the clipboard in a format that can be pasted directly into >> Microsoft Excel >> >> The technique used to generate a .DOC file is notable: it turns out that >> Microsoft Word will happily open HTML files if they have the extension >> .DOC. This makes generating a Word document just be a matter of exporting a >> static HTML file and giving it the correct extension for the download. >> >> >> The code is published as a plugin so it’s easy to see the component parts: >> >> >> Note that some of the new arithmetic features of v5.2.0 are used to >> calculate the results, but everything else should work on prior versions. >> >> Questions and comments welcome, >> >> Best wishes >> >> Jeremy. >> >> >> -- > You received this message because you are subscribed to the Google Groups > "TiddlyWiki" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/tiddlywiki/cbd3d123-f65b-4205-8672-ba737c501acfn%40googlegroups.com > > <https://groups.google.com/d/msgid/tiddlywiki/cbd3d123-f65b-4205-8672-ba737c501acfn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/a71edf84-3fcc-4b91-b29d-56a76fe5b162n%40googlegroups.com.

