SPB Git

spb/airiskindex Public

The most methodologically rigorous, fully transparent AI job-exposure index.

TypeScript 88% Python 6.1% SQL 2.7% CSS 1.2% JavaScript 0.9% Shell 0.8%
937 B · 25 lines typescript
Raw Blame History
1//  File:    config.ts2//  Path:    apps/worker/src/config.ts3//  Project: AI Risk Index — airiskindex.io4//  Author:  Simon-Pierre Boucher5//  Contact: contact@spboucher.ai6//  Copyright © 2026 Simon-Pierre Boucher. All rights reserved.7//8//  Description: Worker configuration: rater model panel, prompt version, Redis URL.910/**11 * Rater model panel — comma-separated model IDs from the environment, never12 * hardcoded (CLAUDE.md §6). Multi-model rating is required: single-model13 * exposure ratings show up to 19× spread across frontier raters14 * (docs/research/01-existing-indices.md §7.2).15 */16export const RATER_MODELS: readonly string[] = (process.env.RATER_MODELS ?? "")17  .split(",")18  .map((value) => value.trim())19  .filter(Boolean);2021/** Bumping this invalidates cached ratings (CLAUDE.md §6). */22export const RATER_PROMPT_VERSION = "v1";2324export const REDIS_URL = process.env.REDIS_URL ?? "redis://127.0.0.1:6379";25