Skip to main content

招聘判官 (Hire Fortune)

打工人的玄学搭子。算一卦,甩个锅,该开工开工。

招聘判官是一个面向企业招聘 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.3.0.tar.gz (240.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.3.0-py3-none-any.whl (114.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: recruitment_judge-0.3.0.tar.gz
  • Upload date:
  • Size: 240.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.3.0.tar.gz
Algorithm Hash digest
SHA256 7c49ad554955d2ef978215a93fef3d1f0ca21a2b49082359cdaa8516fcdfbf87
MD5 0896d967e10fa8560cd4c656c487060d
BLAKE2b-256 9397b78e96c45e1c37733bcf21c425107b8c09fb2e465142186e930e3fec48ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for recruitment_judge-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84ea2a58a3145ee82cdfc75ffc5b74d0540ab93d449df7fa308b2f0d42b7a7cb
MD5 8a32de6e504dfad765815d34fcad76af
BLAKE2b-256 300fc1c21b24c2429f894547791f9bab9a51fe8d604d3f27ed66a4a4a906285d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.3.1

2 files

This release

0.3.0 This release

2 files

0.2.0

2 files

0.1.0

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