варвар > грек AND варвар > житель-востока AND варвар > карфагенянин AND варвар > римлянин
Грек=
грек > варвар AND грек > житель-востока AND грек > карфагенянин AND грек > римлянин
etc.
The problem is that if a user gets equal points by two or more results in the final, he gets nothing in result. For example, Варвар = 2 and Грек = 2.
I’ve soluted this problem by adding additional Смешанный тип with a very hard and long formula:
NOT (варвар > грек AND варвар > житель-востока AND варвар > карфагенянин AND варвар > римлянин ) AND NOT ( грек > варвар AND грек > житель-востока AND грек > карфагенянин AND грек > римлянин ) AND NOT ( житель-востока > варвар AND житель-востока > грек AND житель-востока > карфагенянин AND житель-востока > римлянин ) AND NOT ( карфагенянин > варвар AND карфагенянин > грек AND карфагенянин > житель-востока AND карфагенянин > римлянин ) AND NOT ( римлянин > варвар AND римлянин > грек AND римлянин > житель-востока AND римлянин > карфагенянин )
Is there any way to make this formula simpler? The main point of that formula is that “if there is no result, show Смешанный тип”.
]]>The final score will be a total of all the answers divided by the total number of questions. Based on the final score the test will assign a personality to the user.
I just need the formula to calculate the answer and display the total on the results page. Currently my test page has only five questions.
]]>Not sure I understand how to use the formulas! I have 3 scales to evaluate (red, green and purple), but the combination of them gives 13 results.
For example the result red and green equal and second purple.
In this case, the equal, red and green (higher score), can have a difference of maximum 3 numbers, up or down or be the same numbers! And purple has to be at least 4 numbers below red and green! How do I do this! I have tried many ways, but I am not getting anywhere!
I hope it makes sense! Thank you!
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator and inform them of the time the error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.”
Can you please help, thank you
]]>My test has 9 personality types. So there are 9 scales, one for each of the 9 types.
So if Type One is the highest scoring type in the test, it should be the “winner”.
I wrote this formula:
Type 1 > Type 2 OR Type 3 OR Type 4 OR Type 5 OR Type 6 OR Type 7 OR Type 8 OR Type 9
For obtaining result = Type 1.
And so on, for each of the types. Type 2 > Type One OR Type 3 OR… etc.
But it’s not working. What am I doing wrong?
]]>I just got the following error message when clicking “get the results” after completing all the test questions. Instead of getting the test results I get this message. Can you please help.
Fatal error: Uncaught exception ‘PHPParser_Error’ with message ‘Syntax error, unexpected T_IS_SMALLER_OR_EQUAL on line 1’ in /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/vendor/nikic/php-parser/lib/PHPParser/Parser.php:1098 Stack trace: #0 /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/src/Model/Compilable.php(229): PHPParser_Parser->parse(‘<?php – -<=0.5&…’) #1 /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/src/Model/Compilable.php(155): WpTesting_Model_Compilable->substitute() #2 /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/src/Model/Formula.php(69): WpTesting_Model_Compilable->compile() #3 /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/src/Model/Passing.php(295): WpTesting_Model_Formula->isTrue() #4 /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/src/Doer/TestPasserAction/GetResults.php(63): WpTesting_Model_ in /home/content/p3pnexwpnas14_data03/81/41788981/html/wp-content/plugins/wp-testing/vendor/nikic/php-parser/lib/PHPParser/Parser.php on line 1098
]]>In the end, there will be 2 top result, like
Stupid with 10 points
Clever with 9 points
Moderate with 2 points
So-so with 1 point
How to show 2 top results?
How to show result with highest score?
Thanks
Also if and when you can add direct update the calculated results from Google sheet back to a result page so we can present to the user on the web.
This is for a research project so we will have a lot of users testing to be done.
Thanks in advance.
]]>