fix: PDF extraction bbox compatibility, update date formats, and bump max retries

- Fix bbox format detection in pdf_image_extractor (support Rect and tuple)
- Update date display format to include year (%Y-%m-%d) across templates
- Increase SUMMARY_MAX_RETRIES from 1 to 2 for better error recovery
- Widen date input field for better usability
This commit is contained in:
2026-06-09 18:30:04 +08:00
parent 1fc6303e09
commit c94ff48254
10 changed files with 19 additions and 16 deletions
+1 -1
View File
@@ -20,7 +20,7 @@
{% endif %}
</a>
</h2>
<span class="paper-upvotes" title="数据更新于 {{ paper.crawled_at.strftime('%m-%d %H:%M') if paper.crawled_at else '' }}">👍 {{ paper.upvotes }}</span>
<span class="paper-upvotes" title="数据更新于 {{ paper.crawled_at.strftime('%Y-%m-%d %H:%M') if paper.crawled_at else '' }}">👍 {{ paper.upvotes }}</span>
{% if variant == 'search' and distances and paper.arxiv_id in distances %}
<span class="similarity-score" title="语义相似度距离">
🎯 {{ "%.3f"|format(distances[paper.arxiv_id]) }}
+1 -1
View File
@@ -21,7 +21,7 @@
{{ (paper.title_zh or paper.title_en)[:60] }}{% if (paper.title_zh or paper.title_en)|length > 60 %}...{% endif %}
</a>
</td>
<td class="time-cell">{{ paper.paper_date.strftime('%m-%d') if paper.paper_date else '-' }}</td>
<td class="time-cell">{{ paper.paper_date.strftime('%Y-%m-%d') if paper.paper_date else '-' }}</td>
<td>
{% set st = ss.status if ss else 'none' %}
<span class="status-badge status-{{ 'success' if st == 'done' else ('running' if st in ['pending', 'processing'] else 'failed') }}">