File size: 1,029 Bytes
89e8242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import sys
import os
sys.path.append(os.getcwd())

from app.models.new_forensic_engine import analyze_forensic
import json

test_text = """You are a top 0.1% AI researcher, startup architect, and NLP expert specializing in LLM evaluation and AI-generated content detection.

Your task is NOT to give generic advice.
Your task is to DESIGN a STARTUP-LEVEL AI TEXT DETECTION SYSTEM using ONLY PRETRAINED MODELS.

Context:
I am building an "AI Text Lab" that classifies:
- AI-generated text
- Human-written text

Current problem:
- My system is inaccurate
- Fails on real-world inputs
- Not reliable for production use

Constraints:
- NO model training allowed
- ONLY pretrained models, APIs, and inference-based techniques
- Must be hackathon-ready AND scalable to startup level

Goal:
- High real-world accuracy
- Strong visual demo
- Startup-grade architecture
- Explainable outputs (very important)"""

print("--- STARTING DETAILED FORENSIC DEBUG ---")
results = analyze_forensic(test_text)
print(json.dumps(results, indent=2))