From f507b0eaed8fbced4527509cf949d72f68e10148 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 03:51:25 +0000 Subject: [PATCH 1/7] Night 1: module boundaries (docs/night/BOUNDARIES.md) (#11) Records path ownership, test prefixes, shared hook points and off-limits consensus files. Co-Authored-By: Claude Opus 5.5 --- docs/night/BOUNDARIES.md | 53 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 docs/night/BOUNDARIES.md diff --git a/docs/night/BOUNDARIES.md b/docs/night/BOUNDARIES.md new file mode 100644 index 0000000..98cb43a --- /dev/null +++ b/docs/night/BOUNDARIES.md @@ -0,0 +1,53 @@ +# Night 1: module boundaries + +Owner: `night-lead`. This file is the rule when two PRs touch the same path. If you need to edit a path you don't own, comment on the owner's issue (`[from ]`) or keep your change to the "shared hook" listed below. + +## Who owns what + +| Path | Owner | Issue | +|---|---|---| +| `docs/game/DESIGN.md` | council (designer-a, designer-b, critic) | #1 | +| `docs/game/CARD_DATA.md`, `docs/game/card-sample.json` | council-data | #2 | +| `shared/game/` (types, RNG, state machine, rules, keywords, `Ruleset`, `starterDeck`) | engine-a (core, API), engine-b (keywords, effects) | #3 | +| `docs/game/ENGINE_API.md` | engine-a | #3 | +| `shared/game/modes.ts` | modes | #6 | +| `server/game*` (e.g. `server/game/`, `server/game-*.ts`) | modes | #6 | +| `docs/game/HOSTING.md` | modes | #6 | +| `src/game/` (screens, lobby, deck builder, match, tutorial) | ui-a | #5 | +| `src/game/ai/` (browser bots, easy and normal) | ui-b | #5 | +| beta-fix files outside `src/game/` (landing page, `Card.tsx`, etc.) | ui-b, one PR per upstream issue | #5 | +| `shared/bots/`, `scripts/sim/` (bots and the simulation runner) | sim-balance | #4 | +| `docs/game/BALANCE.md` | sim-balance | #4 | +| `compose.testnet.yaml` overrides, `deploy/night/` (testnet config, per-node mode files) | sim-testnet | #4 | +| `server/account*` (e.g. `server/account/`), `src/auth/` | sso | #7 | +| `android/`, `capacitor.config.ts` | mobile-android | #8 | +| `ios/`, `docs/night/IOS.md` | mobile-ios, macos-fetch | #9 | +| `docs/night/` (except `IOS.md`), this file, `REPORT.md` | night-lead | #10 | + +## Tests + +`scripts/run-tests.mjs` only picks up **top-level** `tests/*.test.ts`. Name your files with your team as a prefix so they never collide: +`tests/game-*.test.ts` (engine), `tests/modes-*.test.ts`, `tests/ui-*.test.ts`, `tests/bots-*.test.ts`, `tests/account-*.test.ts`. + +## Shared hooks (the only places two teams touch the same file) + +1. **`server/testnet/http.ts`**: modes and sso each export an Express `Router` from their own files and add **exactly one** `app.use(...)` mount line just **above** the `/api` 404 handler (`app.use(['/api','/p2p'],(_req,res)=>{res.status(404)...`). Nothing else in this file. If SSO needs a CSP change (`connect-src` for `https://dex.eom.dev`), keep it to the `helmet` directive and say so in the PR. +2. **`src/App.tsx`**: ui-a owns it. Others get one import and one element each (sso: a login button or provider; mobile: hide the mining controls behind a `isNativeApp()` check from `src/game/` or `src/auth/`, never by deleting code). +3. **`package.json` and `package-lock.json`**: additive changes only (new dependencies or scripts). Don't reformat or bump existing versions. Lockfile conflicts are resolved by night-lead regenerating the lockfile. +4. **`shared/enrichment.ts`**: read-only for everyone tonight. Map card data into game stats inside `shared/game/`. + +## Off limits (consensus and protocol; PRs touching these are rejected) + +`server/chain.ts`, `shared/protocol.ts`, `shared/trade-offer.ts`, `shared/chain-identity.ts`, `shared/network.ts`, `server/testnet/consensus.ts`, `server/testnet/ledger.ts`, `server/testnet/canonical-index.ts`, `server/testnet/randomx.ts`, `server/testnet/miner.ts`, `server/testnet/peers.ts`, `native/`. + +If you think you need a change there, write it up in your issue instead. + +## Dependency direction + +`shared/game/` imports nothing from `server/` or `src/` and does no I/O. `shared/game/modes.ts`, `shared/bots/`, `server/game*`, `src/game/` import from `shared/game/` through the API in `ENGINE_API.md`, not from its internals. + +## Merging + +- Branch `night//`, PR into `night/2026-11-16`, squash-merged by night-lead after night-review approves and `npm test` and `npm run build` pass. +- Small PRs merge faster. Rebase on the integration branch before asking for review if it moved under you. +- After 01:10 (code freeze), only fixes merge. From 7390a17a91f2c5c1193911b34381848296a66834 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 03:52:06 +0000 Subject: [PATCH 2/7] Night 1: DESIGN.md v1 draft, Edit War lanes game (#12) Draft of the game rules (sections 0-9); keywords, modes and worked example to follow before the 23:30 freeze. Co-Authored-By: Claude Opus 5.5 --- docs/game/DESIGN.md | 279 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 docs/game/DESIGN.md diff --git a/docs/game/DESIGN.md b/docs/game/DESIGN.md new file mode 100644 index 0000000..96ddf9d --- /dev/null +++ b/docs/game/DESIGN.md @@ -0,0 +1,279 @@ +# WikiDeck: Edit War — game design v1 (draft) + +**Status:** v1 DRAFT, freeze target 23:30 EST 2026-11-16. +**Owners:** council-designer-a owns sections 0–9 (research, card derivation, rules). council-designer-b +owns sections 10–12 (keywords, peer-hosted modes, worked example). council-critic reviews. +Every number in **`code font`** is a rules-config key (see §9). Modes can override any of them. + +A two-player lane game for 3–6 minute matches. Each player has a 12-card deck and there are 3 +**Topics** (lanes). There are 6 turns, both players play at the same time, and energy ramps from 1 to 6. +Win 2 of the 3 Topics. Each Topic is judged on one Wikipedia stat (**Attention**, **Depth** or +**Reach**), and a card is stronger in a Topic that matches its best stat. Fame (how high a card's +stats are overall) sets its **cost**, not its efficiency, so famous cards are sidegrades. They are +not upgrades. + +--- + +## 0. Research summary (what we took, what we left) + +| Game | Why it's fun | Taken | Left | +|---|---|---|---| +| Marvel Snap | 3-minute matches; simultaneous turns; 3 lanes, so the decision is *where*, not just *what*; lanes revealed over time | lanes, 6 turns, ramp 1→6, simultaneous reveal, staggered lane reveal, small deck | cube betting ("snap") is left to modes; it needs ranked stakes | +| Hearthstone | mana curve; readable cards; tempo | energy = turn number, curve-shaped costs | 30-card decks and 15-minute matches; hero powers | +| Magic: The Gathering | factions (colours) with distinct identities; deckbuilding depth | 6 factions with their own keyword flavour | land screw (resource variance); the stack; long text | +| Balatro | huge "moment" when a combo goes off; simple base rules plus modifiers | lane modifiers (Portals) as the run-to-run variety | single-player scoring | +| Slay the Spire | readable intents; every card is a choice | open information about lane state and power | roguelike runs (could be a mode) | +| Gwent | rows; best 2 of 3; passing and bluffing | best 2 of 3 Topics; hidden commitments | multi-round card advantage (too long) | +| Pokémon TCG | type advantage | on-topic bonus (card stat matches lane stat) | energy attachment; coin flips | +| Top Trumps | instantly understood: "my number beats yours" | lanes judged on one stat | picking the stat is solved play (always pick your best) | +| Dominion | deck building as play | — (too long for 3–6 min) | — | + +The core loop is a lanes game in the style of Snap. The Top Trumps twist is that each lane asks for +one Wikipedia stat. That makes every stat matter and gives each turn its main decision: play the card +on-topic for the bonus, or put it where the fight is. + +--- + +## 1. Card derivation (card data → game card) + +The engine never reads raw 0–100 stats as power. Every game card is derived **deterministically** from a +`CardInput` that the match host freezes at match start: + +``` +CardInput = { cardId, pageId, title, category, rarity, + snapshot: MintStatsSnapshot, // at mint, immutable + live: { trendPercent: number | null } } // frozen at match start +``` + +### 1.1 Percentiles (rank-normalisation) +For each stat `s` in {attention, depth, reach}, `pct_s` = the percentile (0–100, integer) of the card's +snapshot score in the reference table `percentiles.`. That table holds 99 ascending cut points from +council-data's `docs/game/card-sample.json`. +`pct_s` = the number of cut points strictly below the score, plus half the number equal to it, rounded +down. A `null` attention gives `pct_attention = null`. + +### 1.2 Fame → Cost +`fame` = the integer mean (rounded half up) of the non-null percentiles. +`cost` = 1 + the number of thresholds in `costThresholds` (5 ascending values, default +`[15, 35, 55, 75, 90]`) that are ≤ `fame`. So cost runs 1–6. +The defaults aim at a pool cost spread of about 15/20/20/20/15/10 %. They are retuned from the +sample's fame distribution. + +### 1.3 Power +`power` = `powerByCost[cost]`, default `[_, 1, 2, 4, 5, 7, 9]` (cost 1 → 1 … cost 6 → 9). +Power depends **only on cost**. Two cards of the same cost have the same base power, whatever their +fame. Inflating stats (forged snapshots, template shopping) only moves a card up the curve. It never +makes a card more efficient. + +### 1.4 Home stat +`home` = the stat with the highest `pct_s`. Ties are broken in this order: depth, reach, attention. +Depth and reach are the hardest to inflate. A `null` stat can never be home. +When a card is in a Topic whose stat equals its `home`, it gets **+`onTopicBonus`** power (default +**+2**). + +### 1.5 Faction +`faction` = the card's `category` (Space, Nature, People, Science, History, Culture), from +`server/wiki.ts`. Culture is about half the pool, so faction keywords are written so that a +mono-faction deck gains no consistency edge (see §10, and `factionSynergyCap` in §9). + +### 1.6 Trend (live, small, capped) +`trend` = +1 if `live.trendPercent ≥ trendUp` (default 25), −1 if `≤ trendDown` (default −25), +otherwise 0. A `null` value gives 0. The host computes it **once at match start**, and it is frozen for +the match. It shows as an arrow (▲/▼), not a number. It adds to power in every Topic. + +### 1.7 Rarity +The hash-derived `rarity` (`shared/protocol.ts:38`) is **cosmetic in v1** (frame colour). Mining luck +must not become power. + +### 1.8 Keyword +Each card has at most **one** keyword, chosen deterministically from faction, home stat and rarity by +the table in §10 (owned by designer B). + +### 1.9 Card face (phone) +The card face shows **cost** (top-left), **power** (big, centre), a **home-stat icon** +(📣 attention / 📚 depth / 🌐 reach), an optional trend arrow, and one keyword word. That is two +numbers, plus the live lane power when the card is on the board. + +### 1.10 Plausibility (anti-forgery, off-chain) +When `verifyStats` is true (the default for hosted matches), the match host checks each owned card's +snapshot before the match: +`pageBytes` against that revision's byte size, `languageCount` ≤ the live count + 5, and views for the +snapshot month within ±10 % of the pageviews API. +A card that fails is played **as if its snapshot were its live values**, and the match log marks it. +The engine itself does no I/O: it receives already-checked `CardInput`s. + +--- + +## 2. Decks + +- **Deck size:** exactly `deckSize` cards (default **12**). +- **Copies:** at most `maxCopiesPerPage` cards with the same `pageId` (default **2**). Each copy keeps + its own snapshot, so the two copies may differ in cost. +- **Owned cards:** any card the player's wallet owns at match start. Ownership is read off-chain. The + match never moves, locks or burns a card. +- **Loaner cards:** off-chain preview cards with a fixed `CardInput`, shipped with the game data + (`docs/game/starter-cards.json`, picked by council-data: about 24 pageIds across all 6 categories, + with frozen, hand-checked snapshot stats, including the 4 cards in `shared/catalog.ts`). + Loaners follow the same derivation, so they are no weaker or stronger than owned cards. +- **Starter decks:** `starterDecks` (default: 4 fixed 12-card loaner decks). Each one has two leading + factions and an average cost of 3.0–3.3. A new player picks one and can play at once. +- **Mixed decks:** an owned deck may fill any slots with loaners, up to `maxLoaners` (default 12, which + means no limit). Owning NFTs gives **variety**, not power: owned and loaner cards follow the same + curve. + +--- + +## 3. Board + +- 3 **Topics** (lanes), numbered 1–3 from left to right (top to bottom in portrait). +- Each Topic has a **stat** (attention, depth or reach) and an optional **Portal** modifier (§10.3). +- Each player has at most `laneCapacity` cards per Topic (default **4**). +- **Topic draw:** at match start, `topicCount` (3) Topics are drawn without replacement from + `topicPool`. The default pool has 9 Topics: each stat 3 times, one plain and two with Portals. + If `distinctStats` is true (the default), the draw is redone until the 3 Topics have 3 different + stats. In practice the engine draws one Topic per stat and then shuffles the lane order. +- **Staggered reveal:** Topic *i* is face-down until the start of turn *i* (`revealSchedule`, default + `[1, 2, 3]`). Cards can be played into a face-down Topic: that is the risky, on-topic gamble. + +--- + +## 4. Match setup (deterministic) + +1. The input is `{ seed: uint32, rules, players: [p0, p1] }`, and each player's input is + `{ id, deck: CardInput[12] }`. Seat order is input order. +2. RNG: **mulberry32(seed)**. Every random choice draws `next()` in this fixed order: + 1. shuffle p0's deck (Fisher–Yates, i from n−1 down to 1, j = floor(next() × (i+1))) + 2. shuffle p1's deck the same way + 3. draw and shuffle the Topics + 4. the initiative coin: p0 has initiative on turn 1 if next() < 0.5, otherwise p1 + 5. later random events (keywords only), in resolution order +3. Each player draws `openingHand` cards (default **3**). There are no mulligans in v1 + (`mulligan: false`). + +--- + +## 5. Turn structure + +The match lasts `turns` turns (default **6**, hard cap). Each turn has these phases: + +1. **Start** + - Reveal Topic *t* if it is scheduled (resolve its Portal "on reveal"). + - Each player gets `energy = t + bonusEnergy` (energy does not carry over). + - Each player draws 1 card if their deck isn't empty and their hand holds fewer than `handLimit` + (default **7**) cards. Otherwise they don't draw. +2. **Underdog check** (comeback; `underdog: true`, from turn 2). A player who leads in 0 Topics while + the opponent leads in ≥ 2 gets **+1 energy** this turn. +3. **Plan** (simultaneous, hidden) + - Each player queues an ordered list of plays `(handIndex, topic)`. + - Total cost must be ≤ their energy, and each Topic needs room on that player's side. + - Plays can be undone freely until **Commit**. Passing is an empty commit. + - The turn timer is `turnSeconds` (default **25**). On timeout, whatever is queued is committed. +4. **Reveal** + - The player with **initiative** reveals all their queued cards in queue order, then the other + player reveals theirs. + - Each card enters its Topic and its "on reveal" effect resolves at once. + - A queued play that is no longer legal at reveal (the lane is full or the card was removed) goes + back to hand and its energy is lost. +5. **End** + - Recompute all Topic powers (§6). + - End-of-turn effects resolve, the initiative player's first. + - Set initiative for the next turn: the player who leads in more Topics. If they lead in the same + number, the player who did *not* have initiative this turn. So reveal order alternates when the + game is even, and the leader reveals first (and gives away information) when it isn't. + +A typical turn is: look at the lanes, tap a card, tap a Topic (×1–3), tap Commit. That is under 10 +seconds, done with one thumb, with no dragging. + +--- + +## 6. Power and Topic control + +- A card's **lane power** = `power` + (`onTopicBonus` if its home stat is the Topic's stat) + `trend` + + keyword and Portal modifiers. It is never below 0. +- A player's **Topic power** = the sum of their cards' lane power in that Topic. +- A player **leads** a Topic if their Topic power is strictly greater than the opponent's. 0–0 and + other ties have no leader. +- Face-down Topics have no stat yet, so on-topic bonuses there count as 0 until the Topic is revealed. + +--- + +## 7. Win conditions and tie-breaks + +At the end of the last turn: +1. The player who leads **more Topics** wins (2–1, 2–0, 1–0 and 3–0 all count). +2. If they lead the same number of Topics: the higher **total power across all Topics** wins. +3. If that is also equal: the match is a **draw**. + +**Concede:** a player can concede at any time, and the opponent wins at once. A player who misses +`afkTurns` timeouts in a row (default **2**) with nothing queued concedes. + +--- + +## 8. Degenerate lines and why they fail (for the critic) + +| Line | Why it isn't dominant | +|---|---| +| All-famous (all max-stat) deck | It becomes an all-cost-5/6 deck: nothing to play on turns 1–4, so it gives up 2 Topics early. Power per energy is flat across the curve (`powerByCost` is tuned for this in sim). | +| All one faction | Faction synergies are capped (`factionSynergyCap`), and Culture is the largest pool but has the weakest synergy keywords (§10). | +| "Always play the highest-power card" | It ignores on-topic +2 (about 40% of a cheap card's power), lane capacity, and the face-down lanes. Target: < 55% against the sim's smart bot. | +| Stall or pass | Passing leaves lanes to any 1-power card. Two passing players draw. | +| Mirror the AI | Hidden simultaneous commits: you only see the opponent's cards after you commit. | +| Seat or initiative | Turns are simultaneous. Initiative alternates when the game is even and goes to the leader otherwise. Target: each seat wins 48–52%. | +| Forged or shopped stats | They only raise cost (§1.3), the host check falls back to live stats (§1.10), and trend is capped at ±1. | +| Inflated live pageviews | Worth at most +1, and frozen at match start. | +| Swinginess | No effect may change a lane by more than 6 power or move cards between lanes in v1 (a keyword-design rule for §10). | + +--- + +## 9. Rules config (all defaults) + +The engine takes a `RulesConfig` object. Peer-hosted modes override it (§11). Defaults: + +```json +{ + "version": "1.0", + "deckSize": 12, "maxCopiesPerPage": 2, "maxLoaners": 12, + "openingHand": 3, "handLimit": 7, "mulligan": false, + "turns": 6, "turnSeconds": 25, "afkTurns": 2, + "energyByTurn": [1, 2, 3, 4, 5, 6], "bonusEnergy": 0, "underdog": true, + "topicCount": 3, "distinctStats": true, "revealSchedule": [1, 2, 3], "laneCapacity": 4, + "topicPool": "default", + "costThresholds": [15, 35, 55, 75, 90], + "powerByCost": [0, 1, 2, 4, 5, 7, 9], + "onTopicBonus": 2, + "trendUp": 25, "trendDown": -25, + "factionSynergyCap": 3, + "verifyStats": true, + "percentiles": "card-sample-2026-11-16", + "starterDecks": "default" +} +``` + +(`energyByTurn[t-1]` replaces "energy = t" in §5 so that modes can change the ramp.) + +**What modes may vary:** every key above, plus `topicPool` contents and the starter-deck lists. +**Fixed for all modes:** matches are off-chain and never move or burn NFTs; the RNG and its draw order +(§4); the shape of the derivation (§1: percentile → fame → cost → power); at most one keyword per card; +the phases of a turn (§5). +A mode must keep `turns × turnSeconds ≤ 240` so that matches stay within 3–6 minutes. + +--- + +## 10. Keywords *(owner: council-designer-b)* + +*To be written by council-designer-b. Constraints from the rules above:* +- one keyword per card, one word, no more than one short line of reminder text +- triggers are limited to: on reveal, ongoing, end of turn +- keywords change power only (no stealing, moving cards between lanes or removing cards in v1) +- no single effect may swing a lane by more than 6 +- each faction gets a keyword pool; Culture's has the lowest synergy ceiling +- §10.3 Portals: the Topic modifiers in `topicPool` + +## 11. Peer-hosted modes *(owner: council-designer-b)* + +*To be written by council-designer-b. A mode is a named `RulesConfig` override, plus a Topic pool and +optional starter decks.* + +## 12. Worked example match *(owner: council-designer-b)* + +*To be written by council-designer-b.* From 53d30e5cae465483b911c5ebb7aba4c6170a8e26 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 04:01:22 +0000 Subject: [PATCH 3/7] Night 1: DESIGN.md v1 frozen, Edit War with keywords, modes and golden example (#13) Review fixes from #12, critic's M1-M4/S1-S5, sections 10-12 (keywords, modes, worked example), engine pins and scoring order. Co-Authored-By: Claude Opus 5.5 --- docs/game/DESIGN.md | 367 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 305 insertions(+), 62 deletions(-) diff --git a/docs/game/DESIGN.md b/docs/game/DESIGN.md index 96ddf9d..64104bc 100644 --- a/docs/game/DESIGN.md +++ b/docs/game/DESIGN.md @@ -6,7 +6,8 @@ owns sections 10–12 (keywords, peer-hosted modes, worked example). council-cri Every number in **`code font`** is a rules-config key (see §9). Modes can override any of them. A two-player lane game for 3–6 minute matches. Each player has a 12-card deck and there are 3 -**Topics** (lanes). There are 6 turns, both players play at the same time, and energy ramps from 1 to 6. +**Topics** (lanes) with 3 slots per side. There are 6 turns, both players plan at the same time, and +energy ramps from 1 to 6, with 1 unspent energy carried over. Reveals interleave one card at a time. Win 2 of the 3 Topics. Each Topic is judged on one Wikipedia stat (**Attention**, **Depth** or **Reach**), and a card is stronger in a Topic that matches its best stat. Fame (how high a card's stats are overall) sets its **cost**, not its efficiency, so famous cards are sidegrades. They are @@ -18,7 +19,7 @@ not upgrades. | Game | Why it's fun | Taken | Left | |---|---|---|---| -| Marvel Snap | 3-minute matches; simultaneous turns; 3 lanes, so the decision is *where*, not just *what*; lanes revealed over time | lanes, 6 turns, ramp 1→6, simultaneous reveal, staggered lane reveal, small deck | cube betting ("snap") is left to modes; it needs ranked stakes | +| Marvel Snap | 3-minute matches; simultaneous turns; 3 lanes, so the decision is *where*, not just *what* | lanes, about 6 turns, simultaneous planning, small deck | stakes betting (modes only); we deliberately diverge in lane size (3), energy carry-over, interleaved alternating reveals, stats visible from turn 1 with hidden Portals, and on-topic tie-breaks | | Hearthstone | mana curve; readable cards; tempo | energy = turn number, curve-shaped costs | 30-card decks and 15-minute matches; hero powers | | Magic: The Gathering | factions (colours) with distinct identities; deckbuilding depth | 6 factions with their own keyword flavour | land screw (resource variance); the stack; long text | | Balatro | huge "moment" when a combo goes off; simple base rules plus modifiers | lane modifiers (Portals) as the run-to-run variety | single-player scoring | @@ -28,6 +29,14 @@ not upgrades. | Top Trumps | instantly understood: "my number beats yours" | lanes judged on one stat | picking the stat is solved play (always pick your best) | | Dominion | deck building as play | — (too long for 3–6 min) | — | +**What is ours, not borrowed:** +- (a) each Topic is judged on one Wikipedia stat (the Top Trumps twist) +- (b) cost comes from an article's fame instead of being printed +- (c) a trend arrow driven by live pageviews +- (d) a total-power and consensus tie-break instead of stakes betting +- smaller choices: 3 slots per lane, 1 carried-over energy, interleaved reveals, and stats visible + from turn 1 with hidden Portals + The core loop is a lanes game in the style of Snap. The Top Trumps twist is that each lane asks for one Wikipedia stat. That makes every stat matter and gives each turn its main decision: play the card on-topic for the bonus, or put it where the fight is. @@ -42,7 +51,8 @@ The engine never reads raw 0–100 stats as power. Every game card is derived ** ``` CardInput = { cardId, pageId, title, category, rarity, snapshot: MintStatsSnapshot, // at mint, immutable - live: { trendPercent: number | null } } // frozen at match start + live: { trendPercent: number | null, dailyAverage: number | null }, // frozen at match start + check: 'verified' | 'unverified' | 'unchecked' | 'loaner' } // set by the host (§1.10) ``` ### 1.1 Percentiles (rank-normalisation) @@ -60,7 +70,8 @@ The defaults aim at a pool cost spread of about 15/20/20/20/15/10 %. They are re sample's fame distribution. ### 1.3 Power -`power` = `powerByCost[cost]`, default `[_, 1, 2, 4, 5, 7, 9]` (cost 1 → 1 … cost 6 → 9). +`power` = `powerByCost[cost]`, default `[_, 1, 2, 4, 6, 8, 10]` (cost 1 → 1 … cost 6 → 10). The +critic's sim showed that heavy decks were too weak with `[…5,7,9]`. Power depends **only on cost**. Two cards of the same cost have the same base power, whatever their fame. Inflating stats (forged snapshots, template shopping) only moves a card up the curve. It never makes a card more efficient. @@ -68,8 +79,11 @@ makes a card more efficient. ### 1.4 Home stat `home` = the stat with the highest `pct_s`. Ties are broken in this order: depth, reach, attention. Depth and reach are the hardest to inflate. A `null` stat can never be home. -When a card is in a Topic whose stat equals its `home`, it gets **+`onTopicBonus`** power (default -**+2**). +When a card is in a Topic whose stat equals its `home`, it gets **+`onTopicBonus[cost]`** power +(default `[0, 1, 1, 2, 2, 3, 3]`, i.e. ⌈cost/2⌉). +On-topic efficiency is then about 2 power per energy at every cost (2.0 / 1.5 / 2.0 / 1.75 / 2.0 / 2.0). +Off-topic, cheap cards are weaker (1.0) than expensive ones (1.5). Cheap cards want their Topic, and +big cards are flexible. ### 1.5 Faction `faction` = the card's `category` (Space, Nature, People, Science, History, Culture), from @@ -78,19 +92,21 @@ mono-faction deck gains no consistency edge (see §10, and `factionSynergyCap` i ### 1.6 Trend (live, small, capped) `trend` = +1 if `live.trendPercent ≥ trendUp` (default 25), −1 if `≤ trendDown` (default −25), -otherwise 0. A `null` value gives 0. The host computes it **once at match start**, and it is frozen for +otherwise 0. A `null` value gives 0. Trend also needs `live.dailyAverage ≥ trendMinDaily` (default +**20**), because percentages on tiny articles are noise; otherwise trend is 0. The host computes it **once at match start**, and it is frozen for the match. It shows as an arrow (▲/▼), not a number. It adds to power in every Topic. ### 1.7 Rarity -The hash-derived `rarity` (`shared/protocol.ts:38`) is **cosmetic in v1** (frame colour). Mining luck -must not become power. +The hash-derived `rarity` (`shared/protocol.ts:38`) sets the frame colour, and **it chooses the +keyword source, not power** (§10.1: a Common gets its home-stat keyword, a Rare or better gets its +faction keyword). Mining luck must not become power. ### 1.8 Keyword Each card has at most **one** keyword, chosen deterministically from faction, home stat and rarity by the table in §10 (owned by designer B). ### 1.9 Card face (phone) -The card face shows **cost** (top-left), **power** (big, centre), a **home-stat icon** +The card face shows **cost** (top-left), **power** (big, centre; the bonus shows as a "+N" badge on the home icon when the card is on-topic), a **home-stat icon** (📣 attention / 📚 depth / 🌐 reach), an optional trend arrow, and one keyword word. That is two numbers, plus the live lane power when the card is on the board. @@ -99,16 +115,28 @@ When `verifyStats` is true (the default for hosted matches), the match host chec snapshot before the match: `pageBytes` against that revision's byte size, `languageCount` ≤ the live count + 5, and views for the snapshot month within ±10 % of the pageviews API. -A card that fails is played **as if its snapshot were its live values**, and the match log marks it. -The engine itself does no I/O: it receives already-checked `CardInput`s. +A card that fails is played with its live values. The **host replaces `snapshot`** with a snapshot +built from the live values (`deriveStats` on the live bytes, languages and views) **before** it builds +the `CardInput`. The match log marks the card `unverified`. +The engine does no I/O and only ever sees one version of each card. +- **Caching:** results are cached per `(pageId, revisionId, snapshotMonth)`. They are immutable, so a + cached pass or fail never expires. Live values for a failed card are cached for 24 h. +- **Card can't be verified** (the pageId or revision doesn't exist, or the title or category doesn't + match): the card is **rejected at deck validation**, and the player is asked to swap in a loaner. +- **API failure:** if Wikipedia can't be reached and nothing is cached, the card plays from its snapshot + with `check: 'unchecked'`. The engine then caps its cost at `uncheckedCostCap` (default **4**), and + power follows the capped cost. Matches are never blocked. +- The engine's only use of `check` is that cost cap. Loaner cards are `check: 'loaner'`. --- ## 2. Decks - **Deck size:** exactly `deckSize` cards (default **12**). -- **Copies:** at most `maxCopiesPerPage` cards with the same `pageId` (default **2**). Each copy keeps - its own snapshot, so the two copies may differ in cost. +- **Copies:** at most `maxCopiesPerPage` cards with the same `pageId` (default **2**). Owned and loaner + copies count **together**. Each copy keeps its own snapshot, so the two copies may differ in cost. +- **Deck validation** (engine): the size is right, the copy limit holds, every card's `check` is + valid, and there are no more loaners than `maxLoaners`. An invalid deck can't start a match. - **Owned cards:** any card the player's wallet owns at match start. Ownership is read off-chain. The match never moves, locks or burns a card. - **Loaner cards:** off-chain preview cards with a fixed `CardInput`, shipped with the game data @@ -116,7 +144,8 @@ The engine itself does no I/O: it receives already-checked `CardInput`s. with frozen, hand-checked snapshot stats, including the 4 cards in `shared/catalog.ts`). Loaners follow the same derivation, so they are no weaker or stronger than owned cards. - **Starter decks:** `starterDecks` (default: 4 fixed 12-card loaner decks). Each one has two leading - factions and an average cost of 3.0–3.3. A new player picks one and can play at once. + factions and an average cost of 3.0–3.3, and is **curve-shaped**: at least 3 cards of cost 4 or more, + and at most 4 of cost 1. A new player picks one and can play at once. - **Mixed decks:** an owned deck may fill any slots with loaners, up to `maxLoaners` (default 12, which means no limit). Owning NFTs gives **variety**, not power: owned and loaner cards follow the same curve. @@ -127,13 +156,23 @@ The engine itself does no I/O: it receives already-checked `CardInput`s. - 3 **Topics** (lanes), numbered 1–3 from left to right (top to bottom in portrait). - Each Topic has a **stat** (attention, depth or reach) and an optional **Portal** modifier (§10.3). -- Each player has at most `laneCapacity` cards per Topic (default **4**). -- **Topic draw:** at match start, `topicCount` (3) Topics are drawn without replacement from - `topicPool`. The default pool has 9 Topics: each stat 3 times, one plain and two with Portals. - If `distinctStats` is true (the default), the draw is redone until the 3 Topics have 3 different - stats. In practice the engine draws one Topic per stat and then shuffles the lane order. -- **Staggered reveal:** Topic *i* is face-down until the start of turn *i* (`revealSchedule`, default - `[1, 2, 3]`). Cards can be played into a face-down Topic: that is the risky, on-topic gamble. + Topics have **no faction**. Faction matters only through keywords such as Rally, which count cards, + never Topics. +- Each player has at most `laneCapacity` cards per Topic (default **3**). That gives 9 slots per side, + which caps cheap-card flooding and fits 3 cards across a 360 px phone. +- **Topic pool:** `topicPool` is a list of Topics, each `{ id, name, stat, portal | null }`. The default + pool has 9 Topics: 3 per stat, one plain and two with Portals. `pool_s` is the sub-list with stat + `s`, in file order. +- **Topic draw (exact):** + - If `distinctStats` is true (the default): for each stat in the fixed order + `[attention, depth, reach]`, pick `pool_s[floor(next() × len(pool_s))]`. That uses 3 `next()` + calls. Then Fisher–Yates the 3 picks into lanes 1–3 (i = 2, 1; j = floor(next() × (i+1))), which + uses 2 calls. + - If `distinctStats` is false: Fisher–Yates the whole pool (i from n−1 down to 1) and take the first + `topicCount` entries as lanes 1–3. +- **Stats visible, Portals hidden:** every Topic's **stat** is face-up from turn 1. Its **Portal** + modifier is face-down until the start of turn `portalReveal[i]` (default `[2, 3, 4]`). You always + know where your card is on-topic, but not what twist a lane will get. --- @@ -145,10 +184,15 @@ The engine itself does no I/O: it receives already-checked `CardInput`s. 1. shuffle p0's deck (Fisher–Yates, i from n−1 down to 1, j = floor(next() × (i+1))) 2. shuffle p1's deck the same way 3. draw and shuffle the Topics - 4. the initiative coin: p0 has initiative on turn 1 if next() < 0.5, otherwise p1 + 4. the initiative coin: p0 has initiative on odd turns if next() < 0.5, otherwise p1 5. later random events (keywords only), in resolution order 3. Each player draws `openingHand` cards (default **3**). There are no mulligans in v1 (`mulligan: false`). +4. **Seed fairness (hosted PvP):** commit–reveal. Each party *i* (host, p0, p1) sends + `sha256(r_i)` for a random 32-byte `r_i`, then reveals `r_i` once all commits are in. + `seed` = the first 4 bytes (big-endian uint32) of `sha256(r_host ‖ r_p0 ‖ r_p1)`. + The host still relays the hidden plans, so hosted PvP trusts the host not to leak them. + Local and bot matches use any seed. --- @@ -157,29 +201,37 @@ The engine itself does no I/O: it receives already-checked `CardInput`s. The match lasts `turns` turns (default **6**, hard cap). Each turn has these phases: 1. **Start** - - Reveal Topic *t* if it is scheduled (resolve its Portal "on reveal"). - - Each player gets `energy = t + bonusEnergy` (energy does not carry over). + - Reveal any Portal scheduled for turn *t* (resolve its "on reveal"). + - Each player's energy = `energyByTurn[t-1]` + carry + `bonusEnergy`. Carry is + min(`energyCarryMax`, unspent energy from last turn), default max **1**. Saving one energy on + turn 2 makes a turn-3 four-drop possible: a real tempo choice. - Each player draws 1 card if their deck isn't empty and their hand holds fewer than `handLimit` - (default **7**) cards. Otherwise they don't draw. -2. **Underdog check** (comeback; `underdog: true`, from turn 2). A player who leads in 0 Topics while - the opponent leads in ≥ 2 gets **+1 energy** this turn. + (default **7**) cards. Otherwise they don't draw. This includes turn 1, so the turn-1 hand is + 3 + 1 = 4 cards. + - Order within Start: Portal reveal, then energy, then draw. The Underdog check (step 2) comes after + all three. +2. **Underdog check** (mode option, `underdog: false` by default, because it can be sandbagged). When + it's on, from turn 2, a player who leads in 0 Topics while the opponent leads in ≥ 2 gets + **+1 energy** this turn. 3. **Plan** (simultaneous, hidden) - Each player queues an ordered list of plays `(handIndex, topic)`. - Total cost must be ≤ their energy, and each Topic needs room on that player's side. - Plays can be undone freely until **Commit**. Passing is an empty commit. - The turn timer is `turnSeconds` (default **25**). On timeout, whatever is queued is committed. -4. **Reveal** - - The player with **initiative** reveals all their queued cards in queue order, then the other - player reveals theirs. +4. **Reveal (interleaved)** + - Plays reveal **one at a time, alternating**: the initiative player's 1st, the other player's + 1st, the initiative player's 2nd, and so on. When one player runs out, the rest of the other's + reveal in order. - Each card enters its Topic and its "on reveal" effect resolves at once. - - A queued play that is no longer legal at reveal (the lane is full or the card was removed) goes - back to hand and its energy is lost. + - So the order in which you queue cards matters: lead with the card you want resolved first. + - Energy is reserved when a card is queued. A queued play that is no longer legal at reveal (the + lane is full, or a Portal rejects it) **fizzles**: the card stays in hand and its energy is lost. 5. **End** - Recompute all Topic powers (§6). - End-of-turn effects resolve, the initiative player's first. - - Set initiative for the next turn: the player who leads in more Topics. If they lead in the same - number, the player who did *not* have initiative this turn. So reveal order alternates when the - game is even, and the leader reveals first (and gives away information) when it isn't. + - Initiative strictly **alternates** each turn (set by the coin in §4). + - Plans are locked before anything reveals, so initiative gives away no information. It only + decides the order of on-reveal effects. §10 includes keywords where that order matters. A typical turn is: look at the lanes, tap a card, tap a Topic (×1–3), tap Commit. That is under 10 seconds, done with one thumb, with no dragging. @@ -188,18 +240,19 @@ seconds, done with one thumb, with no dragging. ## 6. Power and Topic control -- A card's **lane power** = `power` + (`onTopicBonus` if its home stat is the Topic's stat) + `trend` +- A card's **lane power** = `power` + (`onTopicBonus[cost]` if its home stat is the Topic's stat) + `trend` + keyword and Portal modifiers. It is never below 0. - A player's **Topic power** = the sum of their cards' lane power in that Topic. -- A player **leads** a Topic if their Topic power is strictly greater than the opponent's. 0–0 and - other ties have no leader. -- Face-down Topics have no stat yet, so on-topic bonuses there count as 0 until the Topic is revealed. +- A player **leads** a Topic if their Topic power is strictly greater than the opponent's. +- **Consensus tie-break:** if the powers are equal and > 0, the player with more **on-topic** cards + there leads. If that is also equal, nobody leads. 0–0 has no leader. --- ## 7. Win conditions and tie-breaks -At the end of the last turn: +**Scoring** happens after the last turn's End phase (§5.5): every end-of-turn effect, including +the last turn's, and every "at scoring" Portal resolves **before** Topics are judged. Then: 1. The player who leads **more Topics** wins (2–1, 2–0, 1–0 and 3–0 all count). 2. If they lead the same number of Topics: the higher **total power across all Topics** wins. 3. If that is also equal: the match is a **draw**. @@ -213,14 +266,15 @@ At the end of the last turn: | Line | Why it isn't dominant | |---|---| -| All-famous (all max-stat) deck | It becomes an all-cost-5/6 deck: nothing to play on turns 1–4, so it gives up 2 Topics early. Power per energy is flat across the curve (`powerByCost` is tuned for this in sim). | +| All-famous (all max-stat) deck | It becomes an all-cost-5/6 deck with dead early turns. Cheap cards are more efficient **per energy**, expensive cards **per card**. Only 9 cards are seen per match (3 + 6 draws), so both matter. The 1-energy carry-over lets a heavy deck bank energy for a turn-5 six-drop. **sim-balance target: heavy vs curve ≥ 40%.** | +| All-cheap flood (cost 1–2) | Weak by design: only 9 slots and 9 cards seen. Critic's sim under these rules: swarm vs curve about 7–11%. Its home is Culture's wide-turn keyword (§10). | | All one faction | Faction synergies are capped (`factionSynergyCap`), and Culture is the largest pool but has the weakest synergy keywords (§10). | -| "Always play the highest-power card" | It ignores on-topic +2 (about 40% of a cheap card's power), lane capacity, and the face-down lanes. Target: < 55% against the sim's smart bot. | +| "Always play the highest-power card" | It ignores the on-topic bonus, lane capacity and the hidden Portals. Critic's sim: 18–21% against a smart bot (target < 55%). | | Stall or pass | Passing leaves lanes to any 1-power card. Two passing players draw. | | Mirror the AI | Hidden simultaneous commits: you only see the opponent's cards after you commit. | -| Seat or initiative | Turns are simultaneous. Initiative alternates when the game is even and goes to the leader otherwise. Target: each seat wins 48–52%. | +| Seat or initiative | Planning is simultaneous and initiative strictly alternates (each seat has it for 3 of the 6 turns). Target: each seat wins 48–52%. | | Forged or shopped stats | They only raise cost (§1.3), the host check falls back to live stats (§1.10), and trend is capped at ±1. | -| Inflated live pageviews | Worth at most +1, and frozen at match start. | +| Inflated live pageviews | Worth at most +1, frozen at match start, and only counts for articles with ≥ 20 views a day. | | Swinginess | No effect may change a lane by more than 6 power or move cards between lanes in v1 (a keyword-design rule for §10). | --- @@ -235,13 +289,16 @@ The engine takes a `RulesConfig` object. Peer-hosted modes override it (§11). D "deckSize": 12, "maxCopiesPerPage": 2, "maxLoaners": 12, "openingHand": 3, "handLimit": 7, "mulligan": false, "turns": 6, "turnSeconds": 25, "afkTurns": 2, - "energyByTurn": [1, 2, 3, 4, 5, 6], "bonusEnergy": 0, "underdog": true, - "topicCount": 3, "distinctStats": true, "revealSchedule": [1, 2, 3], "laneCapacity": 4, - "topicPool": "default", + "energyByTurn": [1, 2, 3, 4, 5, 6], "energyCarryMax": 1, "bonusEnergy": 0, "underdog": false, + "topicCount": 3, "distinctStats": true, "portalReveal": [2, 3, 4], "laneCapacity": 3, + "topicPool": [ /* inline Topic objects {id, name, stat, portal}; default = the 9 in §10.3 */ ], + "keywordParams": { /* per-keyword numbers, keyed by keyword id (§10) */ }, + "portalParams": { /* per-Portal numbers, keyed by Topic id (§10.3) */ }, "costThresholds": [15, 35, 55, 75, 90], - "powerByCost": [0, 1, 2, 4, 5, 7, 9], - "onTopicBonus": 2, - "trendUp": 25, "trendDown": -25, + "powerByCost": [0, 1, 2, 4, 6, 8, 10], + "onTopicBonus": [0, 1, 1, 2, 2, 3, 3], "vanillaBonus": 1, + "keywordsEnabled": ["Buzz","Anchor","Echo","Orbit","Grow","Rally","Research","Legacy","Remix"], "ownedCards": true, + "trendUp": 25, "trendDown": -25, "trendMinDaily": 20, "uncheckedCostCap": 4, "factionSynergyCap": 3, "verifyStats": true, "percentiles": "card-sample-2026-11-16", @@ -249,7 +306,6 @@ The engine takes a `RulesConfig` object. Peer-hosted modes override it (§11). D } ``` -(`energyByTurn[t-1]` replaces "energy = t" in §5 so that modes can change the ramp.) **What modes may vary:** every key above, plus `topicPool` contents and the starter-deck lists. **Fixed for all modes:** matches are off-chain and never move or burn NFTs; the RNG and its draw order @@ -261,19 +317,206 @@ A mode must keep `turns × turnSeconds ≤ 240` so that matches stay within 3– ## 10. Keywords *(owner: council-designer-b)* -*To be written by council-designer-b. Constraints from the rules above:* -- one keyword per card, one word, no more than one short line of reminder text -- triggers are limited to: on reveal, ongoing, end of turn -- keywords change power only (no stealing, moving cards between lanes or removing cards in v1) -- no single effect may swing a lane by more than 6 -- each faction gets a keyword pool; Culture's has the lowest synergy ceiling -- §10.3 Portals: the Topic modifiers in `topicPool` +### 10.1 Which keyword a card gets +The keyword comes from the card's **rarity**, **home stat** and **faction**, using the first rule that matches: + +1. `cost == 1` → **no keyword**. Instead the card gets +`vanillaBonus` power (default **1**), so a cost-1 card has power 2. + Cheap cards stay simple, which helps new players. +2. `rarity == "Common"` → the **home-stat keyword** (Buzz, Anchor or Echo; table 10.2). +3. Otherwise (Rare, Epic or Legendary) → the **faction keyword** (table 10.2). + +This puts rarity to use, but only as *which* keyword a card has, never as how much power it has. Every keyword below is +worth about +1 to +3, which is the same as the trade-offs between home-stat keywords, so mining luck buys variety and not power. (This changes +§1.7 slightly. Designer-a, please note it there: "rarity chooses the keyword source, not power".) +Rough expected mix (with Common about 60%): about 15% vanilla, about 50% home-stat keywords, about 35% faction keywords. + +Keywords are **one word** on the card face, plus one line of reminder text in the tap-to-inspect sheet. +They only ever *add* power (v1 has no removal, stealing, moving or lowering power). "Here" means this card's Topic, and +"your" means the owner's side. An effect stops at its cap, so no keyword moves a lane by more than 3 (§8 requires 6 or less). + +### 10.2 Keyword list + +| Keyword | Source | Trigger | Reminder text | Cap | +|---|---|---|---|---| +| **Buzz** | home: attention | On reveal | +1 power to each of your *other* cards here. | +2 (lane cap 3) | +| **Anchor** | home: depth | Ongoing | +2 power while it is your only card here. | +2 | +| **Echo** | home: reach | On reveal | +1 power to your most recently played card in each *other* Topic. | +2 (2 cards) | +| **Orbit** | faction: Space | Ongoing | +1 to your Topic power in each *adjacent* Topic. | +1 per adjacent Topic | +| **Grow** | faction: Nature | End of turn | +1 power. | +3 total | +| **Rally** | faction: People | On reveal | +1 power to each of your *other People* cards, in any Topic. | `factionSynergyCap` (3) | +| **Research** | faction: Science | On reveal | +1 power for each Topic you lead right now. | +3 | +| **Legacy** | faction: History | Ongoing | On the last turn, +2 power if this card has been here since turn 4 or earlier. | +2 | +| **Remix** | faction: Culture | On reveal | +2 power if you are losing here. | +2 | + +Precise rules (for engine-b): +- **On reveal** resolves when this card enters its Topic during Reveal (§5.4). It sees every card already revealed, + including cards the initiative player revealed earlier in the same turn. Bonuses it grants are permanent power counters on the target cards. +- **Ongoing** is recalculated every time Topic power is read. It's a condition, not a counter. +- **End of turn** resolves in §5.5 order: the initiative player's cards first, then Topic 1→3, then play order. +- **Buzz** targets only cards already here when it reveals. Cards that arrive later don't get the bonus. +- **Anchor** counts only its owner's cards here. Opposing cards don't matter. +- **Echo:** "most recently played" means the highest play sequence number among your cards in that Topic. Topics where you have no card are skipped. +- **Orbit** adds to Topic power, not to a card. It works even if you have no cards in the adjacent Topic (so Topic power can go 0 → 1). + Topic 2 is adjacent to 1 and 3. Topics 1 and 3 are adjacent only to 2. +- **Grow** stops after it has gained +3 in total. +- **Rally** counts cards by faction. Wildcard-style faction changes don't exist in v1. It gives at most `factionSynergyCap` counters in total, + going to the targets in play order. +- **Research** counts Topics where you lead (strictly greater Topic power) at the moment it resolves, including this + Topic after its own base and on-topic power is added. *(Clarification: the card's own power counts toward leading here.)* +- **Legacy** applies when `turn == turns` (the last turn), from the start of that turn, and only if the card was revealed on a turn ≤ `keywordParams.Legacy.byTurn` (default **4**, i.e. `turns − 2`). So committing a History card early is a real choice: it shows your hand to win the +2. +- **End-of-turn effects on the last turn resolve before scoring** (§7), so Grow's last +1 counts. +- **Remix:** "losing here" means the opponent's Topic power here is strictly greater than yours, counted just *before* this card + is added. +- **Culture is about half the pool,** so its faction keyword (Remix) is the one with no faction synergy. A Culture-heavy deck + gets no consistency bonus from being mono-faction. Only People (Rally) has faction synergy, and it's capped. + +Examples: +- *Buzz:* you have Haiku (2) and Jazz (4) in Topic 2, then play Pop music (Buzz, power 5). Haiku becomes 3, Jazz 5, and Pop music stays 5. +- *Anchor:* Coral reef (power 2) alone in Topic 1 is 4. Once you add another card there, it's 2 again. +- *Echo:* Moon is revealed in Topic 3. Your last card in Topic 1 gets +1. You have nothing in Topic 2, so that part is skipped. +- *Orbit:* Jupiter is in Topic 3, so your Topic 2 power is +1 even though no card there changed. +- *Rally:* Albert Einstein is revealed with no other People cards in play, so nothing happens. With Marie Curie and Ada Lovelace in play, each gets +1. +- *Research:* you lead Topics 1 and 3 when Periodic table is revealed into Topic 1, so it gets +2. +- *Legacy:* Ancient Rome (power 7) shows 7 on turns 5 and 9 on turn 6. +- *Remix:* the opponent has 6 here and you have 3, so Jazz (power 2) is revealed as 4. + +**`keywordParams` defaults** (every number above, keyed by keyword id; modes may change them within 0–6): +```json +{ "Buzz": {"amount": 1, "cap": 2}, "Anchor": {"amount": 2}, "Echo": {"amount": 1}, + "Orbit": {"amount": 1}, "Grow": {"amount": 1, "cap": 3}, "Rally": {"amount": 1, "cap": 3}, + "Research": {"amount": 1, "cap": 3}, "Legacy": {"amount": 2, "byTurn": 4}, "Remix": {"amount": 2} } +``` +Rally's cap is `factionSynergyCap` when that key is set. Otherwise it's `keywordParams.Rally.cap`. + +### 10.3 Portals (Topic modifiers) and the default Topic pool +Each Topic has `{ id, name, stat, portal | null }`. The default `topicPool` has 9 Topics, one plain and two with +Portals for each stat. A Portal applies from the moment its Topic is revealed (§3), except where it says otherwise. + +| Topic | Stat | Portal rule | +|---|---|---| +| Current Events | attention | – | +| Main Page | attention | At scoring, each card here gets +1 power. | +| Trending | attention | Trend arrows (§1.6) count double here (±2). | +| Archive | depth | – | +| Featured Article | depth | At end of the match, the player with the single highest-power card here gets +2 Topic power here. If the highest card power here is tied (between the two players), nobody gets the bonus. | +| Stub | depth | Lane capacity here is 2 per player. | +| Translations | reach | – | +| Interwiki | reach | +1 Topic power here for a player who has at least one card in all 3 Topics. | +| Disambiguation | reach | Every card here counts as on-topic, whatever its home stat. | + +As data: `portal = { kind: "scoringCardBonus", amount: 1 } | { kind: "trendMultiplier", factor: 2 } | +{ kind: "highestCardBonus", amount: 2 } | { kind: "laneCapacity", value: 2 } | { kind: "spreadBonus", amount: 1 } | +{ kind: "allOnTopic" }`. Modes may add Topics with these kinds, using new numbers, but not new kinds (engine code). + +**`portalParams` defaults** (keyed by Topic id): `{ "main-page": {"amount": 1}, "trending": {"factor": 2}, +"featured-article": {"amount": 2}, "stub": {"value": 2}, "interwiki": {"amount": 1} }`. Disambiguation has no numbers. +Topic ids are the names in kebab-case: `current-events, main-page, trending, archive, featured-article, stub, +translations, interwiki, disambiguation`. The UI shows each Portal's one-line rule **on the lane itself**, not behind a tap. +Orbit's bonus is not on any card, so the UI shows it as a lane badge ("+1 🪐") next to the Topic total. + +--- ## 11. Peer-hosted modes *(owner: council-designer-b)* -*To be written by council-designer-b. A mode is a named `RulesConfig` override, plus a Topic pool and -optional starter decks.* +A **mode** is data, published by a node operator and run by the match host: +```json +{ + "id": "blitz", // [a-z0-9-]{3,32}, unique per host + "name": "Blitz", "description": "Four quick turns.", // ≤ 40 and ≤ 280 chars, plain text + "rules": { "turns": 4, "energyByTurn": [2, 3, 4, 5], "portalReveal": [1, 1, 2], "deckSize": 10 }, + "topicPool": [ /* optional: Topic objects (10.3); default if omitted */ ], + "starterDecks": [ /* optional: lists of loaner pageIds */ ] +} +``` +- `rules` is a **partial** `RulesConfig` (§9) merged over the defaults. Unknown keys are rejected. +- **Validation** (modes owns the code; these are the limits). If any check fails, the mode is refused: + +| Key | Allowed | +|---|---| +| `turns` | 3–8, and `turns × turnSeconds ≤ 240` | +| `energyByTurn` | length = `turns`, each 0–10 | +| `bonusEnergy` | 0–3 | +| `portalReveal` | length = `topicCount`, each 1..`turns`, non-decreasing | +| `topicCount` | 1–5; `distinctStats` only if ≤ 3 | +| `laneCapacity` | 1–6 | +| `deckSize` | 6–20; `maxCopiesPerPage` 1–4; `maxLoaners` 0..`deckSize` | +| `openingHand` | 0–6; `handLimit` 1–10 | +| `turnSeconds` | 10–60; `afkTurns` 1–5 | +| `costThresholds` | 5 strictly ascending integers in 0–100 | +| `powerByCost` | 7 integers in 0–20, non-decreasing from index 1 | +| `onTopicBonus` (7 entries), `vanillaBonus` | 0–5 each | +| `trendUp` / `trendDown` | 0–200 / −200–0 | +| `factionSynergyCap` | 0–6 | +| `keywordsEnabled` | any subset of the 9 v1 keywords; a disabled keyword makes those cards vanilla, *without* `vanillaBonus` | +| `keywordParams`, `portalParams` | only the keys listed in §10.2 / §10.3, each in 0–6 (`Legacy.byTurn` in 1..`turns`) | +| `verifyStats` | the host may only turn this off for modes that use only loaners (`maxLoaners == deckSize` and owned cards banned) | +| `topicPool` | 3–20 Topics, Portal kinds only from 10.3 | + +- **Identity:** `modeHash` = SHA-256 of the canonical JSON (sorted keys, no whitespace) of the *merged* rules + plus the topicPool. A match record holds `{ modeHash, seed, both decks' CardInputs, both players' commit lists }`, + and that is enough to replay it exactly. +- **What modes can't change** is the "Fixed for all modes" list in §9. Modes also can't add keywords or Portal kinds, or + stake, move or burn NFTs. + +Example modes (good defaults for operators to publish): +| Mode | Overrides | Feel | +|---|---|---| +| **Blitz** | `turns 4`, `energyByTurn [2,3,4,5]`, `portalReveal [1,1,2]`, `deckSize 10`, `turnSeconds 20` | about 2 minutes | +| **Deep Cuts** | `topicPool`: only the 3 depth Topics, `distinctStats false` | rewards long, obscure articles | +| **Loaner League** | `maxLoaners 12` and owned cards banned (`"ownedCards": false`, a new boolean key, default true) | fully level, for tournaments | +| **Big Board** | `topicCount 5`, `distinctStats false`, `portalReveal [1,2,3,4,5]`, `laneCapacity 3` | win 3 of 5; **tablet/desktop only** (5 × 3 slots won't fit a 360 px phone) | +| **No Keywords** | `keywordsEnabled []`, `onTopicBonus [0,3,3,3,3,3,3]` | Top Trumps–style tutorial mode | + +--- ## 12. Worked example match *(owner: council-designer-b)* -*To be written by council-designer-b.* +This example uses the §1–11 rules of this PR. It was recomputed by council-critic (who checked it with a script) and re-checked by hand by designer-b. +- **Rules:** `powerByCost [0,1,2,4,6,8,10]`, `onTopicBonus [0,1,1,2,2,3,3]`, `vanillaBonus 1`, `laneCapacity 3`, + interleaved reveals, `underdog false`, no trend arrows. Nobody carries energy: both players spend 1/2/3/4/5/6. +- **Initiative:** Ana (p0) on odd turns, Bo (p1) on even turns. +- **Topics:** **T1 Archive (depth, plain)**, **T2 Main Page (attention; Portal revealed turn 3; at scoring, +1 per card here)**, + **T3 Translations (reach, plain)**. + +The cards are the §1 output, given directly. "Base" is `powerByCost[cost]`, with +1 for cost-1 vanilla cards; "+on" is `onTopicBonus[cost]`. + +| Player | Card | Faction / rarity | Cost | Base (+on) | Home | Keyword | +|---|---|---|---|---|---|---| +| Ana | Octopus | Nature / Common | 1 | 2 (+1) | depth | – (vanilla) | +| Ana | Moon | Space / Common | 2 | 2 (+1) | reach | Echo | +| Ana | Periodic table | Science / Rare | 3 | 4 (+2) | depth | Research | +| Ana | Albert Einstein | People / Epic | 4 | 6 (+2) | attention | Rally | +| Ana | Ancient Rome | History / Rare | 5 | 8 (+3) | depth | Legacy | +| Ana | Library of Alexandria | History / Common | 4 | 6 (+2) | depth | Anchor | +| Ana | Coral reef | Nature / Common | 2 | 2 (+1) | depth | Anchor | +| Bo | Haiku | Culture / Common | 1 | 2 (+1) | attention | – (vanilla) | +| Bo | Jazz | Culture / Rare | 2 | 2 (+1) | attention | Remix | +| Bo | Fern | Nature / Rare | 3 | 4 (+2) | depth | Grow | +| Bo | Pop music | Culture / Common | 4 | 6 (+2) | attention | Buzz | +| Bo | Jupiter | Space / Epic | 5 | 8 (+3) | reach | Orbit | +| Bo | Saturn | Space / Legendary | 6 | 10 (+3) | reach | Orbit | + +Topic power is written as **Ana–Bo** after the End phase. + +| Turn | Initiative | Reveals (interleaved order) and effects | T1 | T2 | T3 | +|---|---|---|---|---|---| +| 1 | Ana | Ana Octopus → T1: 2+1 = **3**. Bo Haiku → T1: **2** (off-topic) | 3–2 | 0–0 | 0–0 | +| 2 | Bo | Bo Jazz → T2: 2+1 = 3. Remix: not losing (0–0), so no bonus. Ana Moon → T3: 2+1 = 3. Echo: Octopus +1 → 4 | 4–2 | 0–3 | 3–0 | +| 3 | Ana | Main Page Portal revealed. Ana Periodic table → T1: 4+2 = 6. Research: Ana leads T1 (10–2) and T3 (3–0), so +2 → **8**. Bo Fern → T1: 4+2 = 6. End, Grow: Fern 7 | 12–9 | 0–3 | 3–0 | +| 4 | Bo | Bo Pop music → T2: 6+2 = 8. Buzz: Jazz +1 → 4. Ana Einstein → T2: 6+2 = 8. Rally: no other People cards. End, Grow: Fern 8 | 12–10 | 8–12 | 3–0 | +| 5 | Ana | Ana Ancient Rome → T3: 8 (depth ≠ reach). Its Legacy can't apply, because it arrived on turn 5 > 4. Bo Jupiter → T3: 8+3 = 11. Orbit: Bo's T2 +1. End, Grow: Fern 9 (the +3 cap is reached) | 12–11 | 8–13 | 11–11 | +| 6 (last) | Bo | Bo Saturn → T3: 10+3 = 13. Orbit: Bo's T2 +1. Ana Library → T3: 6 (off-topic; Anchor no, not alone). Ana Coral reef → T1: 2+1 = 3 (Anchor no). Scoring: Main Page gives +1 per card in T2 | **15–11** | **9–16** | **17–24** | + +Final board: +- **T1:** Ana has Octopus 4 + Periodic table 8 + Coral reef 3 = **15**. Bo has Haiku 2 + Fern 9 = **11**. → Ana +- **T2:** Ana has Einstein 8+1 = **9**. Bo has Jazz 4+1 + Pop music 8+1 + Orbit ×2 = **16**. → Bo +- **T3:** Ana has Moon 3 + Ancient Rome 8 + Library 6 = **17**. Bo has Jupiter 11 + Saturn 13 = **24**. → Bo + +**Bo wins 2–1** (total power 41–51; the tie-break isn't needed). +The deciding moment was Ana's turn-5 Rome. It was off-topic in T3, and too late for Legacy. Saturn on-topic plus a second Orbit then took both T2 and T3. + +**Golden test (engine-b):** +- **Inject:** the Topic order, these 13 cards and these commit lists, in the queue order shown. +- **Expected final Topic powers:** `[[15,11],[9,16],[17,24]]` (Ana–Bo). Winner: p1. +- **Coverage:** vanilla, Echo, Research, Grow (including its cap), Buzz, Orbit ×2, the Main Page Portal at scoring, and Remix, Rally, Anchor and Legacy correctly **not** firing. +- **Separate unit tests:** add cases where Remix, Rally, Anchor and Legacy (here since turn ≤ 4) **do** fire. From 2e7b05bdad8dacfd6c7064bef1b962ae2b6c6915 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 04:02:15 +0000 Subject: [PATCH 4/7] Night 1: private 3-node testnet fixture (deploy/night) (#16) LAN-only 3-node testnet compose, paced miner and helper script under deploy/night. Co-Authored-By: Claude Opus 5.5 --- deploy/night/README.md | 18 +++++++ deploy/night/compose.lan.yaml | 24 +++++++++ deploy/night/mine.ts | 99 +++++++++++++++++++++++++++++++++++ deploy/night/testnet.sh | 32 +++++++++++ 4 files changed, 173 insertions(+) create mode 100644 deploy/night/README.md create mode 100644 deploy/night/compose.lan.yaml create mode 100644 deploy/night/mine.ts create mode 100755 deploy/night/testnet.sh diff --git a/deploy/night/README.md b/deploy/night/README.md new file mode 100644 index 0000000..ed73676 --- /dev/null +++ b/deploy/night/README.md @@ -0,0 +1,18 @@ +# Night 1 private testnet (sim-testnet) + +A 3-node **testnet-only** fixture on poweredge-r350. It is reachable on the LAN only, and uses the Docker project `wikideck-night`. + +| node | URL | +|---|---| +| node-a | http://192.168.1.32:3101 | +| node-b | http://192.168.1.32:3102 | +| node-c | http://192.168.1.32:3103 | + +- `compose.lan.yaml` overrides only the published ports (bound to `192.168.1.32`, never `0.0.0.0`) and `PUBLIC_ORIGIN`. It changes nothing in consensus or the image. +- `mine.ts` is a multi-worker native RandomX miner. It runs inside the `wikideck:testnet` image, which ships the native engine, so the host needs no cmake. + - It mines to 4 disposable wallets (alice, bob, carol, dave) and writes chain-bound encrypted browser backups to `$STATE_DIR/wallets/`. + - It never changes consensus code. Speed comes from the protocol's own testnet parameters: the initial target accepts 1/16 of hashes, and each 10-block retarget at most quadruples the difficulty. + - Each template costs several Wikipedia API calls, and Wikipedia rate-limits our egress IP. The miner therefore paces templates (`MIN_GAP`, default 45 s) and backs off exponentially on failure. +- `testnet.sh` has `up`, `mine N [workers]`, `status` and `down`. Run it from the repo root on a checkout of the integration branch. `up` rebuilds the image from that checkout; the ledgers persist in the named volumes. + +Never point this at mainnet or the live `wikideck` namespace. diff --git a/deploy/night/compose.lan.yaml b/deploy/night/compose.lan.yaml new file mode 100644 index 0000000..973bd1d --- /dev/null +++ b/deploy/night/compose.lan.yaml @@ -0,0 +1,24 @@ +# sim-testnet override: publish the fixture on r350's LAN address only (not 0.0.0.0). +# Game-mode env (modes team, #6) is inert until night/modes/hosting merges. +services: + node-a: + ports: !override ["192.168.1.32:3101:3001"] + environment: + PUBLIC_ORIGIN: http://192.168.1.32:3101 + WIKIDECK_MODES: classic,trending + WIKIDECK_GAME_OPERATOR: Testnet A + WIKIDECK_GAME_PEERS: http://192.168.1.32:3102,http://192.168.1.32:3103 + node-b: + ports: !override ["192.168.1.32:3102:3001"] + environment: + PUBLIC_ORIGIN: http://192.168.1.32:3102 + WIKIDECK_MODES: draft + WIKIDECK_GAME_OPERATOR: Testnet B + WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3103 + node-c: + ports: !override ["192.168.1.32:3103:3001"] + environment: + PUBLIC_ORIGIN: http://192.168.1.32:3103 + WIKIDECK_MODES: classic,trending,draft + WIKIDECK_GAME_OPERATOR: Testnet C + WIKIDECK_GAME_PEERS: http://192.168.1.32:3101,http://192.168.1.32:3102 diff --git a/deploy/night/mine.ts b/deploy/night/mine.ts new file mode 100644 index 0000000..96f9e4e --- /dev/null +++ b/deploy/night/mine.ts @@ -0,0 +1,99 @@ +// sim-testnet: multi-worker native RandomX miner for the PRIVATE wikideck-night testnet. +// Runs inside the wikideck:testnet image (which ships the native engine). Testnet only. +// Usage: node --experimental-strip-types /night/mine.ts +import { mkdirSync, readFileSync, writeFileSync, existsSync, appendFileSync } from 'node:fs'; +import { randomInt, webcrypto } from 'node:crypto'; +import { RandomX } from '/app/server/testnet/randomx.ts'; +import { CHAIN_ID, sha256, miningBlob, mintId, blockSchema, address } from '/app/server/testnet/consensus.ts'; +import { blockClaimMessage, NETWORK, type MiningTemplate, type TestnetBlock } from '/app/shared/testnet.ts'; +import { encryptWallet } from '/app/shared/wallet-backup.ts'; + +if (!NETWORK.includes('testnet')) throw new Error('testnet only'); +const blocks = Number(process.argv[2] ?? 45), workers = Number(process.argv[3] ?? 4); +if (!(workers >= 1 && workers <= 8)) throw new Error('1..8 workers'); +const NODES = ['http://node-a:3001', 'http://node-b:3001', 'http://node-c:3001']; +const WALLET_NAMES = ['alice', 'bob', 'carol', 'dave']; +const PASSWORD = 'wikideck-night-testnet'; +const STATE = process.env.STATE_DIR ?? '/state'; +const dir = `${STATE}/wallets`; +mkdirSync(dir, { recursive: true }); +const subtle = webcrypto.subtle; + +type W = { name: string; address: string; publicKey: string; privateKey: CryptoKey }; +async function loadOrCreate(name: string): Promise { + const keyFile = `${dir}/${name}.jwk.json`; + let jwk: JsonWebKey; + if (existsSync(keyFile)) jwk = JSON.parse(readFileSync(keyFile, 'utf8')); + else { + const kp = await subtle.generateKey({ name: 'ECDSA', namedCurve: 'P-256' }, true, ['sign', 'verify']) as CryptoKeyPair; + jwk = await subtle.exportKey('jwk', kp.privateKey); + writeFileSync(keyFile, JSON.stringify(jwk), { mode: 0o600 }); + } + const privateKey = await subtle.importKey('jwk', jwk, { name: 'ECDSA', namedCurve: 'P-256' }, true, ['sign']); + const pubJwk = { kty: jwk.kty, crv: jwk.crv, x: jwk.x, y: jwk.y }; + const pub = await subtle.importKey('jwk', pubJwk, { name: 'ECDSA', namedCurve: 'P-256' }, true, ['verify']); + const publicKey = Buffer.from(await subtle.exportKey('spki', pub)).toString('base64'); + const w = { name, address: address(publicKey), publicKey, privateKey }; + const backupFile = `${dir}/${name}.backup.json`; + if (!existsSync(backupFile)) writeFileSync(backupFile, JSON.stringify(await encryptWallet(privateKey, publicKey, PASSWORD), null, 2)); + return w; +} +const wallets = await Promise.all(WALLET_NAMES.map(loadOrCreate)); +writeFileSync(`${dir}/addresses.json`, JSON.stringify(Object.fromEntries(wallets.map(w => [w.name, w.address])), null, 2)); +console.log(`chain ${CHAIN_ID}; wallets: ${wallets.map(w => `${w.name}=${w.address.slice(0, 12)}`).join(' ')}`); + +async function api(node: string, path: string, body?: unknown) { + const r = await fetch(node + path, { method: body ? 'POST' : 'GET', redirect: 'error', signal: AbortSignal.timeout(60000), + headers: body ? { 'Content-Type': 'application/json' } : {}, body: body ? JSON.stringify(body) : undefined }); + const data = await r.json(); + if (!r.ok) throw new Error(data.error ?? `HTTP ${r.status}`); + return data; +} +const engines = Array.from({ length: workers }, () => new RandomX()); +const close = () => { for (const e of engines) e.close(); }; +process.once('SIGTERM', () => { close(); process.exit(0); }); + +let accepted = 0, round = 0, fails = 0; +// Each template costs several Wikipedia API calls, and Wikipedia rate-limits this egress IP: +// pace templates (>= MIN_GAP s apart) and back off exponentially on failure. +const MIN_GAP = Number(process.env.MIN_GAP ?? 45), sleep = (s: number) => new Promise(r => setTimeout(r, s * 1000)); +let lastTemplate = 0; +try { + while (accepted < blocks) { + const wait = lastTemplate + MIN_GAP * 1000 - Date.now(); if (wait > 0) await sleep(wait / 1000); + lastTemplate = Date.now(); + const node = NODES[round % NODES.length], w = wallets[accepted % wallets.length]; round++; + let template: MiningTemplate; + try { template = await api(node, '/api/mining/template', { owner: w.address, publicKey: w.publicKey }); fails = 0; } + catch (e) { fails++; const b = Math.min(60 * 2 ** (fails - 1), 600); console.error(`template ${node}: ${(e as Error).message} (fail ${fails}, backoff ${b}s)`); await sleep(b); continue; } + const h = template.header; if (h.chainId !== CHAIN_ID) throw new Error('wrong chain'); + const started = Date.now(); let attempts = 0; let found: { hash: string; nonce: number } | null = null; + let base = randomInt(0, 2 ** 40); const BATCH = 64; + while (!found) { + const results = await Promise.all(engines.map((e, i) => { + const hdr = { ...h, nonce: base + i * BATCH }; + return e.mine(h.key, miningBlob(hdr), h.target, 32, BATCH); + })); + attempts += BATCH * workers; base += BATCH * workers; + found = results.find(Boolean) ?? null; + if (!found && Date.now() / 1000 - h.createdAt > 600) break; // stale template + } + if (!found) continue; + h.nonce = found.nonce; + const hash = sha256(miningBlob(h)); + const signature = Buffer.from(await subtle.sign({ name: 'ECDSA', hash: 'SHA-256' }, w.privateKey, + new TextEncoder().encode(blockClaimMessage(hash)))).toString('base64'); + const block: TestnetBlock = { ...h, hash, tokenId: mintId(h), powHash: found.hash, signature, transactions: template.transactions }; + blockSchema.parse(block); + try { + const res = await api(node, '/api/blocks', block); + if (!res.accepted) { console.error(`not accepted: ${JSON.stringify(res).slice(0, 200)}`); continue; } + accepted++; + const secs = (Date.now() - started) / 1000; + const line = `#${h.height} ${w.name} "${h.article.title}" token=${block.tokenId} via=${node} ${attempts}H ${(attempts / secs).toFixed(0)}H/s`; + console.log(`[${accepted}/${blocks}] ${line}`); + appendFileSync(`${STATE}/mined.log`, `${new Date().toISOString()} ${line}\n`); + } catch (e) { console.error(`submit: ${(e as Error).message}`); } + } +} finally { close(); } +console.log('done'); diff --git a/deploy/night/testnet.sh b/deploy/night/testnet.sh new file mode 100755 index 0000000..e392f4e --- /dev/null +++ b/deploy/night/testnet.sh @@ -0,0 +1,32 @@ +#!/bin/sh +# sim-testnet: private 3-node testnet fixture for WikiDeck Night 1 (poweredge-r350, LAN only). +# Usage (from the repo root): +# deploy/night/testnet.sh up build the image from this checkout and (re)start the 3 nodes +# deploy/night/testnet.sh mine N [W] mine N real RandomX blocks with W workers (default 4, max 8) +# deploy/night/testnet.sh status tip/height of each node +# deploy/night/testnet.sh down stop the nodes (volumes, i.e. the ledgers, are kept) +# STATE_DIR (default ~/.local/share/wikideck-night) holds the disposable testnet wallets and mined.log. +# It is outside the repo on purpose: never commit wallets. +set -eu +P=wikideck-night +LAN_IP=${LAN_IP:-192.168.1.32} +STATE_DIR=${STATE_DIR:-$HOME/.local/share/wikideck-night} +DC="docker compose -p $P -f compose.testnet.yaml -f deploy/night/compose.lan.yaml" +case "${1:-}" in + up) $DC build node-a && $DC up -d --no-build ;; + down) $DC down ;; + mine) + mkdir -p "$STATE_DIR" + W=${3:-4} + docker rm -f $P-miner >/dev/null 2>&1 || true + docker run -d --name $P-miner --network ${P}_default --cpus "$W" --memory 1600m \ + --user "$(id -u):$(id -g)" -e WIKIDECK_NETWORK=testnet -e WIKIDECK_GENESIS_TIME=1792411200 \ + -e MIN_GAP="${MIN_GAP:-45}" -v "$STATE_DIR":/state -v "$PWD/deploy/night":/night:ro \ + wikideck:testnet node --experimental-strip-types /night/mine.ts "$2" "$W" + echo "follow with: docker logs -f $P-miner" ;; + status) + for port in 3101 3102 3103; do + docker run --rm --network host wikideck:testnet node -e "fetch('http://$LAN_IP:$port/p2p/status').then(r=>r.json()).then(s=>console.log($port,'blocks',s.size,'tip',s.tip.slice(0,16))).catch(e=>console.log($port,'DOWN',e.message))" + done ;; + *) sed -n 2,9p "$0"; exit 1 ;; +esac From c1a13255644cbff35bb5be3e17f425950eba9c98 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 04:08:18 +0000 Subject: [PATCH 5/7] Night 1 handbook: avoid commands that trigger manual approval --- docs/night/HANDBOOK.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/night/HANDBOOK.md b/docs/night/HANDBOOK.md index 7d2bf85..2f55967 100644 --- a/docs/night/HANDBOOK.md +++ b/docs/night/HANDBOOK.md @@ -56,6 +56,7 @@ Turn WikiDeck into a game: flock /tmp/night-heavy.lock ``` - **imac** (8 threads, about 4 GB free) and **poweredge-r350** (16 threads, about 6 GB free): keep builds to one at a time. +- **Avoid permission prompts.** Nobody answers them, and they auto-deny after about a minute. Don't chain `cd && `; use absolute paths or `git -C ` instead. Keep each shell command to one clear purpose. - **LocalAI** (`https://localai.eom.dev`) is shared production with slow single-GPU inference. Don't use it in loops. ## Timeline (EST) From b2ec917af4719a3654c3fc72db929122b610c76f Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 04:12:04 +0000 Subject: [PATCH 6/7] Night 1: DESIGN.md final v1 keyword set, 6 keywords with engine-b ids (#17) Co-Authored-By: Claude Opus 5.5 --- docs/game/DESIGN.md | 222 ++++++++++++++++++++++---------------------- 1 file changed, 109 insertions(+), 113 deletions(-) diff --git a/docs/game/DESIGN.md b/docs/game/DESIGN.md index 64104bc..11cd6ba 100644 --- a/docs/game/DESIGN.md +++ b/docs/game/DESIGN.md @@ -88,7 +88,7 @@ big cards are flexible. ### 1.5 Faction `faction` = the card's `category` (Space, Nature, People, Science, History, Culture), from `server/wiki.ts`. Culture is about half the pool, so faction keywords are written so that a -mono-faction deck gains no consistency edge (see §10, and `factionSynergyCap` in §9). +mono-faction deck gains no consistency edge (§10: no v1 keyword scales with faction count). ### 1.6 Trend (live, small, capped) `trend` = +1 if `live.trendPercent ≥ trendUp` (default 25), −1 if `≤ trendDown` (default −25), @@ -97,13 +97,11 @@ otherwise 0. A `null` value gives 0. Trend also needs `live.dailyAverage ≥ tre the match. It shows as an arrow (▲/▼), not a number. It adds to power in every Topic. ### 1.7 Rarity -The hash-derived `rarity` (`shared/protocol.ts:38`) sets the frame colour, and **it chooses the -keyword source, not power** (§10.1: a Common gets its home-stat keyword, a Rare or better gets its -faction keyword). Mining luck must not become power. +The hash-derived `rarity` (`shared/protocol.ts:38`) is **cosmetic in v1** (frame colour only). Mining luck must not +become power or keyword choice. ### 1.8 Keyword -Each card has at most **one** keyword, chosen deterministically from faction, home stat and rarity by -the table in §10 (owned by designer B). +Each card has at most **one** keyword: cost-1 cards are vanilla, and the others get their faction's keyword (§10.1). ### 1.9 Card face (phone) The card face shows **cost** (top-left), **power** (big, centre; the bonus shows as a "+N" badge on the home icon when the card is on-topic), a **home-stat icon** @@ -156,8 +154,7 @@ The engine does no I/O and only ever sees one version of each card. - 3 **Topics** (lanes), numbered 1–3 from left to right (top to bottom in portrait). - Each Topic has a **stat** (attention, depth or reach) and an optional **Portal** modifier (§10.3). - Topics have **no faction**. Faction matters only through keywords such as Rally, which count cards, - never Topics. + Topics have **no faction**. No v1 keyword counts factions: faction only picks the keyword. - Each player has at most `laneCapacity` cards per Topic (default **3**). That gives 9 slots per side, which caps cheap-card flooding and fits 3 cards across a 360 px phone. - **Topic pool:** `topicPool` is a list of Topics, each `{ id, name, stat, portal | null }`. The default @@ -268,7 +265,7 @@ the last turn's, and every "at scoring" Portal resolves **before** Topics are ju |---|---| | All-famous (all max-stat) deck | It becomes an all-cost-5/6 deck with dead early turns. Cheap cards are more efficient **per energy**, expensive cards **per card**. Only 9 cards are seen per match (3 + 6 draws), so both matter. The 1-energy carry-over lets a heavy deck bank energy for a turn-5 six-drop. **sim-balance target: heavy vs curve ≥ 40%.** | | All-cheap flood (cost 1–2) | Weak by design: only 9 slots and 9 cards seen. Critic's sim under these rules: swarm vs curve about 7–11%. Its home is Culture's wide-turn keyword (§10). | -| All one faction | Faction synergies are capped (`factionSynergyCap`), and Culture is the largest pool but has the weakest synergy keywords (§10). | +| All one faction | No v1 keyword scales with faction count. `factionSynergyCap` is reserved for modes. Culture, the largest pool, has the weakest keyword (viral). | | "Always play the highest-power card" | It ignores the on-topic bonus, lane capacity and the hidden Portals. Critic's sim: 18–21% against a smart bot (target < 55%). | | Stall or pass | Passing leaves lanes to any 1-power card. Two passing players draw. | | Mirror the AI | Hidden simultaneous commits: you only see the opponent's cards after you commit. | @@ -297,7 +294,7 @@ The engine takes a `RulesConfig` object. Peer-hosted modes override it (§11). D "costThresholds": [15, 35, 55, 75, 90], "powerByCost": [0, 1, 2, 4, 6, 8, 10], "onTopicBonus": [0, 1, 1, 2, 2, 3, 3], "vanillaBonus": 1, - "keywordsEnabled": ["Buzz","Anchor","Echo","Orbit","Grow","Rally","Research","Legacy","Remix"], "ownedCards": true, + "keywordsEnabled": ["viral","rising","local","encyclopedic","nostalgic","translated"], "ownedCards": true, "trendUp": 25, "trendDown": -25, "trendMinDaily": 20, "uncheckedCostCap": 4, "factionSynergyCap": 3, "verifyStats": true, @@ -317,76 +314,64 @@ A mode must keep `turns × turnSeconds ≤ 240` so that matches stay within 3– ## 10. Keywords *(owner: council-designer-b)* +**The v1 keyword set is these six, one per faction.** The ids are the ones engine-b already uses on `night/engine/keywords`. +Topics carry only a **stat**, never a faction. Every keyword below that mentions a Topic keys off stats or board state. + ### 10.1 Which keyword a card gets -The keyword comes from the card's **rarity**, **home stat** and **faction**, using the first rule that matches: +First rule that matches: +1. `cost == 1` → **no keyword** (vanilla). The card gets +`vanillaBonus` power (default **1**), so a cost-1 card is 2. +2. `"edition"` is in `keywordsEnabled` (off by default) and the deck holds another card with the same `pageId` → **edition**. +3. Otherwise → the card's **faction keyword** from 10.2, if it's in `keywordsEnabled`. If not, the card is vanilla, *without* `vanillaBonus`. -1. `cost == 1` → **no keyword**. Instead the card gets +`vanillaBonus` power (default **1**), so a cost-1 card has power 2. - Cheap cards stay simple, which helps new players. -2. `rarity == "Common"` → the **home-stat keyword** (Buzz, Anchor or Echo; table 10.2). -3. Otherwise (Rare, Epic or Legendary) → the **faction keyword** (table 10.2). +Rarity plays no part here (it's cosmetic, §1.7). Keywords don't lower power, and v1 has no per-keyword power deltas. +If sim shows that a keyword is worth more than about 1 power on average, sim-balance sets `keywordParams..powerDelta` (default 0, range −3 to 0). -This puts rarity to use, but only as *which* keyword a card has, never as how much power it has. Every keyword below is -worth about +1 to +3, which is the same as the trade-offs between home-stat keywords, so mining luck buys variety and not power. (This changes -§1.7 slightly. Designer-a, please note it there: "rarity chooses the keyword source, not power".) -Rough expected mix (with Common about 60%): about 15% vanilla, about 50% home-stat keywords, about 35% faction keywords. +### 10.2 Keyword list (v1) -Keywords are **one word** on the card face, plus one line of reminder text in the tap-to-inspect sheet. -They only ever *add* power (v1 has no removal, stealing, moving or lowering power). "Here" means this card's Topic, and -"your" means the owner's side. An effect stops at its cap, so no keyword moves a lane by more than 3 (§8 requires 6 or less). +| Faction | id (card word) | Trigger | Reminder text | Cap | Order-sensitive? | +|---|---|---|---|---|---| +| Culture | **viral** | On reveal | +1 power for each other card you revealed earlier this turn. | +2 | yes: your queue order | +| Nature | **rising** | End of turn | +1 power. | +2 total | no | +| People | **local** | Ongoing | +1 power while on-topic (the Topic's stat is its home stat). | +1 | no | +| Science | **encyclopedic** | On reveal | +2 power if there are no other cards here (either side). | +2 | **yes: interleaving** | +| History | **nostalgic** | On reveal | +2 power if you are losing here. | +2 | **yes: interleaving** | +| Space | **translated** | On reveal | +1 power to your most recently revealed card in each *other* Topic. | +2 | yes | -### 10.2 Keyword list - -| Keyword | Source | Trigger | Reminder text | Cap | -|---|---|---|---|---| -| **Buzz** | home: attention | On reveal | +1 power to each of your *other* cards here. | +2 (lane cap 3) | -| **Anchor** | home: depth | Ongoing | +2 power while it is your only card here. | +2 | -| **Echo** | home: reach | On reveal | +1 power to your most recently played card in each *other* Topic. | +2 (2 cards) | -| **Orbit** | faction: Space | Ongoing | +1 to your Topic power in each *adjacent* Topic. | +1 per adjacent Topic | -| **Grow** | faction: Nature | End of turn | +1 power. | +3 total | -| **Rally** | faction: People | On reveal | +1 power to each of your *other People* cards, in any Topic. | `factionSynergyCap` (3) | -| **Research** | faction: Science | On reveal | +1 power for each Topic you lead right now. | +3 | -| **Legacy** | faction: History | Ongoing | On the last turn, +2 power if this card has been here since turn 4 or earlier. | +2 | -| **Remix** | faction: Culture | On reveal | +2 power if you are losing here. | +2 | +Why this set: every keyword is one line and one trigger, and only adds power. The largest swing is +2 on one card, +so no lane moves by more than 2 from a keyword. Nothing scales with faction count, so a mono-Culture deck gets no +consistency edge (`factionSynergyCap` is unused in v1). Viral is Culture's weakest keyword, and it rewards wide turns. +Three keywords (encyclopedic, nostalgic, translated) react to the interleaved reveal (§5.4), so initiative and queue order matter. Precise rules (for engine-b): -- **On reveal** resolves when this card enters its Topic during Reveal (§5.4). It sees every card already revealed, - including cards the initiative player revealed earlier in the same turn. Bonuses it grants are permanent power counters on the target cards. -- **Ongoing** is recalculated every time Topic power is read. It's a condition, not a counter. -- **End of turn** resolves in §5.5 order: the initiative player's cards first, then Topic 1→3, then play order. -- **Buzz** targets only cards already here when it reveals. Cards that arrive later don't get the bonus. -- **Anchor** counts only its owner's cards here. Opposing cards don't matter. -- **Echo:** "most recently played" means the highest play sequence number among your cards in that Topic. Topics where you have no card are skipped. -- **Orbit** adds to Topic power, not to a card. It works even if you have no cards in the adjacent Topic (so Topic power can go 0 → 1). - Topic 2 is adjacent to 1 and 3. Topics 1 and 3 are adjacent only to 2. -- **Grow** stops after it has gained +3 in total. -- **Rally** counts cards by faction. Wildcard-style faction changes don't exist in v1. It gives at most `factionSynergyCap` counters in total, - going to the targets in play order. -- **Research** counts Topics where you lead (strictly greater Topic power) at the moment it resolves, including this - Topic after its own base and on-topic power is added. *(Clarification: the card's own power counts toward leading here.)* -- **Legacy** applies when `turn == turns` (the last turn), from the start of that turn, and only if the card was revealed on a turn ≤ `keywordParams.Legacy.byTurn` (default **4**, i.e. `turns − 2`). So committing a History card early is a real choice: it shows your hand to win the +2. -- **End-of-turn effects on the last turn resolve before scoring** (§7), so Grow's last +1 counts. -- **Remix:** "losing here" means the opponent's Topic power here is strictly greater than yours, counted just *before* this card - is added. -- **Culture is about half the pool,** so its faction keyword (Remix) is the one with no faction synergy. A Culture-heavy deck - gets no consistency bonus from being mono-faction. Only People (Rally) has faction synergy, and it's capped. +- **On reveal** resolves the moment the card enters its Topic, and sees every card revealed before it (both players, + including earlier reveals this turn). The bonuses it grants are permanent counters. +- **Ongoing** is a condition, recalculated whenever power is read. +- **End of turn** resolves in §5.5 order: the initiative player's cards first, then Topic 1→3, then reveal order. +- **viral:** counts the owner's cards revealed earlier in *this* turn's Reveal phase, in any Topic. Cards that went back to hand don't count. +- **rising:** stops after it has gained +2 in total. +- **local:** "on-topic" is exactly the §1.4/§6 condition. It's simply an extra +1 on top of `onTopicBonus`. +- **encyclopedic:** "no other cards here" means both sides of this Topic are empty, apart from this card, when it reveals. +- **nostalgic:** "losing here" means the opponent's Topic power here is strictly greater than yours, counted just *before* this card is added. + The consensus tie-break doesn't count: a tie is not losing. +- **translated:** "most recently revealed" means the highest global reveal sequence number among your cards in that Topic. Topics where you have no card are skipped. +- No v1 keyword uses the RNG. §4's "later random events" slot stays empty in v1. -Examples: -- *Buzz:* you have Haiku (2) and Jazz (4) in Topic 2, then play Pop music (Buzz, power 5). Haiku becomes 3, Jazz 5, and Pop music stays 5. -- *Anchor:* Coral reef (power 2) alone in Topic 1 is 4. Once you add another card there, it's 2 again. -- *Echo:* Moon is revealed in Topic 3. Your last card in Topic 1 gets +1. You have nothing in Topic 2, so that part is skipped. -- *Orbit:* Jupiter is in Topic 3, so your Topic 2 power is +1 even though no card there changed. -- *Rally:* Albert Einstein is revealed with no other People cards in play, so nothing happens. With Marie Curie and Ada Lovelace in play, each gets +1. -- *Research:* you lead Topics 1 and 3 when Periodic table is revealed into Topic 1, so it gets +2. -- *Legacy:* Ancient Rome (power 7) shows 7 on turns 5 and 9 on turn 6. -- *Remix:* the opponent has 6 here and you have 3, so Jazz (power 2) is revealed as 4. +**Already in code, disabled by default (`keywordsEnabled` excludes them; for modes only):** +- **edition:** +2 for each other copy of this `pageId` on your side. +- **obscure:** the opponent sees it face down until the end of the match. +- **wildcard:** its home stat becomes the Topic's stat on reveal. -**`keywordParams` defaults** (every number above, keyed by keyword id; modes may change them within 0–6): +These are engine-b's existing implementations. The faction-based versions of `local` and `wildcard`, and the token version of `viral`, are +**replaced** by the definitions above. + +**`keywordParams` defaults** (keyed by keyword id; modes may change them within the §11 ranges): ```json -{ "Buzz": {"amount": 1, "cap": 2}, "Anchor": {"amount": 2}, "Echo": {"amount": 1}, - "Orbit": {"amount": 1}, "Grow": {"amount": 1, "cap": 3}, "Rally": {"amount": 1, "cap": 3}, - "Research": {"amount": 1, "cap": 3}, "Legacy": {"amount": 2, "byTurn": 4}, "Remix": {"amount": 2} } +{ "viral": {"amount": 1, "cap": 2, "powerDelta": 0}, "rising": {"amount": 1, "cap": 2, "powerDelta": 0}, + "local": {"amount": 1, "powerDelta": 0}, "encyclopedic": {"amount": 2, "powerDelta": 0}, + "nostalgic": {"amount": 2, "powerDelta": 0}, "translated": {"amount": 1, "powerDelta": 0}, + "edition": {"amount": 2, "powerDelta": 0}, "obscure": {"powerDelta": 0}, "wildcard": {"powerDelta": 0} } ``` -Rally's cap is `factionSynergyCap` when that key is set. Otherwise it's `keywordParams.Rally.cap`. +End-of-turn effects on the last turn resolve **before** scoring (§7). ### 10.3 Portals (Topic modifiers) and the default Topic pool Each Topic has `{ id, name, stat, portal | null }`. The default `topicPool` has 9 Topics, one plain and two with @@ -412,7 +397,6 @@ As data: `portal = { kind: "scoringCardBonus", amount: 1 } | { kind: "trendMulti "featured-article": {"amount": 2}, "stub": {"value": 2}, "interwiki": {"amount": 1} }`. Disambiguation has no numbers. Topic ids are the names in kebab-case: `current-events, main-page, trending, archive, featured-article, stub, translations, interwiki, disambiguation`. The UI shows each Portal's one-line rule **on the lane itself**, not behind a tap. -Orbit's bonus is not on any card, so the UI shows it as a lane badge ("+1 🪐") next to the Topic total. --- @@ -447,8 +431,8 @@ A **mode** is data, published by a node operator and run by the match host: | `onTopicBonus` (7 entries), `vanillaBonus` | 0–5 each | | `trendUp` / `trendDown` | 0–200 / −200–0 | | `factionSynergyCap` | 0–6 | -| `keywordsEnabled` | any subset of the 9 v1 keywords; a disabled keyword makes those cards vanilla, *without* `vanillaBonus` | -| `keywordParams`, `portalParams` | only the keys listed in §10.2 / §10.3, each in 0–6 (`Legacy.byTurn` in 1..`turns`) | +| `keywordsEnabled` | any subset of the 9 implemented ids (the 6 v1 defaults + edition, obscure, wildcard); a card whose keyword is disabled is vanilla, *without* `vanillaBonus` | +| `keywordParams`, `portalParams` | only the keys listed in §10 / §10.3; amounts and caps 0–6, `powerDelta` −3–0 | | `verifyStats` | the host may only turn this off for modes that use only loaners (`maxLoaners == deckSize` and owned cards banned) | | `topicPool` | 3–20 Topics, Portal kinds only from 10.3 | @@ -471,52 +455,64 @@ Example modes (good defaults for operators to publish): ## 12. Worked example match *(owner: council-designer-b)* -This example uses the §1–11 rules of this PR. It was recomputed by council-critic (who checked it with a script) and re-checked by hand by designer-b. -- **Rules:** `powerByCost [0,1,2,4,6,8,10]`, `onTopicBonus [0,1,1,2,2,3,3]`, `vanillaBonus 1`, `laneCapacity 3`, - interleaved reveals, `underdog false`, no trend arrows. Nobody carries energy: both players spend 1/2/3/4/5/6. -- **Initiative:** Ana (p0) on odd turns, Bo (p1) on even turns. -- **Topics:** **T1 Archive (depth, plain)**, **T2 Main Page (attention; Portal revealed turn 3; at scoring, +1 per card here)**, - **T3 Translations (reach, plain)**. +These are the §1–9 rules as of this PR: +- `powerByCost [0,1,2,4,6,8,10]`, `onTopicBonus [0,1,1,2,2,3,3]`, `vanillaBonus 1` +- `laneCapacity 3`, `energyCarryMax 1`, interleaved reveals, alternating initiative, `portalReveal [2,3,4]` +- `underdog false`, no trend arrows -The cards are the §1 output, given directly. "Base" is `powerByCost[cost]`, with +1 for cost-1 vanilla cards; "+on" is `onTopicBonus[cost]`. +The derived cards are given directly (the §1 output), so the test needs no percentile table. +Topics: **T1 Archive (depth, plain)**, **T2 Main Page (attention; Portal revealed turn 3; at scoring, each card here gets +1)**, +**T3 Translations (reach, plain; revealed turn 4)**. Ana (p0) has initiative on odd turns and Bo (p1) on even turns. -| Player | Card | Faction / rarity | Cost | Base (+on) | Home | Keyword | +| Player | Card | Faction | Cost | Base | Home | Keyword | |---|---|---|---|---|---|---| -| Ana | Octopus | Nature / Common | 1 | 2 (+1) | depth | – (vanilla) | -| Ana | Moon | Space / Common | 2 | 2 (+1) | reach | Echo | -| Ana | Periodic table | Science / Rare | 3 | 4 (+2) | depth | Research | -| Ana | Albert Einstein | People / Epic | 4 | 6 (+2) | attention | Rally | -| Ana | Ancient Rome | History / Rare | 5 | 8 (+3) | depth | Legacy | -| Ana | Library of Alexandria | History / Common | 4 | 6 (+2) | depth | Anchor | -| Ana | Coral reef | Nature / Common | 2 | 2 (+1) | depth | Anchor | -| Bo | Haiku | Culture / Common | 1 | 2 (+1) | attention | – (vanilla) | -| Bo | Jazz | Culture / Rare | 2 | 2 (+1) | attention | Remix | -| Bo | Fern | Nature / Rare | 3 | 4 (+2) | depth | Grow | -| Bo | Pop music | Culture / Common | 4 | 6 (+2) | attention | Buzz | -| Bo | Jupiter | Space / Epic | 5 | 8 (+3) | reach | Orbit | -| Bo | Saturn | Space / Legendary | 6 | 10 (+3) | reach | Orbit | +| Ana | Octopus | Nature | 1 | 2 | depth | – (vanilla) | +| Ana | Moon | Space | 2 | 2 | reach | translated | +| Ana | Coral reef | Nature | 2 | 2 | depth | rising | +| Ana | Albert Einstein | People | 4 | 6 | attention | local | +| Ana | Ancient Rome | History | 5 | 8 | depth | nostalgic | +| Ana | Library of Alexandria | History | 4 | 6 | depth | nostalgic | +| Ana | Periodic table | Science | 3 | 4 | depth | encyclopedic | +| Bo | Haiku | Culture | 1 | 2 | attention | – (vanilla) | +| Bo | Mars | Space | 2 | 2 | reach | translated | +| Bo | Jazz | Culture | 2 | 2 | attention | viral | +| Bo | Pop music | Culture | 4 | 6 | attention | viral | +| Bo | Jupiter | Space | 5 | 8 | reach | translated | +| Bo | Fern | Nature | 3 | 4 | depth | rising | +| Bo | Mona Lisa | Culture | 3 | 4 | attention | viral | -Topic power is written as **Ana–Bo** after the End phase. +Topic power is written as **Ana–Bo** after End of turn. Energy is "available / spent". -| Turn | Initiative | Reveals (interleaved order) and effects | T1 | T2 | T3 | -|---|---|---|---|---|---| -| 1 | Ana | Ana Octopus → T1: 2+1 = **3**. Bo Haiku → T1: **2** (off-topic) | 3–2 | 0–0 | 0–0 | -| 2 | Bo | Bo Jazz → T2: 2+1 = 3. Remix: not losing (0–0), so no bonus. Ana Moon → T3: 2+1 = 3. Echo: Octopus +1 → 4 | 4–2 | 0–3 | 3–0 | -| 3 | Ana | Main Page Portal revealed. Ana Periodic table → T1: 4+2 = 6. Research: Ana leads T1 (10–2) and T3 (3–0), so +2 → **8**. Bo Fern → T1: 4+2 = 6. End, Grow: Fern 7 | 12–9 | 0–3 | 3–0 | -| 4 | Bo | Bo Pop music → T2: 6+2 = 8. Buzz: Jazz +1 → 4. Ana Einstein → T2: 6+2 = 8. Rally: no other People cards. End, Grow: Fern 8 | 12–10 | 8–12 | 3–0 | -| 5 | Ana | Ana Ancient Rome → T3: 8 (depth ≠ reach). Its Legacy can't apply, because it arrived on turn 5 > 4. Bo Jupiter → T3: 8+3 = 11. Orbit: Bo's T2 +1. End, Grow: Fern 9 (the +3 cap is reached) | 12–11 | 8–13 | 11–11 | -| 6 (last) | Bo | Bo Saturn → T3: 10+3 = 13. Orbit: Bo's T2 +1. Ana Library → T3: 6 (off-topic; Anchor no, not alone). Ana Coral reef → T1: 2+1 = 3 (Anchor no). Scoring: Main Page gives +1 per card in T2 | **15–11** | **9–16** | **17–24** | +| Turn | Init | Energy Ana / Bo | Reveals, in interleaved order | T1 | T2 | T3 | +|---|---|---|---|---|---|---| +| 1 | Ana | 1/1, 1/1 | Ana Octopus → T1: 2 +1 on-topic = **3**. Bo Haiku → T2: 2+1 = **3** | 3–0 | 0–3 | 0–0 | +| 2 | Bo | 2/2, 2/0 | Bo passes (to carry 1). Ana Moon → T3: 2+1 = 3. translated: Octopus +1 → 4 | 4–0 | 0–3 | 3–0 | +| 3 | Ana | 3/2, **4**/4 | Main Page Portal revealed. Ana Coral reef → T1: 2+1 = 3. Bo Mars → T3: 2+1 = 3, translated: Haiku +1 → 4. Bo Jazz → T2: 2+1 = 3, viral (Mars earlier) +1 → 4. End: rising Coral reef → 4 | 8–0 | 0–8 | 3–3 (tie; on-topic 1–1, so no leader) | +| 4 | Bo | **5**/4, 4/4 | Bo Pop music → T3: 6 (off-topic), viral +0. Ana Einstein → T2: 6+2 on-topic, local +1 = **9**. End: rising Coral reef → 5 (cap reached) | 9–0 | 9–8 | 3–9 | +| 5 | Ana | **6**/5, 5/5 | Ana Ancient Rome → T3: 8 (off-topic). nostalgic: losing 3–9, so +2 → **10**. Bo Jupiter → T1: 8 (off-topic). translated: Jazz → 5 (T2), Pop music → 7 (T3) | 9–8 | 9–9: **Bo leads** (consensus: on-topic 1 vs 2) | 13–10 | +| 6 (last) | Bo | **7**/7, 6/6 | Bo Fern → T1: 4+2 = 6. Ana Library → T1: 6+2 = 8. nostalgic: losing 9–14, so +2 → **10**. Bo Mona Lisa → T2: 4+2 = 6, viral (Fern earlier) +1 → 7. Ana Periodic table → T2: 4 (off-topic), encyclopedic: no (cards here). End: rising Fern → 7. Scoring: Main Page +1 per card in T2 | **19–15** | **15–19** | **13–10** | -Final board: -- **T1:** Ana has Octopus 4 + Periodic table 8 + Coral reef 3 = **15**. Bo has Haiku 2 + Fern 9 = **11**. → Ana -- **T2:** Ana has Einstein 8+1 = **9**. Bo has Jazz 4+1 + Pop music 8+1 + Orbit ×2 = **16**. → Bo -- **T3:** Ana has Moon 3 + Ancient Rome 8 + Library 6 = **17**. Bo has Jupiter 11 + Saturn 13 = **24**. → Bo +Final card values: +- **T1:** + - Ana: Octopus 4 + Coral reef 5 + Library 10 = 19. + - Bo: Jupiter 8 + Fern 7 = 15. +- **T2:** each card +1 from Main Page. + - Ana: Einstein 10 + Periodic table 5 = 15. + - Bo: Haiku 5 + Jazz 6 + Mona Lisa 8 = 19. +- **T3:** + - Ana: Moon 3 + Ancient Rome 10 = 13. + - Bo: Mars 3 + Pop music 7 = 10. -**Bo wins 2–1** (total power 41–51; the tie-break isn't needed). -The deciding moment was Ana's turn-5 Rome. It was off-topic in T3, and too late for Legacy. Saturn on-topic plus a second Orbit then took both T2 and T3. +**Ana wins 2–1.** Three moments show the v1 mechanics: +- **Carry-over:** Bo passed on turn 2 to afford two plays on turn 3 (4 energy). +- **Consensus:** T2 at 9–9 after turn 5 went to Bo, who had two on-topic attention cards to Ana's one. +- **Interleaving decides the match:** on turn 6 Bo had initiative, so Fern revealed before Library. Ana was then losing T1 (9 vs 14) and nostalgic fired (+2). + If Ana had revealed first, she'd have been ahead 9–8, nostalgic would not have fired, and T1 would have been 17–15. Ana still wins that lane, but by 2 instead of 4. -**Golden test (engine-b):** -- **Inject:** the Topic order, these 13 cards and these commit lists, in the queue order shown. -- **Expected final Topic powers:** `[[15,11],[9,16],[17,24]]` (Ana–Bo). Winner: p1. -- **Coverage:** vanilla, Echo, Research, Grow (including its cap), Buzz, Orbit ×2, the Main Page Portal at scoring, and Remix, Rally, Anchor and Legacy correctly **not** firing. -- **Separate unit tests:** add cases where Remix, Rally, Anchor and Legacy (here since turn ≤ 4) **do** fire. +**Golden test for engine-b:** +- **Inject:** the Topic order, the opening hands and the draw order directly, with each player's commit list per turn as in the table. The queue order within a turn is as listed. +- **Expected final Topic powers:** `T1 19–15, T2 15–19, T3 13–10`. Winner: p0, by 2 Topics to 1. +- **Also assert:** + - after turn 5, T2 is a 9–9 tie with Bo leading by consensus + - Ana's carried energy is 1 at the start of turns 4, 5 and 6 + - Bo's carried energy is 1 at the start of turn 3 From 6fb9a2e8b48b5c8262d49979044d7a3d907852f6 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 17 Nov 2026 04:12:05 +0000 Subject: [PATCH 7/7] Night 1: card data distributions, sample and starter list, interim (#20) docs/game/CARD_DATA.md, card-sample.json (100 cards), starter-cards.json, scripts/night sampler and analysis. Co-Authored-By: Claude Opus 5.5 --- docs/game/CARD_DATA.md | 98 + docs/game/card-sample.json | 7103 +++++++++++++++++++++++++++++++++ docs/game/starter-cards.json | 424 ++ scripts/night/card_analyze.py | 139 + scripts/night/card_sample.py | 158 + 5 files changed, 7922 insertions(+) create mode 100644 docs/game/CARD_DATA.md create mode 100644 docs/game/card-sample.json create mode 100644 docs/game/starter-cards.json create mode 100644 scripts/night/card_analyze.py create mode 100644 scripts/night/card_sample.py diff --git a/docs/game/CARD_DATA.md b/docs/game/CARD_DATA.md new file mode 100644 index 0000000..949e90f --- /dev/null +++ b/docs/game/CARD_DATA.md @@ -0,0 +1,98 @@ +# Card data: real stat distributions (council-data) + +Status: **interim**, generated 2026-11-16 23:06 EST. The full 330-card run is still fetching pageviews politely; this file and `card-sample.json` will be regenerated. + +Method: `scripts/night/card_sample.py` draws random ns0 articles in batches of 20 and keeps those passing the `server/wiki.ts` filter (thumbnail from upload/thumb.wikimedia.org, intro extract of at least 40 characters). It enriches them with the same API parameters as `server/enrichment.ts`: six completed months Jun–Oct 2026; attention uses October. It adds Wikidata P31 and 30-day drift (views 10-17..11-15 vs 09-17..10-16). `scripts/night/card_analyze.py` produces the tables below. + +## Headline findings (INTERIM: 100 fully enriched random illustrated cards; 330 sampled, rest still fetching under Wikimedia 429 rate limits) + +1. **Raw stats are compressed and skewed.** Median card: attention 33, depth 63, reach 24 (p10–p90: attention 23–53, depth 54–71, reach 9–48). No card above 81 on anything; 100 is unreachable honestly. **Use the 1–10 tier tables below (sample deciles), not 0–100.** +2. **Correlation is weaker than feared, except attention↔depth (Spearman 0.59).** Reach is nearly independent of both (0.10 / 0.02): stub villages get many bot-made language editions. So reach is a real separate axis; attention+depth partly double-count fame. +3. **Underlying raw values are very long-tailed:** monthly views median 94 (p90 1,438, max 14k); pageBytes median 6 KB; languageCount median 4, and **10% have 0 other languages** (reach 0). +4. **Trend is mostly negative:** 69% of cards have trendPercent < 0 (median −10%), 31% positive, 14% swing by more than 50%. Null is rare (1%). A "Trending" keyword fires for about a third of cards: fine as a small ±1. +5. **Live values are fairly stable in score terms:** 30-day pageview drift median |18%| (p90 55%), but that moves the attention score by only a median of **1.4 points** (p90 5.6). So "live vs. mint" differences are small for random cards; big swings only come from deliberate inflation (see the critic's point A4). +6. **The legacy `category()` buckets are unusable as factions:** Culture 53%, People 30%, Nature 9%, History 5%, Science 3%, **Space 0%**. +7. **Candidate factions from Wikidata P31 (instance of), clean and readable:** People 31%, Places 25%, Nature 10%, Structures 6%, Works 5%, Events 5%, Sport 3%, Ideas & Tech 3%, Organisations 2%, unclassified 10%. Suggest **6 factions**: People, Places, Nature, Works & Culture (Works + Organisations + Sport), Structures, Events & Ideas (Events + Ideas & Tech), plus a neutral fallback. People and Places are big, so faction bonuses should scale with *share in deck*, not raw count, or the small factions need their own perks. +8. **Starter/loaner list:** frozen stats for up to 4 cards per legacy category, spread across tiers, in `docs/game/starter-cards.json` (Space has no sample cards: hand-pick e.g. the Moon from `shared/catalog.ts`). + +## Full tables + +Sample: **100 cards**; ~44% (149/340 logged during sampling) of random pages pass the illustrated filter. Pageviews available for 100. + +| stat | n | min | p10 | p25 | median | p75 | p90 | max | mean | skew | +|---|---|---|---|---|---|---|---|---|---|---| +| attention | 100 | 13 | 23 | 27 | 33 | 41 | 53 | 69 | 35 | 0.75 | +| depth | 100 | 50 | 54 | 59 | 63 | 68 | 71 | 81 | 63 | 0.24 | +| reach | 100 | 0 | 9 | 16 | 24 | 36 | 48 | 59 | 26 | 0.11 | +| pageBytes | 100 | 998 | 1804 | 3407 | 6018 | 12512 | 19161 | 74169 | 9885 | 3.20 | +| languageCount | 100 | 0 | 1 | 2 | 4 | 11 | 27 | 56 | 9 | 1.83 | +| monthlyViews | 100 | 5 | 22 | 43 | 94 | 277 | 1438 | 14374 | 611 | 5.76 | +| dailyAverage | 100 | 0.2 | 0.7 | 1.4 | 3.0 | 8.9 | 46.4 | 463.7 | 19.7 | 5.76 | +| trendPercent | 99 | -86.6 | -45.1 | -26.4 | -10.4 | 4.5 | 21.1 | 187.1 | -9.5 | 1.83 | +| drift30Percent | 99 | -94.7 | -45.9 | -30.7 | -12.7 | -1.7 | 14.8 | 72.1 | -16.1 | -0.20 | + +**Spearman rank correlations** (cards with pageviews): + +| | attention | depth | reach | trendPercent | drift30Percent | +|---|---|---|---|---|---| +| attention | 1.00 | 0.59 | 0.10 | 0.24 | 0.25 | +| depth | 0.59 | 1.00 | 0.02 | 0.07 | 0.05 | +| reach | 0.10 | 0.02 | 1.00 | -0.10 | 0.24 | +| trendPercent | 0.24 | 0.07 | -0.10 | 1.00 | 0.53 | +| drift30Percent | 0.25 | 0.05 | 0.24 | 0.53 | 1.00 | + +(n=99; attention~monthlyViews, depth~pageBytes, reach~languageCount are monotonic so their rank correlations are identical.) + +**trendPercent sign:** positive 31 (31%), negative 68 (69%), zero 0; null (prior month 0 or no views) 1. |trend| > 50%: 14; > 100%: 1. + +**30-day drift** (views 10-17..11-15 vs 09-17..10-16): median |drift| 18%, p90 |drift| 55%. Attention score change implied: median 1.4 points, p90 5.6 points. + +**attention histogram (deciles 0-9,10-19..90-100):** 0 4 30 39 12 11 4 0 0 0 +**depth histogram (deciles 0-9,10-19..90-100):** 0 0 0 0 0 30 53 15 2 0 +**reach histogram (deciles 0-9,10-19..90-100):** 10 25 23 23 10 9 0 0 0 0 + +Reach = 0 (no other languages): 10; reach 100 (>=999 langs) impossible in practice, max langs 56. Attention null: 0; attention 0: 0. + +**Sum of three stats:** min 84, p10 97, p25 107, median 120, p75 140, p90 155, max 193 + +**Legacy `category()` (server/wiki.ts):** Culture 53, People 30, Nature 9, History 5, Science 3 + +**Top Wikidata P31 classes:** human 30, taxon 8, river 4, village 4, commune of France 3, musical group 2, building 2, castle 2, rural municipality of Austria 1, municipality of Austria 1, municipality of Brazil 1, television film 1, nor'easter 1, rail company (Japan) 1, village of Poland 1, municipality 1, civil parish 1, association football match 1, final 1, local government area of Victoria 1, plant disease 1, basketball team season 1, mosque 1, functional programming language 1, purely functional programming language 1, dependently typed programming language 1, programming language 1, free software 1, proof assistant 1, municipality of Croatia 1, municipality of Bangladesh 1, town 1, town in the United States 1, municipality of Georgia 1, epiphyte 1, protest 1, region of Mauritania 1, legislative election 1, musical work/composition 1, plateau 1 + +No Wikidata item: 0; no P31: 6 + +**Most frequent category words (cards containing):** stubs 35, births 27, people 26, from 24, century 22, living 16, geography 15, deaths 14, american 13, county 9, university 8, male 7, united 7, film 7, players 7, district 6, states 6, sports 6, biography 6, television 5, alumni 5, genera 5, established 5, villages 5, football 5, city 5, buildings 5, expatriate 5, sportspeople 5, sportsmen 5, towns 4, municipalities 4, writers 4, women 4, faculty 4, communes 4, rivers 4, places 4, establishments 4, actors 4, california 4, russian 4, association 4, structures 4, described 3, british 3, french 3, ohio 3, academics 3, based 3, japanese 3, pennsylvania 3, argentine 3, australia 3, populated 3, directors 3, rock 3, musical 3, conference 3, division 3 + + +## Rank-normalised tiers (1–10) + +Tier = 1 + number of breakpoints the score is **>=**. Breakpoints are the sample deciles p10..p90 of the 0–100 score. Ties make some tiers thin (scores are integers). + +| stat | p10 | p20 | p30 | p40 | p50 | p60 | p70 | p80 | p90 | +|---|---|---|---|---|---|---|---|---|---| +| attention | 23 | 25 | 28 | 31 | 33 | 36 | 38 | 45 | 53 | +| depth | 54 | 57 | 60 | 61 | 63 | 65 | 67 | 69 | 72 | +| reach | 10 | 10 | 16 | 20 | 26 | 30 | 36 | 39 | 49 | + +Resulting tier counts — attention: None:0 1:10 2:9 3:7 4:14 5:8 6:12 7:7 8:12 9:10 10:11 +; depth: 1:7 2:11 3:12 4:6 5:11 6:11 7:9 8:9 9:14 10:10 +; reach: 1:10 2:0 3:13 4:12 5:15 6:8 7:11 8:10 9:11 10:10 + +Starter candidates: 19 written to /tmp/claude-1000/-home-eric-worker-jobs-night-council-data/d4e31987-ce7f-4f28-8262-8f0225215102/scratchpad/starter.json: Counter({'Nature': 4, 'People': 4, 'History': 4, 'Culture': 4, 'Science': 3}) + +## Candidate factions (Wikidata P31 rules) + +| faction | n | share | median attention | median depth | median reach | example | +|---|---|---|---|---|---|---| +| People | 31 | 31% | 33 | 65 | 26 | Salahuddin of Aceh | +| Places | 25 | 25% | 28 | 61 | 36 | St. Georgen am Längsee | +| Nature | 10 | 10% | 30 | 56 | 31 | Dichromorpha viridis | +| Other | 10 | 10% | 52 | 64 | 22 | Village (Pennsylvania) | +| Structures | 6 | 6% | 32 | 58 | 16 | Pathrail Mosque | +| Works | 5 | 5% | 40 | 64 | 16 | The Best of Men | +| Events | 5 | 5% | 38 | 72 | 10 | April 2021 nor'easter | +| Sport | 3 | 3% | 25 | 71 | 0 | 1912 Argentine Primera División final | +| Ideas & Tech | 3 | 3% | 37 | 62 | 20 | Agda (programming language) | +| Organisations | 2 | 2% | 50 | 62 | 24 | Hiroshima Electric Railway | + +Unclassified P31 labels: typeface 1, annexation 1, position 1, family 1 diff --git a/docs/game/card-sample.json b/docs/game/card-sample.json new file mode 100644 index 0000000..c66c833 --- /dev/null +++ b/docs/game/card-sample.json @@ -0,0 +1,7103 @@ +{ + "generatedAt": "2026-11-17T04:05:04.081324+00:00", + "method": "random ns0 batches of 20, filter as server/wiki.ts (thumbnail + extract>=40); enrichment as server/enrichment.ts; monthly views summed from daily REST pageviews; P31 from Wikidata", + "randomBatches": 0, + "rawPagesSeen": 0, + "cards": [ + { + "pageId": 8723556, + "title": "Salahuddin of Aceh", + "description": "Sultan of Aceh (1530–1537/9)", + "wikidataId": "Q4264920", + "revisionId": 1358732737, + "pageBytes": 5773, + "languageCount": 6, + "languagesTruncated": false, + "categories": [ + "1548 deaths", + "16th-century Indonesian people", + "16th-century monarchs in Asia", + "Sultans of Aceh" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 151 + }, + { + "month": "2026-06", + "views": 129 + }, + { + "month": "2026-07", + "views": 155 + }, + { + "month": "2026-08", + "views": 155 + }, + { + "month": "2026-09", + "views": 159 + }, + { + "month": "2026-10", + "views": 142 + } + ], + "latestMonth": "2026-10", + "total": 891, + "dailyAverage": 4.580645161290323, + "trendPercent": -10.69182389937107 + }, + "stats": { + "attention": 36, + "depth": 63, + "reach": 28 + }, + "legacyCategory": "People", + "drift30": { + "last30": 140, + "prev30": 152, + "pct": -7.894736842105263 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 10800205, + "title": "St. Georgen am Längsee", + "description": "Municipality in Carinthia, Austria", + "wikidataId": "Q664135", + "revisionId": 1376918522, + "pageBytes": 5004, + "languageCount": 30, + "languagesTruncated": false, + "categories": [ + "Carinthia geography stubs", + "Cities and towns in Sankt Veit an der Glan District" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 46 + }, + { + "month": "2026-06", + "views": 33 + }, + { + "month": "2026-07", + "views": 43 + }, + { + "month": "2026-08", + "views": 53 + }, + { + "month": "2026-09", + "views": 56 + }, + { + "month": "2026-10", + "views": 45 + } + ], + "latestMonth": "2026-10", + "total": 276, + "dailyAverage": 1.4516129032258065, + "trendPercent": -19.642857142857142 + }, + "stats": { + "attention": 28, + "depth": 62, + "reach": 50 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 36, + "prev30": 46, + "pct": -21.73913043478261 + }, + "instanceOf": [ + { + "id": "Q1802801", + "label": "rural municipality of Austria" + }, + { + "id": "Q667509", + "label": "municipality of Austria" + } + ] + }, + { + "pageId": 25468405, + "title": "Maracás", + "description": "Municipality of Bahia, Brazil", + "wikidataId": "Q1795100", + "revisionId": 1378546622, + "pageBytes": 5063, + "languageCount": 27, + "languagesTruncated": false, + "categories": [ + "Bahia geography stubs", + "Municipalities in Bahia" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 105 + }, + { + "month": "2026-06", + "views": 81 + }, + { + "month": "2026-07", + "views": 68 + }, + { + "month": "2026-08", + "views": 67 + }, + { + "month": "2026-09", + "views": 79 + }, + { + "month": "2026-10", + "views": 58 + } + ], + "latestMonth": "2026-10", + "total": 458, + "dailyAverage": 1.8709677419354838, + "trendPercent": -26.582278481012654 + }, + "stats": { + "attention": 30, + "depth": 62, + "reach": 48 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 55, + "prev30": 62, + "pct": -11.29032258064516 + }, + "instanceOf": [ + { + "id": "Q3184121", + "label": "municipality of Brazil" + } + ] + }, + { + "pageId": 25856905, + "title": "Dichromorpha viridis", + "description": "Species of grasshopper", + "wikidataId": "Q5272562", + "revisionId": 1367363150, + "pageBytes": 1347, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "Gomphocerinae", + "Insects described in 1863" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 182 + }, + { + "month": "2026-06", + "views": 242 + }, + { + "month": "2026-07", + "views": 326 + }, + { + "month": "2026-08", + "views": 296 + }, + { + "month": "2026-09", + "views": 236 + }, + { + "month": "2026-10", + "views": 133 + } + ], + "latestMonth": "2026-10", + "total": 1415, + "dailyAverage": 4.290322580645161, + "trendPercent": -43.64406779661017 + }, + "stats": { + "attention": 35, + "depth": 52, + "reach": 23 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 121, + "prev30": 197, + "pct": -38.578680203045685 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 36740675, + "title": "The Best of Men", + "description": "2012 British television film", + "wikidataId": "Q7717125", + "revisionId": 1372732350, + "pageBytes": 6002, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "2010s docudrama films", + "2012 British films", + "2012 films", + "2012 television films", + "BBC television dramas", + "British docudrama films", + "Science docudramas" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 521 + }, + { + "month": "2026-06", + "views": 656 + }, + { + "month": "2026-07", + "views": 644 + }, + { + "month": "2026-08", + "views": 518 + }, + { + "month": "2026-09", + "views": 493 + }, + { + "month": "2026-10", + "views": 476 + } + ], + "latestMonth": "2026-10", + "total": 3308, + "dailyAverage": 15.35483870967742, + "trendPercent": -3.4482758620689653 + }, + "stats": { + "attention": 45, + "depth": 63, + "reach": 23 + }, + "legacyCategory": "Science", + "drift30": { + "last30": 436, + "prev30": 455, + "pct": -4.175824175824175 + }, + "instanceOf": [ + { + "id": "Q506240", + "label": "television film" + } + ] + }, + { + "pageId": 41530188, + "title": "Hervé Fischer", + "description": null, + "wikidataId": "Q3134490", + "revisionId": 1383948367, + "pageBytes": 10429, + "languageCount": 6, + "languagesTruncated": false, + "categories": [ + "1941 births", + "French male writers", + "French sociologists", + "Living people" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 68 + }, + { + "month": "2026-06", + "views": 32 + }, + { + "month": "2026-07", + "views": 49 + }, + { + "month": "2026-08", + "views": 62 + }, + { + "month": "2026-09", + "views": 81 + }, + { + "month": "2026-10", + "views": 47 + } + ], + "latestMonth": "2026-10", + "total": 339, + "dailyAverage": 1.5161290322580645, + "trendPercent": -41.9753086419753 + }, + "stats": { + "attention": 28, + "depth": 67, + "reach": 28 + }, + "legacyCategory": "People", + "drift30": { + "last30": 47, + "prev30": 68, + "pct": -30.88235294117647 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 41676480, + "title": "Mary Sophie Young", + "description": "American botanist (c.1872–1919)", + "wikidataId": "Q16043849", + "revisionId": 1187069209, + "pageBytes": 4654, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "1870s births", + "1919 deaths", + "American botanists", + "American women academics", + "American women botanists", + "Botanists active in North America", + "People from Glendale, Ohio", + "University of Chicago alumni", + "University of Texas at Austin faculty", + "Wellesley College alumni" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 20 + }, + { + "month": "2026-06", + "views": 25 + }, + { + "month": "2026-07", + "views": 15 + }, + { + "month": "2026-08", + "views": 11 + }, + { + "month": "2026-09", + "views": 16 + }, + { + "month": "2026-10", + "views": 18 + } + ], + "latestMonth": "2026-10", + "total": 105, + "dailyAverage": 0.5806451612903226, + "trendPercent": 12.5 + }, + "stats": { + "attention": 21, + "depth": 61, + "reach": 20 + }, + "legacyCategory": "People", + "drift30": { + "last30": 20, + "prev30": 20, + "pct": 0.0 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 60187566, + "title": "Oncopagurus", + "description": "Genus of crustaceans", + "wikidataId": "Q4471563", + "revisionId": 1353977816, + "pageBytes": 2123, + "languageCount": 6, + "languagesTruncated": false, + "categories": [ + "Anomura stubs", + "Decapod genera", + "Hermit crabs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 90 + }, + { + "month": "2026-06", + "views": 66 + }, + { + "month": "2026-07", + "views": 72 + }, + { + "month": "2026-08", + "views": 82 + }, + { + "month": "2026-09", + "views": 39 + }, + { + "month": "2026-10", + "views": 63 + } + ], + "latestMonth": "2026-10", + "total": 412, + "dailyAverage": 2.032258064516129, + "trendPercent": 61.53846153846154 + }, + "stats": { + "attention": 30, + "depth": 55, + "reach": 28 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 51, + "prev30": 47, + "pct": 8.51063829787234 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 67426902, + "title": "April 2021 nor'easter", + "description": "Slow-moving nor'easter in April 2021", + "wikidataId": "Q106542029", + "revisionId": 1355258366, + "pageBytes": 24519, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "2020–21 North American winter", + "2021 in Maine", + "2021 in Massachusetts", + "2021 in New Hampshire", + "2021 in Vermont", + "April 2021 in the United States", + "Nor'easters" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 127 + }, + { + "month": "2026-06", + "views": 86 + }, + { + "month": "2026-07", + "views": 78 + }, + { + "month": "2026-08", + "views": 108 + }, + { + "month": "2026-09", + "views": 302 + }, + { + "month": "2026-10", + "views": 89 + } + ], + "latestMonth": "2026-10", + "total": 790, + "dailyAverage": 2.870967741935484, + "trendPercent": -70.52980132450331 + }, + "stats": { + "attention": 33, + "depth": 73, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 80, + "prev30": 277, + "pct": -71.11913357400722 + }, + "instanceOf": [ + { + "id": "Q2001587", + "label": "nor'easter" + } + ] + }, + { + "pageId": 8330236, + "title": "Hiroshima Electric Railway", + "description": "Japanese transportation company", + "wikidataId": "Q16595959", + "revisionId": 1383654640, + "pageBytes": 8796, + "languageCount": 14, + "languagesTruncated": false, + "categories": [ + "Bus companies of Japan", + "Companies based in Hiroshima Prefecture", + "Companies listed on the Tokyo Stock Exchange", + "Hiroshima Electric Railway", + "Japanese companies established in 1910", + "Railway companies established in 1910", + "Railway companies of Japan" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1387 + }, + { + "month": "2026-06", + "views": 1086 + }, + { + "month": "2026-07", + "views": 1092 + }, + { + "month": "2026-08", + "views": 1483 + }, + { + "month": "2026-09", + "views": 1232 + }, + { + "month": "2026-10", + "views": 1059 + } + ], + "latestMonth": "2026-10", + "total": 7339, + "dailyAverage": 34.16129032258065, + "trendPercent": -14.042207792207792 + }, + "stats": { + "attention": 50, + "depth": 66, + "reach": 39 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 1048, + "prev30": 1102, + "pct": -4.900181488203267 + }, + "instanceOf": [ + { + "id": "Q85907346", + "label": "rail company (Japan)" + } + ] + }, + { + "pageId": 15810707, + "title": "Charmont-en-Beauce", + "description": "Commune in Centre-Val de Loire, France", + "wikidataId": "Q667131", + "revisionId": 1381828954, + "pageBytes": 1811, + "languageCount": 32, + "languagesTruncated": false, + "categories": [ + "Communes of Loiret", + "Loiret geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 26 + }, + { + "month": "2026-06", + "views": 14 + }, + { + "month": "2026-07", + "views": 9 + }, + { + "month": "2026-08", + "views": 7 + }, + { + "month": "2026-09", + "views": 18 + }, + { + "month": "2026-10", + "views": 23 + } + ], + "latestMonth": "2026-10", + "total": 97, + "dailyAverage": 0.7419354838709677, + "trendPercent": 27.77777777777778 + }, + "stats": { + "attention": 23, + "depth": 54, + "reach": 51 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 14, + "prev30": 21, + "pct": -33.33333333333333 + }, + "instanceOf": [ + { + "id": "Q484170", + "label": "commune of France" + } + ] + }, + { + "pageId": 15884863, + "title": "Freshwater River", + "description": "River on Stewart Island / Rakiura, New Zealand", + "wikidataId": "Q5503122", + "revisionId": 1358001871, + "pageBytes": 4058, + "languageCount": 5, + "languagesTruncated": false, + "categories": [ + "Rivers of Stewart Island" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 21 + }, + { + "month": "2026-06", + "views": 39 + }, + { + "month": "2026-07", + "views": 31 + }, + { + "month": "2026-08", + "views": 28 + }, + { + "month": "2026-09", + "views": 32 + }, + { + "month": "2026-10", + "views": 29 + } + ], + "latestMonth": "2026-10", + "total": 180, + "dailyAverage": 0.9354838709677419, + "trendPercent": -9.375 + }, + "stats": { + "attention": 25, + "depth": 60, + "reach": 26 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 26, + "prev30": 41, + "pct": -36.58536585365854 + }, + "instanceOf": [ + { + "id": "Q4022", + "label": "river" + } + ] + }, + { + "pageId": 18775530, + "title": "Złaków Kościelny", + "description": "Village in Łódź Voivodeship, Poland", + "wikidataId": "Q321622", + "revisionId": 1378518207, + "pageBytes": 1153, + "languageCount": 7, + "languagesTruncated": false, + "categories": [ + "Villages in Łowicz County", + "Łowicz County geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 19 + }, + { + "month": "2026-06", + "views": 10 + }, + { + "month": "2026-07", + "views": 7 + }, + { + "month": "2026-08", + "views": 27 + }, + { + "month": "2026-09", + "views": 13 + }, + { + "month": "2026-10", + "views": 11 + } + ], + "latestMonth": "2026-10", + "total": 87, + "dailyAverage": 0.3548387096774194, + "trendPercent": -15.384615384615385 + }, + "stats": { + "attention": 18, + "depth": 51, + "reach": 30 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 7, + "prev30": 10, + "pct": -30.0 + }, + "instanceOf": [ + { + "id": "Q3558970", + "label": "village of Poland" + } + ] + }, + { + "pageId": 24509551, + "title": "Village (Pennsylvania)", + "description": null, + "wikidataId": "Q16936588", + "revisionId": 1367096869, + "pageBytes": 4229, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "Local government in Pennsylvania" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 88 + }, + { + "month": "2026-06", + "views": 80 + }, + { + "month": "2026-07", + "views": 74 + }, + { + "month": "2026-08", + "views": 70 + }, + { + "month": "2026-09", + "views": 67 + }, + { + "month": "2026-10", + "views": 51 + } + ], + "latestMonth": "2026-10", + "total": 430, + "dailyAverage": 1.6451612903225807, + "trendPercent": -23.88059701492537 + }, + "stats": { + "attention": 29, + "depth": 60, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 40, + "prev30": 60, + "pct": -33.33333333333333 + }, + "instanceOf": [] + }, + { + "pageId": 25207440, + "title": "Sainte-Félicité, Chaudière-Appalaches", + "description": "Municipality in Quebec, Canada", + "wikidataId": "Q3464275", + "revisionId": 1376759357, + "pageBytes": 4402, + "languageCount": 7, + "languagesTruncated": false, + "categories": [ + "Chaudière-Appalaches geography stubs", + "Incorporated places in Chaudière-Appalaches", + "Municipalities in Quebec" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 18 + }, + { + "month": "2026-06", + "views": 24 + }, + { + "month": "2026-07", + "views": 12 + }, + { + "month": "2026-08", + "views": 23 + }, + { + "month": "2026-09", + "views": 27 + }, + { + "month": "2026-10", + "views": 18 + } + ], + "latestMonth": "2026-10", + "total": 122, + "dailyAverage": 0.5806451612903226, + "trendPercent": -33.33333333333333 + }, + "stats": { + "attention": 21, + "depth": 61, + "reach": 30 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 6, + "prev30": 26, + "pct": -76.92307692307693 + }, + "instanceOf": [ + { + "id": "Q27676428", + "label": "municipality" + } + ] + }, + { + "pageId": 29902322, + "title": "Llanveynoe", + "description": "Village in Herefordshire, England", + "wikidataId": "Q6661845", + "revisionId": 1325745411, + "pageBytes": 4047, + "languageCount": 7, + "languagesTruncated": false, + "categories": [ + "Civil parishes in Herefordshire", + "Villages in Herefordshire" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 55 + }, + { + "month": "2026-06", + "views": 36 + }, + { + "month": "2026-07", + "views": 59 + }, + { + "month": "2026-08", + "views": 84 + }, + { + "month": "2026-09", + "views": 54 + }, + { + "month": "2026-10", + "views": 43 + } + ], + "latestMonth": "2026-10", + "total": 331, + "dailyAverage": 1.3870967741935485, + "trendPercent": -20.37037037037037 + }, + "stats": { + "attention": 27, + "depth": 60, + "reach": 30 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 29, + "prev30": 40, + "pct": -27.500000000000004 + }, + "instanceOf": [ + { + "id": "Q532", + "label": "village" + }, + { + "id": "Q1115575", + "label": "civil parish" + } + ] + }, + { + "pageId": 66508497, + "title": "Amanita mairei", + "description": "Species of fungus", + "wikidataId": "Q15651951", + "revisionId": 1323515500, + "pageBytes": 998, + "languageCount": 8, + "languagesTruncated": false, + "categories": [ + "Amanita", + "Fungi described in 1949", + "Fungus species" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 24 + }, + { + "month": "2026-06", + "views": 30 + }, + { + "month": "2026-07", + "views": 19 + }, + { + "month": "2026-08", + "views": 54 + }, + { + "month": "2026-09", + "views": 78 + }, + { + "month": "2026-10", + "views": 61 + } + ], + "latestMonth": "2026-10", + "total": 266, + "dailyAverage": 1.967741935483871, + "trendPercent": -21.794871794871796 + }, + "stats": { + "attention": 30, + "depth": 50, + "reach": 32 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 49, + "prev30": 67, + "pct": -26.865671641791046 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 80560274, + "title": "1912 Argentine Primera División final", + "description": "Football match", + "wikidataId": "Q135493693", + "revisionId": 1351705367, + "pageBytes": 11909, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "1910s in Buenos Aires", + "1912 in Argentine football", + "Argentine Primera División", + "Club Atlético Independiente matches", + "Club Atlético Porteño matches", + "December 1912 in sports", + "Football competitions in Buenos Aires" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 41 + }, + { + "month": "2026-06", + "views": 24 + }, + { + "month": "2026-07", + "views": 21 + }, + { + "month": "2026-08", + "views": 23 + }, + { + "month": "2026-09", + "views": 23 + }, + { + "month": "2026-10", + "views": 19 + } + ], + "latestMonth": "2026-10", + "total": 151, + "dailyAverage": 0.6129032258064516, + "trendPercent": -17.391304347826086 + }, + "stats": { + "attention": 22, + "depth": 68, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 6, + "prev30": 27, + "pct": -77.77777777777779 + }, + "instanceOf": [ + { + "id": "Q12166442", + "label": "association football match" + }, + { + "id": "Q1366722", + "label": "final" + } + ] + }, + { + "pageId": 466891, + "title": "City of Wyndham", + "description": "Local government area in Victoria, Australia", + "wikidataId": "Q1502429", + "revisionId": 1386046344, + "pageBytes": 13630, + "languageCount": 9, + "languagesTruncated": false, + "categories": [ + "1862 establishments in Australia", + "City of Wyndham", + "Local government areas in Melbourne", + "Populated places established in 1862" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1464 + }, + { + "month": "2026-06", + "views": 1160 + }, + { + "month": "2026-07", + "views": 1194 + }, + { + "month": "2026-08", + "views": 1260 + }, + { + "month": "2026-09", + "views": 1034 + }, + { + "month": "2026-10", + "views": 954 + } + ], + "latestMonth": "2026-10", + "total": 7066, + "dailyAverage": 30.774193548387096, + "trendPercent": -7.7369439071566735 + }, + "stats": { + "attention": 50, + "depth": 69, + "reach": 33 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 841, + "prev30": 991, + "pct": -15.136226034308779 + }, + "instanceOf": [ + { + "id": "Q1426035", + "label": "local government area of Victoria" + } + ] + }, + { + "pageId": 2453788, + "title": "Heart rot", + "description": "Fungal disease of trees", + "wikidataId": "Q5692479", + "revisionId": 1374732887, + "pageBytes": 10880, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "Fungal tree pathogens and diseases" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 854 + }, + { + "month": "2026-06", + "views": 691 + }, + { + "month": "2026-07", + "views": 567 + }, + { + "month": "2026-08", + "views": 670 + }, + { + "month": "2026-09", + "views": 799 + }, + { + "month": "2026-10", + "views": 762 + } + ], + "latestMonth": "2026-10", + "total": 4343, + "dailyAverage": 24.580645161290324, + "trendPercent": -4.630788485607009 + }, + "stats": { + "attention": 48, + "depth": 67, + "reach": 23 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 665, + "prev30": 765, + "pct": -13.071895424836603 + }, + "instanceOf": [ + { + "id": "Q2662845", + "label": "plant disease" + } + ] + }, + { + "pageId": 2806760, + "title": "Jess Harnell", + "description": "American voice actor and singer (born 1963)", + "wikidataId": "Q258503", + "revisionId": 1385958400, + "pageBytes": 53307, + "languageCount": 22, + "languagesTruncated": false, + "categories": [ + "1963 births", + "20th-century American male actors", + "20th-century American male singers", + "21st-century American male actors", + "21st-century American male singers", + "American announcers", + "American casting directors", + "American impressionists (entertainers)", + "American male film actors", + "American male radio actors", + "American male television actors", + "American male video game actors", + "American male voice actors", + "American rock singers", + "American voice directors", + "Audiobook narrators", + "Disney people", + "Living people", + "Male actors from Englewood, New Jersey", + "Male actors from Teaneck, New Jersey", + "Musicians from Englewood, New Jersey", + "Musicians from Teaneck, New Jersey" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 13061 + }, + { + "month": "2026-06", + "views": 12627 + }, + { + "month": "2026-07", + "views": 14539 + }, + { + "month": "2026-08", + "views": 14585 + }, + { + "month": "2026-09", + "views": 14785 + }, + { + "month": "2026-10", + "views": 14374 + } + ], + "latestMonth": "2026-10", + "total": 83971, + "dailyAverage": 463.6774193548387, + "trendPercent": -2.77984443692932 + }, + "stats": { + "attention": 69, + "depth": 79, + "reach": 45 + }, + "legacyCategory": "People", + "drift30": { + "last30": 14621, + "prev30": 13492, + "pct": 8.367921731396383 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 9026000, + "title": "Names of Poland", + "description": "", + "wikidataId": "Q6961536", + "revisionId": 1351068420, + "pageBytes": 18966, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "Country name etymology", + "History of Poland", + "Polish language" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 2197 + }, + { + "month": "2026-06", + "views": 1797 + }, + { + "month": "2026-07", + "views": 1657 + }, + { + "month": "2026-08", + "views": 1500 + }, + { + "month": "2026-09", + "views": 1444 + }, + { + "month": "2026-10", + "views": 1431 + } + ], + "latestMonth": "2026-10", + "total": 10026, + "dailyAverage": 46.16129032258065, + "trendPercent": -0.9002770083102494 + }, + "stats": { + "attention": 53, + "depth": 71, + "reach": 23 + }, + "legacyCategory": "History", + "drift30": { + "last30": 1295, + "prev30": 1458, + "pct": -11.179698216735254 + }, + "instanceOf": [] + }, + { + "pageId": 15768716, + "title": "Ungersheim", + "description": "Commune in Grand Est, France", + "wikidataId": "Q122940", + "revisionId": 1382030873, + "pageBytes": 3450, + "languageCount": 39, + "languagesTruncated": false, + "categories": [ + "Communes of Haut-Rhin", + "Mulhouse arrondissement geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 69 + }, + { + "month": "2026-06", + "views": 62 + }, + { + "month": "2026-07", + "views": 113 + }, + { + "month": "2026-08", + "views": 96 + }, + { + "month": "2026-09", + "views": 73 + }, + { + "month": "2026-10", + "views": 66 + } + ], + "latestMonth": "2026-10", + "total": 479, + "dailyAverage": 2.129032258064516, + "trendPercent": -9.58904109589041 + }, + "stats": { + "attention": 30, + "depth": 59, + "reach": 53 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 62, + "prev30": 64, + "pct": -3.125 + }, + "instanceOf": [ + { + "id": "Q484170", + "label": "commune of France" + } + ] + }, + { + "pageId": 38195538, + "title": "Joe Gideon & the Shark", + "description": "English blues/indie rock band", + "wikidataId": "Q3012108", + "revisionId": 1354427246, + "pageBytes": 2489, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "British musical group stubs", + "English blues rock musical groups", + "Rock music groups from London" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 102 + }, + { + "month": "2026-06", + "views": 71 + }, + { + "month": "2026-07", + "views": 75 + }, + { + "month": "2026-08", + "views": 91 + }, + { + "month": "2026-09", + "views": 85 + }, + { + "month": "2026-10", + "views": 96 + } + ], + "latestMonth": "2026-10", + "total": 520, + "dailyAverage": 3.096774193548387, + "trendPercent": 12.941176470588237 + }, + "stats": { + "attention": 33, + "depth": 57, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 87, + "prev30": 88, + "pct": -1.1363636363636365 + }, + "instanceOf": [ + { + "id": "Q215380", + "label": "musical group" + } + ] + }, + { + "pageId": 39770094, + "title": "2013–14 California Golden Bears men's basketball team", + "description": "American college basketball season", + "wikidataId": "Q16245089", + "revisionId": 1376919282, + "pageBytes": 31778, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "2013 in sports in California", + "2013–14 Pac-12 Conference men's basketball season", + "2014 National Invitation Tournament participants", + "2014 in sports in California", + "California Golden Bears men's basketball seasons" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 68 + }, + { + "month": "2026-06", + "views": 66 + }, + { + "month": "2026-07", + "views": 39 + }, + { + "month": "2026-08", + "views": 27 + }, + { + "month": "2026-09", + "views": 36 + }, + { + "month": "2026-10", + "views": 29 + } + ], + "latestMonth": "2026-10", + "total": 265, + "dailyAverage": 0.9354838709677419, + "trendPercent": -19.444444444444446 + }, + "stats": { + "attention": 25, + "depth": 75, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 29, + "prev30": 41, + "pct": -29.268292682926827 + }, + "instanceOf": [ + { + "id": "Q26894053", + "label": "basketball team season" + } + ] + }, + { + "pageId": 49830722, + "title": "Dicroidium odontopteroides", + "description": "Species of ancient plant", + "wikidataId": "Q25095289", + "revisionId": 1116073630, + "pageBytes": 1943, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "Mesozoic plant stubs", + "Pteridospermatophyta", + "Triassic plants" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 41 + }, + { + "month": "2026-06", + "views": 82 + }, + { + "month": "2026-07", + "views": 52 + }, + { + "month": "2026-08", + "views": 69 + }, + { + "month": "2026-09", + "views": 56 + }, + { + "month": "2026-10", + "views": 59 + } + ], + "latestMonth": "2026-10", + "total": 359, + "dailyAverage": 1.903225806451613, + "trendPercent": 5.357142857142857 + }, + "stats": { + "attention": 30, + "depth": 55, + "reach": 0 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 42, + "prev30": 64, + "pct": -34.375 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 52302489, + "title": "Pathrail Mosque", + "description": "Mosque in Faridpur, Bangladesh", + "wikidataId": "Q28173356", + "revisionId": 1380325251, + "pageBytes": 6701, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "15th-century mosques in Bangladesh", + "Bengal Sultanate mosques", + "Faridpur District", + "Mosque buildings with domes in Bangladesh", + "Mosque buildings with minarets in Bangladesh", + "Mosques in Dhaka Division" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 117 + }, + { + "month": "2026-06", + "views": 100 + }, + { + "month": "2026-07", + "views": 100 + }, + { + "month": "2026-08", + "views": 98 + }, + { + "month": "2026-09", + "views": 81 + }, + { + "month": "2026-10", + "views": 71 + } + ], + "latestMonth": "2026-10", + "total": 567, + "dailyAverage": 2.2903225806451615, + "trendPercent": -12.345679012345679 + }, + "stats": { + "attention": 31, + "depth": 64, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 70, + "prev30": 69, + "pct": 1.4492753623188406 + }, + "instanceOf": [ + { + "id": "Q32815", + "label": "mosque" + } + ] + }, + { + "pageId": 1979500, + "title": "Zbyszek Godlewski", + "description": "Polish protester (1952–1970)", + "wikidataId": "Q3497070", + "revisionId": 1382599906, + "pageBytes": 6049, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "1952 births", + "1970 deaths", + "Anti-communism in Poland", + "Deaths by firearm in Poland", + "Fictional characters based on real people", + "Legendary Polish people", + "Polish murder victims", + "Polish poems", + "Polish songs", + "Victims of human rights abuses" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 507 + }, + { + "month": "2026-06", + "views": 397 + }, + { + "month": "2026-07", + "views": 452 + }, + { + "month": "2026-08", + "views": 427 + }, + { + "month": "2026-09", + "views": 385 + }, + { + "month": "2026-10", + "views": 402 + } + ], + "latestMonth": "2026-10", + "total": 2570, + "dailyAverage": 12.96774193548387, + "trendPercent": 4.415584415584416 + }, + "stats": { + "attention": 43, + "depth": 63, + "reach": 36 + }, + "legacyCategory": "People", + "drift30": { + "last30": 451, + "prev30": 352, + "pct": 28.125 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 4426773, + "title": "Agda (programming language)", + "description": "Functional programming language", + "wikidataId": "Q20479", + "revisionId": 1384528612, + "pageBytes": 14254, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "2007 software", + "Academic programming languages", + "Chalmers University of Technology", + "Cross-platform free software", + "Dependently typed languages", + "Extensible syntax programming languages", + "Free and open source compilers", + "Free software programmed in Haskell", + "Functional languages", + "Haskell programming language family", + "Pattern matching programming languages", + "Programming languages", + "Programming languages created in 2007", + "Proof assistants", + "Statically typed programming languages" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 2783 + }, + { + "month": "2026-06", + "views": 2318 + }, + { + "month": "2026-07", + "views": 2230 + }, + { + "month": "2026-08", + "views": 2257 + }, + { + "month": "2026-09", + "views": 2262 + }, + { + "month": "2026-10", + "views": 2439 + } + ], + "latestMonth": "2026-10", + "total": 14289, + "dailyAverage": 78.6774193548387, + "trendPercent": 7.824933687002653 + }, + "stats": { + "attention": 56, + "depth": 69, + "reach": 36 + }, + "legacyCategory": "Science", + "drift30": { + "last30": 2310, + "prev30": 2299, + "pct": 0.4784688995215311 + }, + "instanceOf": [ + { + "id": "Q3839507", + "label": "functional programming language" + }, + { + "id": "Q28920201", + "label": "purely functional programming language" + }, + { + "id": "Q56223375", + "label": "dependently typed programming language" + }, + { + "id": "Q9143", + "label": "programming language" + }, + { + "id": "Q341", + "label": "free software" + }, + { + "id": "Q11387554", + "label": "proof assistant" + } + ] + }, + { + "pageId": 4674437, + "title": "Topusko", + "description": "Commune in Sisak-Moslavina County, Croatia", + "wikidataId": "Q2457438", + "revisionId": 1384106265, + "pageBytes": 13847, + "languageCount": 23, + "languagesTruncated": false, + "categories": [ + "Hot springs of Croatia", + "Municipalities of Croatia", + "Populated places in Sisak-Moslavina County", + "Spa towns in Croatia", + "Zagreb County (former)" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 649 + }, + { + "month": "2026-06", + "views": 331 + }, + { + "month": "2026-07", + "views": 303 + }, + { + "month": "2026-08", + "views": 372 + }, + { + "month": "2026-09", + "views": 289 + }, + { + "month": "2026-10", + "views": 302 + } + ], + "latestMonth": "2026-10", + "total": 2246, + "dailyAverage": 9.741935483870968, + "trendPercent": 4.498269896193772 + }, + "stats": { + "attention": 41, + "depth": 69, + "reach": 46 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 297, + "prev30": 257, + "pct": 15.56420233463035 + }, + "instanceOf": [ + { + "id": "Q57058", + "label": "municipality of Croatia" + } + ] + }, + { + "pageId": 5096391, + "title": "Isabella of Aragon, Queen of Portugal", + "description": "Queen of Portugal from 1497 to 1498", + "wikidataId": "Q466305", + "revisionId": 1376332037, + "pageBytes": 14306, + "languageCount": 43, + "languagesTruncated": false, + "categories": [ + "1470 births", + "1498 deaths", + "15th-century Portuguese people", + "15th-century Portuguese women", + "15th-century Spanish people", + "15th-century Spanish women", + "Aragonese infantas", + "Castilian infantas", + "Children of Ferdinand II of Aragon", + "Children of Isabella I of Castile", + "Daughters of counts", + "Daughters of kings", + "Daughters of queens regnant", + "Deaths in childbirth", + "Heirs presumptive", + "House of Aviz", + "House of Trastámara", + "Princes of Asturias", + "Princesses of Portugal", + "Queens consort of Portugal", + "Spanish Roman Catholics", + "Spanish expatriate royalty", + "Spanish people of English descent", + "Spanish people of French descent", + "Spanish people of Italian descent", + "Spanish people of Portuguese descent" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 7082 + }, + { + "month": "2026-06", + "views": 6550 + }, + { + "month": "2026-07", + "views": 7514 + }, + { + "month": "2026-08", + "views": 7636 + }, + { + "month": "2026-09", + "views": 6506 + }, + { + "month": "2026-10", + "views": 6358 + } + ], + "latestMonth": "2026-10", + "total": 41646, + "dailyAverage": 205.09677419354838, + "trendPercent": -2.2748232400860746 + }, + "stats": { + "attention": 63, + "depth": 69, + "reach": 55 + }, + "legacyCategory": "People", + "drift30": { + "last30": 5553, + "prev30": 6384, + "pct": -13.016917293233082 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 15915366, + "title": "Montjavoult", + "description": "Commune in Hauts-de-France, France", + "wikidataId": "Q1336846", + "revisionId": 1381946137, + "pageBytes": 1584, + "languageCount": 36, + "languagesTruncated": false, + "categories": [ + "Beauvais arrondissement geography stubs", + "Communes of Oise" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 33 + }, + { + "month": "2026-06", + "views": 20 + }, + { + "month": "2026-07", + "views": 29 + }, + { + "month": "2026-08", + "views": 57 + }, + { + "month": "2026-09", + "views": 44 + }, + { + "month": "2026-10", + "views": 10 + } + ], + "latestMonth": "2026-10", + "total": 193, + "dailyAverage": 0.3225806451612903, + "trendPercent": -77.27272727272727 + }, + "stats": { + "attention": 17, + "depth": 53, + "reach": 52 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 12, + "prev30": 17, + "pct": -29.411764705882355 + }, + "instanceOf": [ + { + "id": "Q484170", + "label": "commune of France" + } + ] + }, + { + "pageId": 15963682, + "title": "Viktor Genev", + "description": "Bulgarian footballer", + "wikidataId": "Q2604995", + "revisionId": 1384826851, + "pageBytes": 13767, + "languageCount": 13, + "languagesTruncated": false, + "categories": [ + "1988 births", + "21st-century Bulgarian sportsmen", + "Botev Plovdiv players", + "Bulgarian expatriate men's footballers", + "Bulgarian expatriate sportspeople in Israel", + "Bulgarian expatriate sportspeople in Kazakhstan", + "Bulgarian expatriate sportspeople in Romania", + "Bulgarian expatriate sportspeople in Russia", + "Bulgarian expatriate sportspeople in Scotland", + "Bulgarian expatriate sportspeople in Ukraine", + "Bulgarian men's footballers", + "Expatriate men's footballers in Belarus", + "Expatriate men's footballers in Israel", + "Expatriate men's footballers in Kazakhstan", + "Expatriate men's footballers in Russia", + "Expatriate men's footballers in Scotland", + "Expatriate men's footballers in Ukraine", + "F.C. Ashdod players", + "FC Dinamo Minsk players", + "FC Montana players", + "FC Oleksandriya players", + "FC Petrolul Ploiești players", + "FC Rilski Sportist Samokov players", + "FC Yelimay players", + "First Professional Football League (Bulgaria) players", + "Footballers from Sofia", + "Israeli Premier League players", + "Kazakhstan Premier League players", + "Liga I players", + "Living people", + "Men's association football defenders", + "PFC Beroe Stara Zagora players", + "PFC Cherno More Varna players", + "PFC Krylia Sovetov Samara players", + "PFC Levski Sofia players", + "PFC Slavia Sofia players", + "Russian Premier League players", + "St Mirren F.C. players", + "Ukrainian Premier League players" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 123 + }, + { + "month": "2026-06", + "views": 65 + }, + { + "month": "2026-07", + "views": 61 + }, + { + "month": "2026-08", + "views": 80 + }, + { + "month": "2026-09", + "views": 74 + }, + { + "month": "2026-10", + "views": 93 + } + ], + "latestMonth": "2026-10", + "total": 496, + "dailyAverage": 3.0, + "trendPercent": 25.675675675675674 + }, + "stats": { + "attention": 33, + "depth": 69, + "reach": 38 + }, + "legacyCategory": "People", + "drift30": { + "last30": 98, + "prev30": 69, + "pct": 42.028985507246375 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 28025187, + "title": "Pühajõe", + "description": "Village in Estonia", + "wikidataId": "Q179358", + "revisionId": 1377386321, + "pageBytes": 1880, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "Ida-Viru County geography stubs", + "Toila Parish", + "Villages in Ida-Viru County", + "Wierland County" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 31 + }, + { + "month": "2026-06", + "views": 24 + }, + { + "month": "2026-07", + "views": 30 + }, + { + "month": "2026-08", + "views": 58 + }, + { + "month": "2026-09", + "views": 41 + }, + { + "month": "2026-10", + "views": 16 + } + ], + "latestMonth": "2026-10", + "total": 200, + "dailyAverage": 0.5161290322580645, + "trendPercent": -60.97560975609756 + }, + "stats": { + "attention": 21, + "depth": 55, + "reach": 36 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 22, + "prev30": 23, + "pct": -4.3478260869565215 + }, + "instanceOf": [ + { + "id": "Q51049922", + "label": "village" + } + ] + }, + { + "pageId": 49116132, + "title": "Kalihati", + "description": "Town in Dhaka Division, Bangladesh", + "wikidataId": "Q22348003", + "revisionId": 1376271314, + "pageBytes": 4406, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "Dhaka Division geography stubs", + "Populated places in Tangail District", + "Towns in Bangladesh" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 72 + }, + { + "month": "2026-06", + "views": 53 + }, + { + "month": "2026-07", + "views": 59 + }, + { + "month": "2026-08", + "views": 79 + }, + { + "month": "2026-09", + "views": 78 + }, + { + "month": "2026-10", + "views": 37 + } + ], + "latestMonth": "2026-10", + "total": 378, + "dailyAverage": 1.1935483870967742, + "trendPercent": -52.56410256410257 + }, + "stats": { + "attention": 26, + "depth": 61, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 42, + "prev30": 45, + "pct": -6.666666666666667 + }, + "instanceOf": [ + { + "id": "Q23759397", + "label": "municipality of Bangladesh" + }, + { + "id": "Q3957", + "label": "town" + } + ] + }, + { + "pageId": 49444193, + "title": "Miloje Vasić", + "description": "Serbian archaeologist (1869–1956)", + "wikidataId": "Q3314419", + "revisionId": 1371976132, + "pageBytes": 22470, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "1869 births", + "1956 deaths", + "20th-century Serbian people", + "Members of the Serbian Academy of Sciences and Arts", + "People from Veliko Gradište", + "People from the Kingdom of Serbia", + "Serbian archaeologists", + "University of Belgrade people", + "Yugoslav archaeologists" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 208 + }, + { + "month": "2026-06", + "views": 145 + }, + { + "month": "2026-07", + "views": 162 + }, + { + "month": "2026-08", + "views": 191 + }, + { + "month": "2026-09", + "views": 197 + }, + { + "month": "2026-10", + "views": 128 + } + ], + "latestMonth": "2026-10", + "total": 1031, + "dailyAverage": 4.129032258064516, + "trendPercent": -35.025380710659896 + }, + "stats": { + "attention": 35, + "depth": 73, + "reach": 36 + }, + "legacyCategory": "People", + "drift30": { + "last30": 104, + "prev30": 180, + "pct": -42.22222222222222 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 110015, + "title": "Haralson, Georgia", + "description": "Town in Georgia, United States", + "wikidataId": "Q2520618", + "revisionId": 1377786275, + "pageBytes": 8736, + "languageCount": 26, + "languagesTruncated": false, + "categories": [ + "Towns in Coweta County, Georgia", + "Towns in Georgia (U.S. state)", + "Towns in Meriwether County, Georgia" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 182 + }, + { + "month": "2026-06", + "views": 145 + }, + { + "month": "2026-07", + "views": 142 + }, + { + "month": "2026-08", + "views": 214 + }, + { + "month": "2026-09", + "views": 168 + }, + { + "month": "2026-10", + "views": 137 + } + ], + "latestMonth": "2026-10", + "total": 988, + "dailyAverage": 4.419354838709677, + "trendPercent": -18.452380952380953 + }, + "stats": { + "attention": 36, + "depth": 66, + "reach": 48 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 138, + "prev30": 152, + "pct": -9.210526315789473 + }, + "instanceOf": [ + { + "id": "Q15127012", + "label": "town in the United States" + }, + { + "id": "Q76514543", + "label": "municipality of Georgia" + } + ] + }, + { + "pageId": 11240525, + "title": "Joseph Ujlaki", + "description": "French-Hungarian footballer (1929-2006)", + "wikidataId": "Q905343", + "revisionId": 1382620781, + "pageBytes": 3449, + "languageCount": 14, + "languagesTruncated": false, + "categories": [ + "1929 births", + "2006 deaths", + "20th-century French sportsmen", + "20th-century Hungarian sportsmen", + "AS Aix-en-Provence players", + "FC Metz players", + "Footballers from Budapest", + "France men's international footballers", + "French football forward stubs", + "French men's footballers", + "French people of Hungarian descent", + "Hungarian men's footballers", + "Ligue 1 players", + "Men's association football forwards", + "Naturalized citizens of France", + "Nîmes Olympique players", + "OGC Nice players", + "Racing Club de France Football players", + "SC Sète players", + "Stade Français (association football) players" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 188 + }, + { + "month": "2026-06", + "views": 242 + }, + { + "month": "2026-07", + "views": 327 + }, + { + "month": "2026-08", + "views": 211 + }, + { + "month": "2026-09", + "views": 148 + }, + { + "month": "2026-10", + "views": 163 + } + ], + "latestMonth": "2026-10", + "total": 1279, + "dailyAverage": 5.258064516129032, + "trendPercent": 10.135135135135135 + }, + "stats": { + "attention": 37, + "depth": 59, + "reach": 39 + }, + "legacyCategory": "People", + "drift30": { + "last30": 159, + "prev30": 118, + "pct": 34.74576271186441 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 23256692, + "title": "Coelogyne trinervis", + "description": "Species of orchid", + "wikidataId": "Q1601035", + "revisionId": 1176682009, + "pageBytes": 1580, + "languageCount": 7, + "languagesTruncated": false, + "categories": [ + "Coelogyne", + "Epidendroideae stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 30 + }, + { + "month": "2026-06", + "views": 18 + }, + { + "month": "2026-07", + "views": 27 + }, + { + "month": "2026-08", + "views": 36 + }, + { + "month": "2026-09", + "views": 42 + }, + { + "month": "2026-10", + "views": 24 + } + ], + "latestMonth": "2026-10", + "total": 177, + "dailyAverage": 0.7741935483870968, + "trendPercent": -42.857142857142854 + }, + "stats": { + "attention": 23, + "depth": 53, + "reach": 30 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 28, + "prev30": 34, + "pct": -17.647058823529413 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + }, + { + "id": "Q188238", + "label": "epiphyte" + } + ] + }, + { + "pageId": 30886907, + "title": "Pine River (Manistee River tributary)", + "description": "River in Michigan, United States", + "wikidataId": "Q7195337", + "revisionId": 1367824379, + "pageBytes": 4768, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Manistee River", + "Michigan river stubs", + "Rivers of Lake County, Michigan", + "Rivers of Manistee County, Michigan", + "Rivers of Michigan", + "Rivers of Osceola County, Michigan", + "Rivers of Wexford County, Michigan", + "Wild and Scenic Rivers of the United States" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 208 + }, + { + "month": "2026-06", + "views": 218 + }, + { + "month": "2026-07", + "views": 301 + }, + { + "month": "2026-08", + "views": 277 + }, + { + "month": "2026-09", + "views": 151 + }, + { + "month": "2026-10", + "views": 115 + } + ], + "latestMonth": "2026-10", + "total": 1270, + "dailyAverage": 3.7096774193548385, + "trendPercent": -23.841059602649008 + }, + "stats": { + "attention": 34, + "depth": 61, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 91, + "prev30": 131, + "pct": -30.53435114503817 + }, + "instanceOf": [ + { + "id": "Q4022", + "label": "river" + } + ] + }, + { + "pageId": 62190512, + "title": "Nguyễn Văn Huy", + "description": "Vietnamese chess grandmaster (born 1985)", + "wikidataId": "Q20026028", + "revisionId": 1377313379, + "pageBytes": 3624, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "1985 births", + "21st-century Vietnamese chess players", + "21st-century Vietnamese sportsmen", + "Asian chess biography stubs", + "Chess Grandmasters", + "Chess Olympiad competitors", + "Living people", + "People from Bắc Ninh", + "Vietnamese chess players", + "Vietnamese sportspeople stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 50 + }, + { + "month": "2026-06", + "views": 42 + }, + { + "month": "2026-07", + "views": 30 + }, + { + "month": "2026-08", + "views": 36 + }, + { + "month": "2026-09", + "views": 62 + }, + { + "month": "2026-10", + "views": 71 + } + ], + "latestMonth": "2026-10", + "total": 291, + "dailyAverage": 2.2903225806451615, + "trendPercent": 14.516129032258066 + }, + "stats": { + "attention": 31, + "depth": 59, + "reach": 20 + }, + "legacyCategory": "People", + "drift30": { + "last30": 56, + "prev30": 68, + "pct": -17.647058823529413 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 64406081, + "title": "San Wai (San Tin)", + "description": null, + "wikidataId": "Q96739151", + "revisionId": 1280859035, + "pageBytes": 6034, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "San Tin", + "Villages in Yuen Long District, Hong Kong", + "Yuen Long District geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 24 + }, + { + "month": "2026-06", + "views": 17 + }, + { + "month": "2026-07", + "views": 14 + }, + { + "month": "2026-08", + "views": 17 + }, + { + "month": "2026-09", + "views": 21 + }, + { + "month": "2026-10", + "views": 27 + } + ], + "latestMonth": "2026-10", + "total": 120, + "dailyAverage": 0.8709677419354839, + "trendPercent": 28.57142857142857 + }, + "stats": { + "attention": 24, + "depth": 63, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 28, + "prev30": 21, + "pct": 33.33333333333333 + }, + "instanceOf": [ + { + "id": "Q532", + "label": "village" + } + ] + }, + { + "pageId": 65287105, + "title": "Kishore Tirumala", + "description": "Indian film director", + "wikidataId": "Q93762585", + "revisionId": 1376673468, + "pageBytes": 6604, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "Film directors from Andhra Pradesh", + "Film people from Andhra Pradesh", + "Indian film director stubs", + "Indian film directors", + "Indian screenwriters", + "Living people", + "People from Andhra Pradesh", + "People from Chittoor district", + "People from Tirupati", + "Screenwriters from Andhra Pradesh", + "Telugu film directors" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 2548 + }, + { + "month": "2026-06", + "views": 2543 + }, + { + "month": "2026-07", + "views": 2500 + }, + { + "month": "2026-08", + "views": 4416 + }, + { + "month": "2026-09", + "views": 3484 + }, + { + "month": "2026-10", + "views": 2283 + } + ], + "latestMonth": "2026-10", + "total": 17774, + "dailyAverage": 73.64516129032258, + "trendPercent": -34.47187141216992 + }, + "stats": { + "attention": 56, + "depth": 64, + "reach": 16 + }, + "legacyCategory": "People", + "drift30": { + "last30": 1793, + "prev30": 2984, + "pct": -39.91286863270778 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 81307395, + "title": "2025 Tehreek-e-Labbaik Pakistan protests", + "description": "Gaza war protests in Pakistan", + "wikidataId": "Q136649814", + "revisionId": 1378554406, + "pageBytes": 20919, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "2020s in Islamabad", + "2020s in Lahore", + "2025 in Punjab, Pakistan", + "2025 protests", + "21st century in Faisalabad", + "Anti-Israeli sentiment in Pakistan", + "Gaza war protests", + "October 2025 in Pakistan", + "Protest marches in Pakistan", + "Protests in Pakistan", + "Riots and civil disorder in Pakistan", + "Tehreek-e-Labbaik Pakistan" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 686 + }, + { + "month": "2026-06", + "views": 986 + }, + { + "month": "2026-07", + "views": 782 + }, + { + "month": "2026-08", + "views": 629 + }, + { + "month": "2026-09", + "views": 735 + }, + { + "month": "2026-10", + "views": 618 + } + ], + "latestMonth": "2026-10", + "total": 4436, + "dailyAverage": 19.93548387096774, + "trendPercent": -15.918367346938775 + }, + "stats": { + "attention": 47, + "depth": 72, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 318, + "prev30": 771, + "pct": -58.754863813229576 + }, + "instanceOf": [ + { + "id": "Q273120", + "label": "protest" + } + ] + }, + { + "pageId": 902446, + "title": "Guidimaka region", + "description": "Region of Mauritania", + "wikidataId": "Q768119", + "revisionId": 1378970556, + "pageBytes": 13210, + "languageCount": 32, + "languagesTruncated": false, + "categories": [ + "Guidimaka region", + "Regions of Mauritania" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 207 + }, + { + "month": "2026-06", + "views": 140 + }, + { + "month": "2026-07", + "views": 124 + }, + { + "month": "2026-08", + "views": 154 + }, + { + "month": "2026-09", + "views": 149 + }, + { + "month": "2026-10", + "views": 123 + } + ], + "latestMonth": "2026-10", + "total": 897, + "dailyAverage": 3.967741935483871, + "trendPercent": -17.449664429530202 + }, + "stats": { + "attention": 35, + "depth": 69, + "reach": 51 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 123, + "prev30": 143, + "pct": -13.986013986013987 + }, + "instanceOf": [ + { + "id": "Q846327", + "label": "region of Mauritania" + } + ] + }, + { + "pageId": 1374812, + "title": "Tom Ewell", + "description": "American actor (1909–1994)", + "wikidataId": "Q427388", + "revisionId": 1381663979, + "pageBytes": 17965, + "languageCount": 30, + "languagesTruncated": false, + "categories": [ + "1909 births", + "1994 deaths", + "20th-century American male actors", + "American male film actors", + "American male stage actors", + "American male television actors", + "Best Musical or Comedy Actor Golden Globe (film) winners", + "Clarence Derwent Award winners", + "Donaldson Award winners", + "Male actors from Kentucky", + "People from Owensboro, Kentucky", + "Tony Award winners", + "United States Navy personnel of World War II", + "United States Navy sailors" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 5239 + }, + { + "month": "2026-06", + "views": 13927 + }, + { + "month": "2026-07", + "views": 5978 + }, + { + "month": "2026-08", + "views": 5693 + }, + { + "month": "2026-09", + "views": 5668 + }, + { + "month": "2026-10", + "views": 4548 + } + ], + "latestMonth": "2026-10", + "total": 41053, + "dailyAverage": 146.70967741935485, + "trendPercent": -19.760056457304167 + }, + "stats": { + "attention": 61, + "depth": 71, + "reach": 50 + }, + "legacyCategory": "People", + "drift30": { + "last30": 4027, + "prev30": 4518, + "pct": -10.86764054891545 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 15362336, + "title": "1954 Gold Coast general election", + "description": "", + "wikidataId": "Q2539674", + "revisionId": 1351181171, + "pageBytes": 4141, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "1954 elections in Africa", + "1954 elections in the British Empire", + "1954 in the Gold Coast (British colony)", + "Parliamentary elections in Ghana" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 592 + }, + { + "month": "2026-06", + "views": 512 + }, + { + "month": "2026-07", + "views": 407 + }, + { + "month": "2026-08", + "views": 219 + }, + { + "month": "2026-09", + "views": 202 + }, + { + "month": "2026-10", + "views": 181 + } + ], + "latestMonth": "2026-10", + "total": 2113, + "dailyAverage": 5.838709677419355, + "trendPercent": -10.396039603960396 + }, + "stats": { + "attention": 38, + "depth": 60, + "reach": 16 + }, + "legacyCategory": "History", + "drift30": { + "last30": 196, + "prev30": 167, + "pct": 17.365269461077844 + }, + "instanceOf": [ + { + "id": "Q2618461", + "label": "legislative election" + } + ] + }, + { + "pageId": 23242983, + "title": "Larry Weber", + "description": "American entrepreneur", + "wikidataId": "Q6491266", + "revisionId": 1351414373, + "pageBytes": 12852, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "1955 births", + "American business writers", + "Living people", + "Writers from Ohio" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 230 + }, + { + "month": "2026-06", + "views": 184 + }, + { + "month": "2026-07", + "views": 160 + }, + { + "month": "2026-08", + "views": 167 + }, + { + "month": "2026-09", + "views": 158 + }, + { + "month": "2026-10", + "views": 188 + } + ], + "latestMonth": "2026-10", + "total": 1087, + "dailyAverage": 6.064516129032258, + "trendPercent": 18.9873417721519 + }, + "stats": { + "attention": 38, + "depth": 68, + "reach": 16 + }, + "legacyCategory": "People", + "drift30": { + "last30": 161, + "prev30": 186, + "pct": -13.440860215053762 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 49648409, + "title": "Ulla! min Ulla! Säj får jag dig bjuda", + "description": "Song by the 18th century Swedish bard Carl Michael Bellman", + "wikidataId": "Q19528685", + "revisionId": 1344963259, + "pageBytes": 17244, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "1790 compositions", + "Fredmans epistlar", + "Swedish songs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 79 + }, + { + "month": "2026-06", + "views": 48 + }, + { + "month": "2026-07", + "views": 17 + }, + { + "month": "2026-08", + "views": 47 + }, + { + "month": "2026-09", + "views": 53 + }, + { + "month": "2026-10", + "views": 34 + } + ], + "latestMonth": "2026-10", + "total": 278, + "dailyAverage": 1.096774193548387, + "trendPercent": -35.84905660377358 + }, + "stats": { + "attention": 26, + "depth": 71, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 33, + "prev30": 43, + "pct": -23.25581395348837 + }, + "instanceOf": [ + { + "id": "Q105543609", + "label": "musical work/composition" + } + ] + }, + { + "pageId": 84332185, + "title": "Oscar González Oro", + "description": "Argentine journalist and radio host (1951–2026)", + "wikidataId": "Q6053873", + "revisionId": 1378056768, + "pageBytes": 3281, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "1951 births", + "2026 deaths", + "20th-century Argentine journalists", + "21st-century Argentine journalists", + "Argentine LGBTQ broadcasters" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 0 + }, + { + "month": "2026-06", + "views": 0 + }, + { + "month": "2026-07", + "views": 0 + }, + { + "month": "2026-08", + "views": 0 + }, + { + "month": "2026-09", + "views": 1401 + }, + { + "month": "2026-10", + "views": 188 + } + ], + "latestMonth": "2026-10", + "total": 1589, + "dailyAverage": 6.064516129032258, + "trendPercent": -86.58101356174161 + }, + "stats": { + "attention": 38, + "depth": 59, + "reach": 10 + }, + "legacyCategory": "People", + "drift30": { + "last30": 81, + "prev30": 1520, + "pct": -94.67105263157895 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 2385264, + "title": "Ofanto", + "description": "River in Italy", + "wikidataId": "Q841550", + "revisionId": 1334637363, + "pageBytes": 5049, + "languageCount": 29, + "languagesTruncated": false, + "categories": [ + "Adriatic Italian coast basins", + "Apulia geography stubs", + "Basilicata geography stubs", + "Italy river stubs", + "Province of Avellino geography stubs", + "Rivers of Italy", + "Rivers of the Province of Avellino", + "Rivers of the Province of Barletta-Andria-Trani", + "Rivers of the Province of Foggia", + "Rivers of the Province of Potenza" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 291 + }, + { + "month": "2026-06", + "views": 238 + }, + { + "month": "2026-07", + "views": 220 + }, + { + "month": "2026-08", + "views": 256 + }, + { + "month": "2026-09", + "views": 210 + }, + { + "month": "2026-10", + "views": 223 + } + ], + "latestMonth": "2026-10", + "total": 1438, + "dailyAverage": 7.193548387096774, + "trendPercent": 6.190476190476191 + }, + "stats": { + "attention": 39, + "depth": 62, + "reach": 49 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 213, + "prev30": 194, + "pct": 9.793814432989691 + }, + "instanceOf": [ + { + "id": "Q4022", + "label": "river" + } + ] + }, + { + "pageId": 7674700, + "title": "Shipley Plateau", + "description": "Place in the Blue Mountains, Australia", + "wikidataId": "Q7498025", + "revisionId": 1384061257, + "pageBytes": 1745, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Geography of the Blue Mountains (New South Wales)", + "New South Wales geography stubs", + "Plateaus of Australia" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 48 + }, + { + "month": "2026-06", + "views": 24 + }, + { + "month": "2026-07", + "views": 33 + }, + { + "month": "2026-08", + "views": 54 + }, + { + "month": "2026-09", + "views": 49 + }, + { + "month": "2026-10", + "views": 22 + } + ], + "latestMonth": "2026-10", + "total": 230, + "dailyAverage": 0.7096774193548387, + "trendPercent": -55.10204081632652 + }, + "stats": { + "attention": 23, + "depth": 54, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 18, + "prev30": 40, + "pct": -55.00000000000001 + }, + "instanceOf": [ + { + "id": "Q75520", + "label": "plateau" + } + ] + }, + { + "pageId": 21016492, + "title": "Xiancantan", + "description": null, + "wikidataId": "Q434483", + "revisionId": 1363646521, + "pageBytes": 1731, + "languageCount": 7, + "languagesTruncated": false, + "categories": [ + "1740s establishments in China", + "1742 establishments in Asia", + "Religious buildings and structures in Beijing" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 155 + }, + { + "month": "2026-06", + "views": 87 + }, + { + "month": "2026-07", + "views": 67 + }, + { + "month": "2026-08", + "views": 88 + }, + { + "month": "2026-09", + "views": 86 + }, + { + "month": "2026-10", + "views": 85 + } + ], + "latestMonth": "2026-10", + "total": 568, + "dailyAverage": 2.7419354838709675, + "trendPercent": -1.1627906976744187 + }, + "stats": { + "attention": 32, + "depth": 54, + "reach": 30 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 83, + "prev30": 86, + "pct": -3.488372093023256 + }, + "instanceOf": [ + { + "id": "Q41176", + "label": "building" + } + ] + }, + { + "pageId": 51796741, + "title": "Alex Piquero", + "description": "Cuban-American criminologist (born 1970)", + "wikidataId": "Q27058048", + "revisionId": 1356084913, + "pageBytes": 7837, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "1970 births", + "American academic journal editors", + "American criminologists", + "American sociologist stubs", + "Criminologist stubs", + "Cuban emigrants to the United States", + "Living people", + "University of Maryland, College Park alumni", + "University of Miami faculty", + "University of Texas at Dallas faculty" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 239 + }, + { + "month": "2026-06", + "views": 152 + }, + { + "month": "2026-07", + "views": 150 + }, + { + "month": "2026-08", + "views": 154 + }, + { + "month": "2026-09", + "views": 308 + }, + { + "month": "2026-10", + "views": 151 + } + ], + "latestMonth": "2026-10", + "total": 1154, + "dailyAverage": 4.870967741935484, + "trendPercent": -50.97402597402597 + }, + "stats": { + "attention": 36, + "depth": 65, + "reach": 0 + }, + "legacyCategory": "People", + "drift30": { + "last30": 117, + "prev30": 269, + "pct": -56.50557620817844 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 1587861, + "title": "Vélez-Málaga", + "description": "Place in Málaga, Spain", + "wikidataId": "Q492741", + "revisionId": 1382422731, + "pageBytes": 30172, + "languageCount": 56, + "languagesTruncated": false, + "categories": [ + "Municipalities in the Province of Málaga" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1271 + }, + { + "month": "2026-06", + "views": 1491 + }, + { + "month": "2026-07", + "views": 1606 + }, + { + "month": "2026-08", + "views": 1442 + }, + { + "month": "2026-09", + "views": 1586 + }, + { + "month": "2026-10", + "views": 1033 + } + ], + "latestMonth": "2026-10", + "total": 8429, + "dailyAverage": 33.32258064516129, + "trendPercent": -34.867591424968474 + }, + "stats": { + "attention": 50, + "depth": 75, + "reach": 59 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 989, + "prev30": 1051, + "pct": -5.899143672692674 + }, + "instanceOf": [ + { + "id": "Q2074737", + "label": "municipality of Spain" + } + ] + }, + { + "pageId": 4289899, + "title": "Anthodon (reptile)", + "description": "Extinct genus of reptiles", + "wikidataId": "Q2505064", + "revisionId": 1384682008, + "pageBytes": 9037, + "languageCount": 12, + "languagesTruncated": false, + "categories": [ + "Changhsingian life", + "Fossil taxa described in 1876", + "Lopingian reptiles of Africa", + "Pareiasauria", + "Prehistoric reptile genera", + "Taxa named by Richard Owen" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 244 + }, + { + "month": "2026-06", + "views": 244 + }, + { + "month": "2026-07", + "views": 229 + }, + { + "month": "2026-08", + "views": 270 + }, + { + "month": "2026-09", + "views": 254 + }, + { + "month": "2026-10", + "views": 233 + } + ], + "latestMonth": "2026-10", + "total": 1474, + "dailyAverage": 7.516129032258065, + "trendPercent": -8.267716535433072 + }, + "stats": { + "attention": 39, + "depth": 66, + "reach": 37 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 198, + "prev30": 243, + "pct": -18.51851851851852 + }, + "instanceOf": [ + { + "id": "Q47487597", + "label": "monotypic fossil taxon" + } + ] + }, + { + "pageId": 17506241, + "title": "Marion Thees", + "description": "German skeleton racer", + "wikidataId": "Q72724", + "revisionId": 1361257647, + "pageBytes": 3061, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "1984 births", + "21st-century German sportswomen", + "German female skeleton racers", + "German winter sports biography stubs", + "Living people", + "Olympic skeleton racers for Germany", + "Skeleton racers at the 2010 Winter Olympics", + "Skeleton racers at the 2014 Winter Olympics", + "Skeleton racing biography stubs", + "Sportspeople from Eisenach" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 58 + }, + { + "month": "2026-06", + "views": 57 + }, + { + "month": "2026-07", + "views": 63 + }, + { + "month": "2026-08", + "views": 63 + }, + { + "month": "2026-09", + "views": 52 + }, + { + "month": "2026-10", + "views": 53 + } + ], + "latestMonth": "2026-10", + "total": 346, + "dailyAverage": 1.7096774193548387, + "trendPercent": 1.9230769230769231 + }, + "stats": { + "attention": 29, + "depth": 58, + "reach": 36 + }, + "legacyCategory": "People", + "drift30": { + "last30": 49, + "prev30": 55, + "pct": -10.909090909090908 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 20701320, + "title": "Horse Feathers (band)", + "description": "American indie folk band", + "wikidataId": "Q5905442", + "revisionId": 1385997032, + "pageBytes": 6636, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "2004 establishments in Oregon", + "American folk rock groups", + "American indie folk groups", + "Indie rock musical groups from Oregon", + "Kill Rock Stars artists", + "Musical groups established in 2004", + "Musical groups from Portland, Oregon" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 287 + }, + { + "month": "2026-06", + "views": 365 + }, + { + "month": "2026-07", + "views": 416 + }, + { + "month": "2026-08", + "views": 753 + }, + { + "month": "2026-09", + "views": 648 + }, + { + "month": "2026-10", + "views": 263 + } + ], + "latestMonth": "2026-10", + "total": 2732, + "dailyAverage": 8.483870967741936, + "trendPercent": -59.413580246913575 + }, + "stats": { + "attention": 40, + "depth": 64, + "reach": 16 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 264, + "prev30": 461, + "pct": -42.73318872017354 + }, + "instanceOf": [ + { + "id": "Q215380", + "label": "musical group" + } + ] + }, + { + "pageId": 47784502, + "title": "Christian Zübert", + "description": "German film director and screenwriter (born 1973)", + "wikidataId": "Q1082448", + "revisionId": 1375411209, + "pageBytes": 8086, + "languageCount": 5, + "languagesTruncated": false, + "categories": [ + "1973 births", + "Film directors from Würzburg", + "German male television writers", + "German screenwriters", + "German television writers", + "Living people" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 152 + }, + { + "month": "2026-06", + "views": 211 + }, + { + "month": "2026-07", + "views": 99 + }, + { + "month": "2026-08", + "views": 134 + }, + { + "month": "2026-09", + "views": 104 + }, + { + "month": "2026-10", + "views": 76 + } + ], + "latestMonth": "2026-10", + "total": 776, + "dailyAverage": 2.4516129032258065, + "trendPercent": -26.923076923076923 + }, + "stats": { + "attention": 31, + "depth": 65, + "reach": 26 + }, + "legacyCategory": "People", + "drift30": { + "last30": 75, + "prev30": 82, + "pct": -8.536585365853659 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 64423476, + "title": "2023 Seville municipal election", + "description": "Election in the Spanish municipality of Seville", + "wikidataId": "Q97188845", + "revisionId": 1377264425, + "pageBytes": 62894, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "2023 in Seville", + "2023 municipal elections in Spain", + "Elections in Seville", + "May 2023 in Spain" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 126 + }, + { + "month": "2026-06", + "views": 58 + }, + { + "month": "2026-07", + "views": 86 + }, + { + "month": "2026-08", + "views": 79 + }, + { + "month": "2026-09", + "views": 85 + }, + { + "month": "2026-10", + "views": 100 + } + ], + "latestMonth": "2026-10", + "total": 534, + "dailyAverage": 3.225806451612903, + "trendPercent": 17.647058823529413 + }, + "stats": { + "attention": 33, + "depth": 80, + "reach": 16 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 78, + "prev30": 89, + "pct": -12.359550561797752 + }, + "instanceOf": [ + { + "id": "Q152450", + "label": "municipal election" + } + ] + }, + { + "pageId": 77371520, + "title": "Coalición Vamos", + "description": "Political party in Panama", + "wikidataId": "Q127386808", + "revisionId": 1372235441, + "pageBytes": 3605, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Politics of Panama" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 495 + }, + { + "month": "2026-06", + "views": 736 + }, + { + "month": "2026-07", + "views": 561 + }, + { + "month": "2026-08", + "views": 671 + }, + { + "month": "2026-09", + "views": 507 + }, + { + "month": "2026-10", + "views": 852 + } + ], + "latestMonth": "2026-10", + "total": 3822, + "dailyAverage": 27.483870967741936, + "trendPercent": 68.04733727810651 + }, + "stats": { + "attention": 49, + "depth": 59, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 852, + "prev30": 495, + "pct": 72.12121212121212 + }, + "instanceOf": [ + { + "id": "Q7278", + "label": "political party" + } + ] + }, + { + "pageId": 115448, + "title": "Mackville, Kentucky", + "description": "City in Kentucky, United States", + "wikidataId": "Q2246158", + "revisionId": 1374535006, + "pageBytes": 6984, + "languageCount": 33, + "languagesTruncated": false, + "categories": [ + "Cities in Kentucky", + "Cities in Washington County, Kentucky" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 130 + }, + { + "month": "2026-06", + "views": 110 + }, + { + "month": "2026-07", + "views": 129 + }, + { + "month": "2026-08", + "views": 141 + }, + { + "month": "2026-09", + "views": 118 + }, + { + "month": "2026-10", + "views": 87 + } + ], + "latestMonth": "2026-10", + "total": 715, + "dailyAverage": 2.806451612903226, + "trendPercent": -26.27118644067797 + }, + "stats": { + "attention": 32, + "depth": 64, + "reach": 51 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 74, + "prev30": 93, + "pct": -20.43010752688172 + }, + "instanceOf": [ + { + "id": "Q1093829", + "label": "city in the United States" + } + ] + }, + { + "pageId": 4324457, + "title": "Juha Suoranta", + "description": "Finnish social scientist", + "wikidataId": "Q6305056", + "revisionId": 1372952688, + "pageBytes": 10693, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "1966 births", + "Finnish bloggers", + "Finnish educational theorists", + "Finnish sociologists", + "Living people", + "People from Tampere" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 36 + }, + { + "month": "2026-06", + "views": 39 + }, + { + "month": "2026-07", + "views": 30 + }, + { + "month": "2026-08", + "views": 38 + }, + { + "month": "2026-09", + "views": 54 + }, + { + "month": "2026-10", + "views": 46 + } + ], + "latestMonth": "2026-10", + "total": 243, + "dailyAverage": 1.4838709677419355, + "trendPercent": -14.814814814814813 + }, + "stats": { + "attention": 28, + "depth": 67, + "reach": 20 + }, + "legacyCategory": "People", + "drift30": { + "last30": 35, + "prev30": 56, + "pct": -37.5 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 9472671, + "title": "Fletcher (typeface)", + "description": "Serif typeface", + "wikidataId": "Q2539914", + "revisionId": 1280127322, + "pageBytes": 1133, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Blackletter typefaces" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 72 + }, + { + "month": "2026-06", + "views": 66 + }, + { + "month": "2026-07", + "views": 100 + }, + { + "month": "2026-08", + "views": 101 + }, + { + "month": "2026-09", + "views": 90 + }, + { + "month": "2026-10", + "views": 108 + } + ], + "latestMonth": "2026-10", + "total": 537, + "dailyAverage": 3.4838709677419355, + "trendPercent": 20.0 + }, + "stats": { + "attention": 34, + "depth": 51, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 98, + "prev30": 100, + "pct": -2.0 + }, + "instanceOf": [ + { + "id": "Q17451", + "label": "typeface" + } + ] + }, + { + "pageId": 12516367, + "title": "Frogham, Kent", + "description": "Hamlet in Kent, England", + "wikidataId": "Q5505274", + "revisionId": 1320927031, + "pageBytes": 1530, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "Dover District", + "Hamlets in Kent", + "Kent geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 42 + }, + { + "month": "2026-06", + "views": 34 + }, + { + "month": "2026-07", + "views": 32 + }, + { + "month": "2026-08", + "views": 77 + }, + { + "month": "2026-09", + "views": 45 + }, + { + "month": "2026-10", + "views": 27 + } + ], + "latestMonth": "2026-10", + "total": 257, + "dailyAverage": 0.8709677419354839, + "trendPercent": -40.0 + }, + "stats": { + "attention": 24, + "depth": 53, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 13, + "prev30": 32, + "pct": -59.375 + }, + "instanceOf": [ + { + "id": "Q5084", + "label": "hamlet" + } + ] + }, + { + "pageId": 25275009, + "title": "Amur Annexation", + "description": "Russian annexation of Outer Manchuria", + "wikidataId": "Q4379152", + "revisionId": 1381503728, + "pageBytes": 15490, + "languageCount": 9, + "languagesTruncated": false, + "categories": [ + "19th century in Manchuria", + "Annexations by Russia", + "China–Russian Empire relations", + "History of Siberia", + "Russian Far East" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 3812 + }, + { + "month": "2026-06", + "views": 3492 + }, + { + "month": "2026-07", + "views": 3723 + }, + { + "month": "2026-08", + "views": 3681 + }, + { + "month": "2026-09", + "views": 3469 + }, + { + "month": "2026-10", + "views": 3238 + } + ], + "latestMonth": "2026-10", + "total": 21415, + "dailyAverage": 104.45161290322581, + "trendPercent": -6.65897953300663 + }, + "stats": { + "attention": 59, + "depth": 70, + "reach": 33 + }, + "legacyCategory": "History", + "drift30": { + "last30": 3203, + "prev30": 3248, + "pct": -1.3854679802955665 + }, + "instanceOf": [ + { + "id": "Q194465", + "label": "annexation" + } + ] + }, + { + "pageId": 33276983, + "title": "Buky", + "description": "Rural locality in Cherkasy Oblast, Ukraine", + "wikidataId": "Q2473493", + "revisionId": 1375320562, + "pageBytes": 4244, + "languageCount": 15, + "languagesTruncated": false, + "categories": [ + "Rural settlements in Uman Raion", + "Umansky uezd" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 73 + }, + { + "month": "2026-06", + "views": 73 + }, + { + "month": "2026-07", + "views": 63 + }, + { + "month": "2026-08", + "views": 68 + }, + { + "month": "2026-09", + "views": 69 + }, + { + "month": "2026-10", + "views": 51 + } + ], + "latestMonth": "2026-10", + "total": 397, + "dailyAverage": 1.6451612903225807, + "trendPercent": -26.08695652173913 + }, + "stats": { + "attention": 29, + "depth": 60, + "reach": 40 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 46, + "prev30": 49, + "pct": -6.122448979591836 + }, + "instanceOf": [ + { + "id": "Q4100864", + "label": "urban-type settlement in Ukraine" + }, + { + "id": "Q486972", + "label": "human settlement" + } + ] + }, + { + "pageId": 39238370, + "title": "2013 San Jose State Spartans football team", + "description": "American college football season", + "wikidataId": "Q16972991", + "revisionId": 1330396969, + "pageBytes": 18442, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "2013 Mountain West Conference football season", + "2013 in sports in California", + "San Jose State Spartans football seasons" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 156 + }, + { + "month": "2026-06", + "views": 83 + }, + { + "month": "2026-07", + "views": 143 + }, + { + "month": "2026-08", + "views": 160 + }, + { + "month": "2026-09", + "views": 185 + }, + { + "month": "2026-10", + "views": 143 + } + ], + "latestMonth": "2026-10", + "total": 870, + "dailyAverage": 4.612903225806452, + "trendPercent": -22.702702702702705 + }, + "stats": { + "attention": 36, + "depth": 71, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 114, + "prev30": 187, + "pct": -39.037433155080215 + }, + "instanceOf": [ + { + "id": "Q26895936", + "label": "American football team season" + } + ] + }, + { + "pageId": 46263191, + "title": "Max Touloute", + "description": "Haitian footballer (born 1990)", + "wikidataId": "Q20641573", + "revisionId": 1384441370, + "pageBytes": 10140, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "1990 births", + "21st-century Haitian sportsmen", + "Expatriate men's soccer players in the United States", + "Flint City Bucks players", + "Florida Tropics SC players", + "Haitian expatriate men's footballers", + "Haitian men's footballers", + "Kansas City Comets (2010–) players", + "Living people", + "Major Arena Soccer League players", + "Men's association football forwards", + "People from Les Cayes", + "Pittsburgh Riverhounds SC players", + "Purdue Fort Wayne Mastodons men's soccer players", + "Reading United AC players", + "Tindastóll men's football players", + "USL Championship players", + "USL League Two players", + "Vermont Voltage players" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 53 + }, + { + "month": "2026-06", + "views": 37 + }, + { + "month": "2026-07", + "views": 19 + }, + { + "month": "2026-08", + "views": 27 + }, + { + "month": "2026-09", + "views": 24 + }, + { + "month": "2026-10", + "views": 47 + } + ], + "latestMonth": "2026-10", + "total": 207, + "dailyAverage": 1.5161290322580645, + "trendPercent": 95.83333333333334 + }, + "stats": { + "attention": 28, + "depth": 67, + "reach": 16 + }, + "legacyCategory": "People", + "drift30": { + "last30": 30, + "prev30": 40, + "pct": -25.0 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 50185825, + "title": "Majid Qodiri", + "description": "Uzbek literary scholar and educator (1886–1938)", + "wikidataId": "Q23823703", + "revisionId": 1371365886, + "pageBytes": 9420, + "languageCount": 6, + "languagesTruncated": false, + "categories": [ + "1886 births", + "1938 deaths", + "20th-century Uzbekistani writers", + "People from Syr-Darya Oblast", + "Soviet writers", + "Uzbekistani academics", + "Uzbekistani male writers", + "Writers from Tashkent" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 25 + }, + { + "month": "2026-06", + "views": 22 + }, + { + "month": "2026-07", + "views": 53 + }, + { + "month": "2026-08", + "views": 65 + }, + { + "month": "2026-09", + "views": 65 + }, + { + "month": "2026-10", + "views": 43 + } + ], + "latestMonth": "2026-10", + "total": 273, + "dailyAverage": 1.3870967741935485, + "trendPercent": -33.84615384615385 + }, + "stats": { + "attention": 27, + "depth": 66, + "reach": 28 + }, + "legacyCategory": "People", + "drift30": { + "last30": 37, + "prev30": 51, + "pct": -27.450980392156865 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 52540452, + "title": "Olga Gorshenina", + "description": "Russian handball player", + "wikidataId": "Q2019617", + "revisionId": 1381108921, + "pageBytes": 2811, + "languageCount": 11, + "languagesTruncated": false, + "categories": [ + "1990 births", + "21st-century Russian sportswomen", + "Expatriate handball players in Hungary", + "Expatriate handball players in Romania", + "Handball players from Tolyatti", + "Living people", + "Russian expatriate handball players in Germany", + "Russian expatriate sportspeople in Hungary", + "Russian expatriate sportspeople in Romania", + "Russian handball biography stubs", + "Russian women's handball players" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 26 + }, + { + "month": "2026-06", + "views": 26 + }, + { + "month": "2026-07", + "views": 19 + }, + { + "month": "2026-08", + "views": 13 + }, + { + "month": "2026-09", + "views": 22 + }, + { + "month": "2026-10", + "views": 21 + } + ], + "latestMonth": "2026-10", + "total": 127, + "dailyAverage": 0.6774193548387096, + "trendPercent": -4.545454545454546 + }, + "stats": { + "attention": 22, + "depth": 57, + "reach": 36 + }, + "legacyCategory": "People", + "drift30": { + "last30": 21, + "prev30": 21, + "pct": 0.0 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 71038192, + "title": "1952 Avusrennen", + "description": "Motor car race", + "wikidataId": "Q112838670", + "revisionId": 1382877416, + "pageBytes": 4609, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "1950s in West Berlin", + "1952 Formula Two races", + "1952 in West German motorsport", + "Motorsport in Berlin", + "September 1952 sports events in Europe", + "Sports competitions in Berlin" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 29 + }, + { + "month": "2026-06", + "views": 25 + }, + { + "month": "2026-07", + "views": 35 + }, + { + "month": "2026-08", + "views": 40 + }, + { + "month": "2026-09", + "views": 23 + }, + { + "month": "2026-10", + "views": 31 + } + ], + "latestMonth": "2026-10", + "total": 183, + "dailyAverage": 1.0, + "trendPercent": 34.78260869565217 + }, + "stats": { + "attention": 25, + "depth": 61, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 27, + "prev30": 23, + "pct": 17.391304347826086 + }, + "instanceOf": [] + }, + { + "pageId": 81318312, + "title": "Guido Iván Justo", + "description": "Argentine tennis player (born 1997)", + "wikidataId": "Q138414200", + "revisionId": 1382049023, + "pageBytes": 6501, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "1997 births", + "Argentine male tennis players", + "Argentine tennis biography stubs", + "Living people", + "Sportspeople from Buenos Aires" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 360 + }, + { + "month": "2026-06", + "views": 309 + }, + { + "month": "2026-07", + "views": 535 + }, + { + "month": "2026-08", + "views": 402 + }, + { + "month": "2026-09", + "views": 287 + }, + { + "month": "2026-10", + "views": 824 + } + ], + "latestMonth": "2026-10", + "total": 2717, + "dailyAverage": 26.580645161290324, + "trendPercent": 187.10801393728224 + }, + "stats": { + "attention": 49, + "depth": 64, + "reach": 10 + }, + "legacyCategory": "People", + "drift30": { + "last30": 155, + "prev30": 1003, + "pct": -84.54636091724825 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 2218990, + "title": "Deputy Prime Minister of Malaysia", + "description": "Political office in Malaysia", + "wikidataId": "Q5261073", + "revisionId": 1386025479, + "pageBytes": 21259, + "languageCount": 10, + "languagesTruncated": false, + "categories": [ + "Deputy prime ministers of Malaysia", + "Lists of deputy prime ministers", + "Lists of political office-holders in Malaysia", + "Malaysia politics-related lists" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1374 + }, + { + "month": "2026-06", + "views": 1126 + }, + { + "month": "2026-07", + "views": 1532 + }, + { + "month": "2026-08", + "views": 1494 + }, + { + "month": "2026-09", + "views": 1837 + }, + { + "month": "2026-10", + "views": 1504 + } + ], + "latestMonth": "2026-10", + "total": 8867, + "dailyAverage": 48.516129032258064, + "trendPercent": -18.127381600435495 + }, + "stats": { + "attention": 53, + "depth": 72, + "reach": 35 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 1304, + "prev30": 1919, + "pct": -32.04794163626889 + }, + "instanceOf": [ + { + "id": "Q4164871", + "label": "position" + } + ] + }, + { + "pageId": 8275276, + "title": "Thomas Wharton Jr.", + "description": "American politician (1735–1778)", + "wikidataId": "Q883460", + "revisionId": 1350443233, + "pageBytes": 12218, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "1735 births", + "1778 deaths", + "18th-century American Episcopalians", + "Governors of Pennsylvania", + "Merchants from colonial Pennsylvania", + "Patriots in the American Revolution", + "People disowned by the Quakers", + "People of Pennsylvania in the American Revolution", + "Politicians from Chester County, Pennsylvania", + "Politicians from Philadelphia", + "Wharton family" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 536 + }, + { + "month": "2026-06", + "views": 462 + }, + { + "month": "2026-07", + "views": 656 + }, + { + "month": "2026-08", + "views": 503 + }, + { + "month": "2026-09", + "views": 419 + }, + { + "month": "2026-10", + "views": 420 + } + ], + "latestMonth": "2026-10", + "total": 2996, + "dailyAverage": 13.548387096774194, + "trendPercent": 0.23866348448687352 + }, + "stats": { + "attention": 44, + "depth": 68, + "reach": 16 + }, + "legacyCategory": "People", + "drift30": { + "last30": 511, + "prev30": 446, + "pct": 14.573991031390134 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 21376831, + "title": "Bez (Drôme)", + "description": "River in France", + "wikidataId": "Q1019347", + "revisionId": 1374494957, + "pageBytes": 1685, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "Auvergne-Rhône-Alpes river stubs", + "Drôme geography stubs", + "Rivers of Auvergne-Rhône-Alpes", + "Rivers of Drôme", + "Rivers of France", + "Tributaries of the Rhône" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 19 + }, + { + "month": "2026-06", + "views": 9 + }, + { + "month": "2026-07", + "views": 36 + }, + { + "month": "2026-08", + "views": 41 + }, + { + "month": "2026-09", + "views": 22 + }, + { + "month": "2026-10", + "views": 23 + } + ], + "latestMonth": "2026-10", + "total": 150, + "dailyAverage": 0.7419354838709677, + "trendPercent": 4.545454545454546 + }, + "stats": { + "attention": 23, + "depth": 54, + "reach": 16 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 8, + "prev30": 21, + "pct": -61.904761904761905 + }, + "instanceOf": [ + { + "id": "Q4022", + "label": "river" + } + ] + }, + { + "pageId": 22403198, + "title": "Cioc-Maidan", + "description": "Commune in Gagauzia, Moldova", + "wikidataId": "Q2639022", + "revisionId": 1375646501, + "pageBytes": 3479, + "languageCount": 12, + "languagesTruncated": false, + "categories": [ + "Communes of Gagauzia", + "Southern Moldova geography stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 44 + }, + { + "month": "2026-06", + "views": 39 + }, + { + "month": "2026-07", + "views": 38 + }, + { + "month": "2026-08", + "views": 80 + }, + { + "month": "2026-09", + "views": 52 + }, + { + "month": "2026-10", + "views": 44 + } + ], + "latestMonth": "2026-10", + "total": 297, + "dailyAverage": 1.4193548387096775, + "trendPercent": -15.384615384615385 + }, + "stats": { + "attention": 28, + "depth": 59, + "reach": 37 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 31, + "prev30": 55, + "pct": -43.63636363636363 + }, + "instanceOf": [ + { + "id": "Q4229812", + "label": "commune of Moldova" + }, + { + "id": "Q532", + "label": "village" + } + ] + }, + { + "pageId": 22517668, + "title": "Kwong Wai Siew Peck San Theng", + "description": "Columbarium in Singapore", + "wikidataId": "Q6450554", + "revisionId": 1244289559, + "pageBytes": 6673, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Buildings and structures in Bishan, Singapore", + "Columbaria in Singapore", + "Hakka culture in Singapore" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 504 + }, + { + "month": "2026-06", + "views": 308 + }, + { + "month": "2026-07", + "views": 393 + }, + { + "month": "2026-08", + "views": 438 + }, + { + "month": "2026-09", + "views": 412 + }, + { + "month": "2026-10", + "views": 304 + } + ], + "latestMonth": "2026-10", + "total": 2359, + "dailyAverage": 9.806451612903226, + "trendPercent": -26.21359223300971 + }, + "stats": { + "attention": 41, + "depth": 64, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 279, + "prev30": 347, + "pct": -19.596541786743515 + }, + "instanceOf": [] + }, + { + "pageId": 47519878, + "title": "Jeanne Madden", + "description": "American singer and actress (1917–1989)", + "wikidataId": "Q20974011", + "revisionId": 1382761423, + "pageBytes": 1817, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "1917 births", + "1989 deaths", + "20th-century American actresses", + "20th-century American singers", + "Actors from Scranton, Pennsylvania", + "Actresses from Lackawanna County, Pennsylvania", + "American film actor, 1910s birth stubs", + "American film actresses", + "American singer stubs", + "American stage actresses", + "American theatre actor, 20th-century birth stubs", + "Musicians from Scranton, Pennsylvania" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 39 + }, + { + "month": "2026-06", + "views": 44 + }, + { + "month": "2026-07", + "views": 48 + }, + { + "month": "2026-08", + "views": 46 + }, + { + "month": "2026-09", + "views": 44 + }, + { + "month": "2026-10", + "views": 26 + } + ], + "latestMonth": "2026-10", + "total": 247, + "dailyAverage": 0.8387096774193549, + "trendPercent": -40.909090909090914 + }, + "stats": { + "attention": 24, + "depth": 54, + "reach": 23 + }, + "legacyCategory": "People", + "drift30": { + "last30": 35, + "prev30": 35, + "pct": 0.0 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 48714450, + "title": "Payam Heydari", + "description": "Iranian-American Professor", + "wikidataId": "Q22097382", + "revisionId": 1383721847, + "pageBytes": 12398, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "American electrical engineers", + "Engineers from California", + "Fellows of the IEEE", + "Iranian electrical engineers", + "Iranian engineers", + "Iranian expatriate academics", + "Living people", + "Sharif University of Technology alumni", + "USC Viterbi School of Engineering alumni", + "University of California, Irvine faculty" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 225 + }, + { + "month": "2026-06", + "views": 145 + }, + { + "month": "2026-07", + "views": 114 + }, + { + "month": "2026-08", + "views": 154 + }, + { + "month": "2026-09", + "views": 126 + }, + { + "month": "2026-10", + "views": 127 + } + ], + "latestMonth": "2026-10", + "total": 891, + "dailyAverage": 4.096774193548387, + "trendPercent": 0.7936507936507936 + }, + "stats": { + "attention": 35, + "depth": 68, + "reach": 16 + }, + "legacyCategory": "People", + "drift30": { + "last30": 122, + "prev30": 125, + "pct": -2.4 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 78868030, + "title": "Mercenasco Castle", + "description": "Building in Mercenasco, Italy", + "wikidataId": "Q131729377", + "revisionId": 1327239041, + "pageBytes": 2716, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "Castles in the Metropolitan City of Turin", + "Mercenasco" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 12 + }, + { + "month": "2026-06", + "views": 22 + }, + { + "month": "2026-07", + "views": 17 + }, + { + "month": "2026-08", + "views": 10 + }, + { + "month": "2026-09", + "views": 11 + }, + { + "month": "2026-10", + "views": 5 + } + ], + "latestMonth": "2026-10", + "total": 77, + "dailyAverage": 0.16129032258064516, + "trendPercent": -54.54545454545454 + }, + "stats": { + "attention": 13, + "depth": 57, + "reach": 16 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 7, + "prev30": 10, + "pct": -30.0 + }, + "instanceOf": [ + { + "id": "Q23413", + "label": "castle" + } + ] + }, + { + "pageId": 84606242, + "title": "Edward Ellsworth Underwood", + "description": "American physician (1864–1942)", + "wikidataId": "Q141822855", + "revisionId": 1382829231, + "pageBytes": 7526, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "1864 births", + "1942 deaths", + "19th-century African-American medical doctors", + "19th-century American medical doctors", + "20th-century African-American medical doctors", + "20th-century American medical doctors", + "African-American people in Kentucky politics", + "African Methodist Episcopal Church clergy", + "Burials at Frankfort Cemetery", + "Case Western Reserve University School of Medicine alumni", + "People from Dayton, Ohio", + "People from Frankfort, Kentucky", + "People from Jefferson County, Ohio" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 0 + }, + { + "month": "2026-06", + "views": 0 + }, + { + "month": "2026-07", + "views": 0 + }, + { + "month": "2026-08", + "views": 0 + }, + { + "month": "2026-09", + "views": 0 + }, + { + "month": "2026-10", + "views": 81 + } + ], + "latestMonth": "2026-10", + "total": 81, + "dailyAverage": 2.6129032258064515, + "trendPercent": null + }, + "stats": { + "attention": 32, + "depth": 65, + "reach": 0 + }, + "legacyCategory": "People", + "drift30": { + "last30": 97, + "prev30": 0, + "pct": null + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 981340, + "title": "Tatsunoko Production", + "description": "Japanese animation studio", + "wikidataId": "Q1323459", + "revisionId": 1384823392, + "pageBytes": 74169, + "languageCount": 19, + "languagesTruncated": false, + "categories": [ + "Animation studios in Tokyo", + "Companies based in Musashino, Tokyo", + "Film production companies of Japan", + "Japanese animation studios", + "Japanese companies established in 1962", + "Mass media companies established in 1962", + "Tatsunoko Production", + "Television production companies of Japan" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 5947 + }, + { + "month": "2026-06", + "views": 4922 + }, + { + "month": "2026-07", + "views": 5774 + }, + { + "month": "2026-08", + "views": 6054 + }, + { + "month": "2026-09", + "views": 5228 + }, + { + "month": "2026-10", + "views": 4738 + } + ], + "latestMonth": "2026-10", + "total": 32663, + "dailyAverage": 152.83870967741936, + "trendPercent": -9.372609028309105 + }, + "stats": { + "attention": 61, + "depth": 81, + "reach": 43 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 4819, + "prev30": 4525, + "pct": 6.497237569060774 + }, + "instanceOf": [ + { + "id": "Q1107679", + "label": "animation studio" + } + ] + }, + { + "pageId": 2020649, + "title": "Luxury box", + "description": "Class of seating in arena or stadium", + "wikidataId": "Q852359", + "revisionId": 1356568738, + "pageBytes": 17537, + "languageCount": 6, + "languagesTruncated": false, + "categories": [ + "Luxury", + "Rooms", + "Sports venues", + "Stadiums" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1291 + }, + { + "month": "2026-06", + "views": 1503 + }, + { + "month": "2026-07", + "views": 1176 + }, + { + "month": "2026-08", + "views": 926 + }, + { + "month": "2026-09", + "views": 1083 + }, + { + "month": "2026-10", + "views": 1071 + } + ], + "latestMonth": "2026-10", + "total": 7050, + "dailyAverage": 34.54838709677419, + "trendPercent": -1.10803324099723 + }, + "stats": { + "attention": 51, + "depth": 71, + "reach": 28 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 1003, + "prev30": 1117, + "pct": -10.205908683974933 + }, + "instanceOf": [] + }, + { + "pageId": 2978129, + "title": "Saraca", + "description": "Genus of legumes", + "wikidataId": "Q2426272", + "revisionId": 1354827085, + "pageBytes": 3926, + "languageCount": 18, + "languagesTruncated": false, + "categories": [ + "Fabaceae genera", + "Saraca" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 161 + }, + { + "month": "2026-06", + "views": 119 + }, + { + "month": "2026-07", + "views": 159 + }, + { + "month": "2026-08", + "views": 188 + }, + { + "month": "2026-09", + "views": 153 + }, + { + "month": "2026-10", + "views": 130 + } + ], + "latestMonth": "2026-10", + "total": 910, + "dailyAverage": 4.193548387096774, + "trendPercent": -15.032679738562091 + }, + "stats": { + "attention": 35, + "depth": 60, + "reach": 43 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 116, + "prev30": 127, + "pct": -8.661417322834646 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 14048250, + "title": "Frontier, Saskatchewan", + "description": "Village in Saskatchewan, Canada", + "wikidataId": "Q2003391", + "revisionId": 1377607311, + "pageBytes": 13275, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "Division No. 4, Saskatchewan", + "Rural Municipality of Frontier No. 19", + "Villages in Saskatchewan" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 319 + }, + { + "month": "2026-06", + "views": 239 + }, + { + "month": "2026-07", + "views": 248 + }, + { + "month": "2026-08", + "views": 212 + }, + { + "month": "2026-09", + "views": 210 + }, + { + "month": "2026-10", + "views": 182 + } + ], + "latestMonth": "2026-10", + "total": 1410, + "dailyAverage": 5.870967741935484, + "trendPercent": -13.333333333333334 + }, + "stats": { + "attention": 38, + "depth": 69, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 145, + "prev30": 196, + "pct": -26.02040816326531 + }, + "instanceOf": [ + { + "id": "Q6644778", + "label": "village in Saskatchewan" + } + ] + }, + { + "pageId": 30524663, + "title": "Aichi AB-2", + "description": "Prototype reconnaissance floatplane", + "wikidataId": "Q4696551", + "revisionId": 1321144611, + "pageBytes": 5492, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "1930s Japanese military reconnaissance aircraft", + "Aichi aircraft", + "Aircraft first flown in 1930", + "Biplanes", + "Floatplanes", + "Single-engined tractor aircraft" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 65 + }, + { + "month": "2026-06", + "views": 68 + }, + { + "month": "2026-07", + "views": 70 + }, + { + "month": "2026-08", + "views": 75 + }, + { + "month": "2026-09", + "views": 77 + }, + { + "month": "2026-10", + "views": 70 + } + ], + "latestMonth": "2026-10", + "total": 425, + "dailyAverage": 2.2580645161290325, + "trendPercent": -9.090909090909092 + }, + "stats": { + "attention": 31, + "depth": 62, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 53, + "prev30": 85, + "pct": -37.64705882352941 + }, + "instanceOf": [ + { + "id": "Q15056995", + "label": "aircraft model" + } + ] + }, + { + "pageId": 30852837, + "title": "Symphodus", + "description": "Genus of fishes", + "wikidataId": "Q2019861", + "revisionId": 1366643102, + "pageBytes": 5918, + "languageCount": 21, + "languagesTruncated": false, + "categories": [ + "Fauna of Morocco", + "Fauna of Spain", + "Fish of the East Atlantic", + "Fish of the Mediterranean Sea", + "Labridae", + "Labridae stubs", + "Marine fish genera", + "Symphodus", + "Taxa named by Constantine Samuel Rafinesque" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 96 + }, + { + "month": "2026-06", + "views": 84 + }, + { + "month": "2026-07", + "views": 82 + }, + { + "month": "2026-08", + "views": 111 + }, + { + "month": "2026-09", + "views": 98 + }, + { + "month": "2026-10", + "views": 67 + } + ], + "latestMonth": "2026-10", + "total": 538, + "dailyAverage": 2.161290322580645, + "trendPercent": -31.63265306122449 + }, + "stats": { + "attention": 31, + "depth": 63, + "reach": 45 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 72, + "prev30": 74, + "pct": -2.7027027027027026 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + }, + { + "pageId": 42770753, + "title": "Château de la Faye (Villexavier)", + "description": "Manor house in Charente-Maritime, France", + "wikidataId": "Q2971223", + "revisionId": 1375492681, + "pageBytes": 1851, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "Châteaux in Charente-Maritime", + "Monuments historiques of Charente-Maritime" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 31 + }, + { + "month": "2026-06", + "views": 11 + }, + { + "month": "2026-07", + "views": 10 + }, + { + "month": "2026-08", + "views": 19 + }, + { + "month": "2026-09", + "views": 13 + }, + { + "month": "2026-10", + "views": 14 + } + ], + "latestMonth": "2026-10", + "total": 98, + "dailyAverage": 0.45161290322580644, + "trendPercent": 7.6923076923076925 + }, + "stats": { + "attention": 20, + "depth": 54, + "reach": 10 + }, + "legacyCategory": "History", + "drift30": { + "last30": 12, + "prev30": 14, + "pct": -14.285714285714285 + }, + "instanceOf": [ + { + "id": "Q23413", + "label": "castle" + } + ] + }, + { + "pageId": 48653101, + "title": "Tornadoes of 1978", + "description": "", + "wikidataId": "Q22093730", + "revisionId": 1381828221, + "pageBytes": 16373, + "languageCount": 0, + "languagesTruncated": false, + "categories": [ + "1978-related lists", + "Meteorological events in 1978", + "Tornado-related lists by year", + "Tornadoes of 1978" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 569 + }, + { + "month": "2026-06", + "views": 572 + }, + { + "month": "2026-07", + "views": 525 + }, + { + "month": "2026-08", + "views": 643 + }, + { + "month": "2026-09", + "views": 495 + }, + { + "month": "2026-10", + "views": 511 + } + ], + "latestMonth": "2026-10", + "total": 3315, + "dailyAverage": 16.483870967741936, + "trendPercent": 3.2323232323232323 + }, + "stats": { + "attention": 45, + "depth": 70, + "reach": 0 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 491, + "prev30": 536, + "pct": -8.395522388059701 + }, + "instanceOf": [ + { + "id": "Q18340514", + "label": "events in a specific year or time period" + } + ] + }, + { + "pageId": 55083500, + "title": "United Kingdom House", + "description": "Building on Oxford Street, London, England", + "wikidataId": "Q26319049", + "revisionId": 1383844197, + "pageBytes": 2837, + "languageCount": 1, + "languagesTruncated": false, + "categories": [ + "1906 establishments in England", + "Buildings and structures completed in 1906", + "Department store buildings in the United Kingdom", + "Grade II listed buildings in the City of Westminster", + "Grade II listed retail buildings", + "London building and structure stubs", + "Oxford Street" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 125 + }, + { + "month": "2026-06", + "views": 101 + }, + { + "month": "2026-07", + "views": 100 + }, + { + "month": "2026-08", + "views": 75 + }, + { + "month": "2026-09", + "views": 103 + }, + { + "month": "2026-10", + "views": 109 + } + ], + "latestMonth": "2026-10", + "total": 613, + "dailyAverage": 3.5161290322580645, + "trendPercent": 5.825242718446602 + }, + "stats": { + "attention": 34, + "depth": 58, + "reach": 10 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 111, + "prev30": 92, + "pct": 20.652173913043477 + }, + "instanceOf": [ + { + "id": "Q41176", + "label": "building" + } + ] + }, + { + "pageId": 3372934, + "title": "Hermes Ramírez", + "description": "Cuban sprinter (1948–2024)", + "wikidataId": "Q522855", + "revisionId": 1364063954, + "pageBytes": 8264, + "languageCount": 13, + "languagesTruncated": false, + "categories": [ + "1948 births", + "2024 deaths", + "20th-century Cuban sportsmen", + "Athletes (track and field) at the 1967 Pan American Games", + "Athletes (track and field) at the 1968 Summer Olympics", + "Athletes (track and field) at the 1971 Pan American Games", + "Athletes (track and field) at the 1972 Summer Olympics", + "Athletes (track and field) at the 1975 Pan American Games", + "Athletes (track and field) at the 1976 Summer Olympics", + "Central American and Caribbean Games gold medalists for Cuba", + "Central American and Caribbean Games medalists in athletics", + "Competitors at the 1965 Summer Universiade", + "Competitors at the 1966 Central American and Caribbean Games", + "Competitors at the 1970 Central American and Caribbean Games", + "Cuban Olympic medalist stubs", + "Cuban athletics biography stubs", + "Cuban men sprinters", + "Medalists at the 1967 Pan American Games", + "Medalists at the 1968 Summer Olympics", + "Medalists at the 1971 Pan American Games", + "Medalists at the 1975 Pan American Games", + "Olympic athletes for Cuba", + "Olympic men sprinters", + "Olympic silver medalists for Cuba", + "Olympic silver medalists in athletics", + "Pan American Games bronze medalists for Cuba", + "Pan American Games bronze medalists in athletics (track and field)", + "Pan American Games silver medalists for Cuba", + "Pan American Games silver medalists in athletics (track and field)" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 54 + }, + { + "month": "2026-06", + "views": 72 + }, + { + "month": "2026-07", + "views": 53 + }, + { + "month": "2026-08", + "views": 58 + }, + { + "month": "2026-09", + "views": 65 + }, + { + "month": "2026-10", + "views": 59 + } + ], + "latestMonth": "2026-10", + "total": 361, + "dailyAverage": 1.903225806451613, + "trendPercent": -9.230769230769232 + }, + "stats": { + "attention": 30, + "depth": 65, + "reach": 38 + }, + "legacyCategory": "People", + "drift30": { + "last30": 55, + "prev30": 52, + "pct": 5.769230769230769 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 8341140, + "title": "Ceaușescu family", + "description": "Family of Nicolae Ceaușescu", + "wikidataId": "Q5055770", + "revisionId": 1370304900, + "pageBytes": 8422, + "languageCount": 3, + "languagesTruncated": false, + "categories": [ + "Ceaușescu family", + "Nicolae Ceaușescu", + "Romanian revolution" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 2312 + }, + { + "month": "2026-06", + "views": 2282 + }, + { + "month": "2026-07", + "views": 2408 + }, + { + "month": "2026-08", + "views": 2665 + }, + { + "month": "2026-09", + "views": 2662 + }, + { + "month": "2026-10", + "views": 2560 + } + ], + "latestMonth": "2026-10", + "total": 14889, + "dailyAverage": 82.58064516129032, + "trendPercent": -3.831705484598046 + }, + "stats": { + "attention": 57, + "depth": 65, + "reach": 20 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 2274, + "prev30": 2605, + "pct": -12.7063339731286 + }, + "instanceOf": [ + { + "id": "Q8436", + "label": "family" + } + ] + }, + { + "pageId": 13799810, + "title": "Levophacetoperane", + "description": "Stimulant drug", + "wikidataId": "Q6535818", + "revisionId": 1374230485, + "pageBytes": 4639, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "2-Benzylpiperidines", + "2-Piperidinyl compounds", + "Acetate esters", + "Amphetamine stubs", + "Anorectics", + "Antidepressants", + "Beta-Hydroxyamphetamines", + "Drugs not assigned an ATC code", + "Norepinephrine–dopamine reuptake inhibitors", + "Phenylethanolamine ethers", + "Stimulants", + "Wakefulness-promoting agents" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 193 + }, + { + "month": "2026-06", + "views": 170 + }, + { + "month": "2026-07", + "views": 166 + }, + { + "month": "2026-08", + "views": 185 + }, + { + "month": "2026-09", + "views": 168 + }, + { + "month": "2026-10", + "views": 165 + } + ], + "latestMonth": "2026-10", + "total": 1047, + "dailyAverage": 5.32258064516129, + "trendPercent": -1.7857142857142856 + }, + "stats": { + "attention": 37, + "depth": 61, + "reach": 16 + }, + "legacyCategory": "Science", + "drift30": { + "last30": 148, + "prev30": 160, + "pct": -7.5 + }, + "instanceOf": [ + { + "id": "Q113145171", + "label": "type of chemical entity" + } + ] + }, + { + "pageId": 17755916, + "title": "Xiaoliang Sunney Xie", + "description": "Chinese-American biochemist", + "wikidataId": "Q906616", + "revisionId": 1360992742, + "pageBytes": 35403, + "languageCount": 5, + "languagesTruncated": false, + "categories": [ + "1962 births", + "Chinese emigrants to the United States", + "Fellows of the American Academy of Arts and Sciences", + "Fellows of the American Association for the Advancement of Science", + "Foreign members of the Chinese Academy of Sciences", + "Harvard University faculty", + "Living people", + "Members of the National Academy of Medicine", + "Members of the Standing Committee of the 14th Chinese People's Political Consultative Conference", + "Members of the United States National Academy of Sciences", + "Peking University alumni", + "Scientists from Beijing", + "Spectroscopists", + "University of California, San Diego alumni", + "University of Chicago alumni" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 348 + }, + { + "month": "2026-06", + "views": 213 + }, + { + "month": "2026-07", + "views": 190 + }, + { + "month": "2026-08", + "views": 222 + }, + { + "month": "2026-09", + "views": 182 + }, + { + "month": "2026-10", + "views": 269 + } + ], + "latestMonth": "2026-10", + "total": 1424, + "dailyAverage": 8.67741935483871, + "trendPercent": 47.8021978021978 + }, + "stats": { + "attention": 41, + "depth": 76, + "reach": 26 + }, + "legacyCategory": "People", + "drift30": { + "last30": 241, + "prev30": 249, + "pct": -3.2128514056224895 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 19025970, + "title": "Marina Kuzina", + "description": "Russian basketball player", + "wikidataId": "Q2704942", + "revisionId": 1385734329, + "pageBytes": 2074, + "languageCount": 18, + "languagesTruncated": false, + "categories": [ + "1985 births", + "21st-century Russian sportswomen", + "Basketball players at the 2008 Summer Olympics", + "Basketball players at the 2012 Summer Olympics", + "Indiana Fever draft picks", + "Living people", + "Medalists at the 2008 Summer Olympics", + "Olympic basketball players for Russia", + "Olympic bronze medalists for Russia", + "Olympic medalists in basketball", + "Russian Olympic medalist stubs", + "Russian basketball biography stubs", + "Russian women's basketball players" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 59 + }, + { + "month": "2026-06", + "views": 37 + }, + { + "month": "2026-07", + "views": 144 + }, + { + "month": "2026-08", + "views": 49 + }, + { + "month": "2026-09", + "views": 47 + }, + { + "month": "2026-10", + "views": 27 + } + ], + "latestMonth": "2026-10", + "total": 363, + "dailyAverage": 0.8709677419354839, + "trendPercent": -42.5531914893617 + }, + "stats": { + "attention": 24, + "depth": 55, + "reach": 43 + }, + "legacyCategory": "People", + "drift30": { + "last30": 26, + "prev30": 44, + "pct": -40.909090909090914 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 24114222, + "title": "Rum cake", + "description": "Type of dessert", + "wikidataId": "Q7379109", + "revisionId": 1317119586, + "pageBytes": 4446, + "languageCount": 8, + "languagesTruncated": false, + "categories": [ + "Caribbean cuisine", + "Christmas cakes", + "Dessert stubs", + "Guyanese cuisine", + "Jamaican desserts", + "Puerto Rican cuisine", + "Rum desserts", + "Sponge cakes", + "Trinidad and Tobago cuisine" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 1340 + }, + { + "month": "2026-06", + "views": 1343 + }, + { + "month": "2026-07", + "views": 1536 + }, + { + "month": "2026-08", + "views": 1878 + }, + { + "month": "2026-09", + "views": 1808 + }, + { + "month": "2026-10", + "views": 1919 + } + ], + "latestMonth": "2026-10", + "total": 9824, + "dailyAverage": 61.903225806451616, + "trendPercent": 6.139380530973451 + }, + "stats": { + "attention": 55, + "depth": 61, + "reach": 32 + }, + "legacyCategory": "Culture", + "drift30": { + "last30": 2299, + "prev30": 1848, + "pct": 24.404761904761905 + }, + "instanceOf": [] + }, + { + "pageId": 31581668, + "title": "Ian Potter Museum of Art", + "description": "Art museum in Parkville, Victoria", + "wikidataId": "Q5982619", + "revisionId": 1377811586, + "pageBytes": 10524, + "languageCount": 2, + "languagesTruncated": false, + "categories": [ + "Archaeological museums in Australia", + "Art museums and galleries established in 1998", + "Art museums and galleries in Melbourne", + "Buildings and structures in the City of Melbourne (LGA)", + "Contemporary art galleries in Australia", + "University museums in Australia", + "University of Melbourne" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 136 + }, + { + "month": "2026-06", + "views": 117 + }, + { + "month": "2026-07", + "views": 138 + }, + { + "month": "2026-08", + "views": 156 + }, + { + "month": "2026-09", + "views": 128 + }, + { + "month": "2026-10", + "views": 148 + } + ], + "latestMonth": "2026-10", + "total": 823, + "dailyAverage": 4.774193548387097, + "trendPercent": 15.625 + }, + "stats": { + "attention": 36, + "depth": 67, + "reach": 16 + }, + "legacyCategory": "History", + "drift30": { + "last30": 125, + "prev30": 122, + "pct": 2.459016393442623 + }, + "instanceOf": [ + { + "id": "Q207694", + "label": "art museum" + } + ] + }, + { + "pageId": 33510186, + "title": "Piet Hesse", + "description": "Dutch actor and comedian (1872–1936)", + "wikidataId": "Q2513810", + "revisionId": 1371413731, + "pageBytes": 3044, + "languageCount": 4, + "languagesTruncated": false, + "categories": [ + "1872 births", + "1936 deaths", + "20th-century Dutch comedians", + "20th-century Dutch male actors", + "Comedians from Amsterdam", + "Dutch male comedians", + "Dutch male silent film actors", + "Dutch slapstick comedians", + "Male actors from Amsterdam" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 30 + }, + { + "month": "2026-06", + "views": 15 + }, + { + "month": "2026-07", + "views": 21 + }, + { + "month": "2026-08", + "views": 30 + }, + { + "month": "2026-09", + "views": 16 + }, + { + "month": "2026-10", + "views": 22 + } + ], + "latestMonth": "2026-10", + "total": 134, + "dailyAverage": 0.7096774193548387, + "trendPercent": 37.5 + }, + "stats": { + "attention": 23, + "depth": 58, + "reach": 23 + }, + "legacyCategory": "People", + "drift30": { + "last30": 17, + "prev30": 16, + "pct": 6.25 + }, + "instanceOf": [ + { + "id": "Q5", + "label": "human" + } + ] + }, + { + "pageId": 34748061, + "title": "Goneplax", + "description": "Genus of crabs", + "wikidataId": "Q5234395", + "revisionId": 1315380924, + "pageBytes": 2236, + "languageCount": 8, + "languagesTruncated": false, + "categories": [ + "Decapod genera", + "Extant Miocene first appearances", + "Goneplacoidea", + "Goneplacoidea stubs" + ], + "categoriesTruncated": false, + "fetchedAt": "2026-11-16T00:00:00+00:00", + "pageviews": { + "status": "available", + "months": [ + { + "month": "2026-05", + "views": 22 + }, + { + "month": "2026-06", + "views": 20 + }, + { + "month": "2026-07", + "views": 21 + }, + { + "month": "2026-08", + "views": 18 + }, + { + "month": "2026-09", + "views": 36 + }, + { + "month": "2026-10", + "views": 11 + } + ], + "latestMonth": "2026-10", + "total": 128, + "dailyAverage": 0.3548387096774194, + "trendPercent": -69.44444444444444 + }, + "stats": { + "attention": 18, + "depth": 56, + "reach": 32 + }, + "legacyCategory": "Nature", + "drift30": { + "last30": 18, + "prev30": 22, + "pct": -18.181818181818183 + }, + "instanceOf": [ + { + "id": "Q16521", + "label": "taxon" + } + ] + } + ] +} \ No newline at end of file diff --git a/docs/game/starter-cards.json b/docs/game/starter-cards.json new file mode 100644 index 0000000..93f1787 --- /dev/null +++ b/docs/game/starter-cards.json @@ -0,0 +1,424 @@ +{ + "frozenAt": "2026-11-17", + "note": "Frozen loaner/starter stats from the council-data random sample. Do not fetch live.", + "cards": [ + { + "pageId": 49830722, + "title": "Dicroidium odontopteroides", + "category": "Nature", + "wikidataId": "Q25095289", + "revisionId": 1116073630, + "pageBytes": 1943, + "languageCount": 0, + "monthlyViews": 59, + "latestMonth": "2026-10", + "trendPercent": 5.4, + "stats": { + "attention": 30, + "depth": 55, + "reach": 0 + }, + "tiers": { + "attention": 4, + "depth": 2, + "reach": 1 + } + }, + { + "pageId": 25856905, + "title": "Dichromorpha viridis", + "category": "Nature", + "wikidataId": "Q5272562", + "revisionId": 1367363150, + "pageBytes": 1347, + "languageCount": 4, + "monthlyViews": 133, + "latestMonth": "2026-10", + "trendPercent": -43.6, + "stats": { + "attention": 35, + "depth": 52, + "reach": 23 + }, + "tiers": { + "attention": 6, + "depth": 1, + "reach": 5 + } + }, + { + "pageId": 66508497, + "title": "Amanita mairei", + "category": "Nature", + "wikidataId": "Q15651951", + "revisionId": 1323515500, + "pageBytes": 998, + "languageCount": 8, + "monthlyViews": 61, + "latestMonth": "2026-10", + "trendPercent": -21.8, + "stats": { + "attention": 30, + "depth": 50, + "reach": 32 + }, + "tiers": { + "attention": 4, + "depth": 1, + "reach": 7 + } + }, + { + "pageId": 4289899, + "title": "Anthodon (reptile)", + "category": "Nature", + "wikidataId": "Q2505064", + "revisionId": 1384682008, + "pageBytes": 9037, + "languageCount": 12, + "monthlyViews": 233, + "latestMonth": "2026-10", + "trendPercent": -8.3, + "stats": { + "attention": 39, + "depth": 66, + "reach": 37 + }, + "tiers": { + "attention": 8, + "depth": 7, + "reach": 8 + } + }, + { + "pageId": 47519878, + "title": "Jeanne Madden", + "category": "People", + "wikidataId": "Q20974011", + "revisionId": 1382761423, + "pageBytes": 1817, + "languageCount": 4, + "monthlyViews": 26, + "latestMonth": "2026-10", + "trendPercent": -40.9, + "stats": { + "attention": 24, + "depth": 54, + "reach": 23 + }, + "tiers": { + "attention": 2, + "depth": 2, + "reach": 5 + } + }, + { + "pageId": 46263191, + "title": "Max Touloute", + "category": "People", + "wikidataId": "Q20641573", + "revisionId": 1384441370, + "pageBytes": 10140, + "languageCount": 2, + "monthlyViews": 47, + "latestMonth": "2026-10", + "trendPercent": 95.8, + "stats": { + "attention": 28, + "depth": 67, + "reach": 16 + }, + "tiers": { + "attention": 4, + "depth": 8, + "reach": 4 + } + }, + { + "pageId": 3372934, + "title": "Hermes Ramírez", + "category": "People", + "wikidataId": "Q522855", + "revisionId": 1364063954, + "pageBytes": 8264, + "languageCount": 13, + "monthlyViews": 59, + "latestMonth": "2026-10", + "trendPercent": -9.2, + "stats": { + "attention": 30, + "depth": 65, + "reach": 38 + }, + "tiers": { + "attention": 4, + "depth": 7, + "reach": 8 + } + }, + { + "pageId": 1374812, + "title": "Tom Ewell", + "category": "People", + "wikidataId": "Q427388", + "revisionId": 1381663979, + "pageBytes": 17965, + "languageCount": 30, + "monthlyViews": 4548, + "latestMonth": "2026-10", + "trendPercent": -19.8, + "stats": { + "attention": 61, + "depth": 71, + "reach": 50 + }, + "tiers": { + "attention": 10, + "depth": 9, + "reach": 10 + } + }, + { + "pageId": 13799810, + "title": "Levophacetoperane", + "category": "Science", + "wikidataId": "Q6535818", + "revisionId": 1374230485, + "pageBytes": 4639, + "languageCount": 2, + "monthlyViews": 165, + "latestMonth": "2026-10", + "trendPercent": -1.8, + "stats": { + "attention": 37, + "depth": 61, + "reach": 16 + }, + "tiers": { + "attention": 7, + "depth": 5, + "reach": 4 + } + }, + { + "pageId": 36740675, + "title": "The Best of Men", + "category": "Science", + "wikidataId": "Q7717125", + "revisionId": 1372732350, + "pageBytes": 6002, + "languageCount": 4, + "monthlyViews": 476, + "latestMonth": "2026-10", + "trendPercent": -3.4, + "stats": { + "attention": 45, + "depth": 63, + "reach": 23 + }, + "tiers": { + "attention": 9, + "depth": 6, + "reach": 5 + } + }, + { + "pageId": 4426773, + "title": "Agda (programming language)", + "category": "Science", + "wikidataId": "Q20479", + "revisionId": 1384528612, + "pageBytes": 14254, + "languageCount": 11, + "monthlyViews": 2439, + "latestMonth": "2026-10", + "trendPercent": 7.8, + "stats": { + "attention": 56, + "depth": 69, + "reach": 36 + }, + "tiers": { + "attention": 10, + "depth": 9, + "reach": 8 + } + }, + { + "pageId": 42770753, + "title": "Château de la Faye (Villexavier)", + "category": "History", + "wikidataId": "Q2971223", + "revisionId": 1375492681, + "pageBytes": 1851, + "languageCount": 1, + "monthlyViews": 14, + "latestMonth": "2026-10", + "trendPercent": 7.7, + "stats": { + "attention": 20, + "depth": 54, + "reach": 10 + }, + "tiers": { + "attention": 1, + "depth": 2, + "reach": 3 + } + }, + { + "pageId": 15362336, + "title": "1954 Gold Coast general election", + "category": "History", + "wikidataId": "Q2539674", + "revisionId": 1351181171, + "pageBytes": 4141, + "languageCount": 2, + "monthlyViews": 181, + "latestMonth": "2026-10", + "trendPercent": -10.4, + "stats": { + "attention": 38, + "depth": 60, + "reach": 16 + }, + "tiers": { + "attention": 8, + "depth": 4, + "reach": 4 + } + }, + { + "pageId": 9026000, + "title": "Names of Poland", + "category": "History", + "wikidataId": "Q6961536", + "revisionId": 1351068420, + "pageBytes": 18966, + "languageCount": 4, + "monthlyViews": 1431, + "latestMonth": "2026-10", + "trendPercent": -0.9, + "stats": { + "attention": 53, + "depth": 71, + "reach": 23 + }, + "tiers": { + "attention": 10, + "depth": 9, + "reach": 5 + } + }, + { + "pageId": 25275009, + "title": "Amur Annexation", + "category": "History", + "wikidataId": "Q4379152", + "revisionId": 1381503728, + "pageBytes": 15490, + "languageCount": 9, + "monthlyViews": 3238, + "latestMonth": "2026-10", + "trendPercent": -6.7, + "stats": { + "attention": 59, + "depth": 70, + "reach": 33 + }, + "tiers": { + "attention": 10, + "depth": 9, + "reach": 7 + } + }, + { + "pageId": 7674700, + "title": "Shipley Plateau", + "category": "Culture", + "wikidataId": "Q7498025", + "revisionId": 1384061257, + "pageBytes": 1745, + "languageCount": 1, + "monthlyViews": 22, + "latestMonth": "2026-10", + "trendPercent": -55.1, + "stats": { + "attention": 23, + "depth": 54, + "reach": 10 + }, + "tiers": { + "attention": 2, + "depth": 2, + "reach": 3 + } + }, + { + "pageId": 15810707, + "title": "Charmont-en-Beauce", + "category": "Culture", + "wikidataId": "Q667131", + "revisionId": 1381828954, + "pageBytes": 1811, + "languageCount": 32, + "monthlyViews": 23, + "latestMonth": "2026-10", + "trendPercent": 27.8, + "stats": { + "attention": 23, + "depth": 54, + "reach": 51 + }, + "tiers": { + "attention": 2, + "depth": 2, + "reach": 10 + } + }, + { + "pageId": 48653101, + "title": "Tornadoes of 1978", + "category": "Culture", + "wikidataId": "Q22093730", + "revisionId": 1381828221, + "pageBytes": 16373, + "languageCount": 0, + "monthlyViews": 511, + "latestMonth": "2026-10", + "trendPercent": 3.2, + "stats": { + "attention": 45, + "depth": 70, + "reach": 0 + }, + "tiers": { + "attention": 9, + "depth": 9, + "reach": 1 + } + }, + { + "pageId": 981340, + "title": "Tatsunoko Production", + "category": "Culture", + "wikidataId": "Q1323459", + "revisionId": 1384823392, + "pageBytes": 74169, + "languageCount": 19, + "monthlyViews": 4738, + "latestMonth": "2026-10", + "trendPercent": -9.4, + "stats": { + "attention": 61, + "depth": 81, + "reach": 43 + }, + "tiers": { + "attention": 10, + "depth": 10, + "reach": 9 + } + } + ] +} \ No newline at end of file diff --git a/scripts/night/card_analyze.py b/scripts/night/card_analyze.py new file mode 100644 index 0000000..6bbb30c --- /dev/null +++ b/scripts/night/card_analyze.py @@ -0,0 +1,139 @@ +#!/usr/bin/env python3 +"""Summarise card-sample.json into markdown stats. Usage: python3 -I card_analyze.py sample.json > out.md""" +import json, sys, math, statistics as st, collections, re +d = json.load(open(sys.argv[1])); C = d['cards'] +def q(v): + v = sorted(v); n = len(v) + def p(x): + k = (n - 1) * x; f = math.floor(k); c = min(f + 1, n - 1); return v[f] + (v[c] - v[f]) * (k - f) + return [v[0], p(.1), p(.25), p(.5), p(.75), p(.9), v[-1]] +def skew(v): + m, s = st.mean(v), st.pstdev(v); return sum((x - m) ** 3 for x in v) / len(v) / s ** 3 if s else 0 +def rank(v): + o = sorted(range(len(v)), key=lambda i: v[i]); r = [0] * len(v); i = 0 + while i < len(o): + j = i + while j + 1 < len(o) and v[o[j + 1]] == v[o[i]]: j += 1 + for k in range(i, j + 1): r[o[k]] = (i + j) / 2 + i = j + 1 + return r +def pearson(a, b): + ma, mb = st.mean(a), st.mean(b); sa = math.sqrt(sum((x - ma) ** 2 for x in a)); sb = math.sqrt(sum((y - mb) ** 2 for y in b)) + return sum((x - ma) * (y - mb) for x, y in zip(a, b)) / (sa * sb) if sa and sb else float('nan') +pv = [c for c in C if c['pageviews']['status'] == 'available'] +F = {'attention': lambda c: c['stats']['attention'], 'depth': lambda c: c['stats']['depth'], 'reach': lambda c: c['stats']['reach'], + 'pageBytes': lambda c: c['pageBytes'], 'languageCount': lambda c: c['languageCount'], + 'monthlyViews': lambda c: c['pageviews']['months'][5]['views'] if c['pageviews']['status'] == 'available' else None, + 'dailyAverage': lambda c: c['pageviews']['dailyAverage'], 'trendPercent': lambda c: c['pageviews']['trendPercent'], + 'drift30Percent': lambda c: c['drift30']['pct']} +out = [] +P = out.append +rate = f"{len(C)/d['rawPagesSeen']*100:.0f}%" if d['rawPagesSeen'] else '~44% (149/340 logged during sampling)' +P(f"Sample: **{len(C)} cards**; {rate} of random pages pass the illustrated filter. Pageviews available for {len(pv)}.\n") +P('| stat | n | min | p10 | p25 | median | p75 | p90 | max | mean | skew |'); P('|---|---|---|---|---|---|---|---|---|---|---|') +for k, f in F.items(): + v = [f(c) for c in C if f(c) is not None] + qs = q(v); fmt = (lambda x: f'{x:.0f}') if k not in ('trendPercent', 'drift30Percent', 'dailyAverage') else (lambda x: f'{x:.1f}') + P(f"| {k} | {len(v)} | " + ' | '.join(fmt(x) for x in qs) + f" | {fmt(st.mean(v))} | {skew(v):.2f} |") +P('\n**Spearman rank correlations** (cards with pageviews):\n') +keys = ['attention', 'depth', 'reach', 'trendPercent', 'drift30Percent'] +rows = [c for c in pv if c['pageviews']['trendPercent'] is not None and c['drift30']['pct'] is not None] +R = {k: rank([F[k](c) for c in rows]) for k in keys} +P('| | ' + ' | '.join(keys) + ' |'); P('|---' * (len(keys) + 1) + '|') +for a in keys: P(f'| {a} | ' + ' | '.join(f'{pearson(R[a], R[b]):.2f}' for b in keys) + ' |') +P(f'\n(n={len(rows)}; attention~monthlyViews, depth~pageBytes, reach~languageCount are monotonic so their rank correlations are identical.)\n') +tp = [c['pageviews']['trendPercent'] for c in pv if c['pageviews']['trendPercent'] is not None] +P(f"**trendPercent sign:** positive {sum(t>0 for t in tp)} ({sum(t>0 for t in tp)/len(tp)*100:.0f}%), negative {sum(t<0 for t in tp)} ({sum(t<0 for t in tp)/len(tp)*100:.0f}%), zero {sum(t==0 for t in tp)}; null (prior month 0 or no views) {len(C)-len(tp)}. " + f"|trend| > 50%: {sum(abs(t)>50 for t in tp)}; > 100%: {sum(abs(t)>100 for t in tp)}.\n") +dr = [c['drift30']['pct'] for c in C if c['drift30']['pct'] is not None] +P(f"**30-day drift** (views 10-17..11-15 vs 09-17..10-16): median |drift| {st.median([abs(x) for x in dr]):.0f}%, " + f"p90 |drift| {q([abs(x) for x in dr])[5]:.0f}%. Attention score change implied: " + f"median {st.median([abs(100*math.log10((c['drift30']['last30']+1)/(c['drift30']['prev30']+1))/6) for c in C]):.1f} points, " + f"p90 {q([abs(100*math.log10((c['drift30']['last30']+1)/(c['drift30']['prev30']+1))/6) for c in C])[5]:.1f} points.\n") +for name, f in [('attention', F['attention']), ('depth', F['depth']), ('reach', F['reach'])]: + v = [f(c) for c in C if f(c) is not None]; h = collections.Counter(min(x // 10, 9) for x in v) + P(f"**{name} histogram (deciles 0-9,10-19..90-100):** " + ' '.join(str(h.get(i, 0)) for i in range(10))) +P(f"\nReach = 0 (no other languages): {sum(c['languageCount']==0 for c in C)}; reach 100 (>=999 langs) impossible in practice, max langs {max(c['languageCount'] for c in C)}. " + f"Attention null: {sum(c['stats']['attention'] is None for c in C)}; attention 0: {sum(c['stats']['attention']==0 for c in C)}.\n") +s3 = [sum(F[k](c) or 0 for k in ('attention', 'depth', 'reach')) for c in C] +P(f"**Sum of three stats:** " + ', '.join(f'{n} {x:.0f}' for n, x in zip(['min', 'p10', 'p25', 'median', 'p75', 'p90', 'max'], q(s3))) + '\n') +P('**Legacy `category()` (server/wiki.ts):** ' + ', '.join(f'{k} {v}' for k, v in collections.Counter(c['legacyCategory'] for c in C).most_common()) + '\n') +io = collections.Counter(x['label'] for c in C for x in c['instanceOf']) +P('**Top Wikidata P31 classes:** ' + ', '.join(f'{k} {v}' for k, v in io.most_common(40)) + '\n') +P(f"No Wikidata item: {sum(not c['wikidataId'] for c in C)}; no P31: {sum(not c['instanceOf'] for c in C)}\n") +words = collections.Counter() +for c in C: + for cat in set(w for t in c['categories'] for w in re.findall(r'[a-z]+', t.lower()) if len(w) > 3): words[cat] += 1 +P('**Most frequent category words (cards containing):** ' + ', '.join(f'{k} {v}' for k, v in words.most_common(60)) + '\n') +print('\n'.join(out)) + +# ---- rank normalisation table (critic request): score -> 1..10 tier by sample decile +def tiers(name): + v = sorted(F[name](c) for c in C if F[name](c) is not None) + return [v[min(len(v) - 1, int(len(v) * k / 10))] for k in range(1, 10)] +T = {k: tiers(k) for k in ('attention', 'depth', 'reach')} +print('\n## Rank-normalised tiers (1–10)\n') +print('Tier = 1 + number of breakpoints the score is **>=**. Breakpoints are the sample deciles p10..p90 of the 0–100 score. ' + 'Ties make some tiers thin (scores are integers).\n') +print('| stat | p10 | p20 | p30 | p40 | p50 | p60 | p70 | p80 | p90 |'); print('|---' * 10 + '|') +for k, b in T.items(): print(f'| {k} | ' + ' | '.join(str(x) for x in b) + ' |') +def tier(k, s): return None if s is None else 1 + sum(s >= x for x in T[k]) +for c in C: c['tiers'] = {k: tier(k, c['stats'][k]) for k in T} +tc = collections.Counter(c['tiers']['attention'] for c in C) +print('\nResulting tier counts — attention: ' + ' '.join(f'{t}:{tc.get(t,0)}' for t in [None] + list(range(1, 11)))) +for k in ('depth', 'reach'): + tc = collections.Counter(c['tiers'][k] for c in C); print(f'; {k}: ' + ' '.join(f'{t}:{tc.get(t,0)}' for t in range(1, 11))) +json.dump({'breakpoints': T, 'rule': 'tier = 1 + count(breakpoints <= score); attention null -> no tier'}, + open(sys.argv[2] if len(sys.argv) > 2 else '/dev/null', 'w'), indent=1) + +# ---- starter loaner candidates: 4 per legacy category, spread over combined tier +if len(sys.argv) > 3: + pick = [] + for cat in ['Space', 'Nature', 'People', 'Science', 'History', 'Culture']: + pool = sorted((c for c in C if c['legacyCategory'] == cat and c['stats']['attention'] is not None), + key=lambda c: sum(c['tiers'].values())) + if not pool: continue + n = min(4, len(pool)); idx = sorted({round(i * (len(pool) - 1) / max(1, n - 1)) for i in range(n)}) + for i in idx: + c = pool[i] + pick.append({'pageId': c['pageId'], 'title': c['title'], 'category': cat, 'wikidataId': c['wikidataId'], + 'revisionId': c['revisionId'], 'pageBytes': c['pageBytes'], 'languageCount': c['languageCount'], + 'monthlyViews': c['pageviews']['months'][5]['views'], 'latestMonth': c['pageviews']['latestMonth'], + 'trendPercent': None if c['pageviews']['trendPercent'] is None else round(c['pageviews']['trendPercent'], 1), + 'stats': c['stats'], 'tiers': c['tiers']}) + json.dump({'frozenAt': d['generatedAt'][:10], 'note': 'Frozen loaner/starter stats from the council-data random sample. Do not fetch live.', + 'cards': pick}, open(sys.argv[3], 'w'), indent=1, ensure_ascii=False) + print(f'\nStarter candidates: {len(pick)} written to {sys.argv[3]}: ' + collections.Counter(p['category'] for p in pick).__repr__()) + +# ---- candidate factions from Wikidata P31 (+ categories fallback) +FAC = [ + ('People', r'\bhuman\b|fictional character|person'), + ('Sport', r'season|sports team|football|match|tournament|championship|final\b|club|league|olympic|race\b'), + ('Nature', r'taxon|species|genus|plant|fungus|disease|epiphyte|mineral|bird|fish|insect'), + ('Places', r'village|town|city|commune|municipality|river|lake|mountain|county|district|parish|region|plateau|island|settlement|neighbo|locality|census|hamlet|valley|bay|area|province|state of|capital|suburb|stream|peak|unincorporated|human settlement|local government'), + ('Structures', r'building|castle|mosque|church|cathedral|temple|bridge|station|railway line|road|highway|museum|structure|stadium|dam|tower|house|school|hospital|airport|monument|fort|palace|lighthouse|park'), + ('Works', r'film|album|single|song|musical|television|book|novel|video game|painting|literary|composition|series|episode|magazine|newspaper|poem|opera|play\b|artwork|sculpture'), + ('Organisations', r'company|group|band|organi[sz]ation|university|college|party|business|enterprise|agency|institute|association|brand|union|ministry|military unit'), + ('Events', r'election|protest|battle|war\b|storm|nor.easter|cyclone|event|disaster|treaty|conflict|earthquake|incident|festival|referendum|conference|ceremony'), + ('Ideas & Tech', r'programming|software|language|chemical|compound|gene|protein|theorem|concept|technology|vehicle|aircraft|ship|weapon|class|model|device|algorithm|religion|discipline|theory|food|dish'), +] +def faction(c): + text = ' | '.join(x['label'].lower() for x in c['instanceOf']) + for name, rx in FAC: + if text and re.search(rx, text): return name + cats = ' | '.join(c['categories']).lower() + if re.search(r'births|deaths|people', cats): return 'People' + if re.search(r'populated|villages|towns|geography|rivers', cats): return 'Places' + if re.search(r'films|albums|songs|novels|television|video games', cats): return 'Works' + return 'Other' +for c in C: c['faction'] = faction(c) +print('\n## Candidate factions (Wikidata P31 rules)\n') +print('| faction | n | share | median attention | median depth | median reach | example |'); print('|---|---|---|---|---|---|---|') +by = collections.defaultdict(list) +for c in C: by[c['faction']].append(c) +for name, cs in sorted(by.items(), key=lambda kv: -len(kv[1])): + med = lambda k: st.median([x['stats'][k] for x in cs if x['stats'][k] is not None] or [0]) + print(f"| {name} | {len(cs)} | {len(cs)/len(C)*100:.0f}% | {med('attention'):.0f} | {med('depth'):.0f} | {med('reach'):.0f} | {cs[0]['title']} |") +other = collections.Counter(x['label'] for c in by.get('Other', []) for x in c['instanceOf']) +print('\nUnclassified P31 labels: ' + ', '.join(f'{k} {v}' for k, v in other.most_common(25))) +if len(sys.argv) > 4: json.dump({c['pageId']: c['faction'] for c in C}, open(sys.argv[4], 'w')) diff --git a/scripts/night/card_sample.py b/scripts/night/card_sample.py new file mode 100644 index 0000000..06f1fc6 --- /dev/null +++ b/scripts/night/card_sample.py @@ -0,0 +1,158 @@ +#!/usr/bin/env python3 +"""Sample random illustrated en.wikipedia articles the way server/wiki.ts selects them and +enrich them the way server/enrichment.ts does. Polite: ~4 req/s, sequential, disk cache. +Usage: python3 -I card_sample.py [target=320]""" +import hashlib, json, os, re, sys, time, urllib.parse, urllib.request, calendar, datetime as dt + +UA = 'WikiDeckCardDataSampler/0.1 (experimental card-game stat research; python-urllib)' +CACHE, OUT = sys.argv[1], sys.argv[2] +TARGET = int(sys.argv[3]) if len(sys.argv) > 3 else 320 +os.makedirs(CACHE, exist_ok=True) +_last = [0.0] + +def get(url, cache=True): + key = os.path.join(CACHE, hashlib.sha1(url.encode()).hexdigest() + '.json') + if cache and os.path.exists(key): + return json.load(open(key)) + if os.environ.get('CACHE_ONLY') and 'wikidata.org' not in url: + return {'__missing': True} + for attempt in range(6): + wait = (1.0 if 'en.wikipedia.org' in url else 0.25) - (time.time() - _last[0]) + if wait > 0: time.sleep(wait) + _last[0] = time.time() + req = urllib.request.Request(url, headers={'User-Agent': UA, 'Accept': 'application/json'}) + try: + with urllib.request.urlopen(req, timeout=20) as r: + data = json.loads(r.read().decode()) + break + except urllib.error.HTTPError as e: + if e.code == 404: data = {'__404': True}; break + if e.code == 429 or e.code >= 500: + ra = e.headers.get('retry-after'); w = int(ra) + 1 if ra and ra.isdigit() else 5 * (attempt + 1) + print('http', e.code, 'sleep', w, file=sys.stderr); time.sleep(min(w, 60)); continue + raise + except Exception as e: + print('retry', attempt, type(e).__name__, e, file=sys.stderr); time.sleep(2 * (attempt + 1)) + else: + raise RuntimeError('failed ' + url) + if cache: json.dump(data, open(key, 'w')) + return data + +def api(params, cache=True): + return get('https://en.wikipedia.org/w/api.php?' + urllib.parse.urlencode({'format': 'json', 'formatversion': '2', **params}), cache) + +def legacy_category(title, cats): + t = (title + ' ' + ' '.join(cats)).lower() + if re.search(r'astronom|planet|space|galax|moon|star\b', t): return 'Space' + if re.search(r'animal|plant|species|ocean|biolog|mollusc', t): return 'Nature' + if re.search(r'births|deaths|people|scientist', t): return 'People' + if re.search(r'physic|chem|math|science|technolog', t): return 'Science' + if re.search(r'histor|ancient|archaeolog|empire', t): return 'History' + return 'Culture' + +def score(v, scale): + import math + return min(100, round(math.log10(v + 1) / scale * 100)) + +# 1. random illustrated articles (same filter as wiki.ts: thumbnail + extract >= 40 chars) +picked, seen, batches, raw_pages = [], set(), 0, 0 +state_file = os.path.join(CACHE, '_random_state.json') +if os.path.exists(state_file): + picked = json.load(open(state_file)); seen = {p['pageId'] for p in picked} +while len(picked) < TARGET: + try: d = api({'action': 'query', 'generator': 'random', 'grnnamespace': '0', 'grnlimit': '20', + 'prop': 'extracts|pageimages|info|categories', 'exintro': '1', 'explaintext': '1', 'exchars': '900', + 'exlimit': '20', 'piprop': 'thumbnail', 'pithumbsize': '800', 'cllimit': '500'}, cache=False) + except RuntimeError as e: print(e, file=sys.stderr); time.sleep(5); continue + batches += 1 + for p in d.get('query', {}).get('pages', []): + raw_pages += 1 + thumb = (p.get('thumbnail') or {}).get('source', '') + ext = (p.get('extract') or '').strip() + if not re.match(r'https://(upload|thumb)\.wikimedia\.org/', thumb) or len(ext) < 40 or p['pageid'] in seen: continue + seen.add(p['pageid']) + picked.append({'pageId': p['pageid'], 'title': p['title'], + 'legacyCategory': legacy_category(p['title'], [c['title'] for c in p.get('categories', [])])}) + json.dump(picked, open(state_file, 'w')) + print(f'random batch {batches}: {len(picked)} illustrated / {raw_pages} raw', file=sys.stderr) +picked = picked[:TARGET] + +# 2. enrichment per article (same params as enrichment.ts) + daily views for drift +now = dt.datetime(2026, 11, 16, tzinfo=dt.timezone.utc) +months = [] +for i in range(6): + m = now.month - 6 + i; y = now.year + (m - 1) // 12; m = (m - 1) % 12 + 1 + months.append(f'{y:04d}-{m:02d}') +# batched metadata (same props as enrichment.ts; per-page cllimit 50 is emulated by truncating) +meta = {} +ids = [p['pageId'] for p in picked] +for i in range(0, len(ids), 50): + chunk = ids[i:i + 50]; cont = {}; pages = {} + while True: + md = api({'action': 'query', 'pageids': '|'.join(map(str, chunk)), 'prop': 'info|categories|pageprops|description|langlinks', + 'clshow': '!hidden', 'cllimit': '500', 'lllimit': '500', 'ppprop': 'wikibase_item', **cont}) + for pg in md['query']['pages']: + cur = pages.setdefault(pg['pageid'], {**pg, 'categories': [], 'langlinks': []}) + cur['categories'] += pg.get('categories', []); cur['langlinks'] += pg.get('langlinks', []) + if 'continue' not in md: break + cont = md['continue'] + meta.update(pages) + print(f'metadata {len(meta)}/{len(ids)}', file=sys.stderr) +cards = [] +for n, pk in enumerate(picked): + page = meta[pk['pageId']] + cont = {'clcontinue': 1} if len(page['categories']) > 50 else {} + page['categories'] = page['categories'][:50] + langs = len(page.get('langlinks', [])) + t = urllib.parse.quote(page['title'].replace(' ', '_'), safe='') + daily = get(f'https://wikimedia.org/api/rest_v1/metrics/pageviews/per-article/en.wikipedia.org/all-access/user/{t}/daily/{months[0].replace("-", "")}01/20261115') + if daily.get('__missing'): continue + dmap = {it['timestamp'][:8]: it['views'] for it in daily.get('items', [])} + pv = {'status': 'unavailable', 'months': [], 'latestMonth': months[5], 'total': None, 'dailyAverage': None, 'trendPercent': None} + if dmap: + ordered = [] + for m in months: + y, mo = map(int, m.split('-')); nd = calendar.monthrange(y, mo)[1] + ordered.append({'month': m, 'views': sum(dmap.get(f'{y:04d}{mo:02d}{d:02d}', 0) for d in range(1, nd + 1))}) + latest, prior = ordered[5]['views'], ordered[4]['views'] + nd = calendar.monthrange(*map(int, months[5].split('-')))[1] + pv = {'status': 'available', 'months': ordered, 'latestMonth': months[5], 'total': sum(o['views'] for o in ordered), + 'dailyAverage': latest / nd, 'trendPercent': (latest - prior) / prior * 100 if prior > 0 else None} + # 30-day drift: views 2026-10-17..11-15 vs 2026-09-17..10-16 + def window(start, days): + s = dt.date.fromisoformat(start) + return sum(dmap.get((s + dt.timedelta(d)).strftime('%Y%m%d'), 0) for d in range(days)) + last30, prev30 = window('2026-10-17', 30), window('2026-09-17', 30) + pb = page['length'] + cards.append({'pageId': page['pageid'], 'title': page['title'], 'description': page.get('description'), + 'wikidataId': (page.get('pageprops') or {}).get('wikibase_item'), 'revisionId': page['lastrevid'], 'pageBytes': pb, + 'languageCount': langs, 'languagesTruncated': 'llcontinue' in cont, + 'categories': [c['title'].removeprefix('Category:') for c in page.get('categories', [])], + 'categoriesTruncated': 'clcontinue' in cont, 'fetchedAt': now.isoformat(), 'pageviews': pv, + 'stats': {'attention': score(pv['months'][5]['views'], 6) if pv['status'] == 'available' else None, + 'depth': score(pb, 6), 'reach': score(langs, 3)}, + 'legacyCategory': pk['legacyCategory'], + 'drift30': {'last30': last30, 'prev30': prev30, 'pct': (last30 - prev30) / prev30 * 100 if prev30 else None}}) + if n % 25 == 0: print(f'enriched {n + 1}/{len(picked)}', file=sys.stderr) + +# 3. Wikidata P31 (instance of) + labels +qids = [c['wikidataId'] for c in cards if c['wikidataId']] +p31 = {} +for i in range(0, len(qids), 50): + d = get('https://www.wikidata.org/w/api.php?' + urllib.parse.urlencode({'action': 'wbgetentities', 'format': 'json', + 'ids': '|'.join(qids[i:i + 50]), 'props': 'claims'})) + for q, ent in d.get('entities', {}).items(): + p31[q] = [c['mainsnak']['datavalue']['value']['id'] for c in ent.get('claims', {}).get('P31', []) + if c['mainsnak'].get('datavalue')] +classes = sorted({c for v in p31.values() for c in v}) +labels = {} +for i in range(0, len(classes), 50): + d = get('https://www.wikidata.org/w/api.php?' + urllib.parse.urlencode({'action': 'wbgetentities', 'format': 'json', + 'ids': '|'.join(classes[i:i + 50]), 'props': 'labels', 'languages': 'en'})) + for q, ent in d.get('entities', {}).items(): + labels[q] = ent.get('labels', {}).get('en', {}).get('value', q) +for c in cards: + c['instanceOf'] = [{'id': q, 'label': labels.get(q, q)} for q in p31.get(c['wikidataId'], [])] +json.dump({'generatedAt': dt.datetime.now(dt.timezone.utc).isoformat(), 'method': 'random ns0 batches of 20, filter as server/wiki.ts (thumbnail + extract>=40); enrichment as server/enrichment.ts; monthly views summed from daily REST pageviews; P31 from Wikidata', + 'randomBatches': batches, 'rawPagesSeen': raw_pages, 'cards': cards}, open(OUT, 'w'), indent=1, ensure_ascii=False) +print('done', len(cards), file=sys.stderr)