CP and Ship Popularity Data: Collecting, Normalizing, and Assessing User-Tagged Metrics Across Platforms

    Popularity rankings built on user-selected tags are easy to misread. Using the example of comparing CP (couple-pairing) popularity across different fandom communities, this article exposes three statistical traps: uncontrolled community variables, inconsistent counting conventions, and the confusion of correlation with causation. It then generalizes the problem into a repeatable data pipeline that applies to any user-tagged data. Readers will learn how to define metrics that map to observable behavior, model multi-tag versus single-tag label systems, apply sub-tag decay and percentile normalization to make platforms comparable, and compute a credibility score backed by anomaly alerts so rankings stay reliable. The core takeaway is that popularity reflects what readers choose rather than the quality of a work, so cross-platform comparisons must control for metric definitions before any conclusion is drawn.

    1. Background: The Statistical Traps Behind Popularity Rankings

    A widely popular magic-themed series is often debated among readers over “whether the author is good at writing romance.” A common argument goes like this: the pairing officially endorsed in the source material is not unpopular among overseas readers; a few fan-made pairings that are extremely popular domestically rank only average overseas; and one canon pairing that is very popular overseas but barely developed in the author’s side plots is even considered, in some reader circles, to be so unpopular that almost no one engages with it. From this, some conclude that “the author is actually more popular when they write romance more lightly.”

    If you place canon pairings (couples explicitly written into the source) alongside fan pairings (combinations readers create on their own, not explicit in the source) and use that comparison to judge the author’s romance-writing skill, the argument has at least three statistical flaws:

    • Uncontrolled community variable. Domestic data mostly comes from image-and-text creation communities, while overseas data mostly comes from multi-tag content-hosting platforms. These two communities have different reader demographics and tastes.
    • Uncalibrated measurement conventions. Different platforms define and count tags differently, and the counting unit may mix work counts, view counts, or interaction counts.
    • Confusing correlation with causation. Popularity is influenced by writing style, character setup, narrative space, and fan-creation conventions, so it cannot serve as a proxy for writing skill on its own.

    This article therefore abstracts the question “how should the popularity of a given CP in a given work be compared?” into a more general technical problem: how to collect, clean, and evaluate platform data with user-selected tags — data that carries measurement discrepancies — so that data from different sources can be compared horizontally and conclusions can be reproduced.

    In the examples below, each CP is referred to by a letter such as A, B, or C, and all values are illustrative, used only to explain the calculation methods.

    2. The Same Distortion in Other Domains

    These problems are not limited to fan creation. Whenever the analysis target depends on “user-selected tags” or on objects that users classify themselves, similar biases appear:

    • Category “traffic-riding” in e-commerce. Sellers list a product under several related categories to increase exposure, which inflates each category’s sales figures.
    • Topic tagging in technical communities. A question or article is linked to multiple topic tags, so a single tag’s count cannot reflect the content’s real focus.
    • Self-selected categories on content platforms. A creator adds several categories to the same work, or fills in a broad category, so category statistics struggle to represent the actual content.
    • Multi-keyword ad campaigns. One campaign covers many keywords, and clicks and conversions from different keywords get attributed redundantly to the same source.

    What they share is this: inconsistent counting units, one record linked to multiple tags, and different coverage across sources. Putting this kind of data through a single processing pipeline solves them all uniformly.

    3. Breaking Down the Distortion: Four Sources of Cross-Platform Incomparability

    3.1 Source 1: Different Objects of Measurement (Work Count, View Count, or Discussion Count)

    For the same CP, counting by “number of works” versus counting by “cumulative views” or “comment count” can produce entirely different results. Work count reflects the creator base, interaction volume reflects reader activity, and a large, active community more easily tops interaction-based rankings. Before comparing, you must fix and record the metric definition, the statistical time window, and the capture timestamp in the metadata; otherwise no later ranking can be reproduced.

    3.2 Source 2: Different Tag System Designs

    The two common tag systems each have their own traits:

    • Multi-tag style: a work can carry any number of CP tags. When one pairing is promoted as the main one and several are in the side plots, every pairing gets counted toward popularity.
    • Single-tag style: most works mark only the promoted CP.

    The two are not inherently contradictory — the problem lies in the metric. The former counts “work associations,” while the latter approximates “number of works that promote the pairing.” Comparing them directly is like comparing “number of mentions” against “number of primary promotions.”

    3.3 Source 3: Interference Between Canon Pairings, Fan Pairings, and Character Popularity

    When browsing a popularity ranking, you often see the following structure:

    • Canon pairings often appear as “piggyback tags.” Works related to an extremely popular fan pairing often use the canon pairing as a secondary tag, so the canon pairing’s popularity includes a large amount of “non-primary exposure.” If the newest-sorted content on a canon pairing’s tag page almost entirely belongs to another fan pairing at the same time, that canon pairing’s independent discussion volume under time sorting may be far below its total count.
    • Character-level tags get diverted. A popular character often appears across multiple pairings, so character popularity is “split up” and cannot be converted directly from pairing popularity.
    • Fan pairings reflect readers’ spontaneous preference. Because they are not set by the source, their popularity better represents readers’ active choices — but they are still influenced by tagging habits.

    Analysis should therefore distinguish at least three types of objects:

    • Canon pairing: a couple explicitly established in the source;
    • Fan pairing: a combination readers create on their own, not explicit in the source;
    • Character popularity: the overall heat of how often a character is mentioned.

    Each corresponds to different metrics and comparison conventions, and they should not be placed in the same ranking and sorted directly against each other.

    3.4 Source 4: Differences in Sorting Parameters and Visible Scope

    The same tag can show a completely different content composition under different sort modes (by popularity or by time). In addition, the visible scope of pagination endpoints, delays in search-index updates, and results computed over different time windows all affect what gets collected. The collection process must record the sort mode, pagination strategy, and capture time window as metadata, or the data will not match when you try to reproduce it.

    4. Metric System Design: Turning “Popularity” into Computable Quantities

    The design principle is simple: every metric must correspond to an observable behavior and have a clear calculation convention. It is recommended to break things into at least the following four categories:

    Metric Definition Applies to Notes
    Primary works Number of works where the CP is the primary tag All CPs The closest proxy for “creative intent”
    Weighted association heat Weighted sum after counting the primary tag in full and decaying secondary tags by a coefficient All CPs Reduces inflation from unlimited tagging
    Independent discussion volume Number of items on the tag page led solely by the CP Canon and fan pairings Removes “piggyback exposure”
    Character overall heat Weighted count of how often a character is tagged across all tags Characters Cross-reference between characters and pairings

    “Independent discussion volume” can be approximated with a simple rule:

    • On a single-tag platform, a record belongs to a CP if and only if that CP is its only CP tag;
    • On a multi-tag platform, you can stipulate that the CP is the “primary tag” of the work’s tag set, or that its number of CP tags in the same group does not exceed a threshold (such as 2).

    5. Collection Layer Design: Reproducibility Is the Prerequisite for Comparability

    5.1 Collection Targets and Fields

    The recommended minimal field set to collect:

    • work_id: the unique identifier of a work within the platform;
    • cp_tags: the normalized list of CP tags;
    • is_multi_tag_platform: whether it is a multi-tag platform;
    • sort_mode: the sort mode used for collection;
    • stats: work count, view count, comment count, and so on;
    • captured_at: the capture time.

    5.2 Collection Strategy

    • Pagination + cursor-based incremental fetching: use a full snapshot for the baseline, and pull increments by update time or an ID cursor;
    • Snapshot archiving: keep the raw snapshot for each collection cycle to allow traceback and recomputation;
    • Unified sorting parameters: use a fixed sort mode for the same tag page within the same cycle to avoid bias from sorting differences;
    • Deduplication: use work_id as the primary key for idempotent writes, to avoid inflated counts from repeated collection.

    5.3 Compliance and Stability

    • Collect only publicly visible platform data, and respect the platform’s terms of service and robots conventions;
    • Control request frequency, and set timeouts and retry limits;
    • Do not collect or store any personally identifiable information.

    6. Cleaning and Normalization: Making Multi-Platform Data Comparable

    6.1 Cleaning Steps

    1. Normalize CP names: unify separators, letter case, and whitespace, and map spellings like A/B and A x B to the same canonical key;
    2. Make pairings orderless: treat A/B and B/A as the same pair, and unify them by sorting lexicographically before concatenating;
    3. Unify numeric units: make clear that “work count” and “view count” are not mixed; if mixing is needed, convert units first and label the result;
    4. Align time windows: take data from the same time window across platforms, to avoid comparing data from different periods.

    6.2 Sub-Tag Decay: Reducing Inflation from Unlimited Tagging

    On a multi-tag platform, one work can carry several CPs at once. If every pairing is counted in full, a work that promotes one pairing “shares” its heat among all secondary tags. You can weight each tag by its importance within the work:

    • the primary tag has a weight of 1;
    • the weight of the i-th secondary tag decays as 1/(1+i), or is multiplied uniformly by a coefficient α (such as 0.5).

    Example code (illustrative):

    1. import math
    2. from collections import defaultdict
    3. def canonical_pair(cp: str) -> str:
    4. """Normalize spellings like A/B and A x B into a lexicographically ordered canonical key."""
    5. left, right = cp.replace("×", "/").replace("x", "/").split("/")
    6. a, b = sorted((left.strip().upper(), right.strip().upper()))
    7. return f"{a}/{b}"
    8. def decay_weight(index: int, base: float = 0.5) -> float:
    9. """Tag weight: index=0 is the primary tag with weight 1; secondary tags decay as 1/(1+i)."""
    10. return 1.0 if index == 0 else base / (1.0 + index)
    11. def aggregate(raw_works: list[dict]) -> dict[str, float]:
    12. """Example element of raw_works: {"tags": ["A/B", "C/D", "E/F"], "word_count": 3200}"""
    13. heat = defaultdict(float)
    14. for work in raw_works:
    15. tags = sorted({canonical_pair(t) for t in work["tags"]})
    16. # When the same tag appears at multiple positions, take the maximum weight to avoid double counting
    17. best = {}
    18. for i, cp in enumerate(tags):
    19. best[cp] = max(best.get(cp, 0.0), decay_weight(i))
    20. for cp, w in best.items():
    21. heat[cp] += w * work.get("word_count", 1)
    22. return dict(heat)

    In the code above, the tag position is decided by lexicographic order, which is only illustrative. An actual implementation should preserve the primary tag provided by the platform or the character order in the work title, to avoid losing positional information.

    6.3 Percentile Normalization: Eliminating Platform Scale Differences

    Platform user bases differ enormously, so absolute values are not directly comparable. You can convert each platform’s internal ranking into a percentile score (0–1), then weight them by preset weights to obtain a cross-platform composite index:

    1. def percentile_score(values: dict[str, float]) -> dict[str, float]:
    2. """Map a platform's internal CP heat scores onto a 0-1 percentile range."""
    3. ordered = sorted(values.values())
    4. n = len(ordered)
    5. if n <= 1:
    6. return {k: 0.5 for k in values}
    7. return {k: ordered.index(v) / (n - 1) for k, v in values.items()}
    8. def combined_index(
    9. platform_a: dict[str, float],
    10. platform_b: dict[str, float],
    11. w_a: float = 0.5,
    12. ) -> dict[str, float]:
    13. """Merge two platforms' percentile scores by weight; treat missing values as 0."""
    14. pa, pb = percentile_score(platform_a), percentile_score(platform_b)
    15. keys = set(pa) | set(pb)
    16. return {k: w_a * pa.get(k, 0.0) + (1 - w_a) * pb.get(k, 0.0) for k in keys}

    Note that percentiles reflect only “relative position,” not “absolute popularity,” so the final output should present the raw metrics and the percentile scores together.

    7. Credibility Assessment: Give Each Tag a Confidence Score

    Popularity numbers are not right or wrong in themselves, but a conclusion like “using popularity to argue the author writes well” needs credibility support. It is recommended to compute a credibility score for each CP tag across the following dimensions:

    1. Convention consistency: whether multi-tag counting is mixed in, and whether units and time windows have been aligned;
    2. Data completeness: field missing rate and collection success rate;
    3. Multi-source consistency: whether rankings are stable across different platforms and sort modes;
    4. Stability: whether ranking fluctuations over consecutive cycles stay within a reasonable range.

    Example code (illustrative):

    1. def anomaly_flags(series: dict[int, float], window: int = 7) -> dict[int, bool]:
    2. """Detect spikes over a trailing window: alert when a day's value exceeds 3x the previous `window`-day average."""
    3. days = sorted(series)
    4. flags = {}
    5. for i, d in enumerate(days):
    6. if i < window:
    7. continue
    8. baseline = sum(series[x] for x in days[i - window:i]) / window
    9. flags[d] = baseline > 0 and series[d] > 3 * baseline
    10. return flags

    When a tag shows abnormal growth in a short period, or when a platform’s data missing rate spikes, an alert should trigger and pause the automatic ranking until manual review is done before publishing. This prevents “volume inflation” or collection anomalies from directly affecting the ranking’s conclusions.

    8. Using Analysis Conclusions Correctly

    After collection and cleaning are done, returning to the original question yields a more reliable formulation:

    • Popularity is an “outcome of choices,” not a “quality score.” It reflects readers’ choices within existing community culture, and cannot serve alone as evidence of the author’s writing skill.
    • Comparisons must be made under the same convention. Canon and fan pairings, work counts and view counts, single-tag and multi-tag platforms — none of these should be sorted in the same table.
    • Different communities should be compared separately. Differences in taste between reader communities are real, and cross-community comparison needs controlled variables; you cannot use canon pairing popularity for one side and fan pairing popularity for the other to reach a conclusion.
    • Raw data and intermediate results must be traceable. Every conclusion should be traceable back to a specific snapshot, a specific cleaning rule, and a specific metric definition.

    9. Cloud Deployment Architecture Recommendation

    On Baidu AI Cloud, you can build a complete pipeline with general cloud products, without binding to any specific API:

    • Object storage: store raw collection snapshots and cleaned intermediate results;
    • Message queue: decouple collection tasks from processing tasks, and support failure redelivery and peak shaving;
    • Offline compute and data warehouse: schedule daily jobs to complete tag normalization, weighted aggregation, and percentile calculation, then output metric tables;
    • Log service and monitoring/alerting: collect metrics such as collection success rate, field missing rate, and abnormal spikes in one place, and configure threshold alerts;
    • Visualization dashboard: display cross-platform comparisons, trend changes, and credibility scores so conclusions can be reviewed.

    10. Summary

    Questions like “is the author good at writing romance?” are, in essence, evaluations of writing style, and popularity data can only serve as a reference, not as evidence. If you want to turn in-community popularity comparisons into serious analysis, the key is to make the following process solid:

    1. Clear metric definitions;
    2. Explicit modeling of tag-system differences;
    3. Sub-tag decay and percentile normalization to ensure comparability;
    4. Credibility scoring and an alerting mechanism to ensure reliability.

    Only then can data truly serve the discussion instead of creating new double standards.