How to Automate Supply Chain Risk Reports: A Guide for Developers
Do you use Python? If so, this guide will help you automate supply chain risk reports using AI Chat GPT and our News API.
News agents may be able to create correct answers without performing the search your test intends to measure. Placing the expected answer in a file alongside the task means the final output can’t be used to assess if the search worked.
Together AI open-sourced Hurdle on November 25, 2026. Announcing the release, they described running Claude Code and Codex on API tasks, recording and scoring the runs using code checks or an LLM judge. For teams evaluating news agents, the relevant question for the grader would be what evidence they have to confirm the search took place.
For example, consider a constructed test about the fictional Alder Harbor. The test asks an agent to use the supplied news search tool to identify which berth has reopened and cite the supporting report. A controlled search response says “Berth 2 reopened and the rest of the harbor remained closed”.
The test also contains a file called expected.json which contains the correct answer. An agent could simply read expected.json and provide the correct answer to the test without even performing the search. Therefore, a grader assessing only the answer provided would accept an outcome where the agent has simply read the answer from the reference file, as opposed to performing the correct search.
Agents don’t need to look for an answer key to encounter this problem. Running broad file read requests could also potentially expose grading material. Renaming the file is not as effective as removing the file from the agent’s environment.
Provide agents with the question, tool instructions and output requirements. Instruct the agent to look for the answer using the tool provided. The grader should evaluate the output and answer outside the agent’s environment.
Example: For the Alder Harbor case, allow the agent to perform the test search to retrieve the expected result. The grader can then evaluate the answer given by the agent against the expected claim. The agent should not have access to a second copy of the expected result.
Note: Also check other directories besides the working directory. These may include mounted directories, starter files and inherited conversation history. If the process can access the parent directory, moving expected.json to a neighboring directory does not establish separation.
Local agents run with the user’s file access. Choose an execution mode that best fits your scoring intent and check the files exposed to determine what the agent can access.
In Hurdle, local runs cannot block or inspect API requests. Sandboxed runs can do both.
Publish the success criteria for the task. Asking for a supporting citation is part of the assignment. Supplying the reference citation before the search is not part of the assignment. Hiding the requirements will not hide the answer and will only make it more difficult to understand failures.
Webz.io’s News Search API allows users to perform natural language queries to retrieve articles and relevant content. Response fields include the article identifier, URL of the article, the date the article was published, and a relevant passage from the article. Using these, the evaluator can compare and verify the citation provided against the claim.
In the example with Alder Harbor, the evaluator would need to check that a search was performed and that the returned passage supports the reopening of berth two. It would also be correct to reject an answer claiming that the entire harbor reopened.
Use controlled responses for this test to avoid obscuring workspace access issues when live coverage changes. Coverage and relevance of the live retrieval trial can be assessed separately. The controlled case answers the question of whether the agent can perform this task under the given conditions.
Set up a negative control with the search unavailable and no answer provided to the agent. An answer must not pass the retrieval task without a recorded successful search, and the grader should record the missing retrieval evidence.
Also try providing a correct answer with no search to see if it passes.
If the answer passes, update the grading rule before comparing models or prompts.
After fixing the fixture, do a normal run and check the recorded search along with the final citation. Retain the fixture version with the result so an earlier score earned under the exposed-answer setup cannot be presented as a result from the corrected test.
Do you use Python? If so, this guide will help you automate supply chain risk reports using AI Chat GPT and our News API.
Use this guide to learn how to easily automate supply chain risk reports with Chat GPT and news data.
A quick guide for developers to automate mergers and acquisitions reports with Python and AI. Learn to fetch data, analyze content, and generate reports automatically.