Context
📍KR: Less than 5% of endpoints on the WDQS Allowlist are non-operational
This is a vibe-coded script that @Anton.Kokh uses to check whether endpoints on the WDQS allowlist are operational.
The logic is supposed to be the following:
- Get all endpoints from the allowlist.
- Normalize them (remove tracing slashes and wildcards).
- Remove duplicates.
- Make 3 rounds of simple federated calls from WDQS to each endpoint (experimentation showed that results for some endpoints differ between rounds, so this allows to get a more accurate understanding of which endpoints are consistently failing).
- Generate an output dataframe and CSV that shows the original list of endpoints and the results for each of them. In the results, we can see which endpoints were removed through de-duplication. and how many times out of 3 they failed, including the errors that happened.
The information in status and fails column provides visibility of redundant and non-operational endpoints (incl. those that are failing at some occasions). Running the script on different days and comparing results, allows to get even more accurate insights.
Attached is the example of the most recent output of this script.
Task
Since the script was vibe-coded by the PM, it would be great if an engineer reviewed it for sanity.
- Review the script to see if it looks correct
- Black box test the script by validating the results via some different means (e.g. via a bash script)