Oracle3
Oracle3: 예측시장 거래 엔진·MCP 서버
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
개인 계정의 공개 저장소 소유자는 GitHub로 로그인해 운영자를 확인하고 소개를 직접 관리할 수 있습니다. 관리자 승인은 필요하지 않습니다.
로그인한 뒤 확인 파일을 만들어 이 저장소의 기본 브랜치에 30분 안에 커밋해 주세요. 다른 브랜치나 포크의 파일은 인정하지 않습니다. 파일을 올린 뒤 아래에서 확인하면 관리자 승인 없이 관리할 수 있습니다. 자격을 유지하려면 파일을 남겨 두세요.
로그인이 필요하면 로그인 화면으로 이동합니다. 로그인 후 이곳으로 돌아와 원하는 확인 버튼을 다시 눌러 주세요.
프로젝트 폴더에서 /nomorevibe verify를 실행하면 소유권을 확인하고 소개를 직접 관리할 수 있습니다.
1분 만에 확인하기메이커가 쓴 소개는 위의 한 줄이 전부입니다. 더 자세한 내용은 저장소 README에서 읽을 수 있습니다. 저장소 README ↗
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Map and search of Oklahoma businesses with estimated revenue and EBITDA, derived from public SBA PPP loan data.
etl/ Python pipeline: download PPP data → estimate → geocode → load into Postgres
db/ Postgres schema (works on Supabase)
web/ Next.js app: map + list explorer, business pages, JSON API, claim/removal form
loan ÷ 2.5 × 12, and payroll ÷ the industry payroll-to-revenue ratio gives a second revenue figure. More than 2× disagreement marks the estimate low confidence; businesses with no reported jobs use this method instead.The ranges and margins are set in etl/build.py and etl/benchmarks.py. The built-in sector ratios are rounded approximations. benchmarks.py --fetch replaces them with exact Census figures; run.sh does this automatically.
Option A — GitHub Actions (no local setup). Push this repo to GitHub and add the repository secret DATABASE_URL (the session pooler string). Then go to Actions → Load PPP data → Run workflow with state OK.
Option B — your machine:
python3 -m venv .venv && .venv/bin/pip install -r etl/requirements.txt
DATABASE_URL="postgresql://..." PYTHON=.venv/bin/python ./etl/run.sh OK --addresses
Drop --addresses for a quick run that uses ZIP centroids only. Street-level geocoding uses the free Census batch geocoder (10k addresses per request) and can take an hour or more.
If data.sba.gov is slow, download the CSVs from https://data.sba.gov/dataset/ppp-foia yourself and run python etl/download_ppp.py --state OK --local <dir>, followed by the remaining steps from run.sh.
web.DATABASE_URL (the transaction pooler string).Local dev: cd web && npm install && echo 'DATABASE_URL=...' > .env.local && npm run dev
The map uses free OpenFreeMap tiles. To change the look, set NEXT_PUBLIC_MAP_STYLE to another MapLibre style URL.
| Endpoint | Description |
|---|---|
GET /api/businesses | q, sector, city, min_rev, max_rev, bbox=w,s,e,n, sort (revenue_desc | revenue_asc | ebitda_desc | jobs_desc | name), limit (≤200), offset |
GET /api/businesses/:id | Business details, PPP loans and the benchmark used |
GET /api/points | GeoJSON for the map (same filters, top 5,000 by revenue) |
POST /api/claims | {business_id, contact_name, contact_email, reported_revenue?, reported_ebitda?, message?, request_removal?} |
DATABASE_URL=... PYTHON=.venv/bin/python etl/tests/smoke.sh runs the full ETL offline on fake fixture rows.
claims table regularly, and honor removal requests by deleting the business.