尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證HackKnight 2026
翻譯準備中
取自儲存庫 README
正在載入完整 README。 以下為已儲存的摘錄。
An AI credit committee. A user picks a company; a bull and a bear analyst debate its debt out loud
from SEC filings and news; a moderator fact-checks every claim and hands back a committee brief.
Most AI tells you what to think; ours shows you what to check.
Built for Hack Knight (Finance, Gemini and ElevenLabs tracks).
Everything runs end to end out of the box on stub data. Each TODO(Person N) marks where real work goes.檢視完整 README ↗An AI credit committee. A user picks a company; a bull and a bear analyst debate its debt out loud from SEC filings and news; a moderator fact-checks every claim and hands back a committee brief.
Most AI tells you what to think; ours shows you what to check.
Built for Hack Knight (Finance, Gemini and ElevenLabs tracks).
bull-vs-bear/
├── frontend/ # Person 3: Next.js (home, debate room, brief)
│ ├── app/ # pages: /, /debate/[id], /brief/[id]
│ └── lib/ # types.ts (shared shapes), useDebate.ts (WebSocket + audio queue), mock/
├── backend/ # Person 2: FastAPI
│ ├── app/
│ │ ├── main.py # Person 2: endpoints + debate loop
│ │ ├── schemas.py # the 3 shared shapes (pydantic)
│ │ ├── edgar.py # Person 1: SEC EDGAR
│ │ ├── metrics.py # Person 1: debt-to-EBITDA, coverage, floating %, maturities, total immediate liquidity, capex / operating cash flow
│ │ ├── facts.py # Person 1: builds the fact sheet
│ │ ├── verify.py # Person 1: Hugging Face fact-checking
│ │ ├── agents.py # Person 2: Gemini bull / bear / moderator / brief
│ │ ├── voice.py # Person 2: ElevenLabs
│ │ └── store.py # Person 2: Supabase (in-memory fallback)
│ └── tests/
├── shared/
│ ├── schemas/ # JSON Schemas, generated from backend/app/schemas.py
│ └── examples/ # Fake data everyone builds against
├── .env.example # Key names only, never real keys
└── backend/railway.json # Backend deploy (Railway)
Everything runs end to end out of the box on stub data. Each TODO(Person N) marks where real work goes.
Backend (Python 3.12+)
cd backend
python3 -m venv .venv && source .venv/bin/activate
pip install -r requirements.txt
cp ../.env.example .env # fill in the keys you have; blanks are fine to start
uvicorn app.main:app --reload # http://localhost:8000/docs
pytest # checks shared shapes + metrics
Frontend (Node 20+)
cd frontend
npm install
cp .env.local.example .env.local # NEXT_PUBLIC_USE_MOCK=true runs without a backend
npm run dev # http://localhost:3000
npm test # unit tests (Vitest)
npm run typecheck
Set NEXT_PUBLIC_USE_MOCK=false to talk to the real backend.
| Method | Path | Returns |
|---|---|---|
| GET | /health | {ok: true} plus which services are configured |
| GET | /companies | pre-cached demo companies |
| GET | /companies/search?q= | up to 10 matching companies |
| GET | /models | Gemini models the user can pick, with prices |
| POST | /debates {ticker, model?, gemini_api_key?} | {debate_id} |
| GET | /debates/{id} | full debate for replay, including model and usage |
| GET | /debates/{id}/brief | committee brief |
| WS | /ws/debates/{id} | streams fact_sheet, positions, turn_start + line per turn, usage, brief; accepts interrupt and played |
The gear icon on every page opens Settings.
GET /models with prices. Applies to the next debate.
Pro needs a key with Pro access and is slow (about 45 s to the first line), so use Flash for live demos.sessionStorage (this tab only) and sends it
only to our backend with POST /debates. The backend holds it in memory for that one debate and drops it when
the debate ends; it's never saved, logged or returned. ElevenLabs voices still use the team's key.backend/app/usage.py): calls, input,
output and thinking tokens, voice characters, and an estimated cost. The live debate shows "This debate";
finished debates add to "All debates in this browser" (localStorage, resettable). Costs use Google's
published prices (thinking billed as output), recorded in usage.MODELS with the date they were checked.
Update those prices when Google changes them (Flash's introductory price ends Dec 31, 2026).A real 8-line debate on Flash-Lite made 19 Gemini calls (rejected lines are retried) and cost about $0.02.
See shared/README.md for the shapes, how ids connect them, the WebSocket protocol and how to change them.
VOICE_ENABLED=false until the debate reads well.frontend/), backend → Railway (root /backend, config /backend/railway.json).| Person | Role | Owns |
|---|---|---|
| Person 1 | Data and finance | edgar.py, metrics.py, facts.py, verify.py, demo number checks |
| Person 2 | AI and backend | main.py, agents.py, voice.py, store.py, WebSocket stream |
| Person 3 | Frontend and demo | frontend/, audio queue, claim labels, interrupt bar, hosting, pitch deck |
main always deploys. Work on a branch (p1/metrics, p2/agents, p3/debate-room) and open a PR..env.