File size: 1,776 Bytes
186be88
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
---
language:
- en
license: other
license_name: pleius-internal
tags:
- text-classification
- writing-feedback
- creator-tools
---

# cortexa-write-scorer (v1 — worker stub, no weights)

Production scorer for Pleius Write. **There are no model weights in this
repo.** Write's launch backend is a deterministic lexical/structural
feature extractor implemented in TypeScript inside the
`cortexa-proxy` Cloudflare Worker — version-tagged
`write-worker-stub-v1`. It is a pure function of the input text (no
network, no learned parameters), so identical text always yields the
same scores.

## Why no ONNX?

Write's iter54 model concept (LC=66.90% on the LM-arena benchmark) was
implemented as a worker-side approximation for launch: TF-IDF word
8k + char 8k surrogates, per-family logic, meta-blend across pillars. A
neural Write scorer is a planned follow-up but not yet trained.

## Pillars produced

- `read_likelihood` — will a reader start AND keep going? Flesch
  reading-ease analog + type-token ratio + word length.
- `hold` — structural variety. Sentence-length coefficient of variation
  (monotone cadence loses attention).
- `structure` — paragraph density / transition-word density / discourse
  marker frequency.
- `score` (overall) — meta-blend: `0.4·read + 0.4·hold + 0.2·structure`.

## Where the code lives

Worker source: https://github.com/matthewf725/Perspecting/blob/main/research/cortexa_trm/unified/product/proxy/src/index.js
(function `scoreWriteStub`)

Python port for offline distillation:
https://github.com/matthewf725/Perspecting/blob/main/research/distill_students/write_scorer.py

## Surface

`POST /predict/write` on `cortexa-proxy` Cloudflare Worker.

## License

Pleius internal — see https://pleius.com. Not for redistribution.