diff options
| author | haoyuren <13851610112@163.com> | 2025-06-29 16:43:03 -0700 |
|---|---|---|
| committer | haoyuren <13851610112@163.com> | 2025-06-29 16:43:03 -0700 |
| commit | 88ab5e0d4f9a62018a428a833f3fa9cb6addba15 (patch) | |
| tree | 43498d466b9c5af07b7155130067dc777c5af655 /README.md | |
| parent | 388f0407ef8c9f68866509f722491fcfd44afa11 (diff) | |
fix fetch
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 21 |
1 files changed, 20 insertions, 1 deletions
@@ -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 |
