Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.49.1
metadata
title: Research Paper Pitfall Checker
emoji: ππ
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 4.44.0
app_file: app.py
pinned: false
license: agpl-3.0
Research Paper Pitfall Checker
A Gradio application that analyzes research papers to identify potential evaluation pitfalls using AI-powered analysis.
Features
- PDF Text Extraction: Extracts text content from uploaded research papers
- AI-Powered Analysis: Uses OpenRouter API with Qwen model for intelligent pitfall detection
- Comprehensive Pitfall Detection: Identifies common evaluation pitfalls including:
- π The Lock-In Effect
- ππ Apples-to-Oranges Comparisons
- π§ Contamination Leak
- π€β Unvalidated Automation
- π§ Vague Scales
How to Use
- Get an API Key: Sign up at OpenRouter.ai to get your API key
- Set Environment Variable: Set your API key as an environment variable
- Upload a PDF: Upload your research paper PDF file
- Analyze: Click "Analyze Paper for Pitfalls" to get a detailed analysis
- Review Results: Review the analysis report for potential issues and improvement suggestions
Setup
Install dependencies:
pip install -r requirements.inSet your OpenRouter API key as an environment variable:
export OPENROUTER_API_KEY="your-api-key-here"Or create a
.envfile (copy fromenv.example):OPENROUTER_API_KEY=your-api-key-hereRun the application:
python app.py
Configuration
The pitfalls are defined in pitfalls.json. You can modify this file to add or remove specific pitfalls to check for.
API Requirements
- OpenRouter API key (get one from OpenRouter.ai)
- Uses the
qwen/qwen2.5-next-80b-a3b-instructmodel via OpenRouter - API key must be set as the
OPENROUTER_API_KEYenvironment variable
License
AGPL-3.0