Description
The WikiLambda API wikilambda_perform_test (https://www.mediawiki.org/wiki/Extension:WikiLambda/API#wikilambda_perform_test) is currently not working, as every test is returning a
{"Z1K1":"Z5","Z5K1":"Z507","Z5K2":{"Z1K1":{"Z1K1":"Z7","Z7K1":"Z885","Z885K1":"Z507"},"K1":{"Z1K1":"Z7","Z7K1":{"Z1K1":"Z8","Z8K1":["Z17",{"Z1K1":"Z17","Z17K1":"Z10000","Z17K2":"Z10001K1","Z17K3":{"Z1K1":"Z12","Z12K1":["Z11",{"Z1K1":"Z11","Z11K1":"Z1003","Z11K2":"seta"},{"Z1K1":"Z11","Z11K1":"Z1002","Z11K2":"mushroom"}]}}],"Z8K2":"Z6","Z8K3":["Z20","Z10004"],"Z8K4":["Z14","Z10003"],"Z8K5":"Z10001"},"Z10001K1":"Z10002"},"K2":{"Z1K1":"Z5","Z5K1":"Z500","Z5K2":{"Z1K1":{"Z1K1":"Z7","Z7K1":"Z885","Z885K1":"Z500"},"K1":"Key value not wellformed"}}}}
This error is returned even when the wikilambda_function_call API can perfectly run and return the expected result of both test steps:
- Run the tester function call
- Run the validator function on the outcome
All the testers from the function page Details table are currently being shown in Failure state.
Desired behavior/Acceptance criteria (returned value, expected error, performance expectations, etc.)
- wikilambda_perform_test API can be used again using the same API specification from https://www.mediawiki.org/wiki/Extension:WikiLambda/API#wikilambda_function_call
- WikiLambda's ApiPerformTest.php uses the function-orchestrator /evaluate/ entrypoint to first run and then validate a tester
Completion checklist
- Before closing this task, review one by one the checklist available here: https://www.mediawiki.org/wiki/Abstract_Wikipedia_team/Definition_of_Done#Back-end_Task/Bug_completion_checklist