DiploTrack stance codebook
codebook_version = "1.4" (Nov 20, 2026; Owner: sme-diplomacy. Validated only by one AI reference pass so far; human validation pending). Section 14 (general mode) is a v1.5 DRAFT, not in force.
Changes from 1.3 (v1.4, section 12): three new topic roots beside Ukraine (China, Taiwan and the South China Sea; Trade, tariffs and sanctions; Climate and energy) with one home per label, leaf propositions and poles, and two clarifications: the 3.9 sub-topic rules apply to every root, and the 10.3 direction convention is extended from sanctions to tariffs and other trade measures. No Ukraine rule or earlier label changes.
Changes from 1.2 (v1.3, section 11): stance toward an event (approval of the act or outcome; target = the responsible actor) and the rules separating reacts_to, announces, references and disputes. No earlier rule changed.
Changes from 1.1 (resolving hard cases from the first reference set; full rules in section 10, which supersedes anything it contradicts earlier in this file): insults without a condemn verb stay -2 (10.1); a country's own measures framed as law are not a stance (10.2); sanctions direction convention (10.3); a generic call for dialogue is a real 0 (10.4); joint statements, attribution and evidence of at most 300 characters (10.5); mixed deflection plus substance (10.6); reported versus adopted findings (10.7); ritual praise is +2 unless a strong verb or concrete commitment is present (10.8); UN summaries and other reported speech (10.9); short social posts (10.10). The reference set labeled under 1.1 is not relabelled; where a 1.1 label differs from 1.2 it is listed in docs/stance/gold-set.md section 7 and resolved at adjudication.
Changes from 1.0 (PM rulings, board #21): the label unit is (statement, topic, target) and a statement yields a list of labels (sections 1, 3.2, 6 item 7); new non_answer flag separating deflections and boilerplate from a real 0 (2.2, 3.5, 3.7); sub-topic labeling rules (3.9); shift-alert rule and default timeline (section 9). Labels made under 1.0 keep codebook_version = "1.0"; the only needed fix is re-flagging 0 labels on deflections and boilerplate as non_answer=1.
Every row in stance_labels must carry codebook_version. Any change to a definition or decision rule bumps the version (1.1, 1.2, ...), and old labels keep their old version.
All examples below are illustrative, not real quotes unless a source URL is given. None of them may be used as gold data.
1. What is labeled
The label unit is (statement, topic, target). One statement can produce several stance_labels rows, one per (topic, target) pair on which the speaker takes an explicit position; target_id is NULL only when the position has no specific target (a process, a ceasefire, "all parties"). A label is the speaker's country (statements.country_code), one topic, one target (or none), within one statement. The label records the position the speaker's government itself takes, as expressed in that statement.
- Topic: from
db/seed/topics.csv(use the most specific leaf that fits). Topics added 2026-11-22 for global breadth (elections, health, regional organizations, peacekeeping, maritime, digital and AI, crime and drugs and others), the protocol and ceremonial topicprotocol-ceremonial(greetings, congratulations, condolences, courtesy calls: no stance; a policy point keeps its substantive topic too) and why regions are not topics:topic-breadth-2026-11.md. - Target: the entity the stance is directed at or about (a state, organization, person or group), e.g. condemns Russia, supports Ukraine's sovereignty. For a stance toward an act or situation with a clear actor, the target is the actor. If the stance is toward an event/process with no clear actor (a ceasefire, a resolution, a peace plan), target is empty and the topic carries the object.
- Level, flags, evidence: below.
The polarity convention: the level measures the speaker's approval vs. disapproval of the target/object of the topic as framed by the topic, not the speaker's mood. "Strongly condemns the attack on civilians" is -3 on conflict-* toward the attacker. "Welcomes the ceasefire" is +3 toward the ceasefire. Because topic and target determine what is being approved, the same statement can legitimately get two labels with opposite signs (see rule 3).
2. The scale
Level descriptions describe the strength of the position, calibrated to diplomatic escalation norms. Cue phrases are in lexicon.md; they are cues, not a substitute for reading the sentence.
| Level | Name | Definition | Typical cues (en) |
|---|---|---|---|
| +3 | Active endorsement | Explicit, strong, unqualified backing: the speaker welcomes, commends or pledges to stand with/back the target, or commits resources or action in support. | "fully supports", "strongly supports", "welcomes" (an act it clearly approves), "commends", "stands with", "stands in solidarity" |
| +2 | Approval | Clear, plain support or approval without superlatives or commitments. | "supports", "appreciates", "applauds efforts", "backs" |
| +1 | Mild approval | Tentative or low-key positive: encourages, notes with satisfaction, hopes for, takes positive note. | "encourages", "takes positive note", "is encouraged by", "looks forward to", "hopes" (positive) |
| 0 | Neutral / non-committal | States facts, "notes", "is following closely", "monitoring", process language, or declines to take a side. Also explicit refusal to comment. | "notes", "is following developments", "will not comment", "calls for dialogue" (when no side is blamed) |
| -1 | Mild disapproval | Concern, unease, calls for restraint or de-escalation that implicitly criticizes; regret said softly. | "concerned", "calls for restraint", "worrying", "troubled by", "urges to refrain" |
| -2 | Clear disapproval | Explicit criticism with emphasis; says an act is wrong or unacceptable but stops short of formal condemnation. | "deep/serious concern", "deplores", "regrets", "rejects", "unacceptable", "opposes", "alarmed" |
| -3 | Formal condemnation | The highest rhetorical register: formal condemnation or repudiation, often "strongly/firmly/in the strongest terms". | "condemns", "strongly condemns", "denounces", "categorically rejects", "outrageous and illegal" |
2.1 Scale rules
- Rate the strongest explicit position taken by the speaker's government on this topic and target, not an average of the statement. Exception: hedging, see 3.1.
- Strength words move the level by one step; they do not change sign. "Deeply concerned" (-2) vs. "concerned" (-1); "strongly condemns" and "condemns" are both -3 (the top of the scale cannot go higher). "Fully supports" is +3; "supports" +2.
- "Welcomes" is +3 only when the object is clearly endorsed. "Welcomes the decision" is +3. "Welcomes the proposal as a basis for discussion" or "welcomes the opportunity to discuss" is +1 (it is courtesy about process, not endorsement of substance). Default for "welcomes" with a plain substantive object: +3; with procedural object (meeting, talks, invitation, report's publication): +1.
- "Notes" and "takes note" are 0, except "takes positive note" (+1) and "takes note with concern" (-1).
- "Regret" is -2 when the speaker regrets an act by another party ("regrets the decision") and is not an apology. "We regret the loss of life" with no blame is -1 (sympathy, humanitarian register), topic
humanitarian, not a stance toward an actor. - Condolences and sympathy ("saddened", "expresses condolences") are 0 toward any political actor, unless attached to a stance sentence.
- Rejection of an accusation ("rejects the claims", "baseless allegations") is a stance toward the accuser or claim: -2 ("rejects") or -3 only if language is formal condemnation ("categorically rejects and condemns the slanderous..."). Defensive rejection is coded -2 by default, -3 with "strongly/categorically ... condemns/denounces".
- Announced measures. "Has imposed sanctions on X" (the speaker announces its own punitive act aimed at X) is -3 toward X, threat=0 (it has happened). "Will consider sanctions" is -2, threat=1. "Reserves the right to respond" is -1, threat=1. Measures framed as routine law enforcement are not covered by this rule (see 10.2).
2.2 The flags
Flags are independent of the level and of each other, except non_answer, which forces level 0 and the other flags to 0. Each is 0 or 1.
hedged = 1 when the statement balances its position on the target with criticism, condemnation, or accountability toward the other side or with explicit qualification that weakens it. Hedged tells users "this is a both-sides position", for example "condemns the attack but also calls on Israel to exercise restraint" (the stance toward the attacker is -3, hedged=1, since the speaker also criticizes the other side). Also hedged: "supports in principle, but has serious reservations", "supports the proposal with caveats". Not hedged: a single position plus a plain call for dialogue; the generic "all parties" appeal with nothing else (see 3.4); a list of multiple targets each with its own label. Set hedged=1 on the label whose position is softened by the counterbalance, and apply it to every label in that statement that is balanced in this way.
demand = 1 when the speaker calls on, urges, demands or requires someone (named or "all parties") to take a specific action: "calls on Russia to withdraw", "urges restraint", "demands immediate release". Includes imperatives in the statement ("must", "should", "needs to" addressed to a party). Not demand: expressing hope ("we hope the talks succeed"), describing what others will do, rhetorical wishes, "we call for" a result with no addressee and no action requested of anyone (e.g. "we call for peace"); that last case is weak, use demand=0 and note it (see 4.7). "Calls for an immediate ceasefire" is demand=1 (it asks the parties to act).
non_answer = 1 when the statement deliberately declines to take a position on the topic asked about: a deflection, referral, "no comment", "I have nothing to add", "refer you to the competent authorities", or pure boilerplate that asserts a position exists without stating it ("our position is consistent and clear"). A non_answer label always has level 0 and hedged = demand = threat = 0. It differs from a real 0, where the speaker takes a deliberately neutral position ("we note", "we are following developments closely", "calls on all parties to show restraint", "this is an internal matter"). The UI shows non_answer labels grayed and distinct from real 0, and they do not count as a stance in timelines or shift alerts. Test: could the speaker have answered substantively but chose not to? Then non_answer. Is the neutral wording itself the position? Then real 0.
threat = 1 when the statement signals consequences: sanctions, military action, countermeasures, "will respond", "reserves the right", "will take all necessary measures", "red line", "bear full responsibility", "will not remain indifferent". Must be a signal of future adverse action by the speaker's state or bloc (or a warning of consequences from others, stated as a warning). Mere prediction ("this will lead to escalation") is not a threat; "will have serious consequences" addressed to a named actor is a threat.
3. Decision rules
3.1 Whose position and what counts as the statement's stance
- Only the speaker's government's own position counts. Positions the speaker attributes to others ("the EU says...", "the US claims...", "some countries argue...") are not labeled for the speaker, even if reported at length. A quoted position counts only when the speaker explicitly adopts it ("we share the EU's view", "we fully agree with the Secretary-General's assessment").
- Position taken vs. position reported. "The UN General Assembly adopted a resolution condemning X" (reported, no adoption) -> level 0 toward X, or no label if nothing else. "We voted in favor of the resolution condemning X" -> adopts: -3 toward X (the vote is the position).
- Whose voice: for a briefing, the spokesperson's answer is the statement; the journalist's question is context (
statements.question) and is never evidence for the level. If the spokesperson only repeats the question ("you asked whether we condemn... ") without answering, it is a non-answer (3.7). - Votes are statements: "voted for/against/abstained". For/against map to +3/-3 toward the draft's object; abstention is 0 and recorded in rationale. Explanation of vote text carries the graded stance.
- Multi-speaker documents (joint communiqués, joint statements): the position is each signatory's. Label once per signatory country if the pipeline attributes it that way; if only the document, label the issuing entity (e.g. G7, EU, "UN").
- Hedging as a flag, not a level shift. When a statement criticizes one party and also qualifies, label each (target, topic) pair on its own level and set hedged on those affected. Do not average +2 and -2 into 0.
3.2 Multiple topics or targets in one statement
- Produce one label per (topic, target) the statement takes a position on. Label only explicit positions; never infer a position on an unmentioned topic.
- If one sentence takes different positions toward two targets ("condemns the attack by A and welcomes B's restraint"), two labels, each with the same sentence as evidence (or the sub-clause; the evidence must be a whole sentence anyway).
- Do not collapse a statement's labels into one number. "Condemns Russia" (-3, target RUS) and "supports Ukraine's sovereignty" (+3, target UKR) from one statement are two labels on two timeline lines. Any single per-statement summary a UI wants is a display choice, never stored as a stance label.
- Primary topic: the topic most of the statement's text concerns. Secondary topics are labeled only when the statement contains an explicit position on them.
3.3 Conditional statements
- "If X then we will Y": label the stance toward the condition's target as it stands now, plus threat=1 if Y is adverse. E.g. "Should Russia use chemical weapons, there will be severe consequences" -> toward Russia: level -1, threat=1, demand=0. A conditional is weaker than a categorical statement: cap at -2 unless the conditional itself contains condemnation language.
- Counterfactuals and hypotheticals ("would be unacceptable if...") are -1 (not -2) unless the speaker says the act has already happened.
- "We would welcome X" (hypothetical) is +1, not +3.
- Support conditional on a requirement ("we will support if the parties agree") is +1 with hedged=1.
3.4 "Calls on all parties"
- A generic call on all parties / both sides to show restraint, de-escalate, return to dialogue, or respect international law, with no blame or praise assigned: level 0, demand=1, target empty or "all parties". It is deliberately non-committal.
- If the same sentence follows a naming ("Following the attack by X, we call on all sides to...") the stance toward X comes from the first part; the "all sides" part adds demand=1 and hedged=1 on the label toward X only if the call implies equivalence (see 4.2).
- Never use "calls on all parties" as evidence for a negative level toward a specific party.
- "Calls for restraint" addressed to a named party is -1, demand=1 (implicit criticism).
3.5 Boilerplate
Boilerplate that carries no new position is labeled level 0, non_answer = 1, evidence = the boilerplate sentence, rationale "boilerplate". Examples (illustrative, not real quotes):
- "Our position on this issue is consistent and clear." -> level 0, non_answer=1.
- "We have always stood for peace and dialogue." -> level 0, non_answer=1 (generic self-description) unless a specific party or issue is named.
- "We have no additional comment." -> level 0, non_answer=1.
- "China's position on the Ukraine crisis is objective and fair" without content -> level 0, non_answer=1; the position is claimed, not stated. Only the part that says what the position is can be labeled.
- If the statement says "We stand by our previously stated position" with a link or an earlier statement, do not copy the earlier level (no inference from outside the text).
3.6 Formulas, repeated statements
- Many ministries repeat formulas daily ("We call on all parties to exercise restraint"). Each instance is a statement and gets its own label; do not collapse repeats at labeling time. Deduplication happens upstream (
dedup_group); within a dedup group all members get the same label, only the canonical one needs labeling. - A formula's level is the level of its words, whatever the repetition frequency. Repetition does not strengthen it. Analysts who want intensity can count repeats separately.
- Hedged formula pairs such as "firmly opposes terrorism in all forms" are +3 toward the topic "counter-terrorism" and no target.
3.7 Non-answers in briefings
- Deflections ("I'd refer you to the relevant authorities", "I have nothing to add", "I'm not aware of the details", "we will keep you informed") are level 0, non_answer=1, other flags 0, evidence = the deflecting sentence. They are valid data because the refusal to take a position is informative (silence tracking and "dodged the question" analysis), but they are not a neutral stance. If the statement deflects the question but also states a substantive position elsewhere ("I have nothing to add on the talks, but the guarantees must be binding"), label the substantive position normally and add no non_answer label for that topic.
- If the spokesperson answers a different question than asked ("what about X?" -> "Our position on Y is clear"), the label is on Y only; no label on X.
- A question containing a premise ("Did China condemn the shelling?") with answer "China has always opposed the use of force" is a position on use of force (-2, target empty), not condemnation of the shelling.
3.8 Position language the scale does not capture directly
- Positive stance toward an actor who did something bad is not condemned. Examples: "We understand the concerns of State A" -> +1 toward A (sympathy), not toward the act.
- Mixed signals at one level: if both -1 and -2 cues appear for the same target ("concerned ... deeply regrets"), take the stronger (-2).
- Escalation order: concern (-1) < deep concern/regret (-2) < condemn (-3). Treat "grave concern" and "deep concern" as -2; "serious concern" as -2 when part of a sentence naming a specific act, -1 when generic.
- "Rejects": see 2.1 rule 7. "Opposes": -2. "Deplores": -2. "Denounces": -3. "Calls unacceptable": -2, -3 with "strongest terms".
- Official diplomatic register mapping is language-specific: see
lexicon.md. The same word can mean different strength per language (e.g. Russian "осуждает" = condemns, -3; "выражает озабоченность" = expresses concern, -1; "решительно осуждает" -3). Translate meaning, not word-for-word.
3.9 Sub-topics (Ukraine settlement as the worked case; the rules apply to every topic root, see section 12)
topics.csv has a parent ukraine-war with sub-topics (ceasefire, security guarantees, territory, sanctions, negotiation format, humanitarian and POWs, energy strikes, military aid, reconstruction and assets).
- Label the most specific sub-topic the sentence is about. "We support a ceasefire first" is
ukraine-ceasefire, notukraine-war. Use the parentukraine-waronly for a general position on the war itself (condemning the invasion, calling it a "special military operation", general support or opposition) that fits no sub-topic. - One sentence can carry several sub-topic labels when it takes an explicit position on each (edge case 4.20). Do not infer a sub-topic position from a general one: a general "we support Ukraine" gives no
ukraine-sanctionslabel. - Parent labels are not averages of children. The parent timeline uses only labels coded directly at
ukraine-war; roll-ups are a UI choice. Never average sub-topic levels. - Direction convention per sub-topic. The level always measures approval of the thing the sub-topic and target name, so the sign depends on the target:
ukraine-sanctions(andsanctionsgenerally, see 10.3): the target is the sanctioned party (RUS) and the level measures the speaker's approval of the sanctions or pressure. Supporting sanctions on Russia is +2; opposing them, or welcoming a waiver or easing, is negative (a clear call to lift them -2). The speaker's view of Russia as an actor is a separate label underukraine-war.ukraine-territory, target UKR: approval of Ukraine's claim to its territory (supports territorial integrity = +2/+3; says Ukraine should cede territory = -2); target RUS: approval of Russia's claim/annexation (recognizing it = +3, non-recognition = -2).ukraine-security-guarantees, target UKR: approval of guarantees for Ukraine (+); a Russian demand to bar NATO or Western troops is -2 toward the guarantees, target UKR.ukraine-ceasefire, target empty: approval of a ceasefire proposal or truce; a speaker's rejection of a proposal is negative with the proposer in the rationale.ukraine-negotiation-format, target empty or the process (a meeting, a format): approval of that format or process; welcoming a named meeting or talks is +1 to +3 by 2.1 rule 3. A generic call for dialogue is a real 0 (10.4).ukraine-energy-strikesandukraine-humanitarian-pows: target is the actor that struck or acted; condemnation of the striker is negative toward that actor.
- Actor targets are country codes (RUS, UKR, USA, ...) or organizations (EU, NATO, UN); persons are targets only when the position is explicitly about the person (e.g. an ICC warrant on Putin).
- A sub-topic with no explicit position gets no label, and silence is detected from events (events.csv), not from labels.
4. Edge cases (illustrative, not real quotes)
| # | Statement | Label | Why |
|---|---|---|---|
| 4.1 | "We condemn the strike on the hospital and call on all sides to respect international humanitarian law." | Toward the striker: -3, demand=1, hedged=0 | Condemnation is explicit; "all sides" appeal is a demand and does not balance the condemnation (no other party is criticized). |
| 4.2 | "We condemn the rocket attacks, and equally call on the other side to exercise maximum restraint in its response." | Toward the attacker: -3, hedged=1, demand=1. Toward the other side: -1, demand=1, hedged=1 | Both parties get a label; "equally" and the criticism of the other side set hedged. |
| 4.3 | "We are following the situation closely." | 0 | Textbook neutral. |
| 4.4 | "We note the announcement with interest." | 0 | "Notes"; "with interest" is not approval. |
| 4.5 | "We take positive note of the announcement." | +1 | Explicit positive. |
| 4.6 | "We welcome the signing of the agreement and commend the mediators." | Agreement: +3. Mediators: +3 | Substantive object, explicit. Two targets, two labels. |
| 4.7 | "We call for peace." | 0, demand=0 | No addressee, no action asked; slogan. |
| 4.8 | "We call on Country A to withdraw its troops immediately." | -1 toward A, demand=1 (-2 if the text also calls it a violation or "unacceptable") | A named demand is mild criticism by itself. |
| 4.9 | "Country A's actions are a serious violation of international law, and we will respond accordingly." | -2, threat=1 (-3 with "condemn") | Violation is clear disapproval; "respond" is a threat. |
| 4.10 | "The foreign minister said Country B condemned the attack." | 0 (reported, not adopted) | Attributed position (3.1). |
| 4.11 | "We join the statement of the EU and share its assessment." | Adopts: label as the EU statement's level (copy only if the EU text is in the same document) | Otherwise 0 with note "adopts without text". |
| 4.12 | "We regret that the talks did not produce results." | -1 on topic of the talks, no target | No blame, regret about an outcome. |
| 4.13 | "We regret the decision of Country A to recognize the region." | -2 toward A | Regret about an act by another party. |
| 4.14 | "I am not going to comment on that." | 0, non_answer=1 | Deflection, not a neutral stance. |
| 4.15 | "We support Country A's right to self-defense but urge proportionality." | Toward A: +2, hedged=1, demand=1 | Support qualified by a call; hedged because the support is weakened by qualification. |
| 4.16 | "We have sent a note verbale to Country A expressing our objection." | -2 toward A | Formal objection channels are clear disapproval. Level -3 only when it uses condemn. |
| 4.17 | "We will not recognize the results of the referendum." | -2 toward the organizing actor, demand=0 | Formal non-recognition is clear disapproval; -3 only if a condemnation word is present. Provisional: see open points. |
| 4.18 | "This is an internal matter and we do not interfere." | 0, non_answer=0, note "non-interference" | The neutral wording is itself the position (a real 0). Track via the free tag. |
| 4.19 | "We condemn Russia's strike on the energy grid, and we stand with Ukraine's right to defend itself." | Two labels: ukraine-energy-strikes / target RUS: -3. ukraine-war / target UKR: +2 or +3 by wording ("stand with" = +3), both with the same sentence as evidence | Label unit is (topic, target); opposite signs are fine. |
| 4.20 | "Sanctions on Russia should stay until a just peace, but we also support the talks in Abu Dhabi." | ukraine-sanctions / RUS: +2 (support for sanctions, direction: pressure on Russia, see 3.9), demand=0; ukraine-negotiation-format / no target: +2 | One sentence, two sub-topics, two labels. |
| 4.21 | "On the Berlin meeting, I'd refer you to the Foreign Ministry." | ukraine-security-guarantees (or the asked sub-topic): 0, non_answer=1 | Referral. |
5. The evidence sentence
Evidence is mandatory and is the justification for the label.
- It must be verbatim, copied exactly from
statements.text(original language, not translation). A translation may be shown beside it but evidence is always from the original text. If classification ran ontext_en, the evidence must still be located in the original by the pipeline; if that fails, review_status =needs_review. - It is one sentence (or the shortest complete clause if the sentence is very long, about 300 characters; if truncated, add an ellipsis outside the quote, never alter words).
- It is the sentence that contains the cue carrying the level and (where possible) the target. If the position needs two sentences ("We deplore this. It must stop immediately."), take the sentence that carries the strongest cue and put the other in
rationale. - It is never from the journalist's question, a quoted third party, headers, or boilerplate (unless the label is the boilerplate one, 3.5).
- It must not be a paraphrase or summary of the model. A verifier checks
evidence in textas an exact substring after whitespace normalization; if not, the label is rejected. - For multiple labels from the same sentence, the same evidence can be reused.
6. Why generic sentiment fails (for sme-nlp)
Off-the-shelf sentiment (VADER, lexicon scores, multilingual sentiment transformers fine-tuned on reviews or tweets) is not a stance measure. Specific failure modes:
- Negative words in supportive statements. "We strongly condemn the terrorist attack and stand with the victims' families" scores strongly negative; the stance toward the victim state is +3 and toward the attackers -3. Sentiment can't separate targets.
- Condemnation is "positive" for the speaker's ally. Condemning an adversary is an affirmation of the speaker's values. Sentiment sees "condemn", "violation", "atrocity" as negative and collapses it onto the speaker.
- Courteous framing masks disapproval. "We invite our partners to reflect on the consequences of this step" is polite but a clear warning (-2, threat). Diplomatic politeness yields positive/neutral sentiment ("invite", "partners", "reflect").
- Ritual positive words are not endorsement. "We thank the delegation for its presentation" or "appreciate the opportunity" are courtesy, not support; sentiment scores them +.
- Understatement and graded register. "Concern" is mild disapproval; the scale is ordinal and nonlinear, while sentiment is roughly continuous and lexicon-driven. "Deeply regrets" and "condemns" differ by one notch to a diplomat but similarly to a sentiment lexicon.
- Negation and scope. "We do not oppose", "cannot support", "will not fail to condemn" confuse bag-of-words models; neural ones do better but not reliably.
- Target-blind. A statement with two targets of opposite polarity gets one score, but the product records one label per (statement, topic, target) (section 1): "condemns Russia" and "supports Ukraine" are separate labels with opposite signs. Use sentiment only on a target-conditioned sentence or clause, never on the whole statement, and never to set a label.
- Quoting and reported speech. "The Russian side calls the claims slander" contains Russian speech inside a report.
- Language transfer. Models trained on English reviews misread Chinese formulaic phrases ("deeply shocked", "firmly opposes", "resolutely oppose"), Russian ("выражаем озабоченность"), Arabic and Spanish diplomatic register. Translation flattens graded markers (concern/worry/unease/preocupación/inquiétude).
- Non-answers and boilerplate have neutral-to-positive sentiment and clash with a 0 that is informative, not empty.
Where sentiment is still useful as a secondary signal:
- Tone intensity/emotionality (how emotive the statement is), independent of stance direction: a rise in emotional intensity for a country on a topic can precede a stance shift; display as a second line, never as the stance.
- Triage and prioritization: statements with extreme sentiment get priority for human review.
- Disagreement flag: when LLM stance is positive and sentiment strongly negative (or the reverse), that is expected under 1-2 (so not an error signal); but when stance is 0 and tone very negative, route for review (possible missed condemnation).
- Media framing vs. statement (concept feature): sentiment difference between a statement and news coverage is a reasonable signal of distortion, since both are measured by the same tool.
- Target-conditioned sentiment (aspect-based, score the sentence about the target) is better than whole-text sentiment.
- Always store it in a separate column with
model:<id>provenance; never instance_labels.level.
7. Labeler checklist
- Identify speaker's country and the statement text (not the question).
- List the (topic, target) pairs where the speaker takes an explicit position; one label each. If the statement only deflects or recites boilerplate, one level-0 label with non_answer=1.
- For each: find the strongest cue sentence; assign level from section 2; check 2.1 rules (welcomes, notes, regret, conditional).
- Set flags (hedged, demand, threat, non_answer) from section 2.2.
- Copy the evidence sentence verbatim (section 5).
- If uncertain between two adjacent levels, pick the one closer to 0 and set review_status
needs_review. - Add a short rationale if anything non-obvious was applied (rule number).
8. Open points to validate (v1.1 agenda)
- Whether "welcomes" with procedural object (+1) is stable across annotators.
- Whether non-recognition (4.17) is -2 or -3.
- Whether "calls on all parties" should carry a target value.
- Whether silence/abstention needs its own code (currently handled by silence tracking via events, not labels).
- Cross-language calibration: whether Chinese "强烈谴责" and Russian "решительно осуждает" and English "strongly condemns" are the same (-3) in practice.
9. Shift alerts and default timeline (v1.1)
Shift alert. For a country and a (topic, target) pair, raise an alert when the new label's level differs from the country's previous canonical label for the same (topic, target) by 2 or more levels, or the sign changes (for example -1 to +1 is a sign change; 0 to -2 is a 2-level change; -2 to -3 is not an alert). Details:
- "Previous canonical label" means the latest earlier label on an
is_canonical = 1statement with the same topic and target, from the same country, that is notnon_answer. non_answer labels are never the baseline and never trigger an alert (they are not a stance). This exclusion is my addition to the PM rule; confirm. - Compare like with like: same codebook_version family (a change of major version needs re-baselining) and, for alerts shown to users, only labels with review_status in (
autowith confidence at or above the agreed threshold,accepted,corrected). - A move to or from 0 counts as a sign change only if the 0 is a real 0 (non_answer excluded). 0 to +1 or 0 to -1 is not an alert on its own (1 level).
- Show the two evidence sentences side by side so the analyst can check that the shift is real and not a change of speaker role (Kremlin readout versus MID, minister versus spokesperson) or of sub-topic.
- Hedged, demand and threat flag changes are not alerts by themselves; they can be shown as supporting detail.
Default timeline for the MVP (for frontend-dev; countries per PM ruling: RUS, UKR, USA, CHN, DEU, IND, TUR): one line per country for these (topic, target) pairs, in this order:
| Line | Topic | Target |
|---|---|---|
| Overall war stance toward Russia | ukraine-war | RUS |
| Ceasefire | ukraine-ceasefire | (none) |
| Security guarantees for Ukraine | ukraine-security-guarantees | UKR |
| Territory (Ukraine's claim) | ukraine-territory | UKR |
| Sanctions on Russia | ukraine-sanctions | RUS |
| Negotiation format | ukraine-negotiation-format | (none) |
Offer humanitarian-POWs and energy-strikes as optional extra lines. non_answer labels render as gray markers on the line, not as 0. Country-by-country, only these lines are the default view: do not show a single blended "Ukraine war" line.
10. Rules added in v1.2
All examples are illustrative, not real quotes unless a statement id is given (ids refer to the reference set, docs/stance/gold-sample.csv).
10.1 Insults and pejoratives without a condemn verb
Level -3 needs formal condemnation or repudiation: a condemn-type verb or noun ("condemns", "denounces", "strongly condemns", "condemnation", "repudiates", and their equivalents in lexicon.md) or the explicit "in the strongest terms". Pejorative adjectives and insults ("despicable", "barbaric", "shockingly malignant", "shameless", "doomed to fail", "blatant provocation") raise confidence that the position is negative, not the level: with no condemn verb the level is -2, with the usual flags (demand, threat). Accusations of crimes ("war crimes", "genocide") made in the speaker's own voice without a condemn verb are also -2; with "condemns" they are -3. Quoting someone else's insult is not the speaker's position (10.7). Examples (ids 56, 240, 303, 224 were coded -2 under 1.1 and stay -2).
10.2 A country's own measures framed as law
A speaker reporting its own export controls, regulation, investigation or enforcement as routine application of law ("in accordance with laws and regulations", "implements export controls") is not a punitive announcement and gets no -3 under rule 2.1.8. Label only the evaluative content: a stated aim or accusation ("the aim is to thwart Japan's remilitarization" is -2 toward Japan, topic by subject, e.g. export-controls-tech), or no label if there is none. Rule 2.1.8 (-3) applies when the speaker announces a measure as a response or penalty directed at a named party (ids 126 and 336 coded -3 under 1.1 should be -2 under 1.2). Expulsions, summonings and sanctions announced as steps against a party remain +3 for the topic sanctions as approval of its own measure (10.3).
10.3 Sanctions direction (all topics)
For topics sanctions and ukraine-sanctions, and the child export-controls-tech when the object is a restriction: target = the party the measure is imposed on; level = the speaker's approval of the measure. Supporting or announcing sanctions on X is positive; opposing sanctions or calling them illegal is negative; calling for their lifting is -2 with demand=1. The speaker's attitude to the country imposing the sanctions is a separate label under the topic that fits (e.g. bilateral-relations or bilateral-disputes, target = the imposing country). Example: "We stand firmly against illicit unilateral sanctions on Cuba and reject US attempts to disrupt China-Cuba cooperation" gives sanctions / target CUB / -2 and bilateral-disputes / target USA / -2; "will take all measures to protect our companies" adds threat=1 to the second. Where the speaker's own companies are sanctioned, the target is the country (CHN); the imposer gets the dispute label.
10.4 "Dialogue is the only way": one rule
A generic call for dialogue, negotiation, a political settlement, or "support for all efforts for peace", with no named process, no proposal and no party addressed, is a real 0 (a deliberately non-committal position; demand=0, non_answer=0), on ukraine-negotiation-format (or the nearest topic) with no target. It becomes positive only when the speaker (a) supports or welcomes a specific meeting, format or proposal (+1 for a procedural welcome, +2 or +3 for a substantive one, by 2.1 rule 3), or (b) commits to act ("we will actively promote peace talks and facilitate a settlement" is +1; hosting or mediating is +2). "Our position is consistent and clear" before such a sentence is boilerplate (non_answer=1 on the topic ukraine-war, no target) as in 3.5; the generic dialogue sentence is a separate real-0 label. ids 18, 97, 250 coded +2 under 1.1 should be 0; id 335 ("will continue to actively promote peace talks") should be +1.
10.5 Joint and multi-signatory statements: attribution and evidence
- Attribution. A statement published by country X's own ministry, mission or head of state, including joint statements (G7, E4, groups of foreign ministers, "on behalf of Canada, Iceland, Norway and the United Kingdom"), is labeled as X's position:
statements.country_code = X, rationale starts with "joint" and names the group. A statement delivered on behalf of a bloc is labeled for the speaker's own state when the speaker is identifiable (ruling E: country_code is the state of the person speaking, not the state of the website that published the text; a Norwegian delegate speaking for four countries on a UK mission page is NOR, a UK delegate is GBR); the other states named in "on behalf of" are co-signatories (position holders recorded throughstatement_entities, not extra label rows), and the publishing state is a co-signatory when it is one of them. When the speaker is not identifiable (a multi-minister joint statement posted by one ministry), use the publishing state and mark rationale "joint". For the EU it isEU(the speaker speaks for the Union and its Member States), not each member state. "Candidate countries align themselves with this statement" and "we align ourselves with X" give no label to the aligning countries unless their own source publishes the text; alignment with a text not in the same document is 0 with rationale "aligns" or no label. - Evidence cap. Evidence is one sentence of about 300 characters at most, an exact substring. If the sentence is longer (long lists of signatories, nested clauses), store the shortest complete clause (starting at a clause boundary such as a comma, semicolon or colon, ending at the sentence end or a clause end) that contains the cue and the target; the clause remains an exact substring, with no ellipsis inside the stored string. Never use a signatory list, a salutation or a "speaking on behalf of" preamble as evidence.
- Duplicate paragraphs (the same paragraph repeated twice in a document) are one statement; label once.
10.6 Mixed deflection plus substance in one reply
- If the reply takes a position on the asked (topic, target) and also deflects part of the question ("I'd refer you to competent authorities for specifics. China opposes using civilian drones for military purposes."), label the substance and no non_answer for that pair; put "deflected part: <topic>" in the rationale.
- If the substance is on a different (topic, target) than the question, add a non_answer=1 label for the asked pair (evidence = the deflecting sentence) and the substantive label.
- If the whole reply is deflection or boilerplate on the asked pair, non_answer=1 (3.7).
- When two labels would share the same (topic, target) in one statement (a deflection and a position on the same pair), keep the substantive one only.
10.7 Reported versus adopted findings
A speaker who recounts findings of a UN body, court or monitoring report ("the Commission concluded that these attacks constitute war crimes", "ODIHR documents torture") is not taking the finding as its own by that sentence alone. The finding becomes the speaker's position only if (a) the speaker uses it in its own evaluative sentence ("these findings offer another disturbing account of Russia's illegal war"), (b) the speaker says it agrees, shares or endorses it, or (c) the speaker draws a demand from it ("Russia must grant access"). Then label from the speaker's own evaluative sentence, never from the reported finding. A paragraph of pure reporting with no evaluative sentence gets no label. Quoted third-party words ("President X called it 'barbaric'") follow the same test.
10.8 Ritual praise: +2 versus +3
Formulaic praise of a bilateral relationship ("comprehensive strategic partners of coordination for the new era", "golden period", "all-weather", "friendly neighbors", "stands ready to work with X to elevate relations") is +2 (approval) by default: it is ritual and appears at almost every briefing, so +3 would make the scale lose range. +3 requires an explicit strong endorsement verb in the speaker's own voice (fully or firmly supports, stands with, commends, welcomes a specific substantive act) or a concrete named commitment (a pledge of money, troops, a treaty). "Firmly supports Russia's independent choice" (+3) but "China and Russia are all the more committed to lasting friendship" (+2). Welcoming a state's compliance with routine obligations ("welcome that Brazil has provided the Agency with design information") is +2. Congratulations on an event (an election) are +2 unless the speaker also endorses the outcome strongly. ids 172, 220, 293, 340, 347, 411, 414 and others coded +3 under 1.1 are +2 or +3 depending on this test and are listed for adjudication.
10.9 UN summaries and other reported speech
Documents flagged statements.text_kind = 'summary' (UN meeting coverage written by UN staff) are not the speaker's words. Rules:
- Attribution: label for the delegate's country only if the summary clearly attributes the sentence to that delegate ("The representative of Poland said Russia's aggression..."). Sentences summarizing another delegation inside a speech are not labeled for the speaker.
- Level cap: summaries compress and paraphrase; assign -3 or +3 only if the summary itself uses the formal verb in the attribution ("condemned", "fully supported"). Otherwise cap at -2 / +2.
- Evidence is the summary's own sentence (verbatim, including the "said that" wording), at most 300 characters; rationale starts "summary".
- Pipeline: confidence is capped at 0.7 and labels whose evidence is reported speech go to
needs_review(PM ruling 52). When a verbatim text of the same speech exists, the verbatim statement is canonical and the summary is a duplicate. - Other reported speech (a ministry press release saying "Minister X said..."): the minister is the speaker; label for the ministry's country. A sentence reporting a third party's words or acts without adopting them is not labeled (10.7). News articles are never labeled.
10.10 Short social posts (Telegram and similar)
One post = one statement; speaker = channel owner (country of the channel). Emoji, hashtags, links and "read more" lines are ignored. Posts that only forward, repost or link without a sentence of the owner's own are not labeled (no position). A post that quotes another party ("Putin said...") is judged under 10.7. Language is the post's language (uk or ru); evidence is quoted from that language. Because posts are short and often pure assertion, apply the scale as written; do not infer a position from a hashtag.
10.11 Label summary for the reference set (what changes under 1.2)
The 1.1 labels stay in the database unchanged. Under 1.2 the expected differences are: generic dialogue labels +2 to 0 (ids 18, 97, 250), 335 +2 to +1; own-measure labels -3 to -2 (126, 336); sanctions label in 456 retargeted (CUB) plus a USA dispute label; ritual praise labels +3 to +2 in many CHN briefings (172, 220, 293, 340 and similar); evidence strings longer than 300 characters shortened (265). Adjudicate these against annotator-2 and sme-nlp's agreement numbers; do not bulk-relabel.
10.12 Consular topics (added to 1.2 without changing any earlier rule)
Topics under consular (detention of nationals, consular access, detainee exchanges, evacuation, entry and visa policy, travel advisories, hostage diplomacy). Level = the speaker's approval of the act, policy or outcome named; target = the state or actor that did it. Condemning a detention of its nationals by X is -3 toward X on consular-detention; demanding access is -1 or -2 with demand=1 on consular-access (target = the detaining state); welcoming the release or an exchange is +3 on detainee-exchanges; defending its own detention of a foreigner is +2 toward the detainee's state only if the speaker approves its own act (label the approval, not the detainee); lifting a visa requirement is +2 or +3 toward the state concerned on entry-visa-policy (a generic "visa-free regime is a sign of trust" is +2, ritual); a travel advisory issued by the speaker about X is -1 on travel-advisories (target X), "raising to do not travel" is -2, and rebutting another state's advisory about the speaker is -2 toward that state. Evacuation statements are mostly factual: label only evaluative sentences (thanks to a host state +2, criticism of a state blocking evacuation -2). Allegations of hostage-taking by a state are -3 only with a condemn verb, otherwise -2 (10.1). These topics are new in v1.2 taxonomy; no reference labels exist for them yet.
11. Stance toward an event (v1.3)
An event is a dated, sourced happening (db/seed/event_types.csv: a strike, a ceasefire, a sanction announcement, a UN vote, a summit, a prisoner exchange). A statement about an event gets the same label as any statement: (statement, topic, target) with level, flags and a verbatim evidence sentence. The event adds a link (statement_events) and a reaction score, which is the label made about the event. Nothing in sections 1-10 changes; this section says how to read an event into those rules. Examples are illustrative, not real quotes.
11.1 Level and target
- The level is the speaker's approval of the act or outcome the event consists of, on the same -3..+3 scale. Condemning a strike is -3; welcoming a ceasefire is +3; regretting a veto is -2. The level is never approval of the event's reporting ("we note reports of..." is 0) and never the speaker's mood.
- The target is the actor responsible for the act: the striking state, the imposing state, the vetoing member, the host of a summit. If the event is an outcome without one responsible actor (a ceasefire agreed by both, a joint statement), the target is empty and the topic carries the object. If the speaker approves of an act by one actor and condemns another actor in the same event, write two labels (11.4).
- Direction by event type (level = approval of the act, target = who did it):
- Strike (
ASSAULT.STRIKE,MASS_CASUALTY): condemns it -3 toward the attacker; "deeply concerned by the attack" -1 to -2; defends it (a speaker supporting its own or an ally's strike) positive toward the attacker. The victim's sympathy ("we stand with the victims") is a separate label onhumanitarianorukraine-wartoward the victim state. - Ceasefire (
AGREE.CEASEFIRE): welcomes +3 (substantive), "takes note" 0, rejects or says no such ceasefire exists -2 with the event linkdisputes. Target = the announcing party only when the announcement is unilateral; otherwise empty. - Sanction announcement (
SANCTION.ANNOUNCE,EXPORT_CONTROL): follows 10.3: target = sanctioned party, level = approval of the measure;SANCTION.EASE(relief or waiver) is approval of the relief: welcomed by the sanctioned party's friends +2, criticized by the imposer's allies negative. - UN vote (
UN_ACTION.SC_VOTE,GA_VOTE): per 3.1 rule 4, voting for the text is positive toward the text, against is negative, abstention 0; target empty (the draft), or the sponsor when the speaker addresses them; aVETOis an act by the vetoing member: regret or condemnation is toward that member. - Summit or visit (
CONSULT.SUMMIT,VISIT): welcome of the meeting is +1 (procedural) unless the speaker endorses its substance; target = the host or the participants as stated; concern about an exclusion (Ukraine not at the table) is -1 toward the organizer onukraine-negotiation-format. - Prisoner exchange (
AGREE.PRISONER_EXCHANGE): welcomes the release +3, target empty; criticism of the terms is toward the party named.
- Strike (
- Responsibility is attributed only as the speaker states it: "Russia's strike" targets RUS; "the escalation" without an actor has no target (do not infer one from event data).
11.2 Reaction versus mention: the four link relations
| Relation | Test | Scored? |
|---|---|---|
reacts_to | the statement expresses a position on the event itself, naming it or clearly about it, by someone other than a party announcing it | yes: reaction score |
announces | the statement is the act of announcing, or the speech at the event (a government announcing its sanctions; a UNGA address) | yes, as the speaker's own act (10.3: own measure +3 on its topic); not a "reaction" |
disputes | the statement denies the event happened or contests its description | yes: level toward the claimant (-2 by default), event link disputes; counts as a response for silence |
references | the event is cited as background or precedent ("since the January strike") with no position on it | no: do not create a reaction score; label other positions in the statement normally |
anticipates | an expected, not yet happened event | no reaction score; a stance toward the planned event may be labeled only if the speaker states a position on it ("we will not attend") |
Mention without position = references. A statement that names an event only to ask a question (a journalist) is not a reaction; the answer is. A deflection in answer ("we have no information on that") is a reaction with non_answer=1 (a real, recorded response by that state, never a stance). A statement reacting to a reaction (rebutting a third state's condemnation) is linked to the original event only if it also states a position on the act.
11.3 Flags toward an event
- demand=1: the speaker calls on an actor to act in response to the event ("calls on Russia to cease the strikes", "urges both sides to extend the truce"); named addressee needed for rung 4 of the escalation ladder; "calls on all parties" stays 0 with demand=1 (3.4).
- threat=1: the speaker signals consequences for the event's actor ("will respond to the strike"; "will not remain without response"); a prediction of the event's effects is not a threat (escalation-ladder section 8).
- hedged=1: the position on the event is balanced with criticism of another actor in the same event or by qualification ("welcomes the ceasefire but notes Ukraine was not consulted"; "condemns the strike and calls on Ukraine to avoid civilian harm").
- non_answer=1 as in 11.2.
11.4 Multi-actor events
- One label per (topic, target). A strike with a perpetrator and a victim: attacker label (negative), victim label (positive or sympathy) if the speaker states a position on the victim.
- A summit or negotiation with several parties: label the speaker's position on the event (one label, target empty or the host) and add per-party labels only for explicit positions about a party's conduct.
- A joint statement reacting to an event is labeled per 10.5 for the speaker's state, with co-signatories as position holders.
- When parties give conflicting accounts of what happened (event status
disputed), the label follows the speaker's own account; the event status is not used to infer the level.
11.5 Checks (for the pipeline and for review)
- A reaction score needs a verbatim evidence sentence that names or clearly refers to the event (place, act, date, actor); a generic sentence about the war is
referencesor no link. - Event window defaults come from the event type; a statement outside the window may still be linked (
references) but is not a reaction. - Latency is measured from the event date to the statement date; for CHN briefings and scheduled forums, report latency in publishing days.
- Event scores are provisional agent labels until reviewed; the honesty rule of the project applies (agent-labelled, human review pending).
11.6 Worked examples (illustrative, not real quotes)
- Strike: "We condemn the strike on the oil terminal and call on all sides to avoid civilian harm." -> topic
ukraine-energy-strikes, target = the striking state, -3, demand=1, hedged=0 (the "all sides" call does not balance, 4.1); linkreacts_to. - Strike by the speaker's own state: "Our forces struck the terminal in response to attacks on our grid." ->
announces; label toward the target of the strike as a claim of action (rung 8 on the escalation ladder); level on the topic is not approval-scored unless an evaluative sentence follows. - Ceasefire announced by a third party: "We welcome the energy ceasefire announced by President X." ->
ukraine-ceasefire, target empty, +3,reacts_to; Russia: "There is no energy ceasefire; no such agreement exists." -> level -2 toward the announcing party,disputes. - Sanction announcement: "The EU's new package is a mistake and we will not join it." ->
ukraine-sanctions, target RUS (sanctioned party), level -2 (opposes the measure), linkreacts_to; the speaker's attitude to the EU is a separatebilateral-disputeslabel only if stated. - UN vote: "We voted against the draft because it ignores the sponsor's own violations." ->
un-votes, target empty, -3,reacts_tothe vote event; a regret toward a veto: "We regret that a permanent member vetoed" -> -2 toward that member. - Summit: "We welcome the trilateral meeting in Shenzhen and hope it advances stability." ->
summits-visits, +1 (procedural welcome),reacts_to; "Ukraine must be at any such table" ->ukraine-negotiation-format, target UKR, +2. - Prisoner exchange: "We welcome the exchange of prisoners and thank the mediators." ->
detainee-exchangesorukraine-humanitarian-pows, +3 on the exchange, +2 toward the mediators as a second label;reacts_to.
12. Topic roots beyond Ukraine (v1.4)
Added 2026-11-20 after the decision that the grader must not be Ukraine-only. ukraine-war and its leaves are unchanged. Each root below works exactly like ukraine-war (3.9): label the most specific leaf; the root is used only for a general position on the whole dispute system; parent labels are never averages of leaves. Keyword stems and illustrative few-shots for the prefilter and grader are in docs/stance/topic-roots-2026-11.md.
12.1 General rules for all roots
- The proposition lives in the leaf; the target is an entity or empty. There is no new "proposition target" type. A leaf names the proposition the level is measured against ("approval of the COP outcome", "approval of arms sales to Taiwan"). When the speaker takes a position on the proposition itself (a text, a principle, a process, a policy),
target_idis empty and the leaf carries the object, as for a ceasefire inukraine-ceasefire. When the position is about what a specific actor did or claims on that proposition, the target is that actor and the level is the speaker's approval of the actor's conduct. Example: "We regret that developed countries have not met their climate-finance pledge" isclimate-finance, target = developed countries (group,target_textif no entity), -2. - Reading -3 and +3 outside conflict topics. The scale names (condemnation, endorsement) are read as: -3 = repudiates or rejects the proposition in the strongest terms, or acts against it (withdraws, imposes the measure being criticized); +3 = fully endorses, or commits action (signs, adopts, imposes the measure the leaf approves). -2/+2 plain opposition/support; -1/+1 concern/encouragement; 0 neutral, formula or non-answer.
- Direction convention (extends 10.3). For
sanctions,export-controls-tech,tariffs-trade-warand any other leaf whose proposition is a measure imposed on someone: target = the party the measure is imposed on; level = the speaker's approval of the measure. The speaker's view of the imposing state is a separate label (bilateral-disputesorbilateral-relations, target = imposer). An imposer announcing its own tariff on X is positive toward the measure (+2, +3 with "has imposed"), target X; a state attacking tariffs on its own exports has target = itself (its country entity) and a negative level. This keeps one rule for all coercive measures; it reads oddly on the page, so the UI must word it as "view of the measure, imposed on X". - Which leaf wins when a sentence fits two roots (one home per label). Apply in order:
- Country-file topics win over the measure leaf: sanctions or tariffs framed around Russia's war go to
ukraine-sanctions(including secondary tariffs on buyers of Russian oil, price cap, frozen assets); sanctions or snapback in the Iran nuclear file go toiran-nuclear; DPRK sanctions go tokorean-peninsula. - Specific measure leaf wins over the generic leaf: tariffs, trade wars and trade remedies are
tariffs-trade-war(even when called "sanctions"); a restriction on chips, dual-use goods or rare-earth exports isexport-controls-tech; supply-chain diversification without a restriction issupply-chain-critical-minerals; EU CBAM and carbon tariffs arecarbon-border-measures(nottariffs-trade-war). - Generic leaves are residual:
sanctions(not covered above),trade-economy,energy,climate-environment,south-china-seahold only what no narrower leaf fits. - Ukraine energy infrastructure strikes stay
ukraine-energy-strikes; Russian gas phase-out isukraine-sanctionswhen framed as cutting Russian revenue andenergywhen framed as supply security. If a sentence states both purposes, two labels (3.2). - Taiwan Strait transits by foreign warships go to
maritime-navigation-freedom, nottaiwan-military-pressure, unless the sentence is about PLA actions. - A third state's remarks about Taiwan (for example Japan) are
taiwan-straitwith target = that state; the history and remilitarization framing staysjapan-history-remilitarization(two labels if both are explicit).
- Country-file topics win over the measure leaf: sanctions or tariffs framed around Russia's war go to
- Silence and events. As in 3.9 item 6; key events for the new roots go in
events.csvin a later change.
12.2 China, Taiwan and the South China Sea (root china-taiwan-sea, parent conflict-security)
Reparented existing leaves (slugs unchanged): taiwan-strait, south-china-sea. Typical targets: CHN, TWN (Taiwan authorities), USA, PHL, JPN, VNM, MYS, ASEAN, third states that host Taiwan officials or hold Taiwan contacts.
| Leaf | Proposition (approval of ...) | -3 | +3 | Typical targets |
|---|---|---|---|---|
taiwan-strait | the status claim named by the target: target CHN = the PRC claim that Taiwan is part of China and its unification policy; target TWN = Taiwan's separate standing or "independence"; third state = that state's conduct on Taiwan | condemns the target's position ("Taiwan independence separatists", "erroneous words and deeds on Taiwan") | pledges to uphold it ("firmly adheres to the one-China principle and supports reunification") | CHN, TWN, JPN, USA, any state |
taiwan-arms-sales | arms sales and military support to Taiwan | condemns a sale and announces countermeasures, or (rare) demands halting all supply | pledges or announces supply | USA, JPN, TWN |
taiwan-military-pressure | PLA drills, blockade or force against Taiwan; unilateral change of the status quo | condemns the drills or force as aggression, or condemns "interference" that provoked them | fully supports Beijing's drills as justified (Chinese or friendly speakers) | CHN, TWN, or empty |
taiwan-international-space | Taiwan's participation, official contacts and recognition | condemns a recognition, visit or participation, or protests with a threat | supports Taiwan's participation or recognition | TWN, the host state, WHO/UN |
south-china-sea | claims and sovereignty in the SCS when no leaf fits; the root-level general view | condemns the claimant's actions | fully backs a claimant's claims | CHN, PHL, VNM, MYS |
scs-arbitral-award | the 2016 award and UNCLOS as binding law; target empty or CHN | rejects the award as "null and void" (Chinese line, -3 with "illegal, null and void") or condemns its rejection | fully supports the award as final and binding | CHN, PHL, empty |
scs-philippines-incidents | the conduct of the actor in a named coast guard or resupply incident | condemns the coast guard action | commends the victim's response and pledges support | CHN, PHL, USA |
scs-code-of-conduct | the COC negotiation and its terms | rejects the COC process or terms | fully supports early conclusion of an effective COC | ASEAN, CHN, empty |
maritime-navigation-freedom | transits, patrols and FONOPs | condemns the transit or patrol as provocation | fully backs freedom of navigation and the operations | USA, CHN, allied navies |
east-china-sea | Senkaku/Diaoyu claims and coast guard activity | condemns incursions or claims | fully backs the claim | CHN, JPN |
Formula rule: "We oppose any unilateral change to the status quo" with no named actor and "peace and stability in the Taiwan Strait" are a formula and a real 0 on taiwan-military-pressure (3.5, 3.6); it moves to -2 only with an explicit target or a specific act named. "Firmly adheres to the one-China principle" by a third state is +2 toward CHN on taiwan-strait (ritual, 10.8).
12.3 Trade, tariffs and sanctions (root trade-sanctions, no parent)
Reparented existing leaves (slugs unchanged): sanctions, trade-economy, export-controls-tech (previously under technology-cyber). ukraine-sanctions stays under ukraine-war and wins for Russia-war sanctions (12.1 rule 4.1). Typical targets: the party the measure is imposed on (CHN, USA, IND, BRA, CAN, MEX, IRN, CUB, VEN, RUS outside the Ukraine file), organizations (EU, WTO, UN), or empty for a general principle.
| Leaf | Proposition (approval of ...) | -3 | +3 | Typical targets |
|---|---|---|---|---|
tariffs-trade-war | the tariff, duty, quota or import ban named, imposed on the target | rejects and condemns the measure ("illegal", "economic bullying"), or retaliates against it | announces or fully endorses it ("has imposed", "fully supports the tariffs") | the country tariffed |
trade-agreements | the agreement or deal named, or trade deals in general | rejects or withdraws from the agreement | welcomes its conclusion or signs it | the counterparty or empty |
wto-trade-rules | the WTO and rules-based trading system as it stands or as reformed | repudiates the WTO or its rulings | fully backs the WTO and commits to its reform | WTO, the member whose measure is challenged |
sanctions | the sanctions or unilateral coercive measures named; calling UCMs illegal is -2/-3 on the general principle, target empty | condemns the sanctions as illegal (10.3: target = sanctioned party) | announces or fully supports the sanctions | the sanctioned party |
export-controls-tech | the export restriction on chips, dual-use, rare earths | rejects and retaliates against the restriction | imposes or fully endorses it | the restricted party (CHN, RUS) |
supply-chain-critical-minerals | diversification, de-risking and critical-mineral partnerships | rejects the policy as protectionism | signs or fully commits to a partnership or stockpile | partner country, empty |
trade-economy | residual economic cooperation and market access | rarely used | fully endorses a named economic measure or deal that fits nothing above | partner country |
A sanctions-impact complaint ("sanctions harm children", RUS at the UN) is sanctions with the direction in 12.1 rule 3 (-2, target = the sanctioned party), not humanitarian, when the speaker's point is to oppose the measure.
12.4 Climate and energy (root climate-energy, no parent)
Reparented existing leaves (slugs unchanged): climate-environment, energy. Critical minerals moved from energy to supply-chain-critical-minerals (12.3). Targets are usually empty (position on the process or text); use a named actor only for blame or praise of conduct: USA (Paris withdrawal), CHN, EU (CBAM), Saudi Arabia/OPEC, India, "developed countries" (target_text), UNFCCC, Green Climate Fund.
| Leaf | Proposition (approval of ...) | -3 | +3 | Typical targets |
|---|---|---|---|---|
climate-cop-process | the COP decision or negotiating text, the Paris Agreement and its implementation | withdraws from or rejects Paris or the COP outcome in strong terms | fully welcomes and commits to implement the outcome | empty; UNFCCC; a blocking state |
climate-finance | the finance commitment, fund or goal named (NCQG, Loss and Damage Fund) | rejects the finance obligation or condemns a provider's default | pledges new money or fully endorses the goal | developed countries, GCF, the fund |
climate-targets-ndc | the emission target, NDC or net-zero date | rejects binding targets or abandons a target | adopts or fully commits to a stronger target | the target-setter, empty |
fossil-fuel-phase-out | phasing out coal, oil and gas, ending subsidies | rejects phase-out and commits to expansion | commits to a phase-out date or fully backs the global transition | producer states, empty |
carbon-border-measures | the CBAM or carbon tariff on the target's exports (10.3 direction) | condemns it as protectionism and retaliates | imposes it or fully endorses it | the party affected |
civil-nuclear-energy | nuclear power as an energy source | rejects nuclear power or commits to closing plants | fully backs new build and nuclear as clean energy | empty; supplier state |
renewables-clean-tech | renewable and clean-tech deployment and trade | rejects the deployment or condemns clean-tech subsidies as unfair | commits funds or fully endorses | empty; CHN (overcapacity disputes) |
climate-environment | residual climate and environment (climate as security threat, biodiversity, oceans) | rarely used | fully endorses a named action | empty |
energy | residual energy security and supply | rejects a supply measure or embargo in strong terms | commits supply or fully endorses a security measure | supplier or buyer state |
A passing mention ("climate shocks", "political climate", "energy projects" in a list of cooperation areas) is not a position: no label (3.1, 3.5).
12.5 Open points for validation
- The tariff target convention (12.1 rule 3) follows 10.3 for consistency; whether users find "target = the country tariffed" intuitive is to be tested with the desk persona.
- The few-shots in the topic-roots page are illustrative; each root needs 40 or more real gold labels before the new leaves count as validated (Taiwan has 35 non-Ukraine keyword hits in the database as of 2026-11-20, so Taiwan gold must wait for collection from more sources).
13. Reported versus official statements (news quotes, added by data-manager 2026-11-20)
DiploTrack holds two kinds of "what an official said". They are never mixed.
| Official statement | Reported statement | |
|---|---|---|
| Source | the government's own channel (ministry, presidency, UN record, official Telegram), including official interview transcripts published by the ministry | a quotation of a named official inside a news headline or short excerpt, found by the news-quotes flow |
| Table | statements (text_kind verbatim or summary) | reported_statements (separate table) |
| Text kept | the full statement | only the quoted sentence(s), outlet, link, date |
| Reliability | 1 (official) | 3 independent or public outlet, 4 state outlet or agency |
| Stance labels and barometer | yes | no: excluded by construction (another table), not by a filter |
| Display | the statement page | "reported by <outlet>" on the speaker page and, when linked, on the official statement it reports |
Rules for labelers and for any code that touches reported quotes:
- A reported quote is never labeled in the main gold set or the barometer. It can be graded only as a separate, explicitly labelled set (its own table of labels and its own agreement numbers, never pooled with official labels; not built yet), because the outlet chose, cut and framed the words.
- The speaker's own words only. A quote counts when the text ties it to a named tracked official by a speech verb or colon ("Lavrov said: '...'", "'...', said Rubio"). A fragment inside a longer headline sentence is a partial quote (confidence 0.6). The outlet's paraphrase ("Lavrov said Russia would respond") is not extracted.
- Same words, two sources. When a reported quote matches an official statement (same speaker or country, 4 days before to 1 day after the article, at least 80% of the quote's words found in the statement, or embedding cosine 0.6 with the speaker matching), the official statement is the record and the quote is shown beside it as coverage. A quote that differs from the official text is a candidate for the framing check (
news_statement_links.framing_level), never a correction of the record. - Interview transcripts published by a ministry are official statements (venue
interview,doc_typeinterview): the interviewee's turns are the statements, the interviewer's questions are kept asquestionand are not labeled. A written article by a minister ("Article by EAM in ...") is an official statement too. - Outlets that are state organs (TASS, Anadolu, Ukrinform, IRNA, CGTN, Al Jazeera) are marked
state; their quotes of their own government's officials are reliability 4, a reminder that the outlet is not independent of the speaker.
14. General mode: stance toward a named target on any topic (v1.5 DRAFT, not yet in force)
Proposed 2026-11-20 by sme-diplomacy for sme-nlp and pm; decision note general-mode-decision-2026-11.md, test set general-mode-test-set.csv. Nothing in sections 1-13 changes except the two carve-outs marked below (10.8 and 10.12 in general mode). Until accepted, codebook_version stays 1.4 and no general-mode label is written. Examples are illustrative unless a statement id is given.
14.1 What general mode is
Two modes grade the same thing (the speaker's own position, level -3..+3, flags, one verbatim evidence sentence, unit = statement, topic, target) and differ only in what gates the grader and what the level is anchored to.
| Root mode (sections 3.9, 12) | General mode (this section) | |
|---|---|---|
| Gate | statement hits a root's keywords | statement passes the no-stance screen (14.4) |
| Topic | a leaf of the root, chosen by the grader | the leaf the topic tagger gave (statement_topics), or the nearest leaf for the evidence sentence (14.2 rule 2) |
| Anchor | the leaf's proposition with stated -3 and +3 poles (12.2-12.4) | the target as framed by the topic leaf name; generic scale (section 2) |
| Stored as | grading_mode = 'root' | grading_mode = 'general' (new column or label attribute; schema request goes to data-manager, not made here) |
| Comparable | across time and across countries on the same leaf and target | across time for one country on the same (leaf, target) line only; not across leaves |
A statement that hits a root is graded in root mode for that root's leaves. General mode runs on every other sentence that passes the screen, and on root statements for leaves outside the root. One (statement, topic, target) never gets two labels: root mode wins.
14.2 Rules
- Same scale, same flags, same evidence rule. Sections 2, 3 and 5 apply unchanged. There are no leaf poles in general mode, so -3 and +3 need the explicit formal verb or phrase (condemns, in the strongest terms, fully or strongly supports, welcomes a substantive act, steadfast support) as in 10.1 and 12.1 rule 2; otherwise cap at -2 or +2.
- Topic. Take the leaf from the tagger when it fits the evidence sentence. If the tagger leaf does not fit the sentence, use the nearest leaf in
topics.csvand set rationale "topic from grader".otheris allowed but labels onotherare not aggregated or shown on timelines. Never invent a slug. - One label per (topic, target) that the speaker takes an explicit position on (3.2). A sentence with no named target can still be labeled with an empty target when the position is on a process, text or principle (a vote, a ceasefire, "calls for restraint").
- Direction. Measure and sanction leaves follow 10.3 and 12.1 rule 3 (target = party the measure falls on, level = approval of the measure). Everything else: level = approval of the target's conduct or of the proposition named by the leaf.
- No inference of the target (11.1.4): if the sentence does not name or plainly refer to the actor, the target is empty or a
target_text. A neighboring sentence may supply the target only when it names it in the same paragraph and the same agenda item (rationale "target from context"). - Own words only. 3.1, 10.7 and 10.9 apply: reported findings, quoted third parties, journalist questions and UN summaries give no label for the speaker unless adopted.
14.3 What a target must be
A label's target is one of the following. This is the whole list.
| Type | Examples | Aggregation key |
|---|---|---|
state | any state or territory with a country entity | entity id |
org | UN organs, EU, NATO, ICC, ICJ, IAEA, WHO, ASEAN, African Union | entity id |
person | a head of state or official, only when the position is about the person (a warrant, a visit, a statement by that person) | entity id |
instrument | a named, dated text, plan, agreement, mission mandate, court case or measure ("Comprehensive Plan to End the Gaza Conflict", "Hague Code of Conduct", "E1 settlement plan") | normalized name, later an entity of kind instrument |
group | a named non-state group (Houthis, Tigray Defence Forces) | entity id when one exists, else target_text |
none | position on a process, principle or draft with no actor | empty target, the topic carries the object |
unresolved_group | a named or described actor that has no entity (a US NGO, "individuals and entities who threaten stability in Haiti") | target_text only |
Rules:
- Aggregation needs a resolved entity or a normalized instrument. Labels with
target_textonly are stored and shown on the statement, but are never part of a timeline, alert, ranking or count by target. Entity linking (data-architect) later resolves them; the label does not change. - Never targets: "the international community", "all parties", "all sides", "some countries", "the region", "the world", "terrorism", "the situation", "our partners" (an unnamed set). These are rejected by the verifier. A call on "all parties" is a real 0 with demand=1 and an empty target (3.4). Concepts and topics (terrorism, impunity, climate) are topics, not targets.
- Group targets ("developed countries", "Arab states") are allowed only as
target_textwith a group flag and are never aggregated until a curated group list exists. - Self-targets are forbidden except the beneficiary rule already in 12.1 rule 3: a measure imposed on the speaker's own state (tariffs on its exports, sanctions on its companies) has the speaker's own state as target and the level is the speaker's approval of that measure (negative when it objects). A speaker approving or announcing its own program, vote, election to a body, or aid has no self-target; it is not a stance toward anyone (14.4 N1, N11) unless it also names an external target.
- A person target needs an explicit sentence about the person; an instrument named after a person ("President X's plan") targets the instrument, not the person.
- One target per sentence per topic when the sentence names several: write one label each (3.2). Never merge targets into a bloc unless the speaker names the bloc (EU, ASEAN).
14.4 Statements and sentences that get no stance (N1 to N11)
A statement of one of these types gets no label (a screen result, not a 0). Real 0 and non_answer stay labels (3.4, 3.7, 10.4); no-stance is the absence of a position.
| Code | Type | Examples | Precision note |
|---|---|---|---|
| N1 | Ceremonial and protocol | credentials, appointments, receiving an ambassador, awards, honors, anniversaries, election of the speaker's own state to a body, greetings, birthday and holiday messages | "welcomed the Ambassador", "hope for further strengthening of relations" in a reception are courtesy (2.1 rule 3) |
| N2 | Notices and feed records | travel-advisory feed lines ("advisory level 2"), consular notices, visa-center hours, emergency contacts | Carve-out of 10.12: a record generated by an advisory feed is N2. 10.12 (-1 or -2 on travel-advisories) applies only when a statement itself comments on, raises, or rebuts an advisory in sentences of its own |
| N3 | Factual and administrative | meeting and event descriptions (workshop held, delegation led by), schedules and programs, statistics, methodology notes, project updates | evaluative sentences inside such a text are labeled normally |
| N4 | Law signed or domestic | bills signed into law, budgets, domestic program launches, investment targets, health or education notices | a position needs an external target (a state, organization, person, international instrument or global issue); a domestic act toward a foreign state is 10.2 |
| N5 | Bios and boilerplate | "About" paragraphs, biographies, contact blocks, signatory lists, footers, "Click here" lines | never evidence (10.5 item 2) |
| N6 | Condolences, solidarity in disasters, obituaries | accident notices, deaths of officials | 2.1 rule 6; solidarity with a state in a disaster is 0, not support. Solidarity in a political crisis ("stand in solidarity with Niger") is a position |
| N7 | Ritual partnership | "good friends, good comrades", "reaffirmed the importance of the partnership", "exchanged views on issues of mutual interest", "look forward to deepening cooperation" | Carve-out of 10.8 in general mode: root mode keeps +2; in general mode ritual partnership gets no label because a constant +2 carries no signal across 190 countries. A concrete new commitment (funds, treaty, deployment), an explicit endorsement verb (10.8 test) or a downgrade is still labeled. The statement keeps a ritual_partnership screen tag so engagement counts and silence tracking are not lost |
| N8 | Reported or asked | a journalist's or rapporteur's question, a third party's words, a court or UN body's findings not adopted, UN meeting summaries without attribution | 3.1, 10.7, 10.9 |
| N9 | Deflection with no identifiable (topic, target) | "I don't have the details" with the question missing or unspecific | If the question or the reply names the topic or target, the label is non_answer=1 as in 3.7; if neither is recoverable there is no label |
| N10 | Own measure in neutral wording | "will not renew the agreement", "has extended the mandate" with no evaluative or accusatory sentence | 10.2 |
| N11 | Own programs, no named target | "is providing humanitarian assistance", "funding is being provided" | A resource commitment is a +3 only with a named target (the scale's +3 definition); with none, no label |
14.5 The screen (cheap, deterministic, then the grader)
Stage 0 (rules, no model): drop N2 and N5 lines by pattern; split into sentences; keep a sentence as a candidate only if it has (a) a stance cue from lexicon.md in any of the six languages (evaluative verb, demand verb, threat phrase, vote verb) and (b) an external-target mention in the same or the adjacent sentence (country, organization or instrument entity from NER or a name list, a pronoun resolved in the same paragraph). A statement with no candidate sentence is no-stance and is not sent to the grader. Greeting, credential, obituary and schedule patterns (N1, N3, N6) are only used to raise the cue threshold for that statement (for example require a strong cue verb), never to drop a sentence on pattern alone, so "congratulates X" followed by "condemns Y" survives.
Stage 1 (grader on the Spark, per 4 candidate sentences with their paragraph): returns labels or none; none is the expected answer for N7, N8, N9, N10, N11 and is checked against the test set. A grader label with no verbatim evidence or with a forbidden target (14.3 rule 2) is rejected by the verifier.
Acceptance targets for the screen on the test set and later gold, to be confirmed by sme-nlp: at most 5% of statements that carry a gold label are dropped by Stage 0 (recall of stance-bearing statements 95% or higher); at least 60% of no-stance statements are dropped before the grader. A drop below the recall target blocks rollout; the precision target is a cost goal only.
14.6 Display next to root labels (wording for frontend-dev)
- Two tiers, visibly. Root labels keep the current display. General-mode labels carry a "General reading" tag and a lighter style; never the same chip color or the leaf pole text ("condemns the COP outcome").
- Coarse words on the surface, the integer in the tooltip. General mode shows Critical (-3, -2), Neutral or mixed (-1, 0, +1), Supportive (+2, +3), with demand, threat and hedged badges as for root labels; the exact level, the evidence sentence and the source link open on hover or click. Root labels keep the full 7-step display.
- The target is the headline. "Position toward ICC" with a link when resolved; plain text, unlinked, for
target_textonly. - Timelines need volume: a (country, leaf, target) line draws only with at least 5 general-mode labels on at least 3 distinct dates in the window; fewer labels appear as dots on the statement list, not as a line. No smoothing, no average across leaves, no country ranking or "most hostile" list from general-mode labels alone.
- Alerts: shift alerts (section 9) stay off for general mode until agreement against the human-reviewed sample is measured (target: weighted agreement on level within one step at least 80% on the reviewed sample, to be confirmed by sme-nlp). Then an alert needs two consecutive labels or a reviewer accept, not a single label.
- Provenance line: "Model reading, human review pending" until reviewed, as for all agent labels; labels under confidence 0.6 are hidden from aggregates and visible only on the statement.
- Measure direction wording from 12.1 rule 3 applies: "view of the measure, imposed on X".
14.7 Open points
- Whether N7 (ritual partnership gets no label in general mode) hides too much engagement signal; check with the desk persona. The
ritual_partnershiptag is the mitigation. - Whether
instrumenttargets need an entity kind and table (data-architect). - Level agreement for general mode is unmeasured; the test set has 28 statements with stance labels from one AI labeler. It is a measuring stick for the prompt, not a validation of the mode.