Repository navigation
Conversation
Member
|
Thanks @JoanAbad82 I'll merge this change into our issue branch for the agents authoring, and make sure this all gets rolled into one sensible change. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Purpose
This is a small, API-focused documentation improvement related to #1925. It is not intended to resolve the broader proposal for an LLM-agnostic STACK essentials guide.
Automated question authors can misinterpret a successful
POST /testresult: whenistestsis false, the API may run a default check based on the teacher's answers. A positivepassescount in that situation does not demonstrate that explicit question tests were run.Change
api/README.md, based on existing STACK API controller test cases.No API implementation, response contract or executable tests are changed.
Validation and limits
api/controller/TestController.phpandapi/README.mdat base commit1b4e42d44930157a01f49ab35057e88b0883884d.tests/api_controller_test.phpand the official testing guide.passes > 0check would have overclaimed success on five intentionally selected cases. This is a targeted synthetic comparison, not a measured error rate in real agents.This guidance deliberately reports results conservatively. Passing explicit tests is evidence only for the tested questions and variants, not a proof of all mathematical grading behavior.