summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorhaoyuren <13851610112@163.com>2025-06-29 16:43:03 -0700
committerhaoyuren <13851610112@163.com>2025-06-29 16:43:03 -0700
commit88ab5e0d4f9a62018a428a833f3fa9cb6addba15 (patch)
tree43498d466b9c5af07b7155130067dc777c5af655 /README.md
parent388f0407ef8c9f68866509f722491fcfd44afa11 (diff)
fix fetch
Diffstat (limited to 'README.md')
-rw-r--r--README.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8dc5c80..775d22c 100644
--- a/README.md
+++ b/README.md
@@ -68,11 +68,29 @@ FETCH_MODE=historical python scripts/fetch_papers.py
### Testing
+Test the daily fetching functionality:
+```bash
+python scripts/test_daily_fetch.py
+```
+
Test the historical fetching functionality:
```bash
python scripts/test_historical_fetch.py
```
+### Debugging
+
+If the system completes too quickly or you suspect no papers are being fetched, use the debug script:
+```bash
+python scripts/debug_fetch.py
+```
+
+This will show detailed information about:
+- arXiv API connectivity
+- OpenAI API connectivity
+- Number of papers fetched at each step
+- Sample papers and filtering results
+
## 🤖 GitHub Actions
The project includes automated GitHub Actions workflows:
@@ -118,8 +136,9 @@ Papers are considered relevant if they discuss:
PaperFetcher/
├── scripts/
│ ├── fetch_papers.py # Main fetching script
+│ ├── test_daily_fetch.py # Daily fetching test
│ ├── test_historical_fetch.py # Historical fetching test
-│ └── [other test scripts] # Legacy test scripts
+│ └── debug_fetch.py # Debug and troubleshooting script
├── .github/
│ └── workflows/
│ └── daily_papers.yml # GitHub Actions workflow