(url: str, source: str, context: str = "")
| 284 | seen_urls = set() |
| 285 | |
| 286 | def add_link(url: str, source: str, context: str = "") -> None: |
| 287 | normalized = url.rstrip("/").lower() |
| 288 | if normalized not in seen_urls: |
| 289 | seen_urls.add(normalized) |
| 290 | found.append({"url": url.rstrip("/"), "source": source, "context": context.strip()}) |
| 291 | |
| 292 | # --- Source 1: Scan paper text for code URLs --- |
| 293 | if paper_text: |
no outgoing calls
no test coverage detected