Spaces:
Runtime error
Runtime error
Commit History
-
feat: rewrite Semantic Clustering Map
hengds2f- Add services/clustering_service.py: UMAP/PCA reduction + HDBSCAN/KMeans clustering with SHA-256 content-addressed cache and graceful fallbacks - Rewrite /api/clustering endpoint with rich points/clusters/stats schema - Invalidate clustering cache on upload, delete, and session clear - Replace D3 force-graph with Plotly scatter (zoom/pan/lasso/hover/click) - Add ClusterMapController with filters, toggles, detail panel, highlight - Add cluster-view HTML layout (stats bar, filters, toggles, detail panel) - Add cluster-view CSS (sidebar, stat cards, chart wrap, responsive) - Add Plotly 2.32 CDN to index.html - Add scikit-learn, umap-learn, hdbscan to requirements.txt5d5f367 -
Add per-paper delete and new session clear functionality
hengds2f0812454
-
feat(provenance): add export, proof download, hash verify, live tx/IPFS links
hengds2fd58809e -
feat: add tool descriptions and real-time activity logs for all tools
hengds2f- Added collapsible 'How this works' info panels to every section explaining each tool in plain English (Knowledge Base, AI Assistant, Clustering Map, Section Classifier, Analysis Results, Agent Workflow, Provenance Ledger, Provenance History) - Added ActivityLog class with timed progress simulation for all actions: upload, query/synthesis, clustering, ML analysis, agent pipeline, provenance loading - Updated agent pipeline steps with emoji labels, plain-English descriptions per step, and real-time simulated progression - Added .tool-info, .activity-log, .log-entry, .step-desc CSS styles8af3134 -
feat: add copy-to-clipboard buttons to provenance hash rows
hengds2f- Each hash row (Content Hash, Record Hash, Tx Hash, IPFS CID) now has a copy button (⧉) that appears on hover - Clicking copies the full untruncated hash to the clipboard - Button briefly turns green with a ✓ tick for 1.5s as confirmation - Falls back to execCommand for browsers without Clipboard API2f41c30 -
feat: add multi-agent research workflow and dApp provenance layer
hengds2fMulti-agent orchestration (Router→Retrieval→Synthesis→Critic→Writer): - services/agent_orchestrator.py: LangGraph-style stateful pipeline - services/research_agents.py: individual agent implementations Provenance / dApp layer: - services/provenance_service.py: tamper-evident hash chain - services/ipfs_service.py: IPFS via Pinata (mock fallback) - services/blockchain_service.py: Ethereum via Web3 (mock fallback) - contracts/PaperProvenance.sol: minimal Solidity provenance contract New API endpoints: - POST /api/research/agent-run - GET /api/research/<paper_id>/agent-state - POST /api/provenance/register-upload - GET /api/provenance/<paper_id> Frontend (Agent Workflow + Provenance tabs): - Pipeline visualisation with per-agent status dots - Critique panel (confidence badge, quality score, weakness tags) - Provenance timeline with hash chain integrity indicator Tests (69 passing): - tests/test_agent_orchestrator.py - tests/test_provenance_service.py Config: added requests to requir…cf1d073 -
feat: add SciBERT-style section classification, limitation detection, and section summaries
Heng- services/paper_ml.py: PaperMLService using HF Inference API - Zero-shot section classification via facebook/bart-large-mnli (NLI-based proxy for SciBERT; handles 7 paper section labels with confidence scores) - Two-stage limitation detection: regex pattern matching + Llama-3 LLM fallback - Per-section abstractive summarization via Llama-3 - Lazy client init, full graceful fallback when HF_TOKEN absent - app.py: wire ML service + store sections on upload + 4 new routes - GET /api/papers - POST /api/paper/<id>/ml-analysis (cached after first run) - GET /api/paper/<id>/limitations - GET /api/paper/<id>/sections - static/: new 'Paper Analysis' tab - D3.js horizontal bar chart showing section label distribution - Section classification table with confidence bars - Limitations list with source badges (pattern / llm) - Section summaries (abstract, results, discussion) - tests/test_paper_ml.py: 27 tests covering patterns, classification, limitation detection…37b4f7f
-
Add responsive mobile layout
47240a9 -
Fix global hidden CSS rule and improve fetch error catching
7c3adfc -
Initial commit of ResearchRadar
0b0f3dd