diff --git a/docs/console.md b/docs/console.md index c8fd091..0202182 100644 --- a/docs/console.md +++ b/docs/console.md @@ -266,3 +266,4 @@ for meaning. - Webhooks (e.g. to Discord) for a catalog's cases and uploads. - Health alerts for catalog teams when the hub can't reach their catalog; storage quotas. - CSV export of stats. +- Peer review of ratings, in the client's peer review mode (`peer-review.md`). diff --git a/docs/peer-review.md b/docs/peer-review.md new file mode 100644 index 0000000..96c5779 --- /dev/null +++ b/docs/peer-review.md @@ -0,0 +1,94 @@ +# Peer review of ratings + +**Not built; an idea for later** (the user's, 2026-11-08). Ratings on the hub are the uploader's word (uploads) or +IMVU's (imports), and some imports have none the hub can read (Access Pass products are hidden from it). People +rate products instead, in the client, the way IMVU's own peer review worked. Permissions and cases are in +`console.md`. + +## What the client already has + +IMVU Classic still carries its peer review mode (client 554.8, `imvu/client/PeerReview.py`, +`imvu/mode/PeerReviewMode.py`): + +- `imvu:PeerReview?pid=[&mcg=1]` (a link, as the site's review page used) opens a **Peer Review** window: + a local scene (no chat session, nobody else) in a plain room (product 1610309), with the default female or male + body (80, 191; the product's compatible body if it has one) wearing the product; a room product becomes the + room, furniture is placed in it; everything else is taken off. The clothing, furniture and scenes tools and the + camera are there, to look at it from every side. +- It opens only for an IMVU account aged 18 or over (`getAge()`). +- Products are authorized as usual, but an answer with `usablePeerReview` counts as usable: a reviewer sees a + product they don't own. The proxy answers product authorization for T5 products, so it can set that flag for a + product the hub hands that person to review. +- Unverified: whether room 1610309 still loads from IMVU, and how the review window behaves with T5 products. + +## How it would work + +- **Who reviews**: people who opt in, with an adult account on the hub (age checked) and a linked IMVU account the + client takes as 18+. Not the product's creator, nor its catalog's team. Reviewing can be stopped any time. +- **What's reviewed**: products whose rating nobody checked: uploads rated general (an upload rated adult needs no + review: raising is always fine), imports with no rating the hub could read, and products reported for a wrong + rating (below). Each new revision with changed files counts again. +- **The page** (**Decided**: on the website): the hub website's Review page hands out one product at random (people + can't pick, so creators can't steer their friends to theirs), with **Open in T5DE**, a `t5de:review?product=` link (below). Then the reviewer picks **General**, **Adult** (IMVU's AP), or **Not allowed** (hate, gore, + sexual content involving minors, ...: with a reason). **Skip** is always there, and passes it to someone else. + No AP+ (**Decided**: dropped for now; the hub keeps two ratings). +- **Deciding** (counts chosen 2026-11-08; settings, so they can change): + - Each product goes to **3 reviewers**. All 3 agreeing decides it. + - A split brings in 2 more: **4 of 5** agreeing decides it; otherwise it becomes a `rating-review` case for + moderators, with the votes. + - Any **Not allowed** opens a report case at once (the product stays as it is until a moderator acts); the other + votes still count for the rating. + - A decision sets the rating as a moderator edit would (in the product's history, reason "peer review"); raising + applies at once; lowering below the creator's claim never happens. + - Someone with `review:decide` (below) decides alone: their vote settles it at once, so products get through + while reviewers are few. + - Until decided, the product keeps its rating. +- **Calibration** (the user's idea): the **gold set** is products whose rating staff settled (decided by + `review:decide`, or by a moderator). A new reviewer's first **10** products are gold, unknowingly, and their votes + count only once they pass; after that about **1 in 10** is gold. Getting gold wrong too often (accuracy under + **80%** over their last 20 gold) ends their reviewing, quietly (**Decided**: they aren't told, so it's harder to + game), and their votes stop counting; products they helped decide are reviewed again. Accuracy is per person, + shown to whoever has `review:manage`. +- **Rewards**: something people want but can't farm: a reviewer badge (T5 people badges, `t5de-people-badges`), a + count on their profile, a monthly thanks list. Gold products keep farming from paying. + +### Wrong ratings + +- Anyone signed in can report a product for a **wrong rating** (a report reason, under the usual report limits). + It puts the product back in review, ahead of the queue; three such reports from different people while it's + decided as general also open a `rating-review` case. +- Moderators override any rating at any time, whatever reviewers decided: raising with `product:edit`, lowering with + `product:rate-lower`, as today, and they can lock it (`product:lock`) so reviews and reports leave it alone. An + override closes the product's open review; it joins the gold set if they choose. + +### Permissions + +A new resource, `review`, added to `console.md`'s list when built: + +| Permission | Lets them | +| --- | --- | +| `review:decide` | decide a product's rating alone in review (their vote settles it); their decisions can join the gold set | +| `review:manage` | the gold set; reviewers' accuracy and counts; end or restore anyone's reviewing; the review settings (counts, thresholds) | + +- Reviewing itself needs no permission: anyone eligible can opt in. +- **Moderator** gets `review:*`. A new built-in role, **Rating reviewer** (hub scope, given by admins), has + `review:decide` only: trusted people who clear the queue at the start, without moderators' other powers. +- Every decision, override and change to someone's reviewing is audited (`review.*`). + +## Opening it from the website + +A browser can't use `imvu:PeerReview?pid=` directly: + +- **The pid is a local ID.** The client knows T5 products by numbers the proxy hands out on each machine (from + 2,000,000,000, per product revision, in `%APPDATA%\T5DE\proxy\products.json`); the hub knows only its own + product IDs. The same product has different numbers on different machines. +- **`imvu:` links open IMVU's own client.** IMVU's installer registers `imvu:` (`HKCU\Software\Classes\imvu`, its + `IMVUQualityAgent.exe`); T5DE's setup doesn't take it over, and shouldn't. + +So T5DE gets its own link: the setup registers `t5de:` (HKCU, the install's `t5de-setup.exe`), which hands the link +to the running T5DE client (as `drive.py url` does, WM_COPYDATA) or starts it. A patch handles +`t5de:review?product=`: it asks the proxy for that hub product's local ID (the proxy assigns one, as for library +products, and answers its authorization with `usablePeerReview` for that person while the hub has it out to them) +and opens the review window. The same link scheme can serve "Open in T5DE" elsewhere on the website (a product's +page, a hosted room).