Skip to main content

招聘判官 (Recruitment Judge)

以天命视角替企业 HR 裁决招聘难题的虚拟判官。3 秒完成一次招聘断案,判词必达。

项目简介

招聘判官是一个面向企业招聘 HR 的趣味断案工具。HR 选择招聘场景,点击"一键断案",经历 3 秒仪式动画后获得一份判词结果(含天命指数、五维命盘、判官断语、建议、甩锅话术)。结果可分享、可复现。

技术栈

  • 前端:原生 HTML + CSS + vanilla JS(ES Modules),Three.js(3D 罗盘),D3.js(雷达图),GSAP(动画时间线)
  • 伴生服务:Python + FastAPI + Uvicorn,Pydantic 校验,Typer CLI,Rich 日志
  • 构建:pyproject.toml + hatchling

核心架构原则

  1. 算法与视觉彻底解耦:Fortune Engine 纯 JS 可独立运行,零视觉依赖
  2. 判词必达:任意降级场景下,用户最终必定看到完整判词文本
  3. 结果可复现:相同 seed + scene 产出完全相同结果

启动方式

CLI 启动

pip install -e .
recruitment-judge

直接启动

uvicorn server.app:app --host 0.0.0.0 --port 8000

启动后访问 http://localhost:8000

目录结构

recruitment_judge/
├── pyproject.toml          # Python 构建配置
├── README.md
├── server/                 # 伴生服务(FastAPI)
│   ├── app.py              # FastAPI 应用入口
│   ├── cli.py              # Typer CLI 启动
│   ├── api/v1/             # RESTful 端点
│   ├── core/               # 配置与统一响应
│   └── models/             # Pydantic 模型
├── web/                    # 招聘判官 Web App(纯前端)
│   ├── index.html          # SPA 主入口
│   ├── css/                # 样式
│   ├── js/                 # ES Modules
│   │   ├── core/           # 状态机与路由
│   │   ├── engine/         # Fortune Engine(纯逻辑)
│   │   ├── visual/         # 视觉表现层
│   │   ├── animation/      # GSAP 时间线
│   │   ├── ui/             # UI 组件
│   │   ├── analytics/      # 埋点适配
│   │   ├── data/           # 静态数据
│   │   └── utils/          # 工具
│   └── assets/             # 字体与纹理
└── tests/                  # 测试

开发约定

  • Python 配置变量:UPPER_SNAKE_CASE
  • JS 文件名:lower_snake_case
  • CSS 类名:kebab-case
  • 判词 ID:UPPER_TAG_DIGITS(如 BUSINESS_003

生产部署

FastAPI 静态托管可无缝切换至 Nginx + CDN,前端无差异。伴生服务仅承担静态托管与埋点收集,不参与命运计算核心逻辑。

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

recruitment_judge-0.1.0.tar.gz (243.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

recruitment_judge-0.1.0-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

Details for the file recruitment_judge-0.1.0.tar.gz.

File metadata

  • Download URL: recruitment_judge-0.1.0.tar.gz
  • Upload date:
  • Size: 243.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.7

File hashes

Hashes for recruitment_judge-0.1.0.tar.gz
Algorithm Hash digest
SHA256 76a885d7d6a17ce39875b6764a12aa271e3cc40f69f75a4476874178799a5f74
MD5 73ae8062f1705d2e79ed567cd250609d
BLAKE2b-256 607f7e4b873080520892115f9bb593793372fe6f8a00ed5e5066184d5da0c781

See more details on using hashes here.

File details

Details for the file recruitment_judge-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for recruitment_judge-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e2d156d76437c61623d8128ea908cd2024e0326562ad3352690e733893303a43
MD5 d66ffedfe441e6b1e87bbe614b3deaa4
BLAKE2b-256 d7526323270fcfab3f52fd96371aef0725e96dad98393604a76de9c3ccf07aba

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page