Commit ·
b345460
1
Parent(s): b5f3bc2
Update all documentation and code references to new project name
Browse files- Updated CI/CD workflow to test new classifier class name
- Updated all documentation files (DEPLOYMENT.md, INSTALLATION.md, HOW_IT_WORKS.md, FEATURES.md, MVP-COMPLETE.md)
- Updated Python module docstrings to reflect intelligence spectrum
- Updated model_manager prompts to reference AI intelligence spectrum
- Updated tests/__init__.py to reflect new project name
- Updated advanced_analyzer.py docstring
- Updated reasoning_classifier.py docstring
- Updated ranker.py docstrings and comments
Generated with [Devin](https://cli.devin.ai/docs)
Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
- .github/workflows/ci.yml +1 -1
- DEPLOYMENT.md +3 -3
- FEATURES.md +3 -3
- HOW_IT_WORKS.md +3 -3
- INSTALLATION.md +3 -3
- MVP-COMPLETE.md +2 -2
- __pycache__/app.cpython-312.pyc +0 -0
- __pycache__/classifier.cpython-312.pyc +0 -0
- __pycache__/model_manager.cpython-312.pyc +0 -0
- __pycache__/ranker.cpython-312.pyc +0 -0
- __pycache__/reasoning_classifier.cpython-312.pyc +0 -0
- advanced_analyzer.py +1 -1
- model_manager.py +9 -9
- ranker.py +3 -3
- reasoning_classifier.py +1 -1
- tests/__init__.py +1 -1
- tests/__pycache__/test_classifier.cpython-312-pytest-9.0.3.pyc +0 -0
- tests/__pycache__/test_model_manager.cpython-312-pytest-9.0.3.pyc +0 -0
- tests/__pycache__/test_ranker.cpython-312-pytest-9.0.3.pyc +0 -0
.github/workflows/ci.yml
CHANGED
|
@@ -81,7 +81,7 @@ jobs:
|
|
| 81 |
- name: Test app import
|
| 82 |
run: |
|
| 83 |
python -c "import app; print('App imports successfully')"
|
| 84 |
-
python -c "
|
| 85 |
python -c "import ranker; print('Ranker imports successfully')"
|
| 86 |
python -c "import data_fetcher; print('Data fetcher imports successfully')"
|
| 87 |
python -c "import model_manager; print('Model manager imports successfully')"
|
|
|
|
| 81 |
- name: Test app import
|
| 82 |
run: |
|
| 83 |
python -c "import app; print('App imports successfully')"
|
| 84 |
+
python -c "from classifier import AIPapersIntelligenceClassifier; print('Classifier imports successfully')"
|
| 85 |
python -c "import ranker; print('Ranker imports successfully')"
|
| 86 |
python -c "import data_fetcher; print('Data fetcher imports successfully')"
|
| 87 |
python -c "import model_manager; print('Model manager imports successfully')"
|
DEPLOYMENT.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
This guide covers deployment options for the
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
-
This tool is created for educational purposes to demonstrate
|
| 8 |
|
| 9 |
## Deployment Options
|
| 10 |
|
|
|
|
| 1 |
+
# AI Papers Intelligence Classifier - Deployment Guide
|
| 2 |
|
| 3 |
+
This guide covers deployment options for the AI Papers Intelligence Classifier tool, including local deployment, cloud deployment, and Hugging Face Spaces.
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
+
This tool is created for educational purposes to demonstrate AI research tracking and analysis deployment strategies across the intelligence spectrum.
|
| 8 |
|
| 9 |
## Deployment Options
|
| 10 |
|
FEATURES.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
This document outlines potential future features and enhancements for the
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
-
This tool is created for educational purposes to demonstrate
|
| 8 |
|
| 9 |
## Priority 1: Core Enhancements
|
| 10 |
|
|
|
|
| 1 |
+
# AI Papers Intelligence Classifier - Feature Ideas and Enhancements
|
| 2 |
|
| 3 |
+
This document outlines potential future features and enhancements for the AI Papers Intelligence Classifier tool.
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
+
This tool is created for educational purposes to demonstrate AI research tracking and analysis across the intelligence spectrum. These feature ideas represent potential learning opportunities and system improvements.
|
| 8 |
|
| 9 |
## Priority 1: Core Enhancements
|
| 10 |
|
HOW_IT_WORKS.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
This guide explains the inner workings of the
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
-
This tool is created for educational purposes to demonstrate how to build an AI-powered research analysis system.
|
| 8 |
|
| 9 |
## System Overview
|
| 10 |
|
|
|
|
| 1 |
+
# AI Papers Intelligence Classifier - How It Works
|
| 2 |
|
| 3 |
+
This guide explains the inner workings of the AI Papers Intelligence Classifier tool, from data fetching to visualization.
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
+
This tool is created for educational purposes to demonstrate how to build an AI-powered research analysis system across the intelligence spectrum.
|
| 8 |
|
| 9 |
## System Overview
|
| 10 |
|
INSTALLATION.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
This guide will help you install and set up the
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
-
This tool is created for educational purposes to demonstrate
|
| 8 |
|
| 9 |
## Prerequisites
|
| 10 |
|
|
|
|
| 1 |
+
# AI Papers Intelligence Classifier - Installation Guide
|
| 2 |
|
| 3 |
+
This guide will help you install and set up the AI Papers Intelligence Classifier tool on your local machine or development environment.
|
| 4 |
|
| 5 |
## 🎓 Educational Purpose
|
| 6 |
|
| 7 |
+
This tool is created for educational purposes to demonstrate AI research tracking and analysis across the intelligence spectrum using modern AI techniques.
|
| 8 |
|
| 9 |
## Prerequisites
|
| 10 |
|
MVP-COMPLETE.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
## 🎉 **COMPLETE MVP BUILT SUCCESSFULLY!**
|
| 4 |
|
| 5 |
-
I have built a complete, working MVP for the
|
| 6 |
|
| 7 |
## 📁 **Project Structure**
|
| 8 |
|
|
|
|
| 1 |
+
# AI Papers Intelligence Classifier - MVP Complete ✅
|
| 2 |
|
| 3 |
## 🎉 **COMPLETE MVP BUILT SUCCESSFULLY!**
|
| 4 |
|
| 5 |
+
I have built a complete, working MVP for the AI Papers Intelligence Classifier that analyzes AI papers from the AI-Papers-of-the-Week repository across the intelligence spectrum.
|
| 6 |
|
| 7 |
## 📁 **Project Structure**
|
| 8 |
|
__pycache__/app.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/app.cpython-312.pyc and b/__pycache__/app.cpython-312.pyc differ
|
|
|
__pycache__/classifier.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/classifier.cpython-312.pyc and b/__pycache__/classifier.cpython-312.pyc differ
|
|
|
__pycache__/model_manager.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/model_manager.cpython-312.pyc and b/__pycache__/model_manager.cpython-312.pyc differ
|
|
|
__pycache__/ranker.cpython-312.pyc
CHANGED
|
Binary files a/__pycache__/ranker.cpython-312.pyc and b/__pycache__/ranker.cpython-312.pyc differ
|
|
|
__pycache__/reasoning_classifier.cpython-312.pyc
ADDED
|
Binary file (12.6 kB). View file
|
|
|
advanced_analyzer.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
"""
|
| 2 |
Advanced Analysis Module
|
| 3 |
-
Provides additional analysis features for
|
| 4 |
"""
|
| 5 |
|
| 6 |
from typing import Dict, List
|
|
|
|
| 1 |
"""
|
| 2 |
Advanced Analysis Module
|
| 3 |
+
Provides additional analysis features for AI papers across the intelligence spectrum
|
| 4 |
"""
|
| 5 |
|
| 6 |
from typing import Dict, List
|
model_manager.py
CHANGED
|
@@ -119,7 +119,7 @@ class ModelManager:
|
|
| 119 |
},
|
| 120 |
"deepseek": {
|
| 121 |
"name": "DeepSeek-R1",
|
| 122 |
-
"description": "DeepSeek-R1 with Chain of Thought reasoning for
|
| 123 |
"requires_api_key": False,
|
| 124 |
"cost": "Free (Hugging Face Inference)",
|
| 125 |
"speed": "Medium",
|
|
@@ -231,7 +231,7 @@ class ModelManager:
|
|
| 231 |
|
| 232 |
Provide:
|
| 233 |
1. Semantic relevance score (0-100)
|
| 234 |
-
2. Key concepts related to
|
| 235 |
3. Brief reasoning
|
| 236 |
|
| 237 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -270,7 +270,7 @@ class ModelManager:
|
|
| 270 |
|
| 271 |
Provide:
|
| 272 |
1. Semantic relevance score (0-100)
|
| 273 |
-
2. Key concepts related to
|
| 274 |
3. Brief reasoning
|
| 275 |
|
| 276 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -303,7 +303,7 @@ class ModelManager:
|
|
| 303 |
|
| 304 |
Provide:
|
| 305 |
1. Semantic relevance score (0-100)
|
| 306 |
-
2. Key concepts related to
|
| 307 |
3. Brief reasoning
|
| 308 |
|
| 309 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -349,7 +349,7 @@ class ModelManager:
|
|
| 349 |
|
| 350 |
Provide:
|
| 351 |
1. Semantic relevance score (0-100)
|
| 352 |
-
2. Key concepts related to
|
| 353 |
3. Brief reasoning
|
| 354 |
|
| 355 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -392,7 +392,7 @@ class ModelManager:
|
|
| 392 |
|
| 393 |
Provide:
|
| 394 |
1. Semantic relevance score (0-100)
|
| 395 |
-
2. Key concepts related to
|
| 396 |
3. Brief reasoning
|
| 397 |
|
| 398 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -431,7 +431,7 @@ class ModelManager:
|
|
| 431 |
|
| 432 |
Provide:
|
| 433 |
1. Semantic relevance score (0-100)
|
| 434 |
-
2. Key concepts related to
|
| 435 |
3. Brief reasoning
|
| 436 |
|
| 437 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -466,7 +466,7 @@ class ModelManager:
|
|
| 466 |
|
| 467 |
Provide:
|
| 468 |
1. Semantic relevance score (0-100)
|
| 469 |
-
2. Key concepts related to
|
| 470 |
3. Brief reasoning
|
| 471 |
|
| 472 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
@@ -516,7 +516,7 @@ class ModelManager:
|
|
| 516 |
|
| 517 |
Provide:
|
| 518 |
1. Semantic relevance score (0-100)
|
| 519 |
-
2. Key concepts related to
|
| 520 |
3. Brief reasoning
|
| 521 |
|
| 522 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 119 |
},
|
| 120 |
"deepseek": {
|
| 121 |
"name": "DeepSeek-R1",
|
| 122 |
+
"description": "DeepSeek-R1 with Chain of Thought reasoning for AI intelligence classification",
|
| 123 |
"requires_api_key": False,
|
| 124 |
"cost": "Free (Hugging Face Inference)",
|
| 125 |
"speed": "Medium",
|
|
|
|
| 231 |
|
| 232 |
Provide:
|
| 233 |
1. Semantic relevance score (0-100)
|
| 234 |
+
2. Key concepts related to AI intelligence spectrum
|
| 235 |
3. Brief reasoning
|
| 236 |
|
| 237 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 270 |
|
| 271 |
Provide:
|
| 272 |
1. Semantic relevance score (0-100)
|
| 273 |
+
2. Key concepts related to AI intelligence spectrum
|
| 274 |
3. Brief reasoning
|
| 275 |
|
| 276 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 303 |
|
| 304 |
Provide:
|
| 305 |
1. Semantic relevance score (0-100)
|
| 306 |
+
2. Key concepts related to AI intelligence spectrum
|
| 307 |
3. Brief reasoning
|
| 308 |
|
| 309 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 349 |
|
| 350 |
Provide:
|
| 351 |
1. Semantic relevance score (0-100)
|
| 352 |
+
2. Key concepts related to AI intelligence spectrum
|
| 353 |
3. Brief reasoning
|
| 354 |
|
| 355 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 392 |
|
| 393 |
Provide:
|
| 394 |
1. Semantic relevance score (0-100)
|
| 395 |
+
2. Key concepts related to AI intelligence spectrum
|
| 396 |
3. Brief reasoning
|
| 397 |
|
| 398 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 431 |
|
| 432 |
Provide:
|
| 433 |
1. Semantic relevance score (0-100)
|
| 434 |
+
2. Key concepts related to AI intelligence spectrum
|
| 435 |
3. Brief reasoning
|
| 436 |
|
| 437 |
Format your response as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 466 |
|
| 467 |
Provide:
|
| 468 |
1. Semantic relevance score (0-100)
|
| 469 |
+
2. Key concepts related to AI intelligence spectrum
|
| 470 |
3. Brief reasoning
|
| 471 |
|
| 472 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
|
|
|
| 516 |
|
| 517 |
Provide:
|
| 518 |
1. Semantic relevance score (0-100)
|
| 519 |
+
2. Key concepts related to AI intelligence spectrum
|
| 520 |
3. Brief reasoning
|
| 521 |
|
| 522 |
Format as JSON with keys: semantic_relevance, key_concepts, reasoning
|
ranker.py
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
"""
|
| 2 |
Paper Ranking Module
|
| 3 |
-
Ranks papers by relevance, impact, and novelty for
|
| 4 |
"""
|
| 5 |
|
| 6 |
from typing import Dict, List
|
| 7 |
|
| 8 |
|
| 9 |
class PaperRanker:
|
| 10 |
-
"""Rank papers by multiple criteria for
|
| 11 |
|
| 12 |
def __init__(self):
|
| 13 |
# Weights for different ranking criteria
|
| 14 |
self.weights = {
|
| 15 |
-
'relevance': 0.5, #
|
| 16 |
'novelty': 0.3, # Novelty/innovation potential
|
| 17 |
'impact': 0.2 # Potential impact
|
| 18 |
}
|
|
|
|
| 1 |
"""
|
| 2 |
Paper Ranking Module
|
| 3 |
+
Ranks papers by relevance, impact, and novelty for AI research across the intelligence spectrum
|
| 4 |
"""
|
| 5 |
|
| 6 |
from typing import Dict, List
|
| 7 |
|
| 8 |
|
| 9 |
class PaperRanker:
|
| 10 |
+
"""Rank papers by multiple criteria for AI research across the intelligence spectrum"""
|
| 11 |
|
| 12 |
def __init__(self):
|
| 13 |
# Weights for different ranking criteria
|
| 14 |
self.weights = {
|
| 15 |
+
'relevance': 0.5, # Intelligence spectrum relevance score
|
| 16 |
'novelty': 0.3, # Novelty/innovation potential
|
| 17 |
'impact': 0.2 # Potential impact
|
| 18 |
}
|
reasoning_classifier.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
"""
|
| 2 |
Reasoning Classifier Module
|
| 3 |
-
Uses DeepSeek-R1 with Chain of Thought for
|
| 4 |
"""
|
| 5 |
|
| 6 |
import json
|
|
|
|
| 1 |
"""
|
| 2 |
Reasoning Classifier Module
|
| 3 |
+
Uses DeepSeek-R1 with Chain of Thought for AI intelligence classification
|
| 4 |
"""
|
| 5 |
|
| 6 |
import json
|
tests/__init__.py
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
"""
|
| 2 |
-
Test suite for
|
| 3 |
"""
|
|
|
|
| 1 |
"""
|
| 2 |
+
Test suite for AI Papers Intelligence Classifier
|
| 3 |
"""
|
tests/__pycache__/test_classifier.cpython-312-pytest-9.0.3.pyc
CHANGED
|
Binary files a/tests/__pycache__/test_classifier.cpython-312-pytest-9.0.3.pyc and b/tests/__pycache__/test_classifier.cpython-312-pytest-9.0.3.pyc differ
|
|
|
tests/__pycache__/test_model_manager.cpython-312-pytest-9.0.3.pyc
CHANGED
|
Binary files a/tests/__pycache__/test_model_manager.cpython-312-pytest-9.0.3.pyc and b/tests/__pycache__/test_model_manager.cpython-312-pytest-9.0.3.pyc differ
|
|
|
tests/__pycache__/test_ranker.cpython-312-pytest-9.0.3.pyc
CHANGED
|
Binary files a/tests/__pycache__/test_ranker.cpython-312-pytest-9.0.3.pyc and b/tests/__pycache__/test_ranker.cpython-312-pytest-9.0.3.pyc differ
|
|
|