Skip to content
System One

asfarsadewa/human-compiler

Paste an email, Slack message or memo and get rustc-style diagnostics back. A plain lexer finds phrases and their line and column positions, then one request to Jev scores dimensions such as passive aggression, unnecessary urgency and how much actual information the text carries.

asfarsadewa/human-compiler on GitHub

Stars
1
Forks
0
Language
TypeScript
License
MIT
Last push
17 Sep 2026

Read from GitHub on . Counts change daily.

How it uses Jev

  result = await client.systemOne({ state: built.state, questions: built.questions, model: MODEL });
} catch (e) {
  if (e instanceof APIError) {
    log("error", "typesafe_api_error", { status: e.status, requestId: e.requestId });
    if (e.status === 429 || e.status === 529 || e.status >= 500) {
      return fail(503, "model_busy", "the model is busy; try again shortly", { "Retry-After": "10" });
    }
    return fail(502, "model_error", `model request failed (${e.status})`);
  }
  if (e instanceof APIConnectionError) {
    log("error", "typesafe_unreachable", { message: e.message });
    return fail(504, "model_timeout", "the model did not answer in time");
  }
  throw e;

View in src/worker/index.ts

Open on GitHub

More like this

Use cases this is tagged with