raea/fingerprint

A fingerprint (fingerprint.ts, docs/fingerprint.md): a person's or a team's sense of good work as axes, each with a small head over on-device encoders that raea fingerprint trains from their labels. raea fingerprint new NAME writes one with raea's base taxonomy; add an axis, reword one, or remove one, and raea retrains. Rust reads the default export (systems/fingerprint/src/taxonomy.rs), so these types follow its fields.

View as Markdown

A fingerprint (fingerprint.ts, docs/fingerprint.md): a person's or a team's sense of good work as axes, each with a small head over on-device encoders that raea fingerprint trains from their labels. raea fingerprint new NAME writes one with raea's base taxonomy; add an axis, reword one, or remove one, and raea retrains. Rust reads the default export (systems/fingerprint/src/taxonomy.rs), so these types follow its fields.

TS
import { fingerprint } from "raea/fingerprint"

raea/fingerprint exports 1 function, 4 types. Source: sdk/raea/src/fingerprint.ts.

Functions

fingerprint

A fingerprint (fingerprint.ts): its axes and the encoders its heads were trained on.

TS
function fingerprint(f: Fingerprint): Fingerprint

Types

Applies

Which pieces a fingerprint judges, when a project or workspace holds more than one.

FieldTypeWhat it is
kindsstring[]film, ad, game, playable, still, sound
tagsstring[]the project's tags

Axis

FieldTypeWhat it is
name (required)stringIts name, short and lowercase (blur, clip, barren): what reports, marks and --axis call it.
words (required)string[]What people say for it, best first: the word head scores it from these on day one.
modality (required)ModalityWhat its head reads.
scopestring"moment" (the default), "shot" or "whole".
polarity"bad" | "good""bad" (the default): a high score is the defect; "good": a high score is the quality.
checkstringThe raea check rule that measures it exactly, when one does: the check wins over the head.
word_headbooleanFalse where words can't find it (silence matches no description).
groupstringThe sense it's shown under in the app: pictures, sound or motion.

Fingerprint

FieldTypeWhat it is
name (required)stringIts folder's name under ~/.raea/fingerprints, or a project's or workspace's.raea/fingerprints.
whostringWhose taste it is, for evidence rows and the app.
aboutstringOne line: what it tracks and when it judges ("Short ads for one brand: pace, type on screen, the brand's colours").
extendsstringThe fingerprint it builds on, by name: it started from that one's axes.
appliesAppliesWhich pieces it judges when its project or workspace holds more than one.
axes (required)Axis[]What it notices, each axis with its words and the sense its head reads.
encodersRecord<string, string>Each encoder's id and its file's sha256: heads trained on other encoders' columns are refused.

Modality

What an axis's head reads: the frames (SigLIP 2), how they change, their look, the sound (CLAP) or its events (YAMNet).

TS
type Modality = "picture" | "change" | "look" | "sound" | "events" | "text"