Lexiverse
Lexiverse - AI contextual reading engine for English learners. Your next article is your next review.
翻译准备中
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Know before you work: check whether F-1 visa rules likely allow an activity, with citations from official U.S. sources. NVIDIA Nemotron on Nebius Token Factory + Tavily.
翻译准备中
正在加载完整 README。
查看完整 README ↗Know before you work. F1 Compass helps international students on F-1 visas check whether something they want to do (freelancing, a campus job, selling a book, accepting a hackathon prize) is likely allowed under U.S. work-authorization rules. Every answer is grounded in official government sources and comes with an email you can send to your school's international office.
F1 Compass gives general information, not legal advice. Always confirm with your school's Designated School Official (DSO) before acting.
More than a million international students study in the U.S. Unauthorized work can end a student's F-1 status, yet the rules are scattered across USCIS pages, SEVP guidance and the Code of Federal Regulations. A tempting assumption is that freelance work is fine as long as the client or the bank account is abroad. Under F-1 rules, what usually matters is where the work is physically done.
Student question (+ optional: school international office site, home country)
│
▼
1. Plan NVIDIA Nemotron 3 Nano and Nemotron 3 Super race on Nebius Token Factory;
the first to answer restates the situation, lists assumptions,
and writes two search queries (backup queries if both take over 8 s)
│
▼
2. Search Tavily, restricted to official domains
uscis.gov · ice.gov · studyinthestates.dhs.gov · ecfr.gov · irs.gov · …
(+ the student's own school international office site, optional)
│
▼
3. Analyze NVIDIA Nemotron 3 Ultra (reasoning model) on Nebius Token Factory
reads the sources and returns a verdict, cited explanation,
legal paths (CPT/OPT), questions for the DSO and a ready-to-send email
In parallel, if a home country was given:
Nemotron 3 Super suggests three similar roles the student could take on
while physically in that country, each with a job-search link
Progress streams to the browser as each step finishes. When the answer arrives, the page turns into the verdict: Likely allowed, Authorization needed, Likely not allowed, or Unclear, shown in color with an icon, and the reasons, legal paths, DSO questions and sources sit in collapsible sections below. The prompts tell the model to stay conservative, to cite only the sources it was given, and to answer in the student's own language.
lib/nebius.ts).lib/tavily.ts), limited to official sources so the reasoning model works from authoritative text instead of forum posts. Each check runs two advanced searches, and identical searches are cached for a day to save credits. We tested basic search as a cheaper option: accuracy on our sample questions fell from 9/10 to 6/10, so we kept advanced.evals/cases.csv holds student questions with the answer F1 Compass should give and an official source for each. npm run eval runs them all against the app and counts dangerous errors: answering likely allowed when the right answer is anything else. That is the mistake that could hurt a student, so we tune for zero. See evals/README.md.
Latest run, 30 questions across 10 categories: 25/30 correct (83%), 1 dangerous error. Per-question results are in evals/results.md.
We think these are worth knowing before you rely on an answer:
Requirements: Node.js 20 or newer.
npm install
cp .env.example .env.local # then fill in your keys
npm run models # lists the NVIDIA model IDs your Nebius key can use
npm run dev
Open http://localhost:3000.
| Variable | Required | Description |
|---|---|---|
NEBIUS_API_KEY | yes | API key from Nebius Token Factory |
TAVILY_API_KEY | yes | API key from Tavily |
NEBIUS_FAST_MODEL | no | First planner model ID (default nvidia/NVIDIA-Nemotron-3-Nano-30B-A3B) |
NEBIUS_FAST_MODEL_2 | no | Second planner model ID, raced against the first, also used for home-country suggestions (default nvidia/nemotron-3-super-120b-a12b) |
NEBIUS_REASONING_MODEL | no | Analysis model ID (default nvidia/Nemotron-3-Ultra-550b-a55b) |
NEBIUS_PLAN_TIMEOUT_MS | no | Wait this long for a planner before using backup queries (default 8000) |
NEBIUS_ANALYSIS_TIMEOUT_MS | no | Time limit for one analysis request (default 45000) |
NEBIUS_BASE_URL | no | Defaults to https://api.tokenfactory.nebius.com/v1 |
TAVILY_SEARCH_DEPTH | no | advanced (default, 2 credits per search) or basic (1 credit, less accurate in our tests) |
MOCK_MODE | no | 1 streams canned sample data with no API calls, for UI work |
Model IDs vary by account. If a check fails with a "model not found" error, run npm run models and copy the exact IDs into .env.local.
NEBIUS_API_KEY, TAVILY_API_KEY and any model overrides as environment variables.app/page.tsx page entry: passport backdrop + the app
app/layout.tsx fonts, and the head script that applies the saved theme before paint
app/api/check/route.ts POST endpoint that streams progress as NDJSON
components/Compass.tsx the UI: form, progress, verdict screen, sections, home-country card
components/ThemePicker.tsx collapsible accent-color and light/dark picker
components/PassportBackdrop.tsx guilloche background and visa stamp (server-rendered)
lib/pipeline.ts plan race → search → analyze, plus home-country suggestions
lib/prompts.ts system prompts
lib/nebius.ts Token Factory client (OpenAI-compatible) with time limits and JSON retry
lib/tavily.ts official-source search with a one-day cache
lib/theme.ts theme storage and the pre-paint script
lib/mock.ts sample data for MOCK_MODE
evals/cases.csv test questions with expected answers
scripts/eval.mjs runs the test questions and reports accuracy
scripts/list-models.mjs lists NVIDIA models available to your key
Built by three students for the Nebius x NVIDIA Global AI Hackathon: