A tester pastes a very long test log into an LLM chat and asks for a list of all failed tests. The answer lists only failures from the end of the log; failures near the start are missing. Which action is MOST appropriate?
Choose one.
The context window is the amount of preceding text, measured in tokens, that the model can consider when generating a response.
Missing content from the start of a long input is the typical sign that the input exceeded the context window. The fix is to work with token counts: measure the input, then filter the log to the relevant lines or process it in chunks that each fit. Sampling settings, reruns and a different reasoning style do not change how much input the model can consider.
- Recognise the symptom: only the later part of a long input was used.
- Link it to the context window limit, measured in tokens.
- Reject options that change sampling or reasoning but not input size.
- Reduce or split the input so it fits.
Exam tip: If an LLM ignores part of a long input, count the tokens: the context window is the limit.
CT-GenAI: Generative AI and LLM Fundamentals for Software Testing — the lesson that teaches this.