Downloads · 30 days
0
skjncs2026/zhidu-pa-agent
zhidu-pa-agent is a machine learning model from skjncs2026. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as mit.
Zhidu is an AI-powered college application guidance platform for Chinese Gaokao students. This repository demonstrates the core innovation: a PAAgent deterministic decision engine that separates critical recommendatio…
Downloads · 30 days
0
Access
Public
Updated Jul 13, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py62.3 KB · 93%
From the Hugging Face model README
Zhidu is an AI-powered college application guidance platform for Chinese Gaokao students. This repository demonstrates the core innovation: a PA_Agent deterministic decision engine that separates critical recommendation logic from LLM inference, ensuring auditable and reproducible recommendations.
User Input (score / province / subject)
│
▼
Gate Check (🔒 locked) ── data sufficiency gate
│
▼
Decision Trace (mixed auth) ── typed decision nodes
│
▼
Tier Classification (🔒 locked) ── RUSH / STABLE / SAFE
│
▼
Continuity Guard ── contradiction detection
│
▼
Validation (4 layers) ── structure/range/coherence/semantic
│
▼
LLM Analysis Layer ── personalized interpretation
│
▼
Final Recommendation
Traditional AI guidance systems delegate all decisions to LLMs, risking hallucination. Zhidu's PA_Agent architecture classifies decision nodes into three authority levels:
| Authority | Symbol | Description | Example |
|---|---|---|---|
| Locked | 🔒 | Program authority, LLM cannot override | Data sufficiency, tier classification, probability calculation |
| Overridable | 🔓 | Program-first, LLM may override with evidence | Confidence assessment, sector allocation |
| AI-Primary | 🤖 | LLM-led, program provides fallback | Market commentary, personalized advice |
This ensures the same input always produces the same data-matching result, while allowing LLM flexibility for interpretation and personalization.
| File | Description |
|---|---|
app.py | Gradio demo application (requires PRO subscription for HF Spaces) |
decision_engine.py | Core PA_Agent pipeline implementation in Python |
requirements.txt | Python dependencies |
pip install -r requirements.txt
python app.py
Then open http://localhost:7860 in your browser.
This implementation draws from several research patterns:
The production Zhidu platform uses:
If you use this work, please cite:
@software{zhidu_pa_agent_2026,
title = {Zhidu: PA_Agent Deterministic Decision Engine for AI-Guided College Recommendations},
author = {Song, Yangting},
year = {2026},
url = {https://huggingface.co/skjncs2026/zhidu-pa-agent}
}