For example, to base feedback on the fact whether an open answer contains the term "functional", you could write the following piece of code.
In a conditional feedback action you now simply check for the variable functional, as follows.
We will regularly extend the functionality available in the qf object and in code to accommodate the needs of the teachers.
You are recommended to only define properties in code and generate the actual feedback in the feedback actions. However, if you insist on creating the feedback directly in the code you can do this by directly adding texts to the feedback property of the qf object, which is an array of strings representing the feedback generated until now.