Datasets:
Preserve failed BUV preperiod product-performance UIE diagnostic
Browse files- supplements/20261107_buv_product_performance_uie/cloud_runner.py +21 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/build_buv_pilot_panel.py +493 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/extract_buv_measurement_uie.py +221 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/extract_preperiod_uie_features.py +223 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/measure_buv_product_performance.py +326 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/measure_buv_product_performance_audit.py +397 -0
- supplements/20261107_buv_product_performance_uie/code/scripts/prepare_preperiod_topics.py +508 -0
- supplements/20261107_buv_product_performance_uie/controller_reader_errors.log +0 -0
- supplements/20261107_buv_product_performance_uie/controller_reader_ready.json +1 -0
- supplements/20261107_buv_product_performance_uie/controller_stream_1.log +15 -0
- supplements/20261107_buv_product_performance_uie/controller_stream_2.log +0 -0
- supplements/20261107_buv_product_performance_uie/input_manifest.json +40 -0
- supplements/20261107_buv_product_performance_uie/inputs/protocol.json +217 -0
- supplements/20261107_buv_product_performance_uie/inputs/registry.json +914 -0
- supplements/20261107_buv_product_performance_uie/inputs/weights.json +1158 -0
- supplements/20261107_buv_product_performance_uie/job.log +30 -0
- supplements/20261107_buv_product_performance_uie/job_exit.json +1 -0
- supplements/20261107_buv_product_performance_uie/job_state.json +1 -0
- supplements/20261107_buv_product_performance_uie/preserve_controller_stream.py +18 -0
- supplements/20261107_buv_product_performance_uie/replay_results/candidate_P.json +282 -0
- supplements/20261107_buv_product_performance_uie/replay_results/replay_receipt.json +12 -0
- supplements/20261107_buv_product_performance_uie/replay_results/summary.json +7 -0
- supplements/20261107_buv_product_performance_uie/replay_results/synthetic_gate.json +1083 -0
- supplements/20261107_buv_product_performance_uie/result_manifest.json +108 -0
- supplements/20261107_buv_product_performance_uie/results/protocol.json +217 -0
- supplements/20261107_buv_product_performance_uie/results/raw_outputs.jsonl +0 -0
- supplements/20261107_buv_product_performance_uie/results/runtime.json +17 -0
supplements/20261107_buv_product_performance_uie/cloud_runner.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
from datetime import datetime,timezone
|
| 3 |
+
import json,subprocess,sys,time,os
|
| 4 |
+
root=Path('/root/autodl-tmp/buv_product_performance_20261107')
|
| 5 |
+
limit=int(sys.argv[1])
|
| 6 |
+
python='/root/autodl-tmp/buv_joint_attribute_20261029/uie_env/bin/python'
|
| 7 |
+
cmd=['/usr/bin/timeout','--signal=TERM','--kill-after=30s',str(limit),python,str(root/'code/scripts/measure_buv_product_performance.py'),'--protocol',str(root/'inputs/protocol.json'),'--reviews',str(root/'inputs/reviews.jsonl'),'--registry',str(root/'inputs/registry.json'),'--weights',str(root/'inputs/weights.json'),'--model-dir','/root/autodl-tmp/buv_joint_attribute_20261029/uie_model','--out',str(root/'results')]
|
| 8 |
+
env=dict(os.environ,PYTHONUNBUFFERED='1',TOKENIZERS_PARALLELISM='false')
|
| 9 |
+
started=time.time()
|
| 10 |
+
with (root/'job.log').open('x') as log:
|
| 11 |
+
p=subprocess.Popen(cmd,stdout=subprocess.PIPE,stderr=subprocess.STDOUT,text=True,env=env,cwd=root)
|
| 12 |
+
receipt={'status':'RUNNING','timeout_pid':p.pid,'started_at_utc':datetime.now(timezone.utc).isoformat(),'timeout_seconds':limit}
|
| 13 |
+
(root/'job_state.json').write_text(json.dumps(receipt))
|
| 14 |
+
print(json.dumps(receipt),flush=True)
|
| 15 |
+
for line in p.stdout:
|
| 16 |
+
log.write(line);log.flush();print(line,end='',flush=True)
|
| 17 |
+
rc=p.wait()
|
| 18 |
+
receipt.update(status='EXITED',exit_code=rc,elapsed_seconds=time.time()-started,finished_at_utc=datetime.now(timezone.utc).isoformat())
|
| 19 |
+
(root/'job_exit.json').write_text(json.dumps(receipt))
|
| 20 |
+
print(json.dumps(receipt),flush=True)
|
| 21 |
+
sys.exit(rc)
|
supplements/20261107_buv_product_performance_uie/code/scripts/build_buv_pilot_panel.py
ADDED
|
@@ -0,0 +1,493 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Join fixed BUV evidence offline without fitting attributes or outcomes.
|
| 2 |
+
|
| 3 |
+
Keep native video identity, provider attribution, date and metric missingness
|
| 4 |
+
separate. Comment counts cover only the audited source subset at their frozen
|
| 5 |
+
cutoff; live production state and raw comments are deliberately not read here.
|
| 6 |
+
The original ten-video snapshot remains available for historical replay.
|
| 7 |
+
"""
|
| 8 |
+
|
| 9 |
+
import argparse
|
| 10 |
+
from collections import Counter
|
| 11 |
+
from datetime import datetime, time, timedelta
|
| 12 |
+
import hashlib
|
| 13 |
+
import json
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
import re
|
| 16 |
+
from zoneinfo import ZoneInfo
|
| 17 |
+
|
| 18 |
+
|
| 19 |
+
TZ = ZoneInfo("Asia/Shanghai")
|
| 20 |
+
DATES = [f"2026-09-{day:02d}" for day in range(1, 31)]
|
| 21 |
+
PRODUCT = "3632234840075719990"
|
| 22 |
+
SOURCES = "docs/sources/20261022/"
|
| 23 |
+
B1 = "7676774775554275151"
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
def digest(data):
|
| 27 |
+
return hashlib.sha256(data).hexdigest()
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
def date_map(rows):
|
| 31 |
+
result = {}
|
| 32 |
+
for row in rows:
|
| 33 |
+
date = row["date"]
|
| 34 |
+
if date not in DATES or date in result:
|
| 35 |
+
raise ValueError("Duplicate or outside-window date")
|
| 36 |
+
result[date] = row
|
| 37 |
+
return result
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
def display_band(text):
|
| 41 |
+
"""Retain the provider label; zero has no inferred transaction interval."""
|
| 42 |
+
if text is None:
|
| 43 |
+
return None
|
| 44 |
+
if text == "0":
|
| 45 |
+
return {"display": text, "state": "displayed_zero", "bounds": None}
|
| 46 |
+
match = re.fullmatch(r"(\d+(?:\.\d+)?)(w?)[-~](\d+(?:\.\d+)?)(w?)", text)
|
| 47 |
+
if not match:
|
| 48 |
+
raise ValueError(f"Unknown provider band: {text!r}")
|
| 49 |
+
low = float(match[1]) * (10000 if match[2] else 1)
|
| 50 |
+
high = float(match[3]) * (10000 if match[4] else 1)
|
| 51 |
+
if high < low:
|
| 52 |
+
raise ValueError("Reversed provider band")
|
| 53 |
+
return {"display": text, "state": "estimated_interval", "bounds": [low, high]}
|
| 54 |
+
|
| 55 |
+
|
| 56 |
+
def day_state(published, date):
|
| 57 |
+
start = datetime.combine(datetime.fromisoformat(date).date(), time(), TZ)
|
| 58 |
+
return {
|
| 59 |
+
"published_on_date": start.date() == published.date(),
|
| 60 |
+
"not_yet_published": start.date() < published.date(),
|
| 61 |
+
"full_natural_day_after_publication": start >= published,
|
| 62 |
+
"full_natural_day_after_168h": start >= published + timedelta(hours=168),
|
| 63 |
+
}
|
| 64 |
+
|
| 65 |
+
|
| 66 |
+
def positive_lower(band):
|
| 67 |
+
return band is not None and band["bounds"] is not None and band["bounds"][0] > 0
|
| 68 |
+
|
| 69 |
+
|
| 70 |
+
def trajectory(rows, metric):
|
| 71 |
+
rows = [r for r in rows if r["full_natural_day_after_168h"]
|
| 72 |
+
and r["outcome_state"] == "observed_supplier_display" and r[metric] is not None]
|
| 73 |
+
changes, increases = [], []
|
| 74 |
+
for before, after in zip(rows, rows[1:]):
|
| 75 |
+
if (datetime.fromisoformat(after["date"]) - datetime.fromisoformat(before["date"])).days != 1:
|
| 76 |
+
continue
|
| 77 |
+
a, b = before[metric], after[metric]
|
| 78 |
+
if a["display"] != b["display"]:
|
| 79 |
+
changes.append([before["date"], after["date"]])
|
| 80 |
+
if a["bounds"] is not None and b["bounds"] is not None and b["bounds"][0] > a["bounds"][1]:
|
| 81 |
+
increases.append([before["date"], after["date"], a["display"], b["display"]])
|
| 82 |
+
return {"full_post_168h_observed_days": len(rows),
|
| 83 |
+
"positive_lower_bound_days": sum(positive_lower(r[metric]) for r in rows),
|
| 84 |
+
"adjacent_display_change_count": len(changes),
|
| 85 |
+
"strict_disjoint_adjacent_estimated_increases": increases}
|
| 86 |
+
|
| 87 |
+
|
| 88 |
+
def immutable_reader(repo):
|
| 89 |
+
repo = repo.resolve()
|
| 90 |
+
registry = json.loads((repo / "docs/FILE_PURPOSES.json").read_text())["files"]
|
| 91 |
+
source_receipts = {}
|
| 92 |
+
|
| 93 |
+
def read(path):
|
| 94 |
+
target = (repo / path).resolve()
|
| 95 |
+
if not target.is_relative_to(repo):
|
| 96 |
+
raise ValueError("Source outside repository")
|
| 97 |
+
data = target.read_bytes()
|
| 98 |
+
expected = registry[path].get("immutable_blob_sha")
|
| 99 |
+
blob = hashlib.sha1(f"blob {len(data)}\0".encode() + data).hexdigest()
|
| 100 |
+
if expected is None or blob != expected:
|
| 101 |
+
raise ValueError("Source is not its registered immutable object: " + path)
|
| 102 |
+
source_receipts[path] = {"sha256": digest(data), "git_blob_sha": blob, "bytes": len(data)}
|
| 103 |
+
return json.loads(data)
|
| 104 |
+
|
| 105 |
+
return read, source_receipts
|
| 106 |
+
|
| 107 |
+
|
| 108 |
+
def build_historical_snapshot(repo):
|
| 109 |
+
"""Replay the original 2026-10-22 source set, preserving its old scope."""
|
| 110 |
+
repo = repo.resolve()
|
| 111 |
+
read, source_receipts = immutable_reader(repo)
|
| 112 |
+
older_path = SOURCES + "buv_active_older_feasibility_audit.json"
|
| 113 |
+
new_path = SOURCES + "buv_newcohort_daily_outcome_audit.json"
|
| 114 |
+
content_path = SOURCES + "buv_newcohort_content_precheck_audit.json"
|
| 115 |
+
background_path = SOURCES + "buv_newcohort_background_index_alignment_audit.json"
|
| 116 |
+
comments_path = "docs/sources/20261021/buv_b1_role_sensitivity_audit.json"
|
| 117 |
+
older, new, content, background, comments = [read(p) for p in
|
| 118 |
+
[older_path, new_path, content_path, background_path, comments_path]]
|
| 119 |
+
if content["native_goods_id"] != PRODUCT or comments["video_id"] != B1:
|
| 120 |
+
raise ValueError("Product/comment source identity mismatch")
|
| 121 |
+
|
| 122 |
+
videos, by_video = [], {}
|
| 123 |
+
|
| 124 |
+
def add_video(video, rows):
|
| 125 |
+
native_id = video["video_id"]
|
| 126 |
+
if native_id in by_video:
|
| 127 |
+
raise ValueError("Video would be counted twice")
|
| 128 |
+
by_video[native_id] = date_map(rows)
|
| 129 |
+
videos.append(video)
|
| 130 |
+
|
| 131 |
+
for s in older["samples"]:
|
| 132 |
+
add_video({"video_id": s["native_video_id"], "cohort": "active_older_purposive",
|
| 133 |
+
"sample_aliases": [s["sample_id"]] + (["B1"] if s["native_video_id"] == B1 else []),
|
| 134 |
+
"published_at_beijing": s["published_at_china"],
|
| 135 |
+
"outcome_source": older_path, "content_source": older_path,
|
| 136 |
+
"content_status": "whole_timeline_frames_and_asr_descriptive_review",
|
| 137 |
+
"formal_supply_attributes": None,
|
| 138 |
+
"missing_outcome_explanation": (s["daily_outcome"].get("inconsistency")),
|
| 139 |
+
"selection_limit": "Selected using study-month sales; not representative or independent of outcomes."},
|
| 140 |
+
[{"date": r["date"], "units": r["units"], "gmv": r["gmv"], "gpm": r["gpm"]}
|
| 141 |
+
for r in s["daily_outcome"]["rows"]])
|
| 142 |
+
|
| 143 |
+
contents = {s["native_video_id"]: s for s in content["videos"]}
|
| 144 |
+
for s in new["samples"]:
|
| 145 |
+
if s["bound_product_native_id"] != PRODUCT:
|
| 146 |
+
raise ValueError("Outcome belongs to another product")
|
| 147 |
+
c = contents[s["native_video_id"]]
|
| 148 |
+
available = c["media_status"] == "downloaded_full_decode_passed_all_contact_sheets_visually_inspected"
|
| 149 |
+
add_video({"video_id": s["native_video_id"], "cohort": "new_publication_fixed_pages",
|
| 150 |
+
"sample_aliases": [f"V{s['content_order']}"],
|
| 151 |
+
"published_at_beijing": datetime.fromisoformat(s["published_beijing"]).replace(tzinfo=TZ).isoformat(),
|
| 152 |
+
"outcome_source": new_path, "content_source": content_path,
|
| 153 |
+
"content_status": "whole_timeline_visual_only_audio_unreviewed" if available else "target_media_missing",
|
| 154 |
+
"formal_supply_attributes": None,
|
| 155 |
+
"missing_outcome_explanation": None,
|
| 156 |
+
"selection_limit": "Fixed page-based diagnostic sample; not a product-population probability sample."},
|
| 157 |
+
[{"date": r["date"], "units": r["sales_units_display"], "gmv": r["gmv_display"],
|
| 158 |
+
"gpm": r["gpm_display"]} for r in s["rows"]])
|
| 159 |
+
|
| 160 |
+
search_sources, search_days = [], {}
|
| 161 |
+
for series in background["search"]["series"]:
|
| 162 |
+
path = series["source_audit"]["path"].removeprefix("work/marketing/")
|
| 163 |
+
source = read(path)
|
| 164 |
+
if source_receipts[path]["sha256"] != series["source_audit"]["sha256"]:
|
| 165 |
+
raise ValueError("Search source differs from the fixed alignment audit")
|
| 166 |
+
parent = source
|
| 167 |
+
parts = series["source_pointer"].strip("/").split("/")
|
| 168 |
+
for part in parts[:-1]:
|
| 169 |
+
parent = parent[int(part)] if isinstance(parent, list) else parent[part]
|
| 170 |
+
if (parent["platform"], parent["query"]) != (series["platform"], series["query"]):
|
| 171 |
+
raise ValueError("Search pointer changes keyword identity")
|
| 172 |
+
days = date_map(parent[parts[-1]])
|
| 173 |
+
key = series["platform"] + ":" + series["query"]
|
| 174 |
+
if key in search_days or set(days) != set(DATES):
|
| 175 |
+
raise ValueError("Duplicate or incomplete fixed search series")
|
| 176 |
+
search_days[key] = days
|
| 177 |
+
search_sources.append({"series_id": key, "platform": series["platform"], "query": series["query"],
|
| 178 |
+
"source": path, "source_pointer": series["source_pointer"],
|
| 179 |
+
"scope": "category_qualified_search_interest_not_product_exclusive_or_exogenous_demand",
|
| 180 |
+
"statistics": series["statistics_recomputed"]})
|
| 181 |
+
|
| 182 |
+
daily_comments = date_map(comments["daily"])
|
| 183 |
+
if set(daily_comments) != set(DATES):
|
| 184 |
+
raise ValueError("B1 daily comment audit is incomplete")
|
| 185 |
+
comment_columns = {"all_returned": "all_observed", "excluding_confirmed_author": "excluding_confirmed_source_author",
|
| 186 |
+
"non_author_main_only": "confirmed_non_author_main_only"}
|
| 187 |
+
comment_days = {d: {column: r["variants"][variant]["records"]
|
| 188 |
+
for column, variant in comment_columns.items()} for d, r in daily_comments.items()}
|
| 189 |
+
for column, variant in comment_columns.items():
|
| 190 |
+
if sum(r[column] for r in comment_days.values()) != comments["september"][variant]["records"]:
|
| 191 |
+
raise ValueError("Daily comment counts do not match source totals")
|
| 192 |
+
|
| 193 |
+
calendar = [{"date": d, "search_indices": {k: value[d]["value"] for k, value in search_days.items()},
|
| 194 |
+
"product_all_video_daily_comments": None,
|
| 195 |
+
"product_attribute_attention": None} for d in DATES]
|
| 196 |
+
panel = []
|
| 197 |
+
for video in videos:
|
| 198 |
+
published = datetime.fromisoformat(video["published_at_beijing"])
|
| 199 |
+
for date in DATES:
|
| 200 |
+
source = by_video[video["video_id"]].get(date)
|
| 201 |
+
age = day_state(published, date)
|
| 202 |
+
if source is not None and age["not_yet_published"]:
|
| 203 |
+
raise ValueError("Outcome before video publication")
|
| 204 |
+
state = "observed_supplier_display" if source is not None else (
|
| 205 |
+
"not_yet_published" if age["not_yet_published"] else "not_obtained")
|
| 206 |
+
panel.append({"video_id": video["video_id"], "date": date,
|
| 207 |
+
"outcome_state": state, **age,
|
| 208 |
+
**{k: display_band(source[k]) if source is not None else None for k in ["units", "gmv", "gpm"]},
|
| 209 |
+
"video_comment_counts": comment_days[date] if video["video_id"] == B1 else None,
|
| 210 |
+
"independent_daily_views": None, "daily_purchase_conversion": None})
|
| 211 |
+
|
| 212 |
+
per_video = []
|
| 213 |
+
for video in videos:
|
| 214 |
+
rows = [r for r in panel if r["video_id"] == video["video_id"]]
|
| 215 |
+
per_video.append({"video_id": video["video_id"], "cohort": video["cohort"],
|
| 216 |
+
"sample_aliases": video["sample_aliases"],
|
| 217 |
+
"outcome_states": dict(Counter(r["outcome_state"] for r in rows)),
|
| 218 |
+
"units_display_states": dict(Counter(r["units"]["state"] for r in rows if r["units"] is not None)),
|
| 219 |
+
"units_post_week": trajectory(rows, "units"), "gmv_post_week": trajectory(rows, "gmv"),
|
| 220 |
+
"positive_gmv_lower_and_display_zero_gpm_dates": [r["date"] for r in rows
|
| 221 |
+
if positive_lower(r["gmv"]) and r["gpm"]["state"] == "displayed_zero"]})
|
| 222 |
+
|
| 223 |
+
for path, receipt in source_receipts.items():
|
| 224 |
+
if digest((repo / path).read_bytes()) != receipt["sha256"]:
|
| 225 |
+
raise ValueError("Input changed during join")
|
| 226 |
+
return {"schema": "buv_existing_evidence_calendar_join_v1", "audit_date": "2026-10-22",
|
| 227 |
+
"product_id": PRODUCT, "window": {"start": DATES[0], "end_inclusive": DATES[-1], "timezone": "Asia/Shanghai"},
|
| 228 |
+
"purpose": "Existing evidence integration, missingness and within-series variation; not a new formal sample or regression.",
|
| 229 |
+
"source_receipts": source_receipts,
|
| 230 |
+
"generator": {"path": "scripts/build_buv_pilot_panel.py", "sha256": digest(Path(__file__).read_bytes())},
|
| 231 |
+
"videos": videos, "search_series": search_sources, "calendar": calendar, "video_days": panel,
|
| 232 |
+
"historical_comment_background": {"source": background_path,
|
| 233 |
+
"coverage": background["historical_comment_background"]["recomputed_coverage"],
|
| 234 |
+
"formal_attribute_weights": None, "august_covered": False,
|
| 235 |
+
"note": "Reuses the immutable coverage audit; this join does not re-read raw comments or infer attributes."},
|
| 236 |
+
"b1_comment_diagnostic": {"source": comments_path, "scope": "single_video_currently_visible_comments",
|
| 237 |
+
"totals": {k: sum(r[k] for r in comment_days.values()) for k in comment_columns},
|
| 238 |
+
"not_confirmed_consumers": True, "historical_completeness_proven": False},
|
| 239 |
+
"summary": {"unique_videos": len(videos), "calendar_video_days": len(panel),
|
| 240 |
+
"cohort_video_counts": dict(Counter(v["cohort"] for v in videos)),
|
| 241 |
+
"outcome_states": dict(Counter(r["outcome_state"] for r in panel)),
|
| 242 |
+
"observed_full_natural_video_days": sum(r["full_natural_day_after_publication"] and r["outcome_state"] == "observed_supplier_display" for r in panel),
|
| 243 |
+
"unique_search_series": len(search_sources), "unique_search_word_days": sum(len(v) for v in search_days.values()),
|
| 244 |
+
"shared_search_calendar_days": len(calendar), "b1_comment_calendar_days": len(comment_days),
|
| 245 |
+
"formal_supply_attribute_vectors": 0, "formal_daily_attribute_demand_vectors": 0,
|
| 246 |
+
"per_video": per_video},
|
| 247 |
+
"interpretation_limits": [
|
| 248 |
+
"The 10 diagnostic videos retain different selection mechanisms; this is neither a random sample nor a product census.",
|
| 249 |
+
"H2 and historical B1 are one video and one outcome trajectory, not two independent observations.",
|
| 250 |
+
"The same 30 search dates are shared by every video; replication across rows is not additional demand variation.",
|
| 251 |
+
"Keyword series stay separate; no cross-keyword share, cross-platform pooling, attribute whitelist or formal weight is inferred.",
|
| 252 |
+
"Displayed zero, zero-containing estimate, unavailable result and prepublication day remain distinct. No band midpoint or imputation.",
|
| 253 |
+
"Independent views, purchase conversion and daily paid traffic remain unavailable. GPM is not inverted.",
|
| 254 |
+
"Only B1 has linked comment counts here; these are not product-wide daily comments, attribute classifications or exogenous demand.",
|
| 255 |
+
"Whole-timeline visual descriptions and ASR are not formal attribute codes or independent human audiovisual validation.",
|
| 256 |
+
"Displayed bands changing or strictly separating only describes supplier estimates, not true orders or an attention-caused effect.",
|
| 257 |
+
"Joining displayed calendar dates does not establish identical provider attribution or intraday aggregation contracts."],
|
| 258 |
+
"new_platform_requests": 0, "new_comment_jobs": 0, "full_collection_started": False,
|
| 259 |
+
"formal_matching_or_regression_run": False}
|
| 260 |
+
|
| 261 |
+
|
| 262 |
+
def unique_provider_days(rows):
|
| 263 |
+
"""Provider/scope are part of identity; they must never overwrite each other."""
|
| 264 |
+
keys = [(r['video_id'], r['provider'], r['attribution_scope'], r['date']) for r in rows]
|
| 265 |
+
if len(keys) != len(set(keys)):
|
| 266 |
+
raise ValueError('Duplicate provider/video/scope/date observation')
|
| 267 |
+
return keys
|
| 268 |
+
|
| 269 |
+
|
| 270 |
+
def scoped_comment_calendar(audit):
|
| 271 |
+
"""Expand known capture zeros, leaving the uncaptured population unknown."""
|
| 272 |
+
if (audit['product']['native_product_id'] != PRODUCT
|
| 273 |
+
or audit['product']['product_id'] != 'RS04_mDI96101'):
|
| 274 |
+
raise ValueError('Comment source product identity mismatch')
|
| 275 |
+
q = audit['quality_and_time_coverage']
|
| 276 |
+
sources = q['new_video_summaries'] + q['legacy_video_summaries']
|
| 277 |
+
sources = [s for s in sources if s['eligible_in_september_frame']]
|
| 278 |
+
if len(sources) != q['current_september_eligible_runs'] or len({s['video_id'] for s in sources}) != len(sources):
|
| 279 |
+
raise ValueError('Comment capture membership is not unique or complete')
|
| 280 |
+
by_video = {}
|
| 281 |
+
for s in sources:
|
| 282 |
+
daily = date_map([{'date': d, 'count': n} for d, n in s['september_daily_rows'].items()])
|
| 283 |
+
authors = date_map([{'date': d, 'count': n} for d, n in s['september_author_daily_rows'].items()])
|
| 284 |
+
days = {}
|
| 285 |
+
for d in DATES:
|
| 286 |
+
count, author = daily.get(d, {}).get('count', 0), authors.get(d, {}).get('count', 0)
|
| 287 |
+
if type(count) is not int or type(author) is not int or not 0 <= author <= count:
|
| 288 |
+
raise ValueError('Invalid comment role count')
|
| 289 |
+
days[d] = {'all_returned': count, 'excluding_confirmed_source_author': count - author}
|
| 290 |
+
if sum(r['all_returned'] for r in days.values()) != s['september_rows'].get('all', 0):
|
| 291 |
+
raise ValueError('Video comment calendar differs from capture total')
|
| 292 |
+
if sum(r['excluding_confirmed_source_author'] for r in days.values()) != s['september_rows'].get('not_source_author', 0):
|
| 293 |
+
raise ValueError('Video comment role calendar differs from capture total')
|
| 294 |
+
by_video[s['video_id']] = {'video_id': s['video_id'], 'pass_1_source_sha256': s['pass_1_source_sha256'],
|
| 295 |
+
'coverage': 'current_visible_complete_capture_in_fixed_september_source_frame', 'days': days}
|
| 296 |
+
calendar = {d: {k: sum(v['days'][d][k] for v in by_video.values())
|
| 297 |
+
for k in ('all_returned', 'excluding_confirmed_source_author')} for d in DATES}
|
| 298 |
+
for d, row in calendar.items():
|
| 299 |
+
if (row['all_returned'] != q['current_september_daily_rows'].get(d, 0)
|
| 300 |
+
or row['excluding_confirmed_source_author'] != q['current_september_non_source_author_daily_rows'].get(d, 0)):
|
| 301 |
+
raise ValueError('Captured-source calendar differs from fixed aggregate')
|
| 302 |
+
return by_video, calendar
|
| 303 |
+
|
| 304 |
+
|
| 305 |
+
def apply_fixed_audio_evidence(videos, audit, source):
|
| 306 |
+
"""Attach processing status without treating a machine transcript as supply."""
|
| 307 |
+
positions = audit['positions']
|
| 308 |
+
expected = {v['video_id'] for v in videos.values() if v['cohort'] == 'new_publication_fixed_pages'}
|
| 309 |
+
if (audit['product_id'] != PRODUCT or len(positions) != len(expected)
|
| 310 |
+
or {p['video_id'] for p in positions} != expected):
|
| 311 |
+
raise ValueError('Audio fixed cohort identity mismatch')
|
| 312 |
+
if (audit['human_continuous_listening'] is not False
|
| 313 |
+
or audit['transcript_semantic_validity'] != 'unverified'
|
| 314 |
+
or audit['formal_supply_attributes'] is not None):
|
| 315 |
+
raise ValueError('Audio audit exceeds its unverified processing scope')
|
| 316 |
+
counts = Counter(p['audio_status'] for p in positions)
|
| 317 |
+
if (counts['full_audio_machine_asr_unverified'] != audit['counts']['processed_positions']
|
| 318 |
+
or counts['target_media_missing'] != audit['counts']['missing_positions']
|
| 319 |
+
or sum(counts.values()) != sum(counts[s] for s in
|
| 320 |
+
('full_audio_machine_asr_unverified', 'target_media_missing'))):
|
| 321 |
+
raise ValueError('Audio processing status mismatch')
|
| 322 |
+
for p in positions:
|
| 323 |
+
video = videos[p['video_id']]
|
| 324 |
+
if video['sample_aliases'] != [f"V{p['content_order']}"]:
|
| 325 |
+
raise ValueError('Audio fixed position mismatch')
|
| 326 |
+
missing = video['content_status'] == 'target_media_missing'
|
| 327 |
+
if missing != (p['audio_status'] == 'target_media_missing'):
|
| 328 |
+
raise ValueError('Audio evidence changes missing target identity')
|
| 329 |
+
video['auxiliary_audio_processing'] = {'source': source, 'status': p['audio_status'],
|
| 330 |
+
'audio_seconds': p.get('audio_seconds'), 'timing_issue_segments': p.get('timing_issue_segments'),
|
| 331 |
+
'transcript_semantic_validity': 'unverified', 'human_continuous_listening': False}
|
| 332 |
+
if not missing:
|
| 333 |
+
video['content_status'] = 'whole_timeline_visual_and_full_audio_machine_asr_unverified'
|
| 334 |
+
video['formal_supply_attributes'] = None
|
| 335 |
+
|
| 336 |
+
|
| 337 |
+
def build(repo):
|
| 338 |
+
"""Join newer fixed evidence; production captures require a later audit."""
|
| 339 |
+
repo = repo.resolve()
|
| 340 |
+
old = build_historical_snapshot(repo)
|
| 341 |
+
read, receipts = immutable_reader(repo)
|
| 342 |
+
followup_path = 'docs/sources/20261023/buv_pool_content_daily_followup_audit.json'
|
| 343 |
+
b1_path = 'docs/sources/20261023/chanmama_python_daily_followup_audit.json'
|
| 344 |
+
h4_path = 'docs/sources/20261023/h4_chanmama_daily_gmv_probe.json'
|
| 345 |
+
comments_path = 'docs/sources/20261024/buv_sales_qualified_bounded_execution_audit.json'
|
| 346 |
+
background_path = 'docs/sources/20261025/buv_rolling_background_validation_audit.json'
|
| 347 |
+
audio_path = 'docs/sources/20261025/buv_fixed_newcohort_audio_audit.json'
|
| 348 |
+
followup, b1_source, h4, comments, background, audio = [read(p) for p in
|
| 349 |
+
(followup_path, b1_path, h4_path, comments_path, background_path, audio_path)]
|
| 350 |
+
b1 = b1_source['b1_september']
|
| 351 |
+
if (followup['product_scope']['native_product_id'] != PRODUCT or b1['video_id'] != B1
|
| 352 |
+
or b1['product_id'] != 'RS04_mDI96101' or h4['source']['product_id'] != b1['product_id']
|
| 353 |
+
or background['scope']['native_product_id'] != PRODUCT):
|
| 354 |
+
raise ValueError('Fixed followup product identity mismatch')
|
| 355 |
+
|
| 356 |
+
videos = {v['video_id']: v for v in old['videos']}
|
| 357 |
+
apply_fixed_audio_evidence(videos, audio, audio_path)
|
| 358 |
+
provider_rows = [{**r, 'provider': 'feigua',
|
| 359 |
+
'attribution_scope': 'video_diagnostic_supplier_estimate_not_cross_provider_equivalent',
|
| 360 |
+
'source': videos[r['video_id']]['outcome_source'],
|
| 361 |
+
'metric_states': {m: 'observed_supplier_display' if r[m] is not None else (
|
| 362 |
+
'not_provided_by_source' if r['outcome_state'] == 'observed_supplier_display' else r['outcome_state'])
|
| 363 |
+
for m in ('units', 'gmv', 'gpm')}} for r in old['video_days']]
|
| 364 |
+
|
| 365 |
+
def add_chanmama(video_id, published, rows, source):
|
| 366 |
+
if video_id not in videos:
|
| 367 |
+
raise ValueError('Outcome has no matching native video identity')
|
| 368 |
+
published = datetime.fromisoformat(published).astimezone(TZ)
|
| 369 |
+
if published.date() != datetime.fromisoformat(videos[video_id]['published_at_beijing']).date():
|
| 370 |
+
raise ValueError('Publication day differs across providers')
|
| 371 |
+
dates = date_map(rows)
|
| 372 |
+
if set(dates) != set(DATES):
|
| 373 |
+
raise ValueError('Followup provider calendar is incomplete')
|
| 374 |
+
for d in DATES:
|
| 375 |
+
row = dates[d]; age = day_state(published, d)
|
| 376 |
+
if age['not_yet_published']:
|
| 377 |
+
raise ValueError('Followup outcome precedes publication')
|
| 378 |
+
provider_rows.append({'video_id': video_id, 'provider': 'chanmama',
|
| 379 |
+
'attribution_scope': 'specified_product_in_video_supplier_estimate',
|
| 380 |
+
'source': source, 'date': d, 'outcome_state': 'observed_supplier_display', **age,
|
| 381 |
+
'provider_published_at_beijing': published.isoformat(),
|
| 382 |
+
**{m: display_band(row.get(m)) for m in ('units', 'gmv', 'gpm')},
|
| 383 |
+
'metric_states': {m: 'observed_supplier_display' if row.get(m) is not None
|
| 384 |
+
else 'not_provided_by_source' for m in ('units', 'gmv', 'gpm')},
|
| 385 |
+
'reported_play_counters_unverified': row.get('reported_play_counters_unverified'),
|
| 386 |
+
'independent_daily_views': None, 'daily_purchase_conversion': None,
|
| 387 |
+
'daily_paid_traffic': None})
|
| 388 |
+
|
| 389 |
+
for s in followup['rows']:
|
| 390 |
+
video_id = s['video_id']
|
| 391 |
+
if video_id in videos:
|
| 392 |
+
raise ValueError('Followup native video duplicates the original cohort')
|
| 393 |
+
videos[video_id] = {'video_id': video_id, 'sample_aliases': [s['sample_id']],
|
| 394 |
+
'cohort': 'fixed_product_pool_followup_positions', 'published_at_beijing': s['published'],
|
| 395 |
+
'content_source': followup_path, 'content_status': 'whole_timeline_frames_and_auxiliary_asr',
|
| 396 |
+
'human_continuous_review': s['media']['human_continuous_review'],
|
| 397 |
+
'formal_supply_attributes': None,
|
| 398 |
+
'selection_limit': 'Diagnostic positions in a sales-qualified product pool; no population representativeness.'}
|
| 399 |
+
add_chanmama(video_id, s['published'],
|
| 400 |
+
[{'date': r['date'], 'units': r['units_display'], 'gmv': r['gmv_display']}
|
| 401 |
+
for r in s['daily']['values']], followup_path)
|
| 402 |
+
add_chanmama(B1, b1['published_at_china'],
|
| 403 |
+
[{'date': r['date'], 'units': r['units'], 'gmv': r['gmv'],
|
| 404 |
+
'reported_play_counters_unverified': {k: v for k, v in r.items()
|
| 405 |
+
if k.startswith('basic_play_count_') or k.startswith('play_chart_')}}
|
| 406 |
+
for r in b1['daily_rows']], b1_path)
|
| 407 |
+
h4_id = h4['source']['native_video_id']
|
| 408 |
+
if h4_id not in videos or 'H4' not in videos[h4_id]['sample_aliases']:
|
| 409 |
+
raise ValueError('H4 followup identity mismatch')
|
| 410 |
+
add_chanmama(h4_id, datetime.fromisoformat(h4['source']['published_at_china']).replace(tzinfo=TZ).isoformat(),
|
| 411 |
+
[{'date': r['date'], 'gmv': r['gmv']} for r in h4['daily_rows']], h4_path)
|
| 412 |
+
unique_provider_days(provider_rows)
|
| 413 |
+
|
| 414 |
+
comment_sources, comment_days = scoped_comment_calendar(comments)
|
| 415 |
+
for row in provider_rows:
|
| 416 |
+
row['video_comment_counts'] = (comment_sources[row['video_id']]['days'][row['date']]
|
| 417 |
+
if row['video_id'] in comment_sources else None)
|
| 418 |
+
row['daily_paid_traffic'] = None
|
| 419 |
+
calendar = [{**day, 'captured_september_source_comment_counts': comment_days[day['date']],
|
| 420 |
+
'comment_population_complete': False} for day in old['calendar']]
|
| 421 |
+
groups = sorted({(r['video_id'], r['provider']) for r in provider_rows})
|
| 422 |
+
per_series = []
|
| 423 |
+
for video_id, provider in groups:
|
| 424 |
+
rows = [r for r in provider_rows if r['video_id'] == video_id and r['provider'] == provider]
|
| 425 |
+
per_series.append({'video_id': video_id, 'provider': provider,
|
| 426 |
+
'outcome_states': dict(Counter(r['outcome_state'] for r in rows)),
|
| 427 |
+
'metric_states': {m: dict(Counter(r['metric_states'][m] for r in rows)) for m in ('units', 'gmv', 'gpm')},
|
| 428 |
+
'units_post_week': trajectory(rows, 'units'), 'gmv_post_week': trajectory(rows, 'gmv')})
|
| 429 |
+
receipts = old['source_receipts'] | receipts
|
| 430 |
+
for path, receipt in receipts.items():
|
| 431 |
+
if digest((repo / path).read_bytes()) != receipt['sha256']:
|
| 432 |
+
raise ValueError('Input changed during join')
|
| 433 |
+
return {'schema': 'buv_fixed_evidence_provider_calendar_join_v3', 'audit_date': '2026-10-25',
|
| 434 |
+
'product_id': PRODUCT, 'window': old['window'], 'source_receipts': receipts,
|
| 435 |
+
'generator': {'path': 'scripts/build_buv_pilot_panel.py', 'sha256': digest(Path(__file__).read_bytes())},
|
| 436 |
+
'purpose': 'Fixed-source alignment and coverage audit; not a formal sample, attention measure or regression.',
|
| 437 |
+
'videos': list(videos.values()), 'provider_video_days': provider_rows,
|
| 438 |
+
'search_series': old['search_series'], 'calendar': calendar,
|
| 439 |
+
'comment_sources': list(comment_sources.values()),
|
| 440 |
+
'comment_cutoff': {'source': comments_path,
|
| 441 |
+
'source_frame_videos': comments['september_directory']['unique_native_video_ids'],
|
| 442 |
+
'captured_source_videos': len(comment_sources), 'live_production_included': False,
|
| 443 |
+
'scope': 'Only the immutable bounded-execution audit; subsequent production captures are not silently added.',
|
| 444 |
+
'totals': {k: sum(v[k] for v in comment_days.values())
|
| 445 |
+
for k in ('all_returned', 'excluding_confirmed_source_author')},
|
| 446 |
+
'not_confirmed_consumers': True, 'historical_completeness_proven': False},
|
| 447 |
+
'background_cutoff': {'source': background_path, 'selected_sources': 200,
|
| 448 |
+
'new_complete_captures_in_this_audit': background['live_validation']['completed_captures'],
|
| 449 |
+
'new_unavailable_sources_in_this_audit': background['live_validation']['confirmed_unavailable_sources'],
|
| 450 |
+
'new_returned_background_rows': background['live_validation']['background_rows'],
|
| 451 |
+
'new_comment_month_counts': background['live_validation']['background_comment_month_counts'],
|
| 452 |
+
'formal_attribute_weights': None, 'live_production_included': False},
|
| 453 |
+
'summary': {'unique_videos': len(videos), 'unique_provider_video_series': len(groups),
|
| 454 |
+
'provider_video_calendar_days': len(provider_rows),
|
| 455 |
+
'provider_video_day_outcome_states': dict(Counter(r['outcome_state'] for r in provider_rows)),
|
| 456 |
+
'provider_video_day_counts': dict(Counter(r['provider'] for r in provider_rows)),
|
| 457 |
+
'unique_search_series': len(old['search_series']), 'unique_search_word_days': old['summary']['unique_search_word_days'],
|
| 458 |
+
'shared_search_calendar_days': len(calendar), 'captured_september_source_videos': len(comment_sources),
|
| 459 |
+
'outcome_videos_with_eligible_comment_captures': len(set(videos) & set(comment_sources)),
|
| 460 |
+
'formal_supply_attribute_vectors': 0, 'formal_daily_attribute_demand_vectors': 0,
|
| 461 |
+
'fixed_newcohort_auxiliary_audio': {'fixed_positions': audio['counts']['fixed_positions'],
|
| 462 |
+
'processed_positions': audio['counts']['processed_positions'],
|
| 463 |
+
'missing_positions': audio['counts']['missing_positions'],
|
| 464 |
+
'semantically_validated_transcripts': 0},
|
| 465 |
+
'per_provider_video_series': per_series},
|
| 466 |
+
'interpretation_limits': [
|
| 467 |
+
'Providers and attribution scopes stay separate; H4 ChanMama GMV does not fill missing Feigua units or GMV.',
|
| 468 |
+
'Reported play counters are unverified supplier fields, not independent daily exposure or purchase conversion.',
|
| 469 |
+
'Raw band labels and displayed zero are retained; no midpoint, zero imputation or GPM inversion.',
|
| 470 |
+
'Comment zeros apply only to complete captured sources at the fixed audit cutoff; uncaptured product-source dates stay unknown.',
|
| 471 |
+
'The 17 captured September sources and six new background captures do not cover their 4521/200 source populations.',
|
| 472 |
+
'Search observations remain 240 unique word-days on one 30-day calendar; provider-video expansion adds no independent demand dates.',
|
| 473 |
+
'Five fixed new-cohort audio files were processed by ASR, with three timing anomalies; human listening and transcript semantics remain unverified. Formal supply and attention vectors are null.',
|
| 474 |
+
'No keyword pooling, attribute whitelist, weights, matching, regression or causal mechanism is inferred.',
|
| 475 |
+
'The historical ten-video artifact and all source objects remain immutable; this join does not read in-flight production state.'],
|
| 476 |
+
'new_platform_requests': 0, 'new_comment_jobs': 0, 'reads_live_production_state': False,
|
| 477 |
+
'formal_matching_or_regression_run': False}
|
| 478 |
+
|
| 479 |
+
|
| 480 |
+
def main():
|
| 481 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 482 |
+
parser.add_argument("--repo", type=Path, default=Path(__file__).resolve().parents[1])
|
| 483 |
+
parser.add_argument("--out", type=Path, required=True)
|
| 484 |
+
parser.add_argument('--historical-20261022', action='store_true', help='Replay only the old ten-video source set.')
|
| 485 |
+
args = parser.parse_args()
|
| 486 |
+
result = build_historical_snapshot(args.repo) if args.historical_20261022 else build(args.repo)
|
| 487 |
+
args.out.parent.mkdir(parents=True, exist_ok=True)
|
| 488 |
+
args.out.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
|
| 489 |
+
print(json.dumps(result["summary"], ensure_ascii=False))
|
| 490 |
+
|
| 491 |
+
|
| 492 |
+
if __name__ == "__main__":
|
| 493 |
+
main()
|
supplements/20261107_buv_product_performance_uie/code/scripts/extract_buv_measurement_uie.py
ADDED
|
@@ -0,0 +1,221 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Local frozen UIE inference for an explicit measurement corpus, with exact reuse.
|
| 2 |
+
|
| 3 |
+
This is text inference, not a platform collector. It never makes a formal topic
|
| 4 |
+
decision. A resumable cache contains each exact input once; all original record
|
| 5 |
+
identities remain in a separate mapping. No browser/session/account is accessed.
|
| 6 |
+
"""
|
| 7 |
+
from __future__ import annotations
|
| 8 |
+
import argparse
|
| 9 |
+
from datetime import datetime, timezone
|
| 10 |
+
import importlib.metadata
|
| 11 |
+
import json
|
| 12 |
+
import os
|
| 13 |
+
from pathlib import Path
|
| 14 |
+
import sys
|
| 15 |
+
import time
|
| 16 |
+
|
| 17 |
+
from extract_preperiod_uie_features import MODEL_FILES, SCHEMA, CONFIG, relation_evidence
|
| 18 |
+
from prepare_preperiod_topics import digest, write_json, write_rows
|
| 19 |
+
|
| 20 |
+
|
| 21 |
+
def read_rows(path):
|
| 22 |
+
return [json.loads(line) for line in path.read_text().splitlines() if line.strip()]
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
def inputs_and_mapping(rows):
|
| 26 |
+
docs, mapping, seen = {}, [], set()
|
| 27 |
+
for row in rows:
|
| 28 |
+
key = (row['video_id'], row['record_id'])
|
| 29 |
+
if key in seen:
|
| 30 |
+
raise ValueError('Duplicate source/comment identity')
|
| 31 |
+
seen.add(key)
|
| 32 |
+
text = row['raw_text']
|
| 33 |
+
if not isinstance(text, str):
|
| 34 |
+
raise ValueError('Missing text is not an empty body')
|
| 35 |
+
h = digest(text.encode()) if text.strip() else None
|
| 36 |
+
if h:
|
| 37 |
+
if h in docs and docs[h] != text:
|
| 38 |
+
raise ValueError('Exact input hash collision')
|
| 39 |
+
docs[h] = text
|
| 40 |
+
mapping.append({'video_id': key[0], 'record_id': key[1], 'input_key': h,
|
| 41 |
+
'state': 'not_inferred_empty' if h is None else 'model_input'})
|
| 42 |
+
return docs, mapping
|
| 43 |
+
|
| 44 |
+
|
| 45 |
+
def span_signature(raw):
|
| 46 |
+
return sorted((a['text'], a['start'], a['end'],
|
| 47 |
+
tuple(sorted((o['text'], o['start'], o['end'])
|
| 48 |
+
for o in a.get('relations', {}).get('观点词', []))))
|
| 49 |
+
for a in raw.get('评价维度', []))
|
| 50 |
+
|
| 51 |
+
|
| 52 |
+
def inference_record(key, text, raw, origin='local_frozen_model'):
|
| 53 |
+
"""Keep invalid predictions as evidence; never repair offsets or promote them.
|
| 54 |
+
|
| 55 |
+
Aspect eligibility is checked again by the downstream rule mapper. Invalid
|
| 56 |
+
opinion offsets do not invalidate an independently valid aspect span.
|
| 57 |
+
"""
|
| 58 |
+
events = relation_evidence(text, raw)
|
| 59 |
+
invalid_aspects = sum(not e['aspect_validation']['source_span_valid'] for e in events)
|
| 60 |
+
invalid_opinions = sum(not o['source_span_valid'] for e in events for o in e['opinion_validations'])
|
| 61 |
+
return {'input_key': key, 'text': text, 'raw_model_output': raw, 'events': events,
|
| 62 |
+
'invalid_aspect_spans': invalid_aspects, 'invalid_opinion_spans': invalid_opinions,
|
| 63 |
+
'coordinate_status': 'contains_invalid_predictions' if invalid_aspects or invalid_opinions else 'valid_returned_offsets',
|
| 64 |
+
'semantic_validity': 'unverified', 'formal_attribute_decision': None,
|
| 65 |
+
'inference_origin': origin}
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
def load_local_model(model_dir, config, *, schema=None, aspects=None):
|
| 69 |
+
import numpy as np
|
| 70 |
+
import paddle
|
| 71 |
+
from paddlenlp import Taskflow
|
| 72 |
+
from paddlenlp.taskflow.task import Task
|
| 73 |
+
paddle.set_device('cpu'); paddle.disable_static(); paddle.seed(2026); np.random.seed(2026)
|
| 74 |
+
|
| 75 |
+
class DynamicPredictor:
|
| 76 |
+
def __init__(self, model):
|
| 77 |
+
self.model = model
|
| 78 |
+
|
| 79 |
+
def run(self, unused, inputs):
|
| 80 |
+
tensors = {k: paddle.to_tensor(v) for k, v in inputs.items()}
|
| 81 |
+
tensors['position_ids'] = tensors.pop('pos_ids')
|
| 82 |
+
tensors['attention_mask'] = tensors.pop('att_mask')
|
| 83 |
+
with paddle.no_grad():
|
| 84 |
+
start, end = self.model(**tensors)
|
| 85 |
+
return start.numpy(), end.numpy()
|
| 86 |
+
|
| 87 |
+
def local_dynamic(task):
|
| 88 |
+
task._predictor_type = 'local-dynamic'
|
| 89 |
+
task._construct_model(task.model)
|
| 90 |
+
task.predictor = DynamicPredictor(task._model)
|
| 91 |
+
|
| 92 |
+
original = Task._get_inference_model
|
| 93 |
+
Task._get_inference_model = local_dynamic
|
| 94 |
+
try:
|
| 95 |
+
return Taskflow('sentiment_analysis', model='uie-senta-base',
|
| 96 |
+
schema=SCHEMA if schema is None else schema,
|
| 97 |
+
aspects=aspects, task_path=str(model_dir), device_id=-1, **config)
|
| 98 |
+
finally:
|
| 99 |
+
Task._get_inference_model = original
|
| 100 |
+
|
| 101 |
+
|
| 102 |
+
def run(args):
|
| 103 |
+
out = args.out.resolve()
|
| 104 |
+
repo = Path(__file__).resolve().parents[1]
|
| 105 |
+
if out == repo or repo in out.parents:
|
| 106 |
+
raise ValueError('Raw model text must stay outside Git')
|
| 107 |
+
rows = read_rows(args.corpus)
|
| 108 |
+
documents, mapping = inputs_and_mapping(rows)
|
| 109 |
+
for name, h in MODEL_FILES.items():
|
| 110 |
+
if digest((args.model_dir / name).read_bytes()) != h:
|
| 111 |
+
raise ValueError('Frozen UIE model changed: ' + name)
|
| 112 |
+
for key in ['OMP_NUM_THREADS', 'MKL_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'VECLIB_MAXIMUM_THREADS']:
|
| 113 |
+
os.environ[key] = str(args.threads)
|
| 114 |
+
os.environ['HF_HUB_OFFLINE'] = '1'; os.environ['TRANSFORMERS_OFFLINE'] = '1'
|
| 115 |
+
attempts = []
|
| 116 |
+
|
| 117 |
+
def no_network(event, values):
|
| 118 |
+
if event == 'socket.connect' and getattr(values[0], 'family', None) in (2, 30, 10):
|
| 119 |
+
attempts.append('blocked_internet_socket_connect')
|
| 120 |
+
raise RuntimeError('Frozen local inference: internet sockets disabled')
|
| 121 |
+
|
| 122 |
+
sys.addaudithook(no_network)
|
| 123 |
+
config = dict(CONFIG, batch_size=args.batch_size)
|
| 124 |
+
contract = {'schema': 'buv-measurement-uie-v2', 'corpus_sha256': digest(args.corpus.read_bytes()),
|
| 125 |
+
'script_sha256': digest(Path(__file__).read_bytes()), 'model_files_sha256': MODEL_FILES,
|
| 126 |
+
'schema_request': SCHEMA, 'decoder_config': config, 'cpu_threads': args.threads,
|
| 127 |
+
'original_records': len(rows), 'unique_nonempty_exact_inputs': len(documents),
|
| 128 |
+
'reuse_sha256': digest(args.reuse.read_bytes()) if args.reuse else None,
|
| 129 |
+
'invalid_predictions': 'Retain raw output and invalid flags; no coordinate repair; mapper rejects invalid aspect offsets.',
|
| 130 |
+
'formal_attribute_decisions': False, 'network_collection_requests': 0}
|
| 131 |
+
out.mkdir(parents=True, exist_ok=True)
|
| 132 |
+
protocol_file = out / 'protocol.json'
|
| 133 |
+
if protocol_file.exists():
|
| 134 |
+
if json.loads(protocol_file.read_text())['contract'] != contract:
|
| 135 |
+
raise ValueError('Resume contract changed; preserve this run')
|
| 136 |
+
else:
|
| 137 |
+
if any(out.iterdir()):
|
| 138 |
+
raise ValueError('Nonempty output without protocol')
|
| 139 |
+
write_json(protocol_file, {'contract': contract, 'started_at': datetime.now(timezone.utc).isoformat(),
|
| 140 |
+
'versions': {n: importlib.metadata.version(n) for n in ['paddlepaddle', 'paddlenlp', 'numpy']}})
|
| 141 |
+
write_rows(out / 'record_mapping.jsonl', mapping)
|
| 142 |
+
path = out / 'model_outputs.jsonl'
|
| 143 |
+
completed = {}
|
| 144 |
+
if path.exists():
|
| 145 |
+
for row in read_rows(path):
|
| 146 |
+
key = row['input_key']
|
| 147 |
+
if key in completed or key not in documents or row['text'] != documents[key]:
|
| 148 |
+
raise ValueError('Invalid or duplicate resumed inference')
|
| 149 |
+
completed[key] = row
|
| 150 |
+
if args.reuse and not completed:
|
| 151 |
+
for row in read_rows(args.reuse):
|
| 152 |
+
key = row['input_key']
|
| 153 |
+
if key in documents and row['text'] == documents[key]:
|
| 154 |
+
completed[key] = inference_record(key, row['text'], row['raw_model_output'], 'hash_checked_exact_input_reuse')
|
| 155 |
+
write_rows(path, [completed[k] for k in sorted(completed)])
|
| 156 |
+
todo = sorted((key, text) for key, text in documents.items() if key not in completed)
|
| 157 |
+
if args.limit is not None:
|
| 158 |
+
todo = todo[:args.limit]
|
| 159 |
+
started = time.monotonic()
|
| 160 |
+
model = load_local_model(args.model_dir, config) if todo else None
|
| 161 |
+
print(json.dumps({'phase': 'local_model_ready', 'completed_reused_or_resumed': len(completed),
|
| 162 |
+
'remaining_this_call': len(todo), 'unique_total': len(documents)}), flush=True)
|
| 163 |
+
if args.benchmark:
|
| 164 |
+
sample = todo[:64]
|
| 165 |
+
if args.batch_size != 32:
|
| 166 |
+
raise ValueError('Benchmark contract compares batch8 with batch32')
|
| 167 |
+
# Taskflow call boundaries limit actual batches without modifying the model.
|
| 168 |
+
results = {}
|
| 169 |
+
for block in [8, 32]:
|
| 170 |
+
begin = time.monotonic(); found = []
|
| 171 |
+
for i in range(0, len(sample), block):
|
| 172 |
+
found.extend(model([text for _, text in sample[i:i + block]]))
|
| 173 |
+
results[str(block)] = {'seconds': time.monotonic()-begin,
|
| 174 |
+
'signatures': [span_signature(x) for x in found]}
|
| 175 |
+
equal = results['8']['signatures'] == results['32']['signatures']
|
| 176 |
+
write_json(out / 'batch_benchmark.json', {'inputs': len(sample), 'exact_decoded_spans_equal': equal,
|
| 177 |
+
'seconds': {k: v['seconds'] for k, v in results.items()},
|
| 178 |
+
'semantic_accuracy_test': False})
|
| 179 |
+
if not equal:
|
| 180 |
+
raise RuntimeError('Batch equivalence failed; do not promote changed inference')
|
| 181 |
+
with path.open('a') as stream:
|
| 182 |
+
for start in range(0, len(todo), args.batch_size):
|
| 183 |
+
batch = todo[start:start + args.batch_size]
|
| 184 |
+
results = model([text for _, text in batch])
|
| 185 |
+
if len(results) != len(batch):
|
| 186 |
+
raise ValueError('Model result cardinality mismatch')
|
| 187 |
+
for (key, text), raw in zip(batch, results):
|
| 188 |
+
row = inference_record(key, text, raw)
|
| 189 |
+
stream.write(json.dumps(row, ensure_ascii=False) + '\n')
|
| 190 |
+
completed[key] = row
|
| 191 |
+
stream.flush()
|
| 192 |
+
progress = {'status': 'RUNNING', 'completed_unique_inputs': len(completed),
|
| 193 |
+
'total_unique_inputs': len(documents), 'elapsed_seconds': time.monotonic()-started}
|
| 194 |
+
write_json(out / 'progress.json', progress)
|
| 195 |
+
if start % (args.batch_size * 8) == 0:
|
| 196 |
+
print(json.dumps(progress), flush=True)
|
| 197 |
+
for name, h in MODEL_FILES.items():
|
| 198 |
+
if digest((args.model_dir / name).read_bytes()) != h:
|
| 199 |
+
raise ValueError('Original model changed during inference')
|
| 200 |
+
progress = {'status': 'COMPLETE' if len(completed)==len(documents) else 'BOUNDED_PARTIAL',
|
| 201 |
+
'completed_unique_inputs': len(completed), 'total_unique_inputs': len(documents),
|
| 202 |
+
'elapsed_seconds_this_call': time.monotonic()-started,
|
| 203 |
+
'invalid_aspect_spans': sum(r.get('invalid_aspect_spans', 0) for r in completed.values()),
|
| 204 |
+
'invalid_opinion_spans': sum(r.get('invalid_opinion_spans', 0) for r in completed.values()),
|
| 205 |
+
'formal_semantic_validity': 'unverified', 'blocked_socket_attempts': len(attempts),
|
| 206 |
+
'finished_at': datetime.now(timezone.utc).isoformat()}
|
| 207 |
+
write_json(out / 'progress.json', progress)
|
| 208 |
+
print(json.dumps(progress), flush=True)
|
| 209 |
+
|
| 210 |
+
|
| 211 |
+
if __name__ == '__main__':
|
| 212 |
+
p = argparse.ArgumentParser(description=__doc__)
|
| 213 |
+
p.add_argument('--corpus', type=Path, required=True)
|
| 214 |
+
p.add_argument('--model-dir', type=Path, required=True)
|
| 215 |
+
p.add_argument('--out', type=Path, required=True)
|
| 216 |
+
p.add_argument('--reuse', type=Path)
|
| 217 |
+
p.add_argument('--batch-size', type=int, default=32)
|
| 218 |
+
p.add_argument('--threads', type=int, default=2)
|
| 219 |
+
p.add_argument('--limit', type=int)
|
| 220 |
+
p.add_argument('--benchmark', action='store_true')
|
| 221 |
+
run(p.parse_args())
|
supplements/20261107_buv_product_performance_uie/code/scripts/extract_preperiod_uie_features.py
ADDED
|
@@ -0,0 +1,223 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""Frozen local UIE aspect/opinion features; never decides formal attributes.
|
| 2 |
+
|
| 3 |
+
Use exact shared development bodies, retaining every original ID. Identical raw
|
| 4 |
+
inputs may reuse one inference result; no record or vote is removed. An empty
|
| 5 |
+
model result means no span returned at the decoder setting, not no attribute.
|
| 6 |
+
"""
|
| 7 |
+
|
| 8 |
+
import argparse
|
| 9 |
+
from collections import Counter
|
| 10 |
+
from datetime import datetime, timezone
|
| 11 |
+
import importlib.metadata
|
| 12 |
+
import json
|
| 13 |
+
import math
|
| 14 |
+
import os
|
| 15 |
+
from pathlib import Path
|
| 16 |
+
import platform
|
| 17 |
+
import shutil
|
| 18 |
+
import sys
|
| 19 |
+
import time
|
| 20 |
+
|
| 21 |
+
from build_buv_pilot_panel import immutable_reader
|
| 22 |
+
from prepare_preperiod_topics import digest, write_json, write_rows
|
| 23 |
+
|
| 24 |
+
|
| 25 |
+
AUDIT = 'docs/sources/20261025/buv_preperiod_context_feature_audit.json'
|
| 26 |
+
MODEL_FILES = {
|
| 27 |
+
'model_config.json': 'be9c5dd75a3b80cc98340286372886c4639be8e2dc08d963a82c74b5a4eb1630',
|
| 28 |
+
'model_state.pdparams': '580a41aa168bc4732bd938df782efa90fb2009f321c7ab3aa943a5005a97b34a',
|
| 29 |
+
'special_tokens_map.json': '303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3',
|
| 30 |
+
'tokenizer_config.json': '0f0698c70f5c8fc684e45e3704905b2aa3a83864b558ee0af43fb975975101c9',
|
| 31 |
+
'vocab.txt': '8b99e7ded859fe015d33329c4a6d75cfba7784cfe8d82db7551fbf481f262fbb',
|
| 32 |
+
}
|
| 33 |
+
SCHEMA = [{'评价维度': ['观点词']}]
|
| 34 |
+
CONFIG = {'batch_size': 8, 'max_seq_len': 256, 'position_prob': .5,
|
| 35 |
+
'split_sentence': False, 'num_workers': 0, 'use_fast': False}
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def validate_span(text, span):
|
| 39 |
+
reasons = []
|
| 40 |
+
start, end = span.get('start'), span.get('end')
|
| 41 |
+
if not (type(start) is int and type(end) is int and 0 <= start < end <= len(text)):
|
| 42 |
+
reasons.append('invalid_source_offset')
|
| 43 |
+
elif text[start:end] != span.get('text'):
|
| 44 |
+
reasons.append('source_substring_mismatch')
|
| 45 |
+
probability = span.get('probability')
|
| 46 |
+
if (not isinstance(probability, (int, float)) or not math.isfinite(probability)
|
| 47 |
+
or not 0 <= probability <= 1):
|
| 48 |
+
reasons.append('invalid_probability')
|
| 49 |
+
return {'source_span_valid': not reasons, 'reason_codes': reasons,
|
| 50 |
+
'semantic_validity': 'unverified'}
|
| 51 |
+
|
| 52 |
+
|
| 53 |
+
def relation_evidence(text, result):
|
| 54 |
+
aspects = []
|
| 55 |
+
for index, aspect in enumerate(result.get('评价维度', [])):
|
| 56 |
+
aspects.append({'aspect_index': index, 'aspect': aspect,
|
| 57 |
+
'aspect_validation': validate_span(text, aspect),
|
| 58 |
+
'opinion_validations': [{'opinion_index': j, **validate_span(text, opinion)}
|
| 59 |
+
for j, opinion in enumerate(aspect.get('relations', {}).get('观点词', []))],
|
| 60 |
+
'relation_semantic_validity': 'unverified', 'formal_attribute': None})
|
| 61 |
+
return aspects
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
def model_inputs(features):
|
| 65 |
+
documents, mapping = {}, []
|
| 66 |
+
for row in features:
|
| 67 |
+
text = row['raw_text']
|
| 68 |
+
key = digest(text.encode()) if text.strip() else None
|
| 69 |
+
if key is not None:
|
| 70 |
+
if key in documents and documents[key] != text:
|
| 71 |
+
raise ValueError('Raw input hash collision')
|
| 72 |
+
documents[key] = text
|
| 73 |
+
mapping.append({'record_id': row['record_id'], 'video_id': row['video_id'],
|
| 74 |
+
'created_at_beijing': row['created_at_beijing'], 'is_source_author': row['is_source_author'],
|
| 75 |
+
'depth': row['depth'], 'input_key': key, 'raw_text_sha256': digest(text.encode()),
|
| 76 |
+
'state': 'not_called_empty_body' if key is None else 'pending_model_inference',
|
| 77 |
+
'formal_attribute_assignment': None})
|
| 78 |
+
if len({r['record_id'] for r in mapping}) != len(mapping):
|
| 79 |
+
raise ValueError('Duplicate original development ID')
|
| 80 |
+
return documents, mapping
|
| 81 |
+
|
| 82 |
+
|
| 83 |
+
def run(args):
|
| 84 |
+
out, repo = args.out.resolve(), args.repo.resolve()
|
| 85 |
+
if out == repo or repo in out.parents or (out.exists() and any(out.iterdir())):
|
| 86 |
+
raise ValueError('Preserve prior outputs and keep text/model cache outside Git')
|
| 87 |
+
read, receipts = immutable_reader(repo); audit = read(AUDIT)
|
| 88 |
+
if audit['native_product_id'] != '3632234840075719990':
|
| 89 |
+
raise ValueError('Unexpected pilot product')
|
| 90 |
+
expected = next(f for f in audit['hf_append_receipt']['files']
|
| 91 |
+
if f['path'].endswith('/development_features.jsonl'))
|
| 92 |
+
if digest(args.features.read_bytes()) != expected['sha256']:
|
| 93 |
+
raise ValueError('Frozen development feature input changed')
|
| 94 |
+
features = [json.loads(s) for s in args.features.read_text().splitlines()]
|
| 95 |
+
documents, mapping = model_inputs(features)
|
| 96 |
+
if len(mapping) != audit['summary']['development_records']:
|
| 97 |
+
raise ValueError('Development membership changed')
|
| 98 |
+
out.mkdir(parents=True, exist_ok=True); snapshot = out / 'model_snapshot'; snapshot.mkdir()
|
| 99 |
+
model_files = []
|
| 100 |
+
for name, expected_hash in MODEL_FILES.items():
|
| 101 |
+
source = args.model_dir / name
|
| 102 |
+
if digest(source.read_bytes()) != expected_hash:
|
| 103 |
+
raise ValueError('Frozen model file differs: ' + name)
|
| 104 |
+
target = snapshot / name; shutil.copy2(source, target)
|
| 105 |
+
if digest(target.read_bytes()) != expected_hash:
|
| 106 |
+
raise ValueError('Model snapshot copy differs: ' + name)
|
| 107 |
+
model_files.append({'path': name, 'sha256': expected_hash, 'bytes': target.stat().st_size})
|
| 108 |
+
for key in ['OMP_NUM_THREADS', 'MKL_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'VECLIB_MAXIMUM_THREADS']:
|
| 109 |
+
os.environ[key] = '1'
|
| 110 |
+
os.environ['HF_HUB_OFFLINE'] = '1'; os.environ['TRANSFORMERS_OFFLINE'] = '1'
|
| 111 |
+
network_attempts = []
|
| 112 |
+
|
| 113 |
+
def no_network(event, values):
|
| 114 |
+
if event == 'socket.connect' and getattr(values[0], 'family', None) in (2, 30, 10):
|
| 115 |
+
network_attempts.append('blocked_internet_socket_connect')
|
| 116 |
+
raise RuntimeError('Local-only model run: Internet connection disabled')
|
| 117 |
+
|
| 118 |
+
sys.addaudithook(no_network)
|
| 119 |
+
protocol = {'schema': 'preperiod-uie-span-features-v1', 'source_receipts': receipts,
|
| 120 |
+
'script_sha256': digest(Path(__file__).read_bytes()), 'input_sha256': expected['sha256'],
|
| 121 |
+
'input_revision': audit['hf_append_receipt']['supplement_revision'],
|
| 122 |
+
'model': 'uie-senta-base', 'model_files': model_files, 'schema_request': SCHEMA,
|
| 123 |
+
'decoder_config': CONFIG, 'decoder_threshold_is_not_calibrated_semantic_screen': True,
|
| 124 |
+
'input_policy': 'Exact shared development body, no trimming or contextual concatenation; empty bodies retained without model call; exact raw-text inference reuse only.',
|
| 125 |
+
'original_records': len(mapping), 'nonempty_records': sum(r['input_key'] is not None for r in mapping),
|
| 126 |
+
'unique_nonempty_raw_inputs': len(documents), 'source_author_records': sum(r['is_source_author'] for r in mapping),
|
| 127 |
+
'device': 'cpu', 'threads': 1, 'seed': 2026, 'python': sys.version.split()[0], 'machine': platform.machine(),
|
| 128 |
+
'metadata_versions': {n: importlib.metadata.version(n) for n in ['paddlepaddle', 'paddlenlp', 'numpy']},
|
| 129 |
+
'formal_attribute_decisions': False, 'holdout_inputs': False, 'parent_context_used_as_own_text': False,
|
| 130 |
+
'new_platform_requests': 0, 'started_at_utc': datetime.now(timezone.utc).isoformat()}
|
| 131 |
+
write_json(out / 'protocol.json', protocol); write_rows(out / 'record_mapping.jsonl', mapping)
|
| 132 |
+
started = time.monotonic()
|
| 133 |
+
import paddle
|
| 134 |
+
import numpy as np
|
| 135 |
+
from paddlenlp import Taskflow
|
| 136 |
+
from paddlenlp.taskflow.task import Task
|
| 137 |
+
import paddlenlp.taskflow.sentiment_analysis as implementation
|
| 138 |
+
import paddlenlp.taskflow.task as task_implementation
|
| 139 |
+
paddle.set_device('cpu'); paddle.disable_static(); paddle.seed(2026); np.random.seed(2026)
|
| 140 |
+
|
| 141 |
+
class DynamicPredictor:
|
| 142 |
+
def __init__(self, model): self.model = model
|
| 143 |
+
|
| 144 |
+
def run(self, unused, inputs):
|
| 145 |
+
tensors = {k: paddle.to_tensor(v) for k, v in inputs.items()}
|
| 146 |
+
tensors['position_ids'] = tensors.pop('pos_ids')
|
| 147 |
+
tensors['attention_mask'] = tensors.pop('att_mask')
|
| 148 |
+
with paddle.no_grad(): start, end = self.model(**tensors)
|
| 149 |
+
return start.numpy(), end.numpy()
|
| 150 |
+
|
| 151 |
+
def local_dynamic(task):
|
| 152 |
+
task._predictor_type = 'local-dynamic'
|
| 153 |
+
task._construct_model(task.model)
|
| 154 |
+
task.predictor = DynamicPredictor(task._model)
|
| 155 |
+
|
| 156 |
+
original = Task._get_inference_model
|
| 157 |
+
Task._get_inference_model = local_dynamic
|
| 158 |
+
try:
|
| 159 |
+
model = Taskflow('sentiment_analysis', model='uie-senta-base', schema=SCHEMA,
|
| 160 |
+
task_path=str(snapshot), device_id=-1, **CONFIG)
|
| 161 |
+
finally:
|
| 162 |
+
Task._get_inference_model = original
|
| 163 |
+
runtime = {'paddle_module_version': paddle.__version__, 'paddlenlp_metadata_version': protocol['metadata_versions']['paddlenlp'],
|
| 164 |
+
'taskflow_source_sha256': digest(Path(task_implementation.__file__).read_bytes()),
|
| 165 |
+
'senta_source_sha256': digest(Path(implementation.__file__).read_bytes()),
|
| 166 |
+
'runtime_adapter': 'Existing dynamic-predictor interface reused in this process only; no installed package edited.',
|
| 167 |
+
'initialized_seconds': time.monotonic() - started}
|
| 168 |
+
write_json(out / 'runtime.json', runtime)
|
| 169 |
+
control = '蛋糕味道不错,店家服务也很热情'
|
| 170 |
+
result = model([control])[0]; validation = relation_evidence(control, result)
|
| 171 |
+
write_json(out / 'vendor_interface_control.json', {'text': control, 'result': result, 'validation': validation,
|
| 172 |
+
'source': 'https://paddlenlp.readthedocs.io/en/stable/model_zoo/taskflow.html',
|
| 173 |
+
'control_only_not_research_data_or_semantic_gold': True})
|
| 174 |
+
if not validation or not all(a['aspect_validation']['source_span_valid'] for a in validation):
|
| 175 |
+
raise RuntimeError('Vendor interface control failed; preserve evidence without processing research text')
|
| 176 |
+
print(json.dumps({'phase': 'local_model_and_control_ready', 'inputs': len(documents)}), flush=True)
|
| 177 |
+
output = out / 'model_outputs.jsonl'; completed = 0; aspects = opinions = invalid = 0
|
| 178 |
+
items = sorted(documents.items())
|
| 179 |
+
with output.open('w') as stream:
|
| 180 |
+
for start in range(0, len(items), CONFIG['batch_size']):
|
| 181 |
+
batch = items[start:start + CONFIG['batch_size']]
|
| 182 |
+
results = model([text for _, text in batch])
|
| 183 |
+
if len(results) != len(batch): raise ValueError('Model batch result count changed')
|
| 184 |
+
for (key, text), raw in zip(batch, results):
|
| 185 |
+
events = relation_evidence(text, raw)
|
| 186 |
+
record = {'input_key': key, 'text': text, 'raw_model_output': raw, 'events': events,
|
| 187 |
+
'formal_attribute_decision': None, 'semantic_validity': 'unverified'}
|
| 188 |
+
stream.write(json.dumps(record, ensure_ascii=False, allow_nan=False) + '\n')
|
| 189 |
+
completed += 1; aspects += len(events)
|
| 190 |
+
opinions += sum(len(a['opinion_validations']) for a in events)
|
| 191 |
+
invalid += sum(not a['aspect_validation']['source_span_valid'] for a in events)
|
| 192 |
+
invalid += sum(not o['source_span_valid'] for a in events for o in a['opinion_validations'])
|
| 193 |
+
stream.flush()
|
| 194 |
+
progress = {'completed_unique_inputs': completed, 'total_unique_inputs': len(items),
|
| 195 |
+
'returned_aspect_candidates': aspects, 'returned_opinion_candidates': opinions,
|
| 196 |
+
'invalid_source_spans': invalid, 'elapsed_seconds': time.monotonic() - started}
|
| 197 |
+
write_json(out / 'progress.json', progress)
|
| 198 |
+
if completed % 64 == 0 or completed == len(items): print(json.dumps(progress), flush=True)
|
| 199 |
+
for name, expected_hash in MODEL_FILES.items():
|
| 200 |
+
if digest((args.model_dir / name).read_bytes()) != expected_hash:
|
| 201 |
+
raise ValueError('Original model changed during read-only processing')
|
| 202 |
+
summary = {'schema': protocol['schema'], 'status': 'MODEL_CANDIDATE_FEATURES_EXTRACTED_NOT_SEMANTICALLY_VALIDATED',
|
| 203 |
+
**progress, 'original_records': len(mapping), 'empty_records_without_inference': sum(r['input_key'] is None for r in mapping),
|
| 204 |
+
'all_original_ids_retained': True, 'network_connection_attempts_blocked': len(network_attempts),
|
| 205 |
+
'model_downloads_or_installs': 0, 'new_comment_jobs': 0, 'formal_attribute_decisions': 0,
|
| 206 |
+
'formal_weights_or_matching': None, 'finished_at_utc': datetime.now(timezone.utc).isoformat(),
|
| 207 |
+
'limits': ['Model aspect/opinion outputs and their relations are unvalidated candidates, not formal attributes or semantic gold.',
|
| 208 |
+
'No returned span at the fixed decoder threshold is not proof of absent attributes, absent information need or non-feature content.',
|
| 209 |
+
'Question/preference/experience roles and focal-product references remain unvalidated; source-author false is not verified consumer identity.',
|
| 210 |
+
'The vendor example checks model and coordinate plumbing only; it does not measure study accuracy.',
|
| 211 |
+
'No sentiment-performance measurement, topic selection/naming, threshold tuning, formal weights, matching or regression.']}
|
| 212 |
+
write_json(out / 'summary.json', summary); print(json.dumps(summary, ensure_ascii=False), flush=True)
|
| 213 |
+
|
| 214 |
+
|
| 215 |
+
def main():
|
| 216 |
+
p = argparse.ArgumentParser(description=__doc__)
|
| 217 |
+
p.add_argument('--repo', type=Path, default=Path(__file__).resolve().parents[1])
|
| 218 |
+
p.add_argument('--features', type=Path, required=True); p.add_argument('--model-dir', type=Path, required=True)
|
| 219 |
+
p.add_argument('--out', type=Path, required=True)
|
| 220 |
+
run(p.parse_args())
|
| 221 |
+
|
| 222 |
+
|
| 223 |
+
if __name__ == '__main__': main()
|
supplements/20261107_buv_product_performance_uie/code/scripts/measure_buv_product_performance.py
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""One Pro-reviewed, bounded UIE product-review diagnostic on dedicated AutoDL.
|
| 2 |
+
|
| 3 |
+
No fitting, new taxonomy, sentiment repair, or automatic full-data expansion.
|
| 4 |
+
Pure bookkeeping functions are separately testable with synthetic records.
|
| 5 |
+
"""
|
| 6 |
+
from __future__ import annotations
|
| 7 |
+
|
| 8 |
+
import argparse
|
| 9 |
+
from collections import Counter, defaultdict
|
| 10 |
+
from datetime import datetime, timezone
|
| 11 |
+
import hashlib
|
| 12 |
+
import json
|
| 13 |
+
import os
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
import socket
|
| 16 |
+
import sys
|
| 17 |
+
import time
|
| 18 |
+
|
| 19 |
+
from extract_buv_measurement_uie import load_local_model
|
| 20 |
+
from extract_preperiod_uie_features import MODEL_FILES
|
| 21 |
+
|
| 22 |
+
POLARITY = '情感倾向[正向,负向,未提及]'
|
| 23 |
+
DIRECTIONS = {'positive', 'negative'}
|
| 24 |
+
CUTOFF = datetime(2026, 9, 1)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def digest(value):
|
| 28 |
+
return hashlib.sha256(value).hexdigest()
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def save(path, value):
|
| 32 |
+
Path(path).write_text(json.dumps(value, ensure_ascii=False, indent=2) + '\n')
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def write_rows(path, rows):
|
| 36 |
+
Path(path).write_text(''.join(json.dumps(r, ensure_ascii=False) + '\n' for r in rows))
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def prepare_events(rows):
|
| 40 |
+
"""Cut off each event before grouping; preserve separate source identities."""
|
| 41 |
+
events, excluded, parents, identities = [], [], set(), set()
|
| 42 |
+
for main in rows:
|
| 43 |
+
parent = main['comment_key']
|
| 44 |
+
if not isinstance(parent, str) or not parent or parent in parents:
|
| 45 |
+
raise ValueError('Missing or duplicate parent identity')
|
| 46 |
+
parents.add(parent)
|
| 47 |
+
gid = digest(('buv-p-parent|' + parent).encode())
|
| 48 |
+
rank = digest(('buv-p-pilot-v1|' + parent).encode())
|
| 49 |
+
for kind, source in [('main', main)] + [('append', x) for x in main['appends']]:
|
| 50 |
+
key = source['comment_key' if kind == 'main' else 'append_key']
|
| 51 |
+
identity = (parent, kind, key)
|
| 52 |
+
if not key or identity in identities:
|
| 53 |
+
raise ValueError('Missing or duplicate event identity')
|
| 54 |
+
identities.add(identity)
|
| 55 |
+
eid = digest(json.dumps(identity, ensure_ascii=False).encode())
|
| 56 |
+
text, raw_date = source['content'], source.get('comment_time')
|
| 57 |
+
if not isinstance(text, str):
|
| 58 |
+
raise ValueError('Missing review body is not an empty body')
|
| 59 |
+
try:
|
| 60 |
+
dt = datetime.strptime(raw_date, '%Y-%m-%d %H:%M:%S')
|
| 61 |
+
except (TypeError, ValueError):
|
| 62 |
+
excluded.append({'event_id': eid, 'reason': 'unparseable_source_time'})
|
| 63 |
+
continue
|
| 64 |
+
if dt >= CUTOFF:
|
| 65 |
+
excluded.append({'event_id': eid, 'reason': 'at_or_after_cutoff'})
|
| 66 |
+
continue
|
| 67 |
+
events.append({'event_id': eid, 'group_id': gid, 'sample_rank': rank,
|
| 68 |
+
'kind': kind, 'event_time': raw_date, 'text': text})
|
| 69 |
+
return events, excluded
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
def select_pilot(events):
|
| 73 |
+
groups = defaultdict(list)
|
| 74 |
+
for event in events:
|
| 75 |
+
groups[event['group_id']].append(event)
|
| 76 |
+
selected = sorted(groups, key=lambda g: (groups[g][0]['sample_rank'], g))[:64]
|
| 77 |
+
while sum(len(groups[g]) for g in selected) > 128:
|
| 78 |
+
selected.pop()
|
| 79 |
+
return [e for g in selected for e in sorted(groups[g], key=lambda e: (e['event_time'], e['event_id']))]
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def parse_output(text, raw, attributes, *, longtext=False):
|
| 83 |
+
"""Conservative direction candidates, never an experience/target classifier."""
|
| 84 |
+
found = raw.get('评价维度', [])
|
| 85 |
+
if [x.get('text') for x in found] != [x['name'] for x in attributes]:
|
| 86 |
+
raise ValueError('Fixed pre-given aspect identity/order changed')
|
| 87 |
+
result = []
|
| 88 |
+
for attr, entry in zip(attributes, found):
|
| 89 |
+
relations = entry.get('relations', {})
|
| 90 |
+
spans = {}
|
| 91 |
+
for span in relations.get('观点词', []):
|
| 92 |
+
start, end, quote = span.get('start'), span.get('end'), span.get('text')
|
| 93 |
+
if (type(start) is not int or type(end) is not int or not isinstance(quote, str)
|
| 94 |
+
or not 0 <= start < end <= len(text) or text[start:end] != quote):
|
| 95 |
+
raise ValueError('Invalid returned opinion span; no repair permitted')
|
| 96 |
+
spans[(start, end, quote)] = {'start': start, 'end': end, 'text': quote}
|
| 97 |
+
opinions = list(spans.values())
|
| 98 |
+
labels = [x.get('text') for x in relations.get(POLARITY, [])]
|
| 99 |
+
if longtext:
|
| 100 |
+
state = 'unknown_longtext'
|
| 101 |
+
elif len(opinions) > 1:
|
| 102 |
+
state = 'unknown_multi_opinion'
|
| 103 |
+
elif not opinions and labels == ['未提及']:
|
| 104 |
+
state = 'model_not_mentioned'
|
| 105 |
+
elif not opinions:
|
| 106 |
+
state = 'unknown_no_opinion_evidence'
|
| 107 |
+
elif labels == ['正向']:
|
| 108 |
+
state = 'positive'
|
| 109 |
+
elif labels == ['负向']:
|
| 110 |
+
state = 'negative'
|
| 111 |
+
else:
|
| 112 |
+
state = 'unknown_polarity'
|
| 113 |
+
result.append({'attribute_id': attr['attribute_id'], 'state': state,
|
| 114 |
+
'has_opinion_evidence': bool(opinions), 'opinions': opinions,
|
| 115 |
+
'raw_polarity_labels': labels, 'experience_verified': False,
|
| 116 |
+
'target_verified': False, 'longtext': longtext})
|
| 117 |
+
return result
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def aggregate_groups(event_rows, attributes, pi):
|
| 121 |
+
grouped = defaultdict(list)
|
| 122 |
+
for row in event_rows:
|
| 123 |
+
grouped[row['group_id']].append(row)
|
| 124 |
+
ledger, scores = [], []
|
| 125 |
+
for attr in attributes:
|
| 126 |
+
aid = attr['attribute_id']
|
| 127 |
+
counts = Counter()
|
| 128 |
+
for gid, group in sorted(grouped.items()):
|
| 129 |
+
states = [(e, next(s for s in e['states'] if s['attribute_id'] == aid)) for e in group]
|
| 130 |
+
evidence = [(e, s) for e, s in states if s['has_opinion_evidence']]
|
| 131 |
+
stamp, reasons = None, []
|
| 132 |
+
if evidence:
|
| 133 |
+
stamp = max(e['event_time'] for e, _ in evidence)
|
| 134 |
+
latest = [s for e, s in evidence if e['event_time'] == stamp]
|
| 135 |
+
signs = {s['state'] for s in latest if s['state'] in DIRECTIONS}
|
| 136 |
+
reasons = sorted({s['state'] for s in latest if s['state'] not in DIRECTIONS})
|
| 137 |
+
if signs == DIRECTIONS:
|
| 138 |
+
state = 'cross_event_mixed'
|
| 139 |
+
elif reasons:
|
| 140 |
+
state = 'unknown'
|
| 141 |
+
else:
|
| 142 |
+
state = next(iter(signs))
|
| 143 |
+
elif all(s['state'] == 'model_not_mentioned' for _, s in states):
|
| 144 |
+
state = 'model_not_mentioned'
|
| 145 |
+
else:
|
| 146 |
+
state = 'unknown'
|
| 147 |
+
reasons = sorted({s['state'] for _, s in states if s['state'] != 'model_not_mentioned'})
|
| 148 |
+
counts[state] += 1
|
| 149 |
+
ledger.append({'group_id': gid, 'attribute_id': aid, 'state': state,
|
| 150 |
+
'selected_source_time': stamp, 'unknown_reasons': reasons})
|
| 151 |
+
n = counts['positive'] + counts['negative']
|
| 152 |
+
scores.append({'attribute_id': aid, 'name': attr['name'], 'historical_pi': pi[aid],
|
| 153 |
+
**{k: counts[k] for k in ['positive', 'negative', 'cross_event_mixed',
|
| 154 |
+
'unknown', 'model_not_mentioned']},
|
| 155 |
+
'neutral_count': None, 'neutral_measured': False, 'denominator': n,
|
| 156 |
+
'P': counts['positive'] / n if n else None, 'total_parent_groups': len(grouped),
|
| 157 |
+
'direction_coverage': n / len(grouped) if grouped else None,
|
| 158 |
+
'measurement_status': 'exploratory_model_candidate_not_validated'})
|
| 159 |
+
if sum(counts.values()) != len(grouped):
|
| 160 |
+
raise ValueError('Parent-group conservation failure')
|
| 161 |
+
return ledger, scores
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
def evaluate_synthetic(rows, fixtures):
|
| 165 |
+
states = {r['case_id']: {s['attribute_id']: s['state'] for s in r['states']} for r in rows}
|
| 166 |
+
details = []
|
| 167 |
+
complete_pairs, inverse_errors = 0, []
|
| 168 |
+
for odd, aid in [(1, 'A01'), (3, 'A02'), (5, 'A10'), (7, 'A12')]:
|
| 169 |
+
pos, neg = states[f'{odd:02}'][aid], states[f'{odd+1:02}'][aid]
|
| 170 |
+
complete_pairs += pos == 'positive' and neg == 'negative'
|
| 171 |
+
if pos == 'negative' or neg == 'positive':
|
| 172 |
+
inverse_errors.append(aid)
|
| 173 |
+
cross_ok = all(states[c][a] == v for c, a, v in [
|
| 174 |
+
('09', 'A01', 'positive'), ('09', 'A12', 'negative'),
|
| 175 |
+
('10', 'A01', 'negative'), ('10', 'A12', 'positive')])
|
| 176 |
+
forbidden = ['11', '12', '13', '14', '15', '17', '18', '19', '20']
|
| 177 |
+
forbidden_ok = all(not any(v in DIRECTIONS for v in states[c].values()) for c in forbidden)
|
| 178 |
+
comparison_ok = not any(v == 'positive' for v in states['16'].values())
|
| 179 |
+
mixed_ok = all(not any(v in DIRECTIONS for v in states[c].values()) for c in ['21', '22', '23', '24'])
|
| 180 |
+
for f in fixtures:
|
| 181 |
+
c = f['case_id']
|
| 182 |
+
details.append({'case_id': c, 'text': f['text'], 'expected': f['expected'],
|
| 183 |
+
'direction_votes': {a: v for a, v in states[c].items() if v in DIRECTIONS},
|
| 184 |
+
'all_attribute_states': states[c]})
|
| 185 |
+
checks = {'at_least_three_complete_reversal_pairs': complete_pairs >= 3,
|
| 186 |
+
'no_opposite_direction_on_reversal_targets': not inverse_errors,
|
| 187 |
+
'cross_attribute_directions_all_correct': cross_ok,
|
| 188 |
+
'forbidden_inputs_have_no_direction_votes': forbidden_ok,
|
| 189 |
+
'other_product_positive_not_transferred': comparison_ok,
|
| 190 |
+
'mixed_inputs_have_no_one_sided_direction_votes': mixed_ok}
|
| 191 |
+
return {'passed': all(checks.values()), 'checks': checks, 'complete_reversal_pairs': complete_pairs,
|
| 192 |
+
'reversal_target_inverse_errors': inverse_errors, 'cases': details,
|
| 193 |
+
'human_accuracy_test': False}
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
def run(args):
|
| 197 |
+
if socket.gethostname() != 'autodl-pro-793045af03ef':
|
| 198 |
+
raise RuntimeError('Real inference and aggregation require the dedicated AutoDL instance')
|
| 199 |
+
if args.out.exists():
|
| 200 |
+
raise ValueError('Preserve existing output; no automatic rerun')
|
| 201 |
+
protocol = json.loads(args.protocol.read_text())
|
| 202 |
+
sources = {'reviews': args.reviews, 'registry': args.registry, 'weights': args.weights}
|
| 203 |
+
for key, path in sources.items():
|
| 204 |
+
if digest(path.read_bytes()) != protocol['input_sha256'][key]:
|
| 205 |
+
raise ValueError('Frozen input mismatch: ' + key)
|
| 206 |
+
registry = json.loads(args.registry.read_text())
|
| 207 |
+
indexed = {x['attribute_id']: x for x in registry['attributes']}
|
| 208 |
+
attributes = [indexed[k] for k in registry['main_coordinates']]
|
| 209 |
+
pi = json.loads(args.weights.read_text())['pi_C']
|
| 210 |
+
if set(pi) != set(registry['main_coordinates']) or len(attributes) != 35:
|
| 211 |
+
raise ValueError('Historical coordinates/weights differ')
|
| 212 |
+
for name, sha in MODEL_FILES.items():
|
| 213 |
+
if digest((args.model_dir / name).read_bytes()) != sha:
|
| 214 |
+
raise ValueError('Frozen checkpoint changed: ' + name)
|
| 215 |
+
args.out.mkdir(parents=True)
|
| 216 |
+
started = time.monotonic()
|
| 217 |
+
save(args.out / 'protocol.json', protocol)
|
| 218 |
+
runtime = {'hostname': socket.gethostname(), 'started_at_utc': datetime.now(timezone.utc).isoformat(),
|
| 219 |
+
'script_sha256': digest(Path(__file__).read_bytes()), 'protocol_sha256': digest(args.protocol.read_bytes()),
|
| 220 |
+
'model_sha256': MODEL_FILES, 'inference_device': 'CPU on original AutoDL Pro',
|
| 221 |
+
'local_real_inference': False, 'new_training_fits': 0, 'new_regression_fits': 0}
|
| 222 |
+
save(args.out / 'runtime.json', runtime)
|
| 223 |
+
for key in ['OMP_NUM_THREADS', 'MKL_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'VECLIB_MAXIMUM_THREADS']:
|
| 224 |
+
os.environ[key] = '8'
|
| 225 |
+
os.environ['HF_HUB_OFFLINE'] = '1'
|
| 226 |
+
os.environ['TRANSFORMERS_OFFLINE'] = '1'
|
| 227 |
+
def no_network(event, values):
|
| 228 |
+
if event == 'socket.connect' and getattr(values[0], 'family', None) in (2, 10, 30):
|
| 229 |
+
raise RuntimeError('Frozen offline inference: internet sockets disabled')
|
| 230 |
+
sys.addaudithook(no_network)
|
| 231 |
+
config = protocol['uie_config']
|
| 232 |
+
model = load_local_model(args.model_dir, config, schema=['观点词', POLARITY],
|
| 233 |
+
aspects=[x['name'] for x in attributes])
|
| 234 |
+
task = model.task_instance
|
| 235 |
+
stats = {'prompt_inputs': 0, 'prompt_chunks': 0, 'forward_batches': 0,
|
| 236 |
+
'unique_texts_inferred': 0, 'cache_hits': 0}
|
| 237 |
+
longtexts, cache = set(), {}
|
| 238 |
+
predict, split, forward = task._single_stage_predict, task._auto_splitter, task.predictor.run
|
| 239 |
+
|
| 240 |
+
def tracked_predict(inputs):
|
| 241 |
+
stats['prompt_inputs'] += len(inputs)
|
| 242 |
+
return predict(inputs)
|
| 243 |
+
|
| 244 |
+
def tracked_split(texts, limit, *a, **kw):
|
| 245 |
+
short, mapping = split(texts, limit, *a, **kw)
|
| 246 |
+
stats['prompt_chunks'] += len(short)
|
| 247 |
+
for i, indices in mapping.items():
|
| 248 |
+
if len(indices) > 1:
|
| 249 |
+
longtexts.add(texts[i])
|
| 250 |
+
return short, mapping
|
| 251 |
+
|
| 252 |
+
def tracked_forward(*a, **kw):
|
| 253 |
+
stats['forward_batches'] += 1
|
| 254 |
+
return forward(*a, **kw)
|
| 255 |
+
|
| 256 |
+
task._single_stage_predict, task._auto_splitter, task.predictor.run = tracked_predict, tracked_split, tracked_forward
|
| 257 |
+
|
| 258 |
+
def infer(events, name):
|
| 259 |
+
todo = list(dict.fromkeys(e['text'] for e in events if e['text'].strip() and e['text'] not in cache))
|
| 260 |
+
stats['cache_hits'] += sum(bool(e['text'].strip()) for e in events) - len(todo)
|
| 261 |
+
with (args.out / 'raw_outputs.jsonl').open('a') as stream:
|
| 262 |
+
for start in range(0, len(todo), 16):
|
| 263 |
+
batch = todo[start:start + 16]
|
| 264 |
+
predictions = model(batch)
|
| 265 |
+
if len(predictions) != len(batch):
|
| 266 |
+
raise ValueError('Model output cardinality mismatch')
|
| 267 |
+
for text, raw in zip(batch, predictions):
|
| 268 |
+
cache[text] = raw
|
| 269 |
+
stream.write(json.dumps({'text': text, 'text_sha256': digest(text.encode()),
|
| 270 |
+
'raw_output': raw, 'longtext': text in longtexts}, ensure_ascii=False) + '\n')
|
| 271 |
+
stream.flush()
|
| 272 |
+
stats['unique_texts_inferred'] += len(batch)
|
| 273 |
+
print(json.dumps({'phase': name, 'completed': min(start + 16, len(todo)),
|
| 274 |
+
'total': len(todo), 'elapsed_seconds': time.monotonic()-started}), flush=True)
|
| 275 |
+
result = []
|
| 276 |
+
for event in events:
|
| 277 |
+
text = event['text']
|
| 278 |
+
if not text.strip():
|
| 279 |
+
states = [{'attribute_id': a['attribute_id'], 'state': 'unknown_empty_body',
|
| 280 |
+
'has_opinion_evidence': False, 'opinions': []} for a in attributes]
|
| 281 |
+
else:
|
| 282 |
+
states = parse_output(text, cache[text], attributes, longtext=text in longtexts)
|
| 283 |
+
result.append({**event, 'states': states})
|
| 284 |
+
write_rows(args.out / (name + '_events.jsonl'), result)
|
| 285 |
+
return result
|
| 286 |
+
|
| 287 |
+
fixtures = protocol['synthetic_cases']
|
| 288 |
+
synthetic = infer(fixtures, 'synthetic')
|
| 289 |
+
gate = evaluate_synthetic(synthetic, fixtures)
|
| 290 |
+
save(args.out / 'synthetic_gate.json', gate)
|
| 291 |
+
summary = {'synthetic_gate_passed': gate['passed'], 'real_pilot_started': False,
|
| 292 |
+
'full_data_inference_started': False, 'status': 'SYNTHETIC_GATE_FAILED'}
|
| 293 |
+
if gate['passed']:
|
| 294 |
+
raw_rows = [json.loads(x) for x in args.reviews.read_text().splitlines() if x.strip()]
|
| 295 |
+
events, excluded = prepare_events(raw_rows)
|
| 296 |
+
selected = select_pilot(events)
|
| 297 |
+
write_rows(args.out / 'time_exclusions.jsonl', excluded)
|
| 298 |
+
write_rows(args.out / 'pilot_input.jsonl', selected)
|
| 299 |
+
result = infer(selected, 'pilot')
|
| 300 |
+
ledger, scores = aggregate_groups(result, attributes, pi)
|
| 301 |
+
write_rows(args.out / 'parent_attribute_ledger.jsonl', ledger)
|
| 302 |
+
save(args.out / 'candidate_P.json', scores)
|
| 303 |
+
nonempty = sum(s['denominator'] > 0 for s in scores)
|
| 304 |
+
summary.update(real_pilot_started=True, eligible_source_events=len(events),
|
| 305 |
+
selected_parent_groups=len({x['group_id'] for x in selected}),
|
| 306 |
+
selected_events=len(selected), nonempty_P_attributes=nonempty,
|
| 307 |
+
event_state_counts=dict(Counter(s['state'] for x in result for s in x['states'])),
|
| 308 |
+
status='BOUNDED_PILOT_INFORMATION_AVAILABLE' if nonempty else 'NO_DIRECTION_INFORMATION')
|
| 309 |
+
else:
|
| 310 |
+
save(args.out / 'candidate_P.json', [
|
| 311 |
+
{'attribute_id': a['attribute_id'], 'name': a['name'], 'historical_pi': pi[a['attribute_id']],
|
| 312 |
+
'P': None, 'denominator': None, 'status': 'not_estimated_synthetic_gate_failed'} for a in attributes])
|
| 313 |
+
import importlib.metadata
|
| 314 |
+
runtime.update(finished_at_utc=datetime.now(timezone.utc).isoformat(), elapsed_seconds=time.monotonic()-started,
|
| 315 |
+
versions={n: importlib.metadata.version(n) for n in ['paddlepaddle', 'paddlenlp', 'numpy']},
|
| 316 |
+
counters=stats, long_text_inputs=len(longtexts))
|
| 317 |
+
save(args.out / 'runtime.json', runtime)
|
| 318 |
+
save(args.out / 'summary.json', summary)
|
| 319 |
+
print(json.dumps(summary), flush=True)
|
| 320 |
+
|
| 321 |
+
|
| 322 |
+
if __name__ == '__main__':
|
| 323 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 324 |
+
for name in ['protocol', 'reviews', 'registry', 'weights', 'model-dir', 'out']:
|
| 325 |
+
parser.add_argument('--' + name, type=Path, required=True)
|
| 326 |
+
run(parser.parse_args())
|
supplements/20261107_buv_product_performance_uie/code/scripts/measure_buv_product_performance_audit.py
ADDED
|
@@ -0,0 +1,397 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"""One Pro-reviewed, bounded UIE product-review diagnostic on dedicated AutoDL.
|
| 2 |
+
|
| 3 |
+
No fitting, new taxonomy, sentiment repair, or automatic full-data expansion.
|
| 4 |
+
Pure bookkeeping functions are separately testable with synthetic records.
|
| 5 |
+
"""
|
| 6 |
+
from __future__ import annotations
|
| 7 |
+
|
| 8 |
+
import argparse
|
| 9 |
+
from collections import Counter, defaultdict
|
| 10 |
+
from datetime import datetime, timezone
|
| 11 |
+
import hashlib
|
| 12 |
+
import json
|
| 13 |
+
import os
|
| 14 |
+
from pathlib import Path
|
| 15 |
+
import socket
|
| 16 |
+
import sys
|
| 17 |
+
import time
|
| 18 |
+
|
| 19 |
+
from extract_buv_measurement_uie import load_local_model
|
| 20 |
+
from extract_preperiod_uie_features import MODEL_FILES
|
| 21 |
+
|
| 22 |
+
POLARITY = '情感倾向[正向,负向,未提及]'
|
| 23 |
+
DIRECTIONS = {'positive', 'negative'}
|
| 24 |
+
CUTOFF = datetime(2026, 9, 1)
|
| 25 |
+
|
| 26 |
+
|
| 27 |
+
def digest(value):
|
| 28 |
+
return hashlib.sha256(value).hexdigest()
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
def save(path, value):
|
| 32 |
+
Path(path).write_text(json.dumps(value, ensure_ascii=False, indent=2) + '\n')
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
def write_rows(path, rows):
|
| 36 |
+
Path(path).write_text(''.join(json.dumps(r, ensure_ascii=False) + '\n' for r in rows))
|
| 37 |
+
|
| 38 |
+
|
| 39 |
+
def prepare_events(rows):
|
| 40 |
+
"""Cut off each event before grouping; preserve separate source identities."""
|
| 41 |
+
events, excluded, parents, identities = [], [], set(), set()
|
| 42 |
+
for main in rows:
|
| 43 |
+
parent = main['comment_key']
|
| 44 |
+
if not isinstance(parent, str) or not parent or parent in parents:
|
| 45 |
+
raise ValueError('Missing or duplicate parent identity')
|
| 46 |
+
parents.add(parent)
|
| 47 |
+
gid = digest(('buv-p-parent|' + parent).encode())
|
| 48 |
+
rank = digest(('buv-p-pilot-v1|' + parent).encode())
|
| 49 |
+
for kind, source in [('main', main)] + [('append', x) for x in main['appends']]:
|
| 50 |
+
key = source['comment_key' if kind == 'main' else 'append_key']
|
| 51 |
+
identity = (parent, kind, key)
|
| 52 |
+
if not key or identity in identities:
|
| 53 |
+
raise ValueError('Missing or duplicate event identity')
|
| 54 |
+
identities.add(identity)
|
| 55 |
+
eid = digest(json.dumps(identity, ensure_ascii=False).encode())
|
| 56 |
+
text, raw_date = source['content'], source.get('comment_time')
|
| 57 |
+
if not isinstance(text, str):
|
| 58 |
+
raise ValueError('Missing review body is not an empty body')
|
| 59 |
+
try:
|
| 60 |
+
dt = datetime.strptime(raw_date, '%Y-%m-%d %H:%M:%S')
|
| 61 |
+
except (TypeError, ValueError):
|
| 62 |
+
excluded.append({'event_id': eid, 'reason': 'unparseable_source_time'})
|
| 63 |
+
continue
|
| 64 |
+
if dt >= CUTOFF:
|
| 65 |
+
excluded.append({'event_id': eid, 'reason': 'at_or_after_cutoff'})
|
| 66 |
+
continue
|
| 67 |
+
events.append({'event_id': eid, 'group_id': gid, 'sample_rank': rank,
|
| 68 |
+
'kind': kind, 'event_time': raw_date, 'text': text})
|
| 69 |
+
return events, excluded
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
def select_pilot(events):
|
| 73 |
+
groups = defaultdict(list)
|
| 74 |
+
for event in events:
|
| 75 |
+
groups[event['group_id']].append(event)
|
| 76 |
+
selected = sorted(groups, key=lambda g: (groups[g][0]['sample_rank'], g))[:64]
|
| 77 |
+
while sum(len(groups[g]) for g in selected) > 128:
|
| 78 |
+
selected.pop()
|
| 79 |
+
return [e for g in selected for e in sorted(groups[g], key=lambda e: (e['event_time'], e['event_id']))]
|
| 80 |
+
|
| 81 |
+
|
| 82 |
+
def parse_output(text, raw, attributes, *, longtext=False):
|
| 83 |
+
"""Conservative direction candidates, never an experience/target classifier."""
|
| 84 |
+
found = raw.get('评价维度', [])
|
| 85 |
+
if [x.get('text') for x in found] != [x['name'] for x in attributes]:
|
| 86 |
+
raise ValueError('Fixed pre-given aspect identity/order changed')
|
| 87 |
+
result = []
|
| 88 |
+
for attr, entry in zip(attributes, found):
|
| 89 |
+
relations = entry.get('relations', {})
|
| 90 |
+
spans = {}
|
| 91 |
+
for span in relations.get('观点词', []):
|
| 92 |
+
start, end, quote = span.get('start'), span.get('end'), span.get('text')
|
| 93 |
+
if (type(start) is not int or type(end) is not int or not isinstance(quote, str)
|
| 94 |
+
or not 0 <= start < end <= len(text) or text[start:end] != quote):
|
| 95 |
+
raise ValueError('Invalid returned opinion span; no repair permitted')
|
| 96 |
+
spans[(start, end, quote)] = {'start': start, 'end': end, 'text': quote}
|
| 97 |
+
opinions = list(spans.values())
|
| 98 |
+
labels = [x.get('text') for x in relations.get(POLARITY, [])]
|
| 99 |
+
if longtext:
|
| 100 |
+
state = 'unknown_longtext'
|
| 101 |
+
elif len(opinions) > 1:
|
| 102 |
+
state = 'unknown_multi_opinion'
|
| 103 |
+
elif not opinions and labels == ['未提及']:
|
| 104 |
+
state = 'model_not_mentioned'
|
| 105 |
+
elif not opinions:
|
| 106 |
+
state = 'unknown_no_opinion_evidence'
|
| 107 |
+
elif labels == ['正向']:
|
| 108 |
+
state = 'positive'
|
| 109 |
+
elif labels == ['负向']:
|
| 110 |
+
state = 'negative'
|
| 111 |
+
else:
|
| 112 |
+
state = 'unknown_polarity'
|
| 113 |
+
result.append({'attribute_id': attr['attribute_id'], 'state': state,
|
| 114 |
+
'has_opinion_evidence': bool(opinions), 'opinions': opinions,
|
| 115 |
+
'raw_polarity_labels': labels, 'experience_verified': False,
|
| 116 |
+
'target_verified': False, 'longtext': longtext})
|
| 117 |
+
return result
|
| 118 |
+
|
| 119 |
+
|
| 120 |
+
def aggregate_groups(event_rows, attributes, pi):
|
| 121 |
+
grouped = defaultdict(list)
|
| 122 |
+
for row in event_rows:
|
| 123 |
+
grouped[row['group_id']].append(row)
|
| 124 |
+
ledger, scores = [], []
|
| 125 |
+
for attr in attributes:
|
| 126 |
+
aid = attr['attribute_id']
|
| 127 |
+
counts = Counter()
|
| 128 |
+
for gid, group in sorted(grouped.items()):
|
| 129 |
+
states = [(e, next(s for s in e['states'] if s['attribute_id'] == aid)) for e in group]
|
| 130 |
+
evidence = [(e, s) for e, s in states if s['has_opinion_evidence']]
|
| 131 |
+
stamp, reasons = None, []
|
| 132 |
+
if evidence:
|
| 133 |
+
stamp = max(e['event_time'] for e, _ in evidence)
|
| 134 |
+
latest = [s for e, s in evidence if e['event_time'] == stamp]
|
| 135 |
+
signs = {s['state'] for s in latest if s['state'] in DIRECTIONS}
|
| 136 |
+
reasons = sorted({s['state'] for s in latest if s['state'] not in DIRECTIONS})
|
| 137 |
+
if signs == DIRECTIONS:
|
| 138 |
+
state = 'cross_event_mixed'
|
| 139 |
+
elif reasons:
|
| 140 |
+
state = 'unknown'
|
| 141 |
+
else:
|
| 142 |
+
state = next(iter(signs))
|
| 143 |
+
elif all(s['state'] == 'model_not_mentioned' for _, s in states):
|
| 144 |
+
state = 'model_not_mentioned'
|
| 145 |
+
else:
|
| 146 |
+
state = 'unknown'
|
| 147 |
+
reasons = sorted({s['state'] for _, s in states if s['state'] != 'model_not_mentioned'})
|
| 148 |
+
counts[state] += 1
|
| 149 |
+
ledger.append({'group_id': gid, 'attribute_id': aid, 'state': state,
|
| 150 |
+
'selected_source_time': stamp, 'unknown_reasons': reasons})
|
| 151 |
+
n = counts['positive'] + counts['negative']
|
| 152 |
+
scores.append({'attribute_id': aid, 'name': attr['name'], 'historical_pi': pi[aid],
|
| 153 |
+
**{k: counts[k] for k in ['positive', 'negative', 'cross_event_mixed',
|
| 154 |
+
'unknown', 'model_not_mentioned']},
|
| 155 |
+
'neutral_count': None, 'neutral_measured': False, 'denominator': n,
|
| 156 |
+
'P': counts['positive'] / n if n else None, 'total_parent_groups': len(grouped),
|
| 157 |
+
'direction_coverage': n / len(grouped) if grouped else None,
|
| 158 |
+
'measurement_status': 'exploratory_model_candidate_not_validated'})
|
| 159 |
+
if sum(counts.values()) != len(grouped):
|
| 160 |
+
raise ValueError('Parent-group conservation failure')
|
| 161 |
+
return ledger, scores
|
| 162 |
+
|
| 163 |
+
|
| 164 |
+
def evaluate_synthetic(rows, fixtures):
|
| 165 |
+
states = {r['case_id']: {s['attribute_id']: s['state'] for s in r['states']} for r in rows}
|
| 166 |
+
details = []
|
| 167 |
+
complete_pairs, inverse_errors = 0, []
|
| 168 |
+
for odd, aid in [(1, 'A01'), (3, 'A02'), (5, 'A10'), (7, 'A12')]:
|
| 169 |
+
pos, neg = states[f'{odd:02}'][aid], states[f'{odd+1:02}'][aid]
|
| 170 |
+
complete_pairs += pos == 'positive' and neg == 'negative'
|
| 171 |
+
if pos == 'negative' or neg == 'positive':
|
| 172 |
+
inverse_errors.append(aid)
|
| 173 |
+
cross_ok = all(states[c][a] == v for c, a, v in [
|
| 174 |
+
('09', 'A01', 'positive'), ('09', 'A12', 'negative'),
|
| 175 |
+
('10', 'A01', 'negative'), ('10', 'A12', 'positive')])
|
| 176 |
+
forbidden = ['11', '12', '13', '14', '15', '17', '18', '19', '20']
|
| 177 |
+
forbidden_ok = all(not any(v in DIRECTIONS for v in states[c].values()) for c in forbidden)
|
| 178 |
+
comparison_ok = not any(v == 'positive' for v in states['16'].values())
|
| 179 |
+
mixed_ok = all(not any(v in DIRECTIONS for v in states[c].values()) for c in ['21', '22', '23', '24'])
|
| 180 |
+
for f in fixtures:
|
| 181 |
+
c = f['case_id']
|
| 182 |
+
details.append({'case_id': c, 'text': f['text'], 'expected': f['expected'],
|
| 183 |
+
'direction_votes': {a: v for a, v in states[c].items() if v in DIRECTIONS},
|
| 184 |
+
'all_attribute_states': states[c]})
|
| 185 |
+
checks = {'at_least_three_complete_reversal_pairs': complete_pairs >= 3,
|
| 186 |
+
'no_opposite_direction_on_reversal_targets': not inverse_errors,
|
| 187 |
+
'cross_attribute_directions_all_correct': cross_ok,
|
| 188 |
+
'forbidden_inputs_have_no_direction_votes': forbidden_ok,
|
| 189 |
+
'other_product_positive_not_transferred': comparison_ok,
|
| 190 |
+
'mixed_inputs_have_no_one_sided_direction_votes': mixed_ok}
|
| 191 |
+
return {'passed': all(checks.values()), 'checks': checks, 'complete_reversal_pairs': complete_pairs,
|
| 192 |
+
'reversal_target_inverse_errors': inverse_errors, 'cases': details,
|
| 193 |
+
'human_accuracy_test': False}
|
| 194 |
+
|
| 195 |
+
|
| 196 |
+
def audit_saved_outputs(raw_rows, fixtures, attributes):
|
| 197 |
+
"""Audit every original return after a fail-closed stop; never repair it."""
|
| 198 |
+
by_text = {r['text']: r for r in raw_rows}
|
| 199 |
+
if len(by_text) != len(raw_rows) or set(by_text) != {f['text'] for f in fixtures}:
|
| 200 |
+
raise ValueError('Saved outputs do not match the complete fixed synthetic inputs')
|
| 201 |
+
rows, invalid = [], []
|
| 202 |
+
for fixture in fixtures:
|
| 203 |
+
saved = by_text[fixture['text']]
|
| 204 |
+
if digest(saved['text'].encode()) != saved['text_sha256']:
|
| 205 |
+
raise ValueError('Saved source text hash differs')
|
| 206 |
+
aspects = saved['raw_output'].get('评价维度', [])
|
| 207 |
+
if [a.get('text') for a in aspects] != [a['name'] for a in attributes]:
|
| 208 |
+
raise ValueError('Saved pre-given coordinates differ')
|
| 209 |
+
states = []
|
| 210 |
+
for attr, entry in zip(attributes, aspects):
|
| 211 |
+
try:
|
| 212 |
+
states.extend(parse_output(saved['text'], {'评价维度': [entry]}, [attr],
|
| 213 |
+
longtext=saved['longtext']))
|
| 214 |
+
except ValueError as error:
|
| 215 |
+
invalid.append({'case_id': fixture['case_id'], 'attribute_id': attr['attribute_id'],
|
| 216 |
+
'failure': str(error), 'raw_attribute_output': entry})
|
| 217 |
+
states.append({'attribute_id': attr['attribute_id'], 'state': 'invalid_model_return',
|
| 218 |
+
'has_opinion_evidence': False, 'opinions': []})
|
| 219 |
+
rows.append({**fixture, 'states': states})
|
| 220 |
+
gate = evaluate_synthetic(rows, fixtures)
|
| 221 |
+
gate['checks']['all_returned_opinion_spans_valid'] = not invalid
|
| 222 |
+
gate['passed'] = all(gate['checks'].values())
|
| 223 |
+
gate['invalid_model_returns'] = invalid
|
| 224 |
+
gate['original_predictions_repaired'] = False
|
| 225 |
+
gate['new_model_calls'] = 0
|
| 226 |
+
return gate
|
| 227 |
+
|
| 228 |
+
|
| 229 |
+
def replay_saved(args):
|
| 230 |
+
if socket.gethostname() != 'autodl-pro-793045af03ef':
|
| 231 |
+
raise RuntimeError('Saved-output audit requires the dedicated AutoDL instance')
|
| 232 |
+
if args.out.exists():
|
| 233 |
+
raise ValueError('Preserve the existing audit')
|
| 234 |
+
if not args.saved_outputs_sha256 or digest(args.saved_outputs.read_bytes()) != args.saved_outputs_sha256:
|
| 235 |
+
raise ValueError('Saved raw output hash differs')
|
| 236 |
+
protocol = json.loads(args.protocol.read_text())
|
| 237 |
+
for key, path in {'reviews': args.reviews, 'registry': args.registry, 'weights': args.weights}.items():
|
| 238 |
+
if digest(path.read_bytes()) != protocol['input_sha256'][key]:
|
| 239 |
+
raise ValueError('Frozen input mismatch: ' + key)
|
| 240 |
+
registry = json.loads(args.registry.read_text())
|
| 241 |
+
indexed = {x['attribute_id']: x for x in registry['attributes']}
|
| 242 |
+
attributes = [indexed[k] for k in registry['main_coordinates']]
|
| 243 |
+
raw_rows = [json.loads(x) for x in args.saved_outputs.read_text().splitlines() if x.strip()]
|
| 244 |
+
gate = audit_saved_outputs(raw_rows, protocol['synthetic_cases'], attributes)
|
| 245 |
+
args.out.mkdir(parents=True)
|
| 246 |
+
save(args.out / 'synthetic_gate.json', gate)
|
| 247 |
+
save(args.out / 'replay_receipt.json', {
|
| 248 |
+
'hostname': socket.gethostname(), 'finished_at_utc': datetime.now(timezone.utc).isoformat(),
|
| 249 |
+
'raw_outputs_sha256': args.saved_outputs_sha256, 'raw_outputs': len(raw_rows),
|
| 250 |
+
'protocol_sha256': digest(args.protocol.read_bytes()), 'script_sha256': digest(Path(__file__).read_bytes()),
|
| 251 |
+
'purpose': 'complete diagnosis of unchanged saved outputs after correct fail-closed source-span rejection',
|
| 252 |
+
'model_calls': 0, 'parser_semantics_changed': False, 'prediction_repair': False})
|
| 253 |
+
summary = {'status': 'SYNTHETIC_GATE_PASSED_DIAGNOSTIC_ONLY' if gate['passed'] else 'SYNTHETIC_GATE_FAILED',
|
| 254 |
+
'synthetic_gate_passed': gate['passed'], 'real_pilot_started': False,
|
| 255 |
+
'full_data_inference_started': False, 'new_model_calls': 0}
|
| 256 |
+
save(args.out / 'summary.json', summary)
|
| 257 |
+
pi = json.loads(args.weights.read_text())['pi_C']
|
| 258 |
+
save(args.out / 'candidate_P.json', [
|
| 259 |
+
{'attribute_id': a['attribute_id'], 'name': a['name'], 'historical_pi': pi[a['attribute_id']],
|
| 260 |
+
'P': None, 'denominator': None, 'status': 'not_estimated_diagnostic_replay_only'} for a in attributes])
|
| 261 |
+
print(json.dumps(summary), flush=True)
|
| 262 |
+
|
| 263 |
+
|
| 264 |
+
def run(args):
|
| 265 |
+
if socket.gethostname() != 'autodl-pro-793045af03ef':
|
| 266 |
+
raise RuntimeError('Real inference and aggregation require the dedicated AutoDL instance')
|
| 267 |
+
if args.out.exists():
|
| 268 |
+
raise ValueError('Preserve existing output; no automatic rerun')
|
| 269 |
+
protocol = json.loads(args.protocol.read_text())
|
| 270 |
+
sources = {'reviews': args.reviews, 'registry': args.registry, 'weights': args.weights}
|
| 271 |
+
for key, path in sources.items():
|
| 272 |
+
if digest(path.read_bytes()) != protocol['input_sha256'][key]:
|
| 273 |
+
raise ValueError('Frozen input mismatch: ' + key)
|
| 274 |
+
registry = json.loads(args.registry.read_text())
|
| 275 |
+
indexed = {x['attribute_id']: x for x in registry['attributes']}
|
| 276 |
+
attributes = [indexed[k] for k in registry['main_coordinates']]
|
| 277 |
+
pi = json.loads(args.weights.read_text())['pi_C']
|
| 278 |
+
if set(pi) != set(registry['main_coordinates']) or len(attributes) != 35:
|
| 279 |
+
raise ValueError('Historical coordinates/weights differ')
|
| 280 |
+
for name, sha in MODEL_FILES.items():
|
| 281 |
+
if digest((args.model_dir / name).read_bytes()) != sha:
|
| 282 |
+
raise ValueError('Frozen checkpoint changed: ' + name)
|
| 283 |
+
args.out.mkdir(parents=True)
|
| 284 |
+
started = time.monotonic()
|
| 285 |
+
save(args.out / 'protocol.json', protocol)
|
| 286 |
+
runtime = {'hostname': socket.gethostname(), 'started_at_utc': datetime.now(timezone.utc).isoformat(),
|
| 287 |
+
'script_sha256': digest(Path(__file__).read_bytes()), 'protocol_sha256': digest(args.protocol.read_bytes()),
|
| 288 |
+
'model_sha256': MODEL_FILES, 'inference_device': 'CPU on original AutoDL Pro',
|
| 289 |
+
'local_real_inference': False, 'new_training_fits': 0, 'new_regression_fits': 0}
|
| 290 |
+
save(args.out / 'runtime.json', runtime)
|
| 291 |
+
for key in ['OMP_NUM_THREADS', 'MKL_NUM_THREADS', 'OPENBLAS_NUM_THREADS', 'VECLIB_MAXIMUM_THREADS']:
|
| 292 |
+
os.environ[key] = '8'
|
| 293 |
+
os.environ['HF_HUB_OFFLINE'] = '1'
|
| 294 |
+
os.environ['TRANSFORMERS_OFFLINE'] = '1'
|
| 295 |
+
def no_network(event, values):
|
| 296 |
+
if event == 'socket.connect' and getattr(values[0], 'family', None) in (2, 10, 30):
|
| 297 |
+
raise RuntimeError('Frozen offline inference: internet sockets disabled')
|
| 298 |
+
sys.addaudithook(no_network)
|
| 299 |
+
config = protocol['uie_config']
|
| 300 |
+
model = load_local_model(args.model_dir, config, schema=['观点词', POLARITY],
|
| 301 |
+
aspects=[x['name'] for x in attributes])
|
| 302 |
+
task = model.task_instance
|
| 303 |
+
stats = {'prompt_inputs': 0, 'prompt_chunks': 0, 'forward_batches': 0,
|
| 304 |
+
'unique_texts_inferred': 0, 'cache_hits': 0}
|
| 305 |
+
longtexts, cache = set(), {}
|
| 306 |
+
predict, split, forward = task._single_stage_predict, task._auto_splitter, task.predictor.run
|
| 307 |
+
|
| 308 |
+
def tracked_predict(inputs):
|
| 309 |
+
stats['prompt_inputs'] += len(inputs)
|
| 310 |
+
return predict(inputs)
|
| 311 |
+
|
| 312 |
+
def tracked_split(texts, limit, *a, **kw):
|
| 313 |
+
short, mapping = split(texts, limit, *a, **kw)
|
| 314 |
+
stats['prompt_chunks'] += len(short)
|
| 315 |
+
for i, indices in mapping.items():
|
| 316 |
+
if len(indices) > 1:
|
| 317 |
+
longtexts.add(texts[i])
|
| 318 |
+
return short, mapping
|
| 319 |
+
|
| 320 |
+
def tracked_forward(*a, **kw):
|
| 321 |
+
stats['forward_batches'] += 1
|
| 322 |
+
return forward(*a, **kw)
|
| 323 |
+
|
| 324 |
+
task._single_stage_predict, task._auto_splitter, task.predictor.run = tracked_predict, tracked_split, tracked_forward
|
| 325 |
+
|
| 326 |
+
def infer(events, name):
|
| 327 |
+
todo = list(dict.fromkeys(e['text'] for e in events if e['text'].strip() and e['text'] not in cache))
|
| 328 |
+
stats['cache_hits'] += sum(bool(e['text'].strip()) for e in events) - len(todo)
|
| 329 |
+
with (args.out / 'raw_outputs.jsonl').open('a') as stream:
|
| 330 |
+
for start in range(0, len(todo), 16):
|
| 331 |
+
batch = todo[start:start + 16]
|
| 332 |
+
predictions = model(batch)
|
| 333 |
+
if len(predictions) != len(batch):
|
| 334 |
+
raise ValueError('Model output cardinality mismatch')
|
| 335 |
+
for text, raw in zip(batch, predictions):
|
| 336 |
+
cache[text] = raw
|
| 337 |
+
stream.write(json.dumps({'text': text, 'text_sha256': digest(text.encode()),
|
| 338 |
+
'raw_output': raw, 'longtext': text in longtexts}, ensure_ascii=False) + '\n')
|
| 339 |
+
stream.flush()
|
| 340 |
+
stats['unique_texts_inferred'] += len(batch)
|
| 341 |
+
print(json.dumps({'phase': name, 'completed': min(start + 16, len(todo)),
|
| 342 |
+
'total': len(todo), 'elapsed_seconds': time.monotonic()-started}), flush=True)
|
| 343 |
+
result = []
|
| 344 |
+
for event in events:
|
| 345 |
+
text = event['text']
|
| 346 |
+
if not text.strip():
|
| 347 |
+
states = [{'attribute_id': a['attribute_id'], 'state': 'unknown_empty_body',
|
| 348 |
+
'has_opinion_evidence': False, 'opinions': []} for a in attributes]
|
| 349 |
+
else:
|
| 350 |
+
states = parse_output(text, cache[text], attributes, longtext=text in longtexts)
|
| 351 |
+
result.append({**event, 'states': states})
|
| 352 |
+
write_rows(args.out / (name + '_events.jsonl'), result)
|
| 353 |
+
return result
|
| 354 |
+
|
| 355 |
+
fixtures = protocol['synthetic_cases']
|
| 356 |
+
synthetic = infer(fixtures, 'synthetic')
|
| 357 |
+
gate = evaluate_synthetic(synthetic, fixtures)
|
| 358 |
+
save(args.out / 'synthetic_gate.json', gate)
|
| 359 |
+
summary = {'synthetic_gate_passed': gate['passed'], 'real_pilot_started': False,
|
| 360 |
+
'full_data_inference_started': False, 'status': 'SYNTHETIC_GATE_FAILED'}
|
| 361 |
+
if gate['passed']:
|
| 362 |
+
raw_rows = [json.loads(x) for x in args.reviews.read_text().splitlines() if x.strip()]
|
| 363 |
+
events, excluded = prepare_events(raw_rows)
|
| 364 |
+
selected = select_pilot(events)
|
| 365 |
+
write_rows(args.out / 'time_exclusions.jsonl', excluded)
|
| 366 |
+
write_rows(args.out / 'pilot_input.jsonl', selected)
|
| 367 |
+
result = infer(selected, 'pilot')
|
| 368 |
+
ledger, scores = aggregate_groups(result, attributes, pi)
|
| 369 |
+
write_rows(args.out / 'parent_attribute_ledger.jsonl', ledger)
|
| 370 |
+
save(args.out / 'candidate_P.json', scores)
|
| 371 |
+
nonempty = sum(s['denominator'] > 0 for s in scores)
|
| 372 |
+
summary.update(real_pilot_started=True, eligible_source_events=len(events),
|
| 373 |
+
selected_parent_groups=len({x['group_id'] for x in selected}),
|
| 374 |
+
selected_events=len(selected), nonempty_P_attributes=nonempty,
|
| 375 |
+
event_state_counts=dict(Counter(s['state'] for x in result for s in x['states'])),
|
| 376 |
+
status='BOUNDED_PILOT_INFORMATION_AVAILABLE' if nonempty else 'NO_DIRECTION_INFORMATION')
|
| 377 |
+
else:
|
| 378 |
+
save(args.out / 'candidate_P.json', [
|
| 379 |
+
{'attribute_id': a['attribute_id'], 'name': a['name'], 'historical_pi': pi[a['attribute_id']],
|
| 380 |
+
'P': None, 'denominator': None, 'status': 'not_estimated_synthetic_gate_failed'} for a in attributes])
|
| 381 |
+
import importlib.metadata
|
| 382 |
+
runtime.update(finished_at_utc=datetime.now(timezone.utc).isoformat(), elapsed_seconds=time.monotonic()-started,
|
| 383 |
+
versions={n: importlib.metadata.version(n) for n in ['paddlepaddle', 'paddlenlp', 'numpy']},
|
| 384 |
+
counters=stats, long_text_inputs=len(longtexts))
|
| 385 |
+
save(args.out / 'runtime.json', runtime)
|
| 386 |
+
save(args.out / 'summary.json', summary)
|
| 387 |
+
print(json.dumps(summary), flush=True)
|
| 388 |
+
|
| 389 |
+
|
| 390 |
+
if __name__ == '__main__':
|
| 391 |
+
parser = argparse.ArgumentParser(description=__doc__)
|
| 392 |
+
for name in ['protocol', 'reviews', 'registry', 'weights', 'model-dir', 'out']:
|
| 393 |
+
parser.add_argument('--' + name, type=Path, required=True)
|
| 394 |
+
parser.add_argument('--saved-outputs', type=Path)
|
| 395 |
+
parser.add_argument('--saved-outputs-sha256')
|
| 396 |
+
args = parser.parse_args()
|
| 397 |
+
replay_saved(args) if args.saved_outputs else run(args)
|
supplements/20261107_buv_product_performance_uie/code/scripts/prepare_preperiod_topics.py
ADDED
|
@@ -0,0 +1,508 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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|
| 4 |
+
Reuse the archived pure splitting/grouping functions without executing its old
|
| 5 |
+
review, P, S or outcome stages. Raw text and model outputs stay outside Git.
|
| 6 |
+
"""
|
| 7 |
+
from __future__ import annotations
|
| 8 |
+
|
| 9 |
+
import argparse
|
| 10 |
+
import ast
|
| 11 |
+
from collections import Counter, defaultdict
|
| 12 |
+
from datetime import datetime, timedelta, timezone
|
| 13 |
+
import hashlib
|
| 14 |
+
import importlib.metadata
|
| 15 |
+
import itertools
|
| 16 |
+
import json
|
| 17 |
+
import os
|
| 18 |
+
from pathlib import Path
|
| 19 |
+
import platform
|
| 20 |
+
import random
|
| 21 |
+
import re
|
| 22 |
+
import sys
|
| 23 |
+
import time
|
| 24 |
+
from typing import Any
|
| 25 |
+
import unicodedata
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
REPO = Path(__file__).resolve().parents[1]
|
| 29 |
+
LEGACY = REPO / 'research_collection/20260925_semantic_open_topic/v2_pilot_20260929/code/run_semantic_v2_candidate.py'
|
| 30 |
+
BGE_REVISION = '7999e1d3359715c523056ef9478215996d62a620'
|
| 31 |
+
SEEDS = (2026, 2027, 2028)
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
def digest(data):
|
| 35 |
+
return hashlib.sha256(data).hexdigest()
|
| 36 |
+
|
| 37 |
+
|
| 38 |
+
def write_json(path, data):
|
| 39 |
+
path.parent.mkdir(parents=True, exist_ok=True, mode=0o700)
|
| 40 |
+
path.write_text(json.dumps(data, ensure_ascii=False, indent=2) + '\n')
|
| 41 |
+
path.chmod(0o600)
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
def write_rows(path, rows):
|
| 45 |
+
path.write_text(''.join(json.dumps(r, ensure_ascii=False) + '\n' for r in rows))
|
| 46 |
+
path.chmod(0o600)
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
def source_helpers():
|
| 50 |
+
"""Load only three immutable, standard-library helpers from the old runner."""
|
| 51 |
+
names = {'open_model_text', 'split_open_source', 'open_split_records'}
|
| 52 |
+
tree = ast.parse(LEGACY.read_text())
|
| 53 |
+
nodes = [n for n in tree.body if isinstance(n, ast.FunctionDef) and n.name in names]
|
| 54 |
+
if len(nodes) != len(names):
|
| 55 |
+
raise ValueError('legacy_helper_contract_changed')
|
| 56 |
+
namespace = dict(Any=Any, re=re, unicodedata=unicodedata,
|
| 57 |
+
defaultdict=defaultdict, random=random)
|
| 58 |
+
exec(compile(ast.Module(body=nodes, type_ignores=[]), str(LEGACY), 'exec'), namespace)
|
| 59 |
+
return namespace
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
def prepare_records(path, receipt_path, product_id, before):
|
| 63 |
+
receipt = json.loads(receipt_path.read_text())
|
| 64 |
+
matches = [p for p in receipt['products'] if p['product_id'] == product_id]
|
| 65 |
+
if len(matches) != 1 or not matches[0].get('hash_matches_fixed_manifest'):
|
| 66 |
+
raise ValueError('canonical_product_receipt_missing')
|
| 67 |
+
source = matches[0]
|
| 68 |
+
data = path.read_bytes()
|
| 69 |
+
if digest(data) != source['source_sha256']:
|
| 70 |
+
raise ValueError('canonical_comment_hash_changed')
|
| 71 |
+
rows = [json.loads(line) for line in data.decode('utf-8-sig').splitlines() if line.strip()]
|
| 72 |
+
if len(rows) != source['rows']:
|
| 73 |
+
raise ValueError('canonical_comment_count_changed')
|
| 74 |
+
boundary = datetime.fromisoformat(before + 'T00:00:00+08:00')
|
| 75 |
+
events, keys = [], set()
|
| 76 |
+
for row in sorted(rows, key=lambda r: r['comment_key']):
|
| 77 |
+
key = row['comment_key']
|
| 78 |
+
if not key or key in keys:
|
| 79 |
+
raise ValueError('duplicate_or_empty_comment_identity')
|
| 80 |
+
keys.add(key)
|
| 81 |
+
dt = datetime.fromisoformat(row['created_at_beijing'])
|
| 82 |
+
utc = datetime.fromisoformat(row['created_at_utc'].replace('Z', '+00:00'))
|
| 83 |
+
if dt.tzinfo is None or utc.tzinfo is None or dt != utc or dt >= boundary:
|
| 84 |
+
raise ValueError('preperiod_time_boundary_failed')
|
| 85 |
+
if row['depth'] != 0 or row['is_source_author'] is not False:
|
| 86 |
+
raise ValueError('canonical_preperiod_role_changed')
|
| 87 |
+
events.append(dict(record_id=key, group_key=key, product_id=product_id,
|
| 88 |
+
video_id=row['video_id'], raw_text=row['text'],
|
| 89 |
+
created_at_beijing=row['created_at_beijing']))
|
| 90 |
+
return prepare_events(events, source, receipt)
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
def prepare_events(events, source, receipt, *, split=None):
|
| 94 |
+
"""Reuse original offsets and full-text grouping without deleting records."""
|
| 95 |
+
helpers = source_helpers()
|
| 96 |
+
normalize = helpers['open_model_text']
|
| 97 |
+
events = sorted(events, key=lambda e: e['record_id'])
|
| 98 |
+
split = helpers['open_split_records'](events, 2037) if split is None else split
|
| 99 |
+
dev, held = [e for e in events if split[e['record_id']] == 'development'], [e for e in events if split[e['record_id']] == 'holdout']
|
| 100 |
+
# Empty bodies create no model document. Keep their IDs in the corpus but
|
| 101 |
+
# do not mistake the absence of text on both sides for feature leakage.
|
| 102 |
+
if ({text for e in dev if (text := normalize(e['raw_text']))}
|
| 103 |
+
& {text for e in held if (text := normalize(e['raw_text']))}):
|
| 104 |
+
raise ValueError('full_text_group_leakage')
|
| 105 |
+
units = []
|
| 106 |
+
for event in dev:
|
| 107 |
+
for span in helpers['split_open_source'](event['raw_text']):
|
| 108 |
+
a, b = span['char_start'], span['char_end']
|
| 109 |
+
if span['text'] != event['raw_text'][a:b]:
|
| 110 |
+
raise ValueError('source_offset_mismatch')
|
| 111 |
+
units.append(dict(record_id=event['record_id'], video_id=event['video_id'],
|
| 112 |
+
unit_id=digest(f"{event['record_id']}:{a}:{b}".encode()),
|
| 113 |
+
char_start=a, char_end=b, text=span['text'], model_text=normalize(span['text'])))
|
| 114 |
+
unique = defaultdict(list)
|
| 115 |
+
for u in units:
|
| 116 |
+
if u['model_text']:
|
| 117 |
+
unique[u['model_text']].append(u)
|
| 118 |
+
documents = [dict(text=text, units=unique[text]) for text in sorted(unique)]
|
| 119 |
+
return dict(events=events, development=dev, holdout=held, split=split,
|
| 120 |
+
units=units, documents=documents, source=source, receipt=receipt)
|
| 121 |
+
|
| 122 |
+
|
| 123 |
+
def prepare_sales_background(spec_path, source_root, product_id, before, *, author_view,
|
| 124 |
+
split_grouping='creator_full_text', include_development_parents=False):
|
| 125 |
+
"""Read only pinned shared captures; keep source gaps separate from zeros.
|
| 126 |
+
|
| 127 |
+
Source metadata may contain supplier fields. Only creator, video, time and
|
| 128 |
+
provenance enter these events; sales, search series and old labels do not.
|
| 129 |
+
The complete corpus is preserved before a development-only role view.
|
| 130 |
+
"""
|
| 131 |
+
spec = json.loads(spec_path.read_text())
|
| 132 |
+
if (spec.get('schema') != 'sales-qualified-background-input-v1'
|
| 133 |
+
or spec.get('product_id') != product_id
|
| 134 |
+
or spec.get('native_product_id') != '3632234840075719990'
|
| 135 |
+
or spec.get('end_exclusive') != before
|
| 136 |
+
or author_view not in {'all', 'non_source_author'}
|
| 137 |
+
or split_grouping not in {'creator_full_text', 'thread_full_text'}):
|
| 138 |
+
raise ValueError('explicit_scoped_background_identity_and_role_view_required')
|
| 139 |
+
root = source_root.resolve()
|
| 140 |
+
data, receipts, seen_paths = defaultdict(list), [], set()
|
| 141 |
+
for item in spec['files']:
|
| 142 |
+
name = item['path']; path = root / name
|
| 143 |
+
if (name in seen_paths or path.is_symlink() or not path.resolve().is_relative_to(root)
|
| 144 |
+
or item['role'] not in {'selection', 'coverage', 'comments', 'unavailable', 'unresolved'}):
|
| 145 |
+
raise ValueError('scoped_source_path_or_role_invalid')
|
| 146 |
+
seen_paths.add(name)
|
| 147 |
+
raw = path.read_bytes()
|
| 148 |
+
if digest(raw) != item['sha256']:
|
| 149 |
+
raise ValueError('scoped_source_hash_changed:' + name)
|
| 150 |
+
receipts.append({k: item[k] for k in ('path', 'role', 'sha256')})
|
| 151 |
+
if item['role'] == 'comments':
|
| 152 |
+
value = [json.loads(line) for line in raw.decode('utf-8').splitlines() if line.strip()]
|
| 153 |
+
else:
|
| 154 |
+
value = json.loads(raw)
|
| 155 |
+
data[item['role']].append(value)
|
| 156 |
+
if len(data['selection']) != 1 or not data['comments'] or not data['coverage']:
|
| 157 |
+
raise ValueError('scoped_background_source_set_incomplete')
|
| 158 |
+
selected = {}
|
| 159 |
+
boundary = datetime.fromisoformat(before + 'T00:00:00+08:00')
|
| 160 |
+
start = datetime.fromisoformat(spec['start_inclusive'] + 'T00:00:00+08:00')
|
| 161 |
+
if start >= boundary:
|
| 162 |
+
raise ValueError('scoped_background_window_invalid')
|
| 163 |
+
for row in data['selection'][0]['videos']:
|
| 164 |
+
video = row['video_id']; creator = row.get('creator_key_sha256')
|
| 165 |
+
published = datetime.fromisoformat(row['published_at_utc'].replace('Z', '+00:00'))
|
| 166 |
+
if (video in selected or not isinstance(creator, str) or not re.fullmatch('[0-9a-f]{64}', creator)
|
| 167 |
+
or published.tzinfo is None or published >= boundary):
|
| 168 |
+
raise ValueError('scoped_background_selection_identity_invalid')
|
| 169 |
+
selected[video] = {'creator_group_id': creator,
|
| 170 |
+
'publication_stratum': row['background_publication_stratum']}
|
| 171 |
+
if len(selected) != spec['selected_source_videos']:
|
| 172 |
+
raise ValueError('scoped_background_selection_count_changed')
|
| 173 |
+
complete, unavailable, unresolved = {}, {}, {}
|
| 174 |
+
for document in data['coverage']:
|
| 175 |
+
entries = document['captures'] if 'captures' in document else document['runs']
|
| 176 |
+
for row in entries:
|
| 177 |
+
if row['status'] != 'SINGLE_PASS_COMPLETED':
|
| 178 |
+
continue
|
| 179 |
+
video = row['video_id']; count = row.get('all_returned_rows', row.get('all_rows'))
|
| 180 |
+
if video in complete or type(count) is not int or count < 0:
|
| 181 |
+
raise ValueError('scoped_complete_source_duplicate_or_invalid')
|
| 182 |
+
complete[video] = count
|
| 183 |
+
for document in data['unavailable']:
|
| 184 |
+
for row in document['sources']:
|
| 185 |
+
proof = row['audit']; video = proof['video_id']
|
| 186 |
+
if (video in unavailable or proof.get('product_id') != product_id
|
| 187 |
+
or proof.get('comment_count') is not None or proof.get('missing_is_zero') is not False
|
| 188 |
+
or proof.get('reason') not in {'source_unavailable_status_deleted', 'source_unavailable_status_self_see'}):
|
| 189 |
+
raise ValueError('scoped_unavailable_provenance_invalid')
|
| 190 |
+
unavailable[video] = proof['reason']
|
| 191 |
+
for document in data['unresolved']:
|
| 192 |
+
for row in document['sources']:
|
| 193 |
+
video = row['video_id']
|
| 194 |
+
if video in unresolved or row.get('comment_count') is not None:
|
| 195 |
+
raise ValueError('scoped_unresolved_source_invalid')
|
| 196 |
+
unresolved[video] = row['status']
|
| 197 |
+
if (set(complete) & (set(unavailable) | set(unresolved)) or set(unavailable) & set(unresolved)
|
| 198 |
+
or set(selected) != (set(complete) | set(unavailable) | set(unresolved)) & set(selected)):
|
| 199 |
+
raise ValueError('scoped_source_status_conflict_or_unaccounted_selection')
|
| 200 |
+
counts = {'complete': len(set(selected) & set(complete)),
|
| 201 |
+
'confirmed_unavailable': len(set(selected) & set(unavailable)),
|
| 202 |
+
'unresolved': len(set(selected) & set(unresolved))}
|
| 203 |
+
if counts != spec['expected_background_status_counts']:
|
| 204 |
+
raise ValueError('scoped_background_status_counts_changed')
|
| 205 |
+
all_rows, rows_by_video = {}, Counter()
|
| 206 |
+
for packet in data['comments']:
|
| 207 |
+
for row in packet:
|
| 208 |
+
key, video = row['comment_id'], row['video_id']
|
| 209 |
+
if (not isinstance(key, str) or not re.fullmatch('[1-9][0-9]*', key)
|
| 210 |
+
or not isinstance(video, str) or not re.fullmatch('[1-9][0-9]*', video)
|
| 211 |
+
or key in all_rows or video not in complete):
|
| 212 |
+
raise ValueError('scoped_duplicate_comment_or_incomplete_source')
|
| 213 |
+
if (not isinstance(row.get('text'), str) or type(row.get('create_time')) is not int
|
| 214 |
+
or row['create_time'] <= 0
|
| 215 |
+
or type(row.get('is_source_author')) is not bool or type(row.get('depth')) is not int
|
| 216 |
+
or row['depth'] not in (0, 1)
|
| 217 |
+
or (row['depth'] == 0) != (row.get('parent_comment_id') is None)):
|
| 218 |
+
raise ValueError('scoped_comment_body_time_role_or_parent_invalid')
|
| 219 |
+
local = datetime.fromisoformat(row['published_at_beijing'])
|
| 220 |
+
utc = datetime.fromisoformat(row['published_at_utc'].replace('Z', '+00:00'))
|
| 221 |
+
if (local.utcoffset() != timedelta(hours=8) or utc.utcoffset() != timedelta(0)
|
| 222 |
+
or local != utc or utc != datetime.fromtimestamp(row['create_time'], timezone.utc)):
|
| 223 |
+
raise ValueError('scoped_comment_time_identity_failed')
|
| 224 |
+
all_rows[key] = row; rows_by_video[video] += 1
|
| 225 |
+
if any(rows_by_video[v] != n for v, n in complete.items()):
|
| 226 |
+
raise ValueError('scoped_complete_capture_row_count_changed')
|
| 227 |
+
for row in all_rows.values():
|
| 228 |
+
if row['depth']:
|
| 229 |
+
parent = all_rows.get(row['parent_comment_id'])
|
| 230 |
+
if parent is None or parent['video_id'] != row['video_id'] or parent['depth'] != 0:
|
| 231 |
+
raise ValueError('scoped_reply_parent_not_in_complete_capture')
|
| 232 |
+
events, outside = [], Counter()
|
| 233 |
+
for key, row in sorted(all_rows.items()):
|
| 234 |
+
video = row['video_id']; local = datetime.fromisoformat(row['published_at_beijing'])
|
| 235 |
+
if video not in selected:
|
| 236 |
+
outside['not_in_independent_background_sample'] += 1
|
| 237 |
+
continue
|
| 238 |
+
if not start <= local < boundary:
|
| 239 |
+
outside['outside_background_comment_window'] += 1
|
| 240 |
+
continue
|
| 241 |
+
meta = selected[video]
|
| 242 |
+
events.append(dict(record_id=key, group_key='thread:' + (row['parent_comment_id'] or key),
|
| 243 |
+
creator_group_id=meta['creator_group_id'], product_id=product_id, video_id=video,
|
| 244 |
+
raw_text=row['text'], created_at_beijing=row['published_at_beijing'],
|
| 245 |
+
created_at_utc=row['published_at_utc'], create_time=row['create_time'],
|
| 246 |
+
is_source_author=row['is_source_author'], depth=row['depth'],
|
| 247 |
+
parent_comment_id=row['parent_comment_id'], sticker_id=row.get('sticker_id'),
|
| 248 |
+
publication_stratum=meta['publication_stratum']))
|
| 249 |
+
source_hash = digest(''.join(json.dumps(e, ensure_ascii=False) + '\n' for e in events).encode())
|
| 250 |
+
source = dict(source_sha256=source_hash, source_sha256_kind='derived_fixed_scope_corpus_jsonl',
|
| 251 |
+
rows=len(events), role_view=author_view, source_files=receipts, status_counts=counts,
|
| 252 |
+
window={'start_inclusive': spec['start_inclusive'], 'end_exclusive': before, 'timezone': 'Asia/Shanghai'},
|
| 253 |
+
outside_rows=dict(outside), source_authors=sum(e['is_source_author'] for e in events),
|
| 254 |
+
selected_source_videos=len(selected), complete_source_videos=counts['complete'],
|
| 255 |
+
formal_attribute_weights=None, outcome_or_index_fields_used=False, split_grouping=split_grouping)
|
| 256 |
+
split_population = [e | {'group_key': 'creator:' + e['creator_group_id']}
|
| 257 |
+
for e in events] if split_grouping == 'creator_full_text' else events
|
| 258 |
+
helpers = source_helpers()
|
| 259 |
+
split = helpers['open_split_records'](split_population, 2037)
|
| 260 |
+
fit_events = events if author_view == 'all' else [e for e in events if not e['is_source_author']]
|
| 261 |
+
result = prepare_events(fit_events, source, spec, split=split)
|
| 262 |
+
result['all_events'] = events
|
| 263 |
+
if include_development_parents:
|
| 264 |
+
# Context is requested by development reply IDs only. Older roots may
|
| 265 |
+
# assist interpretation, but never enter the measurement population.
|
| 266 |
+
parent_ids = {e['parent_comment_id'] for e in result['development'] if e['depth']}
|
| 267 |
+
result['development_parent_sources'] = {k: all_rows[k] for k in sorted(parent_ids)}
|
| 268 |
+
result['source_status'] = {v: {'status': 'complete' if v in complete else
|
| 269 |
+
'confirmed_unavailable' if v in unavailable else 'unresolved',
|
| 270 |
+
**selected[v]} for v in sorted(selected)}
|
| 271 |
+
dev_creators = {e['creator_group_id'] for e in result['development']}
|
| 272 |
+
held_creators = {e['creator_group_id'] for e in result['holdout']}
|
| 273 |
+
dev_threads = {e['group_key'] for e in result['development']}
|
| 274 |
+
held_threads = {e['group_key'] for e in result['holdout']}
|
| 275 |
+
if dev_threads & held_threads:
|
| 276 |
+
raise ValueError('scoped_thread_split_leakage')
|
| 277 |
+
if split_grouping == 'creator_full_text' and dev_creators & held_creators:
|
| 278 |
+
raise ValueError('scoped_creator_split_leakage')
|
| 279 |
+
result['split_audit'] = {'whole_creator_groups': split_grouping == 'creator_full_text',
|
| 280 |
+
'whole_thread_groups': True, 'full_text_overlap': 0, 'thread_overlap': 0,
|
| 281 |
+
'full_text_overlap_definition': 'Nonempty normalized full text; empty-body IDs remain in the source corpus.',
|
| 282 |
+
'normalized_empty_corpus_records': sum(not helpers['open_model_text'](e['raw_text']) for e in events),
|
| 283 |
+
'creator_overlap': len(dev_creators & held_creators),
|
| 284 |
+
'video_overlap': len({e['video_id'] for e in result['development']} & {e['video_id'] for e in result['holdout']}),
|
| 285 |
+
'development_creators': len(dev_creators), 'heldout_creators': len(held_creators),
|
| 286 |
+
'all_corpus_records_assigned': len(split), 'fit_role_view': author_view,
|
| 287 |
+
'development_month_counts': dict(sorted(Counter(e['created_at_beijing'][:7] for e in result['development']).items())),
|
| 288 |
+
'heldout_month_counts': dict(sorted(Counter(e['created_at_beijing'][:7] for e in result['holdout']).items()))}
|
| 289 |
+
return result
|
| 290 |
+
|
| 291 |
+
|
| 292 |
+
def verify_local_model(model_dir):
|
| 293 |
+
files = {}
|
| 294 |
+
for path in sorted(model_dir.rglob('*')):
|
| 295 |
+
if not path.is_file() or '.cache' in path.relative_to(model_dir).parts or path.name in {'.gitattributes', 'README.md'}:
|
| 296 |
+
continue
|
| 297 |
+
rel = path.relative_to(model_dir).as_posix()
|
| 298 |
+
meta = model_dir / '.cache/huggingface/download' / (rel + '.metadata')
|
| 299 |
+
lines = meta.read_text().splitlines()
|
| 300 |
+
raw = path.read_bytes()
|
| 301 |
+
actual = digest(raw) if len(lines[1]) == 64 else hashlib.sha1(b'blob ' + str(len(raw)).encode() + b'\0' + raw).hexdigest()
|
| 302 |
+
if lines[0] != BGE_REVISION or actual != lines[1]:
|
| 303 |
+
raise ValueError('pinned_local_model_cache_mismatch:' + rel)
|
| 304 |
+
files[rel] = digest(raw)
|
| 305 |
+
if 'model.safetensors' not in files or 'modules.json' not in files:
|
| 306 |
+
raise ValueError('pinned_local_model_incomplete')
|
| 307 |
+
return files
|
| 308 |
+
|
| 309 |
+
|
| 310 |
+
def topic_support(labels, documents, development):
|
| 311 |
+
"""Count original comments once per machine cluster, without calling it an attribute."""
|
| 312 |
+
normalize = source_helpers()['open_model_text']
|
| 313 |
+
text_by_id = {e['record_id']: normalize(e['raw_text']) for e in development}
|
| 314 |
+
frequencies = Counter(text_by_id.values())
|
| 315 |
+
out = []
|
| 316 |
+
for label in sorted(set(labels)):
|
| 317 |
+
indexes = [i for i, value in enumerate(labels) if value == label]
|
| 318 |
+
members = {u['record_id'] for i in indexes for u in documents[i]['units']}
|
| 319 |
+
videos = Counter(u['video_id'] for e in development if e['record_id'] in members for u in [e])
|
| 320 |
+
out.append(dict(topic_id=int(label), status='outlier' if label == -1 else 'unvalidated_machine_cluster',
|
| 321 |
+
unique_documents=len(indexes), original_comment_support=len(members),
|
| 322 |
+
development_comments_denominator=len(development),
|
| 323 |
+
comment_support_share=len(members) / len(development),
|
| 324 |
+
inverse_full_text_duplicate_support=sum(1 / frequencies[text_by_id[k]] for k in members),
|
| 325 |
+
source_videos=len(videos), largest_source_comment_share=max(videos.values()) / len(members),
|
| 326 |
+
canonical_attribute=None, formal_attribute_decision=None))
|
| 327 |
+
return out
|
| 328 |
+
|
| 329 |
+
|
| 330 |
+
def run(args):
|
| 331 |
+
out = args.output_dir.resolve()
|
| 332 |
+
if out == REPO or REPO in out.parents:
|
| 333 |
+
raise ValueError('raw_topic_outputs_must_stay_outside_repository')
|
| 334 |
+
out.mkdir(parents=True, exist_ok=False, mode=0o700)
|
| 335 |
+
os.environ['HF_HUB_OFFLINE'] = '1'
|
| 336 |
+
os.environ['TRANSFORMERS_OFFLINE'] = '1'
|
| 337 |
+
os.environ['TOKENIZERS_PARALLELISM'] = 'false'
|
| 338 |
+
os.environ['NUMBA_NUM_THREADS'] = '1'
|
| 339 |
+
os.environ['USE_TORCH'] = '1'
|
| 340 |
+
os.environ['USE_TF'] = '0'
|
| 341 |
+
os.environ['USE_FLAX'] = '0'
|
| 342 |
+
# UMAP imports optional ParametricUMAP even for ordinary CPU UMAP. Disable
|
| 343 |
+
# that unused TensorFlow backend in this standalone process, without
|
| 344 |
+
# changing the shared environment or installing/removing any package.
|
| 345 |
+
if sys.modules.get('tensorflow') is not None:
|
| 346 |
+
raise RuntimeError('standalone_process_required_tensorflow_already_loaded')
|
| 347 |
+
sys.modules['tensorflow'] = None
|
| 348 |
+
scoped = args.scope_source_spec is not None
|
| 349 |
+
source_receipt = args.scope_source_spec if scoped else args.source_receipt
|
| 350 |
+
model_files = verify_local_model(args.model_dir) if args.model_dir is not None else None
|
| 351 |
+
protocol = dict(schema='sales-background-topic-preparation-v1' if scoped else 'preperiod-topic-preparation-v1', status='PREPARING',
|
| 352 |
+
product_id=args.product_id, before_beijing=args.before, seeds=list(SEEDS),
|
| 353 |
+
repeat_seed=2026, split_seed=2037, development_fraction_by_full_text_component=0.8,
|
| 354 |
+
legacy_source_sha256=digest(LEGACY.read_bytes()), script_sha256=digest(Path(__file__).read_bytes()),
|
| 355 |
+
source_receipt_sha256=digest(source_receipt.read_bytes()),
|
| 356 |
+
bge_revision=BGE_REVISION, model_files_sha256=model_files,
|
| 357 |
+
model_provenance=('fixed local HF cache revision and per-file object hashes checked; no new download'
|
| 358 |
+
if model_files is not None else 'input preparation only; no model loaded'),
|
| 359 |
+
umap=dict(n_neighbors=15, n_components=5, min_dist=0.0, metric='cosine'),
|
| 360 |
+
hdbscan=dict(min_cluster_size=15, min_samples=5, metric='euclidean', cluster_selection_method='eom'),
|
| 361 |
+
vectorizer=dict(tokenizer='jieba default without added words', ngram_range=[1, 2], min_df=2),
|
| 362 |
+
background_filter=False, old_attribute_labels_used=False, outcome_or_index_inputs=False,
|
| 363 |
+
optional_backends=dict(tensorflow=False, flax=False, parametric_umap=False),
|
| 364 |
+
formal_attributes_created=False, holdout_used_for_fit=False, new_independent_gold_created=False,
|
| 365 |
+
holdout_caution='Original archive has prior exploratory exposure; this split is a model-fit boundary, not a new untouched human gold set.',
|
| 366 |
+
availability_caution='Preperiod comment timestamps with retrospective capture do not establish a prospective real-time information set.',
|
| 367 |
+
input_mode='fixed_sales_qualified_captures' if scoped else 'legacy_canonical_main_comments',
|
| 368 |
+
source_author_view=args.source_author_view if scoped else 'legacy_non_source_author_main',
|
| 369 |
+
split_grouping=args.split_grouping if scoped else 'original_comment_and_identical_full_text_components',
|
| 370 |
+
input_only_preparation=args.prepare_only,
|
| 371 |
+
device='cpu', started_at_utc=datetime.now(timezone.utc).isoformat())
|
| 372 |
+
write_json(out/'protocol.json', protocol)
|
| 373 |
+
prepared = (prepare_sales_background(args.scope_source_spec, args.source_root, args.product_id, args.before,
|
| 374 |
+
author_view=args.source_author_view, split_grouping=args.split_grouping) if scoped else
|
| 375 |
+
prepare_records(args.comments, args.source_receipt, args.product_id, args.before))
|
| 376 |
+
all_events = prepared.get('all_events', prepared['events'])
|
| 377 |
+
write_rows(out/'record_split.jsonl', [dict(record_id=e['record_id'], split=prepared['split'][e['record_id']]) for e in all_events])
|
| 378 |
+
if scoped:
|
| 379 |
+
write_rows(out/'scoped_corpus.jsonl', all_events)
|
| 380 |
+
if digest((out/'scoped_corpus.jsonl').read_bytes()) != prepared['source']['source_sha256']:
|
| 381 |
+
raise ValueError('derived_scoped_corpus_hash_changed')
|
| 382 |
+
write_json(out/'source_status.json', prepared['source_status'])
|
| 383 |
+
write_json(out/'input_receipt.json', prepared['source'])
|
| 384 |
+
write_json(out/'split_audit.json', prepared['split_audit'])
|
| 385 |
+
write_rows(out/'development_units.jsonl', prepared['units'])
|
| 386 |
+
write_rows(out/'unique_documents.jsonl', prepared['documents'])
|
| 387 |
+
print(json.dumps({'phase':'prepared', 'development_comments':len(prepared['development']),
|
| 388 |
+
'held_out_comments':len(prepared['holdout'])}), flush=True)
|
| 389 |
+
if args.prepare_only:
|
| 390 |
+
summary = dict(schema='preperiod-input-preparation-result-v1', status='INPUT_PREPARED_NO_MODEL_FIT',
|
| 391 |
+
source_corpus_comments=len(all_events), selected_role_view_comments=len(prepared['events']),
|
| 392 |
+
development_comments=len(prepared['development']), held_out_comments=len(prepared['holdout']),
|
| 393 |
+
development_units=len(prepared['units']), unique_model_documents=len(prepared['documents']),
|
| 394 |
+
source=prepared['source'], split_audit=prepared.get('split_audit'),
|
| 395 |
+
source_comment_sha256=prepared['source']['source_sha256'],
|
| 396 |
+
formal_attributes_created=False, attribute_weights_created=False, model_fitted=False,
|
| 397 |
+
outcome_or_index_inputs=False, finished_at_utc=datetime.now(timezone.utc).isoformat())
|
| 398 |
+
write_json(out/'summary.json', summary)
|
| 399 |
+
print(json.dumps({k: v for k, v in summary.items() if k not in {'source', 'split_audit'}}), flush=True)
|
| 400 |
+
return
|
| 401 |
+
start = time.monotonic()
|
| 402 |
+
import numpy as np
|
| 403 |
+
import torch
|
| 404 |
+
from sentence_transformers import SentenceTransformer
|
| 405 |
+
from bertopic import BERTopic
|
| 406 |
+
from hdbscan import HDBSCAN
|
| 407 |
+
from sklearn.feature_extraction.text import CountVectorizer
|
| 408 |
+
from sklearn.metrics import adjusted_rand_score, normalized_mutual_info_score
|
| 409 |
+
from umap import UMAP
|
| 410 |
+
import jieba
|
| 411 |
+
torch.set_num_threads(4)
|
| 412 |
+
torch.manual_seed(2026)
|
| 413 |
+
np.random.seed(2026)
|
| 414 |
+
texts = [d['text'] for d in prepared['documents']]
|
| 415 |
+
encoder = SentenceTransformer(str(args.model_dir), device='cpu', local_files_only=True)
|
| 416 |
+
lengths = encoder.tokenizer(texts, truncation=False, return_length=True)['length']
|
| 417 |
+
vectors = np.asarray(encoder.encode(texts, batch_size=32, normalize_embeddings=True,
|
| 418 |
+
convert_to_numpy=True, show_progress_bar=False), dtype=np.float32)
|
| 419 |
+
np.save(out/'embeddings.npy', vectors, allow_pickle=False)
|
| 420 |
+
(out/'embeddings.npy').chmod(0o600)
|
| 421 |
+
print(json.dumps({'phase':'embedded', 'development_comments':len(prepared['development']), 'unique_documents':len(texts)}), flush=True)
|
| 422 |
+
|
| 423 |
+
def tokenize(text):
|
| 424 |
+
return [x for x in jieba.lcut(text) if x.strip() and re.search(r'[\u4e00-\u9fffA-Za-z0-9]', x)]
|
| 425 |
+
|
| 426 |
+
runs, assignments = [], {}
|
| 427 |
+
for name, seed in [(str(s), s) for s in SEEDS] + [('2026_repeat', 2026)]:
|
| 428 |
+
began = time.monotonic()
|
| 429 |
+
model = BERTopic(language='multilingual', embedding_model=None,
|
| 430 |
+
umap_model=UMAP(**protocol['umap'], random_state=seed, n_jobs=1),
|
| 431 |
+
hdbscan_model=HDBSCAN(**protocol['hdbscan'], prediction_data=True, core_dist_n_jobs=1),
|
| 432 |
+
vectorizer_model=CountVectorizer(tokenizer=tokenize, token_pattern=None, lowercase=False, ngram_range=(1, 2), min_df=2),
|
| 433 |
+
seed_topic_list=None, zeroshot_topic_list=None, nr_topics=None,
|
| 434 |
+
calculate_probabilities=False, verbose=False)
|
| 435 |
+
labels, _ = model.fit_transform(texts, embeddings=vectors)
|
| 436 |
+
labels = [int(v) for v in labels]
|
| 437 |
+
assignments[name] = labels
|
| 438 |
+
registry = topic_support(labels, prepared['documents'], prepared['development'])
|
| 439 |
+
cards = []
|
| 440 |
+
for topic in registry:
|
| 441 |
+
tid = topic['topic_id']
|
| 442 |
+
topic['top_words'] = [[str(w), float(weight)] for w, weight in (model.get_topic(tid) or [])[:15]]
|
| 443 |
+
indexes = [i for i, label in enumerate(labels) if label == tid]
|
| 444 |
+
centroid = vectors[indexes].mean(axis=0)
|
| 445 |
+
centroid /= max(float(np.linalg.norm(centroid)), 1e-12)
|
| 446 |
+
ranked = sorted(indexes, key=lambda i: (-float(vectors[i] @ centroid), digest(texts[i].encode())))
|
| 447 |
+
rnd = random.Random(seed + tid); selected = list(indexes); rnd.shuffle(selected)
|
| 448 |
+
for selection, members in [('representative', ranked[:5]), ('random_development', selected[:10])]:
|
| 449 |
+
cards.extend(dict(topic_id=tid, selection=selection, document_index=i, text=texts[i]) for i in members)
|
| 450 |
+
d = out / ('seed_' + name); d.mkdir(mode=0o700)
|
| 451 |
+
write_json(d/'assignments.json', labels)
|
| 452 |
+
write_json(d/'topic_registry.json', registry)
|
| 453 |
+
write_rows(d/'topic_cards.jsonl', cards)
|
| 454 |
+
result = dict(run=name, seed=seed, clusters=sum(t['topic_id'] >= 0 for t in registry),
|
| 455 |
+
outlier_documents=labels.count(-1), elapsed_seconds=time.monotonic()-began)
|
| 456 |
+
runs.append(result); print(json.dumps(result), flush=True)
|
| 457 |
+
pairs = []
|
| 458 |
+
for a, b in itertools.combinations(map(str, SEEDS), 2):
|
| 459 |
+
pairs.append(dict(a=a,b=b,adjusted_rand_including_outliers=float(adjusted_rand_score(assignments[a],assignments[b])),
|
| 460 |
+
normalized_mutual_information_including_outliers=float(normalized_mutual_info_score(assignments[a],assignments[b]))))
|
| 461 |
+
summary = dict(schema='preperiod-topic-preparation-result-v1', status='MACHINE_DISCOVERY_COMPLETED_UNVALIDATED',
|
| 462 |
+
protocol_sha256=digest((out/'protocol.json').read_bytes()), product_id=args.product_id,
|
| 463 |
+
source_comment_sha256=prepared['source']['source_sha256'], source_comments=len(prepared['events']),
|
| 464 |
+
input_mode=protocol['input_mode'], source_author_view=protocol['source_author_view'],
|
| 465 |
+
source_corpus_comments=len(all_events), split_audit=prepared.get('split_audit'),
|
| 466 |
+
development_comments=len(prepared['development']), held_out_comments=len(prepared['holdout']),
|
| 467 |
+
development_units=len(prepared['units']), unique_model_documents=len(texts),
|
| 468 |
+
discarded_empty_model_units=sum(not u['model_text'] for u in prepared['units']),
|
| 469 |
+
token_limit=encoder.max_seq_length, documents_exceeding_token_limit=sum(n > encoder.max_seq_length for n in lengths),
|
| 470 |
+
seed_runs=runs, pairwise_stability=pairs, exact_same_seed_assignment_repeat=assignments['2026']==assignments['2026_repeat'],
|
| 471 |
+
elapsed_seconds=time.monotonic()-start, platform=platform.platform(), python=platform.python_version(),
|
| 472 |
+
packages={p:importlib.metadata.version(p) for p in ['numpy','torch','sentence-transformers','bertopic','umap-learn','hdbscan','jieba','scikit-learn']},
|
| 473 |
+
formal_attributes_created=False, attribute_weights_created=False, outcome_or_index_inputs=False,
|
| 474 |
+
limits=['Clusters and token labels are not validated attributes.', 'No topic acceptance, canonical naming, threshold calibration, heldout scoring or regression performed.',
|
| 475 |
+
'Stability measures cluster consistency, not semantic validity.', 'Comment support is binary per original comment per machine cluster; shares need not sum to one.'],
|
| 476 |
+
finished_at_utc=datetime.now(timezone.utc).isoformat())
|
| 477 |
+
write_json(out/'summary.json', summary)
|
| 478 |
+
print(json.dumps(summary), flush=True)
|
| 479 |
+
|
| 480 |
+
|
| 481 |
+
def main():
|
| 482 |
+
parser=argparse.ArgumentParser(description=__doc__)
|
| 483 |
+
parser.add_argument('--comments', type=Path)
|
| 484 |
+
parser.add_argument('--source-receipt', type=Path)
|
| 485 |
+
parser.add_argument('--scope-source-spec', type=Path)
|
| 486 |
+
parser.add_argument('--source-root', type=Path)
|
| 487 |
+
parser.add_argument('--source-author-view', choices=('all', 'non_source_author'))
|
| 488 |
+
parser.add_argument('--split-grouping', choices=('thread_full_text', 'creator_full_text'))
|
| 489 |
+
parser.add_argument('--prepare-only', action='store_true')
|
| 490 |
+
parser.add_argument('--product-id', required=True)
|
| 491 |
+
parser.add_argument('--before', required=True)
|
| 492 |
+
parser.add_argument('--model-dir', type=Path)
|
| 493 |
+
parser.add_argument('--output-dir', type=Path, required=True)
|
| 494 |
+
args=parser.parse_args()
|
| 495 |
+
if args.scope_source_spec is not None:
|
| 496 |
+
if (args.source_root is None or args.source_author_view is None or args.split_grouping is None
|
| 497 |
+
or args.comments is not None or args.source_receipt is not None):
|
| 498 |
+
parser.error('Scoped input requires its root, explicit author view and split grouping; legacy input flags cannot be mixed.')
|
| 499 |
+
elif (args.comments is None or args.source_receipt is None or args.source_root is not None
|
| 500 |
+
or args.source_author_view is not None or args.split_grouping is not None):
|
| 501 |
+
parser.error('Legacy input requires comments and source receipt; scoped-only flags cannot be mixed.')
|
| 502 |
+
if not args.prepare_only and args.model_dir is None:
|
| 503 |
+
parser.error('Model fitting requires an explicitly pinned local model directory.')
|
| 504 |
+
run(args)
|
| 505 |
+
|
| 506 |
+
|
| 507 |
+
if __name__ == '__main__':
|
| 508 |
+
main()
|
supplements/20261107_buv_product_performance_uie/controller_reader_errors.log
ADDED
|
File without changes
|
supplements/20261107_buv_product_performance_uie/controller_reader_ready.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"pid": 1960, "controller_pid": 1563, "model_restarted": false}
|
supplements/20261107_buv_product_performance_uie/controller_stream_1.log
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"phase": "synthetic", "completed": 16, "total": 24, "elapsed_seconds": 1045.2042583618313}
|
| 2 |
+
{"phase": "synthetic", "completed": 24, "total": 24, "elapsed_seconds": 1561.41142801987}
|
| 3 |
+
Traceback (most recent call last):
|
| 4 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 326, in <module>
|
| 5 |
+
run(parser.parse_args())
|
| 6 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 288, in run
|
| 7 |
+
synthetic = infer(fixtures, 'synthetic')
|
| 8 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 9 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 282, in infer
|
| 10 |
+
states = parse_output(text, cache[text], attributes, longtext=text in longtexts)
|
| 11 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 12 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 95, in parse_output
|
| 13 |
+
raise ValueError('Invalid returned opinion span; no repair permitted')
|
| 14 |
+
ValueError: Invalid returned opinion span; no repair permitted
|
| 15 |
+
{"status": "EXITED", "timeout_pid": 1564, "started_at_utc": "2026-11-07T15:05:19.614053+00:00", "timeout_seconds": 2958, "exit_code": 1, "elapsed_seconds": 1564.2662971019745, "finished_at_utc": "2026-11-07T15:31:23.879611+00:00"}
|
supplements/20261107_buv_product_performance_uie/controller_stream_2.log
ADDED
|
File without changes
|
supplements/20261107_buv_product_performance_uie/input_manifest.json
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"files": {
|
| 3 |
+
"code/scripts/measure_buv_product_performance.py": {
|
| 4 |
+
"sha256": "f813c99e0dfa9c9b7aaa5e739e43720c65c33d045ec234df9eb5cbe50bae13c9",
|
| 5 |
+
"bytes": 16952
|
| 6 |
+
},
|
| 7 |
+
"code/scripts/extract_buv_measurement_uie.py": {
|
| 8 |
+
"sha256": "b909c6213f645fcef4fa365ff8ccd568f4001a4112353c0e331ea87c75136322",
|
| 9 |
+
"bytes": 11080
|
| 10 |
+
},
|
| 11 |
+
"code/scripts/extract_preperiod_uie_features.py": {
|
| 12 |
+
"sha256": "2586e35919a3fa49654f4bced0884749e7d325f5bf6cf0af8a3c12f80a65de40",
|
| 13 |
+
"bytes": 13268
|
| 14 |
+
},
|
| 15 |
+
"code/scripts/prepare_preperiod_topics.py": {
|
| 16 |
+
"sha256": "34c58eacd309cf816e89485f1c0b32550dc2e5aead5105efa25a013126cfce73",
|
| 17 |
+
"bytes": 31702
|
| 18 |
+
},
|
| 19 |
+
"inputs/protocol.json": {
|
| 20 |
+
"sha256": "1b32796329df92f1196bcd975564b314204e21c479937fe36b8a3e8d72763ebf",
|
| 21 |
+
"bytes": 7286
|
| 22 |
+
},
|
| 23 |
+
"inputs/registry.json": {
|
| 24 |
+
"sha256": "66b9aa2e2091fd9a7ed8fe0b6779e34e4b878178d6eb380f9056fdf8679c23cc",
|
| 25 |
+
"bytes": 27964
|
| 26 |
+
},
|
| 27 |
+
"inputs/weights.json": {
|
| 28 |
+
"sha256": "5b35e70aff25c950ae71365912454f25ecfa94519572ec932b93f74dbfb353c2",
|
| 29 |
+
"bytes": 28039
|
| 30 |
+
},
|
| 31 |
+
"inputs/reviews.jsonl": {
|
| 32 |
+
"sha256": "28418ee5f958135f5700221a3a82d6714f8a31f955b293e0003e7917881c2e0c",
|
| 33 |
+
"bytes": 558001
|
| 34 |
+
},
|
| 35 |
+
"code/scripts/build_buv_pilot_panel.py": {
|
| 36 |
+
"sha256": "078682653932d836d2b41d5e4e16115f547ad205b9a22970b26ee0166ab2e9ce",
|
| 37 |
+
"bytes": 31369
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
}
|
supplements/20261107_buv_product_performance_uie/inputs/protocol.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "buv-preperiod-product-performance-bounded-v1",
|
| 3 |
+
"frozen_before_inference": true,
|
| 4 |
+
"status": "MODEL_ASSISTED_PROTOCOL_NOT_MEASUREMENT_VALIDATION",
|
| 5 |
+
"review_chat_url": "https://chatgpt.com/c/6aef3747-8b44-83e9-a00c-9d6004385649",
|
| 6 |
+
"pro_visible_setting": "Pro 5 of 5",
|
| 7 |
+
"pro_server_model_verified": false,
|
| 8 |
+
"pro_prompt_sha256": "c42b2f4e8df8eb10e83a7a85c8a7f0497f29ad655309dad97748168904003682",
|
| 9 |
+
"pro_response_sha256": "d3e9c15a97c339389398d7d3d2277553d336b0d52e1b2a6d74624ef8cf1bcd1e",
|
| 10 |
+
"input_sha256": {
|
| 11 |
+
"reviews": "28418ee5f958135f5700221a3a82d6714f8a31f955b293e0003e7917881c2e0c",
|
| 12 |
+
"weights": "5b35e70aff25c950ae71365912454f25ecfa94519572ec932b93f74dbfb353c2",
|
| 13 |
+
"registry": "66b9aa2e2091fd9a7ed8fe0b6779e34e4b878178d6eb380f9056fdf8679c23cc"
|
| 14 |
+
},
|
| 15 |
+
"coordinate_registry": "docs/sources/20261027/buv_attribute_protocol_v1.json",
|
| 16 |
+
"cutoff": "2026-09-01 00:00:00",
|
| 17 |
+
"time_basis": "source displayed calendar time; timezone unverified",
|
| 18 |
+
"model": "uie-senta-base",
|
| 19 |
+
"uie_schema": [
|
| 20 |
+
"观点词",
|
| 21 |
+
"情感倾向[正向,负向,未提及]"
|
| 22 |
+
],
|
| 23 |
+
"uie_config": {
|
| 24 |
+
"batch_size": 16,
|
| 25 |
+
"max_seq_len": 512,
|
| 26 |
+
"position_prob": 0.5,
|
| 27 |
+
"split_sentence": false,
|
| 28 |
+
"num_workers": 0,
|
| 29 |
+
"use_fast": false
|
| 30 |
+
},
|
| 31 |
+
"synthetic_cases": [
|
| 32 |
+
{
|
| 33 |
+
"case_id": "01",
|
| 34 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢都洗干净了。",
|
| 35 |
+
"expected": "A01 正向"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"case_id": "02",
|
| 39 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢仍然洗不干净。",
|
| 40 |
+
"expected": "A01 负向"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"case_id": "03",
|
| 44 |
+
"text": "我用了BUV洗面奶,控油效果很好。",
|
| 45 |
+
"expected": "A02 正向"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"case_id": "04",
|
| 49 |
+
"text": "我用了BUV洗面奶,控油效果很差。",
|
| 50 |
+
"expected": "A02 负向"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"case_id": "05",
|
| 54 |
+
"text": "我用了BUV洗面奶,洗后脸部不紧绷。",
|
| 55 |
+
"expected": "A10 正向"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"case_id": "06",
|
| 59 |
+
"text": "我用了BUV洗面奶,洗后脸部很紧绷。",
|
| 60 |
+
"expected": "A10 负向"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"case_id": "07",
|
| 64 |
+
"text": "我用了BUV洗面奶,感觉很温和。",
|
| 65 |
+
"expected": "A12 正向"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"case_id": "08",
|
| 69 |
+
"text": "我用了BUV洗面奶,感觉很刺激。",
|
| 70 |
+
"expected": "A12 负向"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"case_id": "09",
|
| 74 |
+
"text": "我用了BUV洗面奶,清洁效果很好,但刺激性很强。",
|
| 75 |
+
"expected": "A01 正、A12 负"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"case_id": "10",
|
| 79 |
+
"text": "我用了BUV洗面奶,清洁效果很差,但感觉很温和。",
|
| 80 |
+
"expected": "A01 负、A12 正"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"case_id": "11",
|
| 84 |
+
"text": "BUV洗面奶控油好吗?",
|
| 85 |
+
"expected": "不得产生 P 方向票"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"case_id": "12",
|
| 89 |
+
"text": "BUV洗面奶洗后会紧绷吗?",
|
| 90 |
+
"expected": "不得产生 P 方向票"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"case_id": "13",
|
| 94 |
+
"text": "BUV洗面奶还没用,希望控油好。",
|
| 95 |
+
"expected": "不得产生 P 方向票"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"case_id": "14",
|
| 99 |
+
"text": "BUV洗面奶还没开封,期待洗后不紧绷。",
|
| 100 |
+
"expected": "不得产生 P 方向票"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"case_id": "15",
|
| 104 |
+
"text": "另一款洗面奶控油很好;BUV我还没用。",
|
| 105 |
+
"expected": "不得产生 BUV 的 P 方向票"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"case_id": "16",
|
| 109 |
+
"text": "另一款洗面奶用着很温和,但BUV我用后觉得很刺激。",
|
| 110 |
+
"expected": "A12 负向或弃权;不得记正向"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"case_id": "17",
|
| 114 |
+
"text": "BUV快递送得很快。",
|
| 115 |
+
"expected": "35 个主坐标均不得产生 P 票"
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"case_id": "18",
|
| 119 |
+
"text": "为了代言人购买BUV,支持偶像。",
|
| 120 |
+
"expected": "35 个主坐标均不得产生 P 票"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"case_id": "19",
|
| 124 |
+
"text": "BUV非常好,五星好评!",
|
| 125 |
+
"expected": "不得向具体属性外推 P 票"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"case_id": "20",
|
| 129 |
+
"text": "这支BUV洗面奶净含量100毫升。",
|
| 130 |
+
"expected": "不得把中性规格陈述计为正负票"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"case_id": "21",
|
| 134 |
+
"text": "我用BUV后,有时控油很好,有时控油很差。",
|
| 135 |
+
"expected": "A02 弃权,不得单边计票"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"case_id": "22",
|
| 139 |
+
"text": "我用BUV后,有时不紧绷,有时很紧绷。",
|
| 140 |
+
"expected": "A10 弃权,不得单边计票"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"case_id": "23",
|
| 144 |
+
"text": "我用BUV后,有时很温和,有时很刺激。",
|
| 145 |
+
"expected": "A12 弃权,不得单边计票"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"case_id": "24",
|
| 149 |
+
"text": "我用BUV后,有时洗得干净,有时洗不干净。",
|
| 150 |
+
"expected": "A01 弃权,不得单边计票"
|
| 151 |
+
}
|
| 152 |
+
],
|
| 153 |
+
"gate": {
|
| 154 |
+
"complete_reversal_pairs_at_least": 3,
|
| 155 |
+
"reversal_target_wrong_sign_allowed": 0,
|
| 156 |
+
"cross_attribute_target_errors_allowed": 0,
|
| 157 |
+
"forbidden_cases": [
|
| 158 |
+
"11",
|
| 159 |
+
"12",
|
| 160 |
+
"13",
|
| 161 |
+
"14",
|
| 162 |
+
"15",
|
| 163 |
+
"17",
|
| 164 |
+
"18",
|
| 165 |
+
"19",
|
| 166 |
+
"20"
|
| 167 |
+
],
|
| 168 |
+
"forbidden_case_direction_votes_allowed": 0,
|
| 169 |
+
"case16_positive_votes_allowed": 0,
|
| 170 |
+
"mixed_cases": [
|
| 171 |
+
"21",
|
| 172 |
+
"22",
|
| 173 |
+
"23",
|
| 174 |
+
"24"
|
| 175 |
+
],
|
| 176 |
+
"mixed_case_direction_votes_allowed": 0,
|
| 177 |
+
"invalid_source_spans_allowed": 0,
|
| 178 |
+
"parser_only_repair_max": 1,
|
| 179 |
+
"semantic_retries_allowed": 0
|
| 180 |
+
},
|
| 181 |
+
"pilot": {
|
| 182 |
+
"max_parent_groups": 64,
|
| 183 |
+
"max_events": 128,
|
| 184 |
+
"sample_order": "SHA256(buv-p-pilot-v1| + original parent_id), retain complete groups",
|
| 185 |
+
"run_only_if_synthetic_gate_passes": true,
|
| 186 |
+
"full_data_run_automatic": false,
|
| 187 |
+
"single_original_instance_billed_minutes_limit": 60
|
| 188 |
+
},
|
| 189 |
+
"counting": {
|
| 190 |
+
"one_vote_per_parent_attribute": true,
|
| 191 |
+
"post_cutoff_append_excluded_before_grouping": true,
|
| 192 |
+
"latest_event_with_opinion_evidence_even_if_unknown": true,
|
| 193 |
+
"latest_unknown_blocks_old_direction": true,
|
| 194 |
+
"no_opinion_evidence_append_does_not_erase_prior_evidence": true,
|
| 195 |
+
"different_parent_same_body_retained": true,
|
| 196 |
+
"P": "positive/(positive+negative); denominator zero => NA",
|
| 197 |
+
"neutral_measured": false,
|
| 198 |
+
"mixed": "same timestamp, distinct events with opposed accepted directions",
|
| 199 |
+
"experience_or_target_classified": false,
|
| 200 |
+
"true_consumer_identity_verified": false
|
| 201 |
+
},
|
| 202 |
+
"later_interface_only": {
|
| 203 |
+
"D": "normalize(pi * p_leave_one_video_out)",
|
| 204 |
+
"matching": "sum(S * D)",
|
| 205 |
+
"P_comparison": "M_obs and Q_obs use the same P-observable coordinate set; preserve full M and coverage; never renormalize D on observed-P subset",
|
| 206 |
+
"daily_attribute_reclassification_run": false,
|
| 207 |
+
"current_vector_regression_modified": false,
|
| 208 |
+
"daily_duplicate_policy": "Pro carried forward old 35-coordinate same-source/day/text downweighting; latest full-ID pipeline differs. Not implemented or silently propagated by this P-only job."
|
| 209 |
+
},
|
| 210 |
+
"executor_decision": {
|
| 211 |
+
"adopted": "Fixed UIE aspect candidate and conservative parser, fixed synthetic gate then conditional bounded real pilot; no semantic repair",
|
| 212 |
+
"limits": "35-coordinate exploratory status retained; passing does not establish construct validity or accuracy",
|
| 213 |
+
"next_algorithm_must_return_to_Pro": true,
|
| 214 |
+
"human_annotation_requested": false,
|
| 215 |
+
"sales_regressions": 0
|
| 216 |
+
}
|
| 217 |
+
}
|
supplements/20261107_buv_product_performance_uie/inputs/registry.json
ADDED
|
@@ -0,0 +1,914 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema": "buv-model-assisted-attribute-protocol-v1",
|
| 3 |
+
"protocol_version": "buv-attribute-v1",
|
| 4 |
+
"frozen_at_utc": "2026-10-26T18:12:54.354436+00:00",
|
| 5 |
+
"status": "FROZEN_FOR_BOUNDED_APPLICATION_CHECK_NOT_MEASUREMENT_VALIDATED",
|
| 6 |
+
"basis": "All 1035 B development non-source-author own texts and available parents; one executor proposal, one original Pro independent review, one closure. Sealed holdout not read. September texts not used to alter this registry; prior diagnostic outcomes known to reviewers.",
|
| 7 |
+
"source_sha256": "8413e51d5198d4657c66543f5df732df431116c89802328f5855fc777a148826",
|
| 8 |
+
"source_count": 1035,
|
| 9 |
+
"pro_review_sha256": "734b25a9b6930eae43dac73ebf0f4b33c025dcd4265cb2c5bb6adf35d4548f2e",
|
| 10 |
+
"closure_sha256": "e02abb9b7a9c6a45f544e30f10575ccada1842d3963f4fde8336354e54f66998",
|
| 11 |
+
"model": {
|
| 12 |
+
"repo": "Qwen/Qwen2.5-14B-Instruct-AWQ",
|
| 13 |
+
"revision": "539535859b135b0244c91f3e59816150c8056698",
|
| 14 |
+
"runtime": "vllm",
|
| 15 |
+
"runtime_version": "0.10.2",
|
| 16 |
+
"transformers_version": "4.56.1",
|
| 17 |
+
"quantization": "awq",
|
| 18 |
+
"max_model_len": 16384,
|
| 19 |
+
"max_tokens": 2048,
|
| 20 |
+
"temperature": 0,
|
| 21 |
+
"top_p": 1,
|
| 22 |
+
"seed": 2026,
|
| 23 |
+
"max_num_seqs": 1
|
| 24 |
+
},
|
| 25 |
+
"attributes": [
|
| 26 |
+
{
|
| 27 |
+
"attribute_id": "A01",
|
| 28 |
+
"name": "清洁去污",
|
| 29 |
+
"layer": "C",
|
| 30 |
+
"status": "accepted",
|
| 31 |
+
"definition": "清除面部污垢、明确洗净程度;仅说黑头减少不自动再计一般清洁;泛好用和毛孔呼吸比喻不能推出。",
|
| 32 |
+
"parent_id": null,
|
| 33 |
+
"background_evidence_ids": [
|
| 34 |
+
"B0057",
|
| 35 |
+
"B0090",
|
| 36 |
+
"B0132",
|
| 37 |
+
"B0734"
|
| 38 |
+
],
|
| 39 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 40 |
+
"final_adopted": true
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"attribute_id": "A02",
|
| 44 |
+
"name": "去油与控油",
|
| 45 |
+
"layer": "C",
|
| 46 |
+
"status": "accepted",
|
| 47 |
+
"definition": "油脂、出油变化及维持时间;即时、持续或未说明分别作为条件;自报油皮不等于控油效果。",
|
| 48 |
+
"parent_id": null,
|
| 49 |
+
"background_evidence_ids": [
|
| 50 |
+
"B0027",
|
| 51 |
+
"B0077",
|
| 52 |
+
"B0211",
|
| 53 |
+
"B0755",
|
| 54 |
+
"B0905"
|
| 55 |
+
],
|
| 56 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 57 |
+
"final_adopted": true
|
| 58 |
+
},
|
| 59 |
+
{
|
| 60 |
+
"attribute_id": "A03",
|
| 61 |
+
"name": "黑头",
|
| 62 |
+
"layer": "C",
|
| 63 |
+
"status": "accepted",
|
| 64 |
+
"definition": "黑头及鼻部黑点的去除、减少、反复或相关诉求;保留俗称不作医学等同;不能从未定型疙瘩推出。",
|
| 65 |
+
"parent_id": null,
|
| 66 |
+
"background_evidence_ids": [
|
| 67 |
+
"B0032",
|
| 68 |
+
"B0069",
|
| 69 |
+
"B0164",
|
| 70 |
+
"B0421",
|
| 71 |
+
"B0928"
|
| 72 |
+
],
|
| 73 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 74 |
+
"final_adopted": true
|
| 75 |
+
},
|
| 76 |
+
{
|
| 77 |
+
"attribute_id": "A04",
|
| 78 |
+
"name": "闭口",
|
| 79 |
+
"layer": "C",
|
| 80 |
+
"status": "accepted",
|
| 81 |
+
"definition": "明确闭口的数量或变化;不与黑头和痘痘强并",
|
| 82 |
+
"parent_id": null,
|
| 83 |
+
"background_evidence_ids": [
|
| 84 |
+
"B0153",
|
| 85 |
+
"B0197",
|
| 86 |
+
"B0378",
|
| 87 |
+
"B0986"
|
| 88 |
+
],
|
| 89 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 90 |
+
"final_adopted": true
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"attribute_id": "A05",
|
| 94 |
+
"name": "痘痘",
|
| 95 |
+
"layer": "C",
|
| 96 |
+
"status": "accepted",
|
| 97 |
+
"definition": "痘痘发生、减少或诱发;与痘肌是否适用分开。未明确的表情隐喻只留疑似,不强配。",
|
| 98 |
+
"parent_id": null,
|
| 99 |
+
"background_evidence_ids": [
|
| 100 |
+
"B0034",
|
| 101 |
+
"B0068",
|
| 102 |
+
"B0165",
|
| 103 |
+
"B0657",
|
| 104 |
+
"B0986"
|
| 105 |
+
],
|
| 106 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 107 |
+
"final_adopted": true
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"attribute_id": "A06",
|
| 111 |
+
"name": "未细分粉刺",
|
| 112 |
+
"layer": "C",
|
| 113 |
+
"status": "accepted",
|
| 114 |
+
"definition": "明说粉刺且未限定类型;不双计成黑头或闭口",
|
| 115 |
+
"parent_id": null,
|
| 116 |
+
"background_evidence_ids": [
|
| 117 |
+
"B0524",
|
| 118 |
+
"B1031"
|
| 119 |
+
],
|
| 120 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 121 |
+
"final_adopted": true
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"attribute_id": "A07",
|
| 125 |
+
"name": "毛孔外观",
|
| 126 |
+
"layer": "C",
|
| 127 |
+
"status": "accepted",
|
| 128 |
+
"definition": "毛孔大小、显隐、收缩;毛孔干净不自动等于收缩,呼吸不等于外观改善,泛毛孔效果保留未定。",
|
| 129 |
+
"parent_id": null,
|
| 130 |
+
"background_evidence_ids": [
|
| 131 |
+
"B0042",
|
| 132 |
+
"B0197",
|
| 133 |
+
"B0739",
|
| 134 |
+
"B1007",
|
| 135 |
+
"B1015"
|
| 136 |
+
],
|
| 137 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 138 |
+
"final_adopted": true
|
| 139 |
+
},
|
| 140 |
+
{
|
| 141 |
+
"attribute_id": "A08",
|
| 142 |
+
"name": "触感细腻光滑",
|
| 143 |
+
"layer": "C",
|
| 144 |
+
"status": "accepted",
|
| 145 |
+
"definition": "皮肤粗糙、平滑、细嫩的明确触感结果;泛舒服不自动计入",
|
| 146 |
+
"parent_id": null,
|
| 147 |
+
"background_evidence_ids": [
|
| 148 |
+
"B0071",
|
| 149 |
+
"B0092",
|
| 150 |
+
"B0136",
|
| 151 |
+
"B0974",
|
| 152 |
+
"B1011"
|
| 153 |
+
],
|
| 154 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 155 |
+
"final_adopted": true
|
| 156 |
+
},
|
| 157 |
+
{
|
| 158 |
+
"attribute_id": "A09",
|
| 159 |
+
"name": "水润感",
|
| 160 |
+
"layer": "C",
|
| 161 |
+
"status": "accepted",
|
| 162 |
+
"definition": "洗后明确水润或湿润感;不宣称客观或持久保湿,也不由不拔干自动补出。",
|
| 163 |
+
"parent_id": null,
|
| 164 |
+
"background_evidence_ids": [
|
| 165 |
+
"B0057",
|
| 166 |
+
"B0303",
|
| 167 |
+
"B0669",
|
| 168 |
+
"B0825",
|
| 169 |
+
"B0899"
|
| 170 |
+
],
|
| 171 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 172 |
+
"final_adopted": true
|
| 173 |
+
},
|
| 174 |
+
{
|
| 175 |
+
"attribute_id": "A10",
|
| 176 |
+
"name": "干燥紧绷",
|
| 177 |
+
"layer": "C",
|
| 178 |
+
"status": "accepted",
|
| 179 |
+
"definition": "干燥、拔干、紧绷及其否定,子状态分别记录;干爽不等于干燥,不由不紧绷补水润,不修补原文缺失的否定。",
|
| 180 |
+
"parent_id": null,
|
| 181 |
+
"background_evidence_ids": [
|
| 182 |
+
"B0101",
|
| 183 |
+
"B0199",
|
| 184 |
+
"B0283",
|
| 185 |
+
"B0755",
|
| 186 |
+
"B0905",
|
| 187 |
+
"B0986"
|
| 188 |
+
],
|
| 189 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 190 |
+
"final_adopted": true
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"attribute_id": "A11",
|
| 194 |
+
"name": "清爽感",
|
| 195 |
+
"layer": "C",
|
| 196 |
+
"status": "accepted",
|
| 197 |
+
"definition": "洗后明确清爽、干爽感;泛好用、舒服不自动推出",
|
| 198 |
+
"parent_id": null,
|
| 199 |
+
"background_evidence_ids": [
|
| 200 |
+
"B0059",
|
| 201 |
+
"B0078",
|
| 202 |
+
"B0094",
|
| 203 |
+
"B0940",
|
| 204 |
+
"B1023"
|
| 205 |
+
],
|
| 206 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 207 |
+
"final_adopted": true
|
| 208 |
+
},
|
| 209 |
+
{
|
| 210 |
+
"attribute_id": "A12",
|
| 211 |
+
"name": "温和与刺激",
|
| 212 |
+
"layer": "C",
|
| 213 |
+
"status": "accepted",
|
| 214 |
+
"definition": "刺激性、温和的正负描述;敏感肌适用不能自动推出刺激程度",
|
| 215 |
+
"parent_id": null,
|
| 216 |
+
"background_evidence_ids": [
|
| 217 |
+
"B0089",
|
| 218 |
+
"B0195",
|
| 219 |
+
"B0663",
|
| 220 |
+
"B0882",
|
| 221 |
+
"B0887"
|
| 222 |
+
],
|
| 223 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 224 |
+
"final_adopted": true
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"attribute_id": "A13a",
|
| 228 |
+
"name": "起泡能力",
|
| 229 |
+
"layer": "C",
|
| 230 |
+
"status": "accepted",
|
| 231 |
+
"definition": "是否或能否起泡及起泡难易;不从泡量少推出不能起泡。",
|
| 232 |
+
"parent_id": "A13",
|
| 233 |
+
"background_evidence_ids": [
|
| 234 |
+
"B0783",
|
| 235 |
+
"B0955"
|
| 236 |
+
],
|
| 237 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 238 |
+
"final_adopted": true
|
| 239 |
+
},
|
| 240 |
+
{
|
| 241 |
+
"attribute_id": "A13b",
|
| 242 |
+
"name": "泡量",
|
| 243 |
+
"layer": "C",
|
| 244 |
+
"status": "accepted",
|
| 245 |
+
"definition": "泡沫多少、变化、够不够用;不从量少推出不能起泡,绵密细腻另存。",
|
| 246 |
+
"parent_id": "A13",
|
| 247 |
+
"background_evidence_ids": [
|
| 248 |
+
"B0029",
|
| 249 |
+
"B0187",
|
| 250 |
+
"B0369"
|
| 251 |
+
],
|
| 252 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 253 |
+
"final_adopted": true
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"attribute_id": "A14",
|
| 257 |
+
"name": "泡沫质地",
|
| 258 |
+
"layer": "C",
|
| 259 |
+
"status": "accepted",
|
| 260 |
+
"definition": "泡沫绵密、细腻程度;泡量单列",
|
| 261 |
+
"parent_id": null,
|
| 262 |
+
"background_evidence_ids": [
|
| 263 |
+
"B0089",
|
| 264 |
+
"B0329",
|
| 265 |
+
"B0716",
|
| 266 |
+
"B0731",
|
| 267 |
+
"B0892"
|
| 268 |
+
],
|
| 269 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 270 |
+
"final_adopted": true
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"attribute_id": "A15a",
|
| 274 |
+
"name": "冲洗与冲净",
|
| 275 |
+
"layer": "C",
|
| 276 |
+
"status": "accepted",
|
| 277 |
+
"definition": "冲洗难易、冲净程度或相关诉求;不从不假滑自动推容易冲洗。",
|
| 278 |
+
"parent_id": "A15",
|
| 279 |
+
"background_evidence_ids": [
|
| 280 |
+
"B0094"
|
| 281 |
+
],
|
| 282 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 283 |
+
"final_adopted": true
|
| 284 |
+
},
|
| 285 |
+
{
|
| 286 |
+
"attribute_id": "A15b",
|
| 287 |
+
"name": "残留与假滑",
|
| 288 |
+
"layer": "C",
|
| 289 |
+
"status": "accepted",
|
| 290 |
+
"definition": "残留肤感、假滑及其否定;不等同皮肤细腻光滑,不自动说明冲洗难易。",
|
| 291 |
+
"parent_id": "A15",
|
| 292 |
+
"background_evidence_ids": [
|
| 293 |
+
"B0203",
|
| 294 |
+
"B0838",
|
| 295 |
+
"B0899"
|
| 296 |
+
],
|
| 297 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 298 |
+
"final_adopted": true
|
| 299 |
+
},
|
| 300 |
+
{
|
| 301 |
+
"attribute_id": "A16",
|
| 302 |
+
"name": "卸妆能力",
|
| 303 |
+
"layer": "C",
|
| 304 |
+
"status": "accepted",
|
| 305 |
+
"definition": "明确替代、节省卸妆步骤或卸妆能力表达;不证明能卸所有彩妆,不由普通清洁补出。",
|
| 306 |
+
"parent_id": null,
|
| 307 |
+
"background_evidence_ids": [
|
| 308 |
+
"B0063",
|
| 309 |
+
"B0128",
|
| 310 |
+
"B0732"
|
| 311 |
+
],
|
| 312 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 313 |
+
"final_adopted": true
|
| 314 |
+
},
|
| 315 |
+
{
|
| 316 |
+
"attribute_id": "A17a",
|
| 317 |
+
"name": "白净与变白",
|
| 318 |
+
"layer": "C",
|
| 319 |
+
"status": "accepted",
|
| 320 |
+
"definition": "明确肤色白净、变白及其否定或问题;不由透亮推出美白,其他干预须标记。",
|
| 321 |
+
"parent_id": "A17",
|
| 322 |
+
"background_evidence_ids": [
|
| 323 |
+
"B0740",
|
| 324 |
+
"B0994",
|
| 325 |
+
"B1013"
|
| 326 |
+
],
|
| 327 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 328 |
+
"final_adopted": true
|
| 329 |
+
},
|
| 330 |
+
{
|
| 331 |
+
"attribute_id": "A17b",
|
| 332 |
+
"name": "明亮通透",
|
| 333 |
+
"layer": "C",
|
| 334 |
+
"status": "accepted",
|
| 335 |
+
"definition": "明确透亮、明亮或通透感;不等同变白;泛像化妆不确定原因时不强配。",
|
| 336 |
+
"parent_id": "A17",
|
| 337 |
+
"background_evidence_ids": [
|
| 338 |
+
"B0304",
|
| 339 |
+
"B0825"
|
| 340 |
+
],
|
| 341 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 342 |
+
"final_adopted": true
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"attribute_id": "A18",
|
| 346 |
+
"name": "上妆贴合",
|
| 347 |
+
"layer": "C",
|
| 348 |
+
"status": "accepted",
|
| 349 |
+
"definition": "卡粉及否定、与上妆相关的后果;不把一般脱妆话题当本品效果",
|
| 350 |
+
"parent_id": null,
|
| 351 |
+
"background_evidence_ids": [
|
| 352 |
+
"B0032",
|
| 353 |
+
"B1031"
|
| 354 |
+
],
|
| 355 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 356 |
+
"final_adopted": true
|
| 357 |
+
},
|
| 358 |
+
{
|
| 359 |
+
"attribute_id": "A19",
|
| 360 |
+
"name": "屏障状态",
|
| 361 |
+
"layer": "C",
|
| 362 |
+
"status": "candidate_not_accepted",
|
| 363 |
+
"definition": "明确屏障修复或受损方面;B开发只有品类语境证据,保留候选,不能进入本品正式属性主坐标。",
|
| 364 |
+
"parent_id": null,
|
| 365 |
+
"background_evidence_ids": [
|
| 366 |
+
"B0017"
|
| 367 |
+
],
|
| 368 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 369 |
+
"final_adopted": false
|
| 370 |
+
},
|
| 371 |
+
{
|
| 372 |
+
"attribute_id": "A20",
|
| 373 |
+
"name": "成分与配方",
|
| 374 |
+
"layer": "C",
|
| 375 |
+
"status": "accepted",
|
| 376 |
+
"definition": "明确配方类别、具体组分或笼统成分评价及担忧;方面明确时成分值可未知。不能补具体物质、有害性或刺激结论。",
|
| 377 |
+
"parent_id": null,
|
| 378 |
+
"background_evidence_ids": [
|
| 379 |
+
"B0001",
|
| 380 |
+
"B0383",
|
| 381 |
+
"B0476",
|
| 382 |
+
"B0713"
|
| 383 |
+
],
|
| 384 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 385 |
+
"final_adopted": true
|
| 386 |
+
},
|
| 387 |
+
{
|
| 388 |
+
"attribute_id": "A21",
|
| 389 |
+
"name": "吸附作用宣称",
|
| 390 |
+
"layer": "E",
|
| 391 |
+
"status": "accepted",
|
| 392 |
+
"definition": "明确吸附作用陈述;记录为佐证或作用宣称,不等于完整机理证据、已验证事实;科技口号不自动补机制。",
|
| 393 |
+
"parent_id": null,
|
| 394 |
+
"background_evidence_ids": [
|
| 395 |
+
"B0734"
|
| 396 |
+
],
|
| 397 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 398 |
+
"final_adopted": true
|
| 399 |
+
},
|
| 400 |
+
{
|
| 401 |
+
"attribute_id": "A22",
|
| 402 |
+
"name": "气味",
|
| 403 |
+
"layer": "C",
|
| 404 |
+
"status": "accepted",
|
| 405 |
+
"definition": "明确气味、香味强弱或喜好;不能从比喻食物推出味道",
|
| 406 |
+
"parent_id": null,
|
| 407 |
+
"background_evidence_ids": [
|
| 408 |
+
"B0921"
|
| 409 |
+
],
|
| 410 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 411 |
+
"final_adopted": true
|
| 412 |
+
},
|
| 413 |
+
{
|
| 414 |
+
"attribute_id": "A23",
|
| 415 |
+
"name": "肤质适用",
|
| 416 |
+
"layer": "C",
|
| 417 |
+
"status": "accepted",
|
| 418 |
+
"definition": "明确干、油、混合肤质的适用询问、判断或条件化使用评价;自报肤质仅作为背景条件时不独立计适用性;不能由一种效果推出总体适用。",
|
| 419 |
+
"parent_id": null,
|
| 420 |
+
"background_evidence_ids": [
|
| 421 |
+
"B0001",
|
| 422 |
+
"B0111",
|
| 423 |
+
"B0143",
|
| 424 |
+
"B0199",
|
| 425 |
+
"B0611",
|
| 426 |
+
"B0625",
|
| 427 |
+
"B0831",
|
| 428 |
+
"B0986"
|
| 429 |
+
],
|
| 430 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 431 |
+
"final_adopted": true
|
| 432 |
+
},
|
| 433 |
+
{
|
| 434 |
+
"attribute_id": "A24",
|
| 435 |
+
"name": "敏感肌适用",
|
| 436 |
+
"layer": "C",
|
| 437 |
+
"status": "accepted",
|
| 438 |
+
"definition": "明确敏感肌是否可用的询问、条件化经验或适用判断;不自动证明温和或安全。",
|
| 439 |
+
"parent_id": null,
|
| 440 |
+
"background_evidence_ids": [
|
| 441 |
+
"B0030",
|
| 442 |
+
"B0163",
|
| 443 |
+
"B0272",
|
| 444 |
+
"B0663",
|
| 445 |
+
"B0820",
|
| 446 |
+
"B0886"
|
| 447 |
+
],
|
| 448 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 449 |
+
"final_adopted": true
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"attribute_id": "A25",
|
| 453 |
+
"name": "痘肌适用",
|
| 454 |
+
"layer": "C",
|
| 455 |
+
"status": "accepted",
|
| 456 |
+
"definition": "明确痘肌是否可用的询问、经验或适用关系;痘痘变化另存,不能相互推导。",
|
| 457 |
+
"parent_id": null,
|
| 458 |
+
"background_evidence_ids": [
|
| 459 |
+
"B0210",
|
| 460 |
+
"B1006"
|
| 461 |
+
],
|
| 462 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 463 |
+
"final_adopted": true
|
| 464 |
+
},
|
| 465 |
+
{
|
| 466 |
+
"attribute_id": "A26",
|
| 467 |
+
"name": "年龄适用",
|
| 468 |
+
"layer": "C",
|
| 469 |
+
"status": "accepted",
|
| 470 |
+
"definition": "明确年龄询问或条件化经验;仅给孩子买或儿子用了,不自动证明儿童安全或年龄适用。",
|
| 471 |
+
"parent_id": null,
|
| 472 |
+
"background_evidence_ids": [
|
| 473 |
+
"B0429",
|
| 474 |
+
"B0613",
|
| 475 |
+
"B0678"
|
| 476 |
+
],
|
| 477 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 478 |
+
"final_adopted": true
|
| 479 |
+
},
|
| 480 |
+
{
|
| 481 |
+
"attribute_id": "A27a",
|
| 482 |
+
"name": "性别适用",
|
| 483 |
+
"layer": "C",
|
| 484 |
+
"status": "accepted",
|
| 485 |
+
"definition": "明确男女是否可用的关系或判断;仅给男友购买不自动说明适用。",
|
| 486 |
+
"parent_id": "A27",
|
| 487 |
+
"background_evidence_ids": [
|
| 488 |
+
"B0324",
|
| 489 |
+
"B0345"
|
| 490 |
+
],
|
| 491 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 492 |
+
"final_adopted": true
|
| 493 |
+
},
|
| 494 |
+
{
|
| 495 |
+
"attribute_id": "A27b",
|
| 496 |
+
"name": "家庭共用",
|
| 497 |
+
"layer": "C",
|
| 498 |
+
"status": "accepted",
|
| 499 |
+
"definition": "明确全家共用或家庭适用表达;不从一个家人使用推出全家适用。",
|
| 500 |
+
"parent_id": "A27",
|
| 501 |
+
"background_evidence_ids": [
|
| 502 |
+
"B0131",
|
| 503 |
+
"B0768"
|
| 504 |
+
],
|
| 505 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 506 |
+
"final_adopted": true
|
| 507 |
+
},
|
| 508 |
+
{
|
| 509 |
+
"attribute_id": "A28",
|
| 510 |
+
"name": "生产卫生与品控",
|
| 511 |
+
"layer": "E",
|
| 512 |
+
"status": "accepted",
|
| 513 |
+
"definition": "生产环境、消杀、制作要求与泛大厂品控分别保留证据级别;不是使用效果,不是独立核实的品质事实。",
|
| 514 |
+
"parent_id": null,
|
| 515 |
+
"background_evidence_ids": [
|
| 516 |
+
"B0038",
|
| 517 |
+
"B0132",
|
| 518 |
+
"B0149",
|
| 519 |
+
"B0381"
|
| 520 |
+
],
|
| 521 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 522 |
+
"final_adopted": true
|
| 523 |
+
},
|
| 524 |
+
{
|
| 525 |
+
"attribute_id": "A29",
|
| 526 |
+
"name": "检测与佐证材料",
|
| 527 |
+
"layer": "E",
|
| 528 |
+
"status": "accepted",
|
| 529 |
+
"definition": "明确检测或认证报告的存在、内容与核验状态;明星代言、官媒推荐、销量及一般演示可信性不等于检测。",
|
| 530 |
+
"parent_id": null,
|
| 531 |
+
"background_evidence_ids": [
|
| 532 |
+
"B0037",
|
| 533 |
+
"B0382",
|
| 534 |
+
"B0390",
|
| 535 |
+
"B0475",
|
| 536 |
+
"B0685"
|
| 537 |
+
],
|
| 538 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 539 |
+
"final_adopted": true
|
| 540 |
+
},
|
| 541 |
+
{
|
| 542 |
+
"attribute_id": "A30",
|
| 543 |
+
"name": "包装外观",
|
| 544 |
+
"layer": "C",
|
| 545 |
+
"status": "accepted",
|
| 546 |
+
"definition": "包装审美、设计,保留好丑取值;包装运输防护单列",
|
| 547 |
+
"parent_id": null,
|
| 548 |
+
"background_evidence_ids": [
|
| 549 |
+
"B0141",
|
| 550 |
+
"B0528"
|
| 551 |
+
],
|
| 552 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 553 |
+
"final_adopted": true
|
| 554 |
+
},
|
| 555 |
+
{
|
| 556 |
+
"attribute_id": "A31",
|
| 557 |
+
"name": "包装保护与到货完整",
|
| 558 |
+
"layer": "T",
|
| 559 |
+
"status": "accepted",
|
| 560 |
+
"definition": "运输包装防护、破损或完整性;不与包装审美合并",
|
| 561 |
+
"parent_id": null,
|
| 562 |
+
"background_evidence_ids": [
|
| 563 |
+
"B0528"
|
| 564 |
+
],
|
| 565 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 566 |
+
"final_adopted": true
|
| 567 |
+
},
|
| 568 |
+
{
|
| 569 |
+
"attribute_id": "A32",
|
| 570 |
+
"name": "装量容量",
|
| 571 |
+
"layer": "C",
|
| 572 |
+
"status": "accepted",
|
| 573 |
+
"definition": "容量、实际充填观感或大碗;买几支、用空几瓶不是容量;半瓶描述不证明出厂短装。",
|
| 574 |
+
"parent_id": null,
|
| 575 |
+
"background_evidence_ids": [
|
| 576 |
+
"B0061",
|
| 577 |
+
"B0989"
|
| 578 |
+
],
|
| 579 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 580 |
+
"final_adopted": true
|
| 581 |
+
},
|
| 582 |
+
{
|
| 583 |
+
"attribute_id": "A33",
|
| 584 |
+
"name": "价格水平",
|
| 585 |
+
"layer": "T",
|
| 586 |
+
"status": "accepted",
|
| 587 |
+
"definition": "具体价格、便宜贵、涨价或支付可负担;不从购买意图自动推出",
|
| 588 |
+
"parent_id": null,
|
| 589 |
+
"background_evidence_ids": [
|
| 590 |
+
"B0060",
|
| 591 |
+
"B0093",
|
| 592 |
+
"B0246",
|
| 593 |
+
"B0447",
|
| 594 |
+
"B0615",
|
| 595 |
+
"B0805",
|
| 596 |
+
"B0809",
|
| 597 |
+
"B0888"
|
| 598 |
+
],
|
| 599 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 600 |
+
"final_adopted": true
|
| 601 |
+
},
|
| 602 |
+
{
|
| 603 |
+
"attribute_id": "A34",
|
| 604 |
+
"name": "优惠条件",
|
| 605 |
+
"layer": "T",
|
| 606 |
+
"status": "accepted",
|
| 607 |
+
"definition": "折扣、优惠券、组合优惠及条件;裸数字和求金币要保留指向不明",
|
| 608 |
+
"parent_id": null,
|
| 609 |
+
"background_evidence_ids": [
|
| 610 |
+
"B0028",
|
| 611 |
+
"B0325",
|
| 612 |
+
"B0506",
|
| 613 |
+
"B0803",
|
| 614 |
+
"B0848",
|
| 615 |
+
"B0993",
|
| 616 |
+
"B0998"
|
| 617 |
+
],
|
| 618 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 619 |
+
"final_adopted": true
|
| 620 |
+
},
|
| 621 |
+
{
|
| 622 |
+
"attribute_id": "A35",
|
| 623 |
+
"name": "性价比",
|
| 624 |
+
"layer": "T",
|
| 625 |
+
"status": "accepted",
|
| 626 |
+
"definition": "价格与价值综合权衡;纯好用或纯便宜不自动补此维度",
|
| 627 |
+
"parent_id": null,
|
| 628 |
+
"background_evidence_ids": [
|
| 629 |
+
"B0224",
|
| 630 |
+
"B0246",
|
| 631 |
+
"B0304",
|
| 632 |
+
"B0500",
|
| 633 |
+
"B0766",
|
| 634 |
+
"B1033"
|
| 635 |
+
],
|
| 636 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 637 |
+
"final_adopted": true
|
| 638 |
+
},
|
| 639 |
+
{
|
| 640 |
+
"attribute_id": "A36",
|
| 641 |
+
"name": "真实性与鉴真",
|
| 642 |
+
"layer": "E",
|
| 643 |
+
"status": "accepted",
|
| 644 |
+
"definition": "明确正品、假货或渠道鉴真;一般真假询问不自动视为假货,不等于已核验真实性。",
|
| 645 |
+
"parent_id": null,
|
| 646 |
+
"background_evidence_ids": [
|
| 647 |
+
"B0292",
|
| 648 |
+
"B0806",
|
| 649 |
+
"B0984"
|
| 650 |
+
],
|
| 651 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 652 |
+
"final_adopted": true
|
| 653 |
+
},
|
| 654 |
+
{
|
| 655 |
+
"attribute_id": "A37",
|
| 656 |
+
"name": "发货时效",
|
| 657 |
+
"layer": "T",
|
| 658 |
+
"status": "accepted",
|
| 659 |
+
"definition": "加急、快发或等待时效要求;拍了坐等不自动算时效需求",
|
| 660 |
+
"parent_id": null,
|
| 661 |
+
"background_evidence_ids": [
|
| 662 |
+
"B0181",
|
| 663 |
+
"B0301",
|
| 664 |
+
"B0691",
|
| 665 |
+
"B0827",
|
| 666 |
+
"B0836"
|
| 667 |
+
],
|
| 668 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 669 |
+
"final_adopted": true
|
| 670 |
+
},
|
| 671 |
+
{
|
| 672 |
+
"attribute_id": "A38",
|
| 673 |
+
"name": "配送承运方",
|
| 674 |
+
"layer": "T",
|
| 675 |
+
"status": "accepted",
|
| 676 |
+
"definition": "快递公司或方式的明确问题;泛收货不是此维度",
|
| 677 |
+
"parent_id": null,
|
| 678 |
+
"background_evidence_ids": [
|
| 679 |
+
"B0835",
|
| 680 |
+
"B1020"
|
| 681 |
+
],
|
| 682 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 683 |
+
"final_adopted": true
|
| 684 |
+
},
|
| 685 |
+
{
|
| 686 |
+
"attribute_id": "A39",
|
| 687 |
+
"name": "发货地点",
|
| 688 |
+
"layer": "T",
|
| 689 |
+
"status": "accepted",
|
| 690 |
+
"definition": "明确发货地区或地点问题;不等于生产地,疑问不能当已证实地点。",
|
| 691 |
+
"parent_id": null,
|
| 692 |
+
"background_evidence_ids": [
|
| 693 |
+
"B0787"
|
| 694 |
+
],
|
| 695 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 696 |
+
"final_adopted": true
|
| 697 |
+
},
|
| 698 |
+
{
|
| 699 |
+
"attribute_id": "A40",
|
| 700 |
+
"name": "使用方法顺序",
|
| 701 |
+
"layer": "C",
|
| 702 |
+
"status": "accepted",
|
| 703 |
+
"definition": "明确使用方法、先后顺序、局部区域;品类一般问题另标对象,行为观察不证明功效。",
|
| 704 |
+
"parent_id": null,
|
| 705 |
+
"background_evidence_ids": [
|
| 706 |
+
"B0523",
|
| 707 |
+
"B0753",
|
| 708 |
+
"B0838"
|
| 709 |
+
],
|
| 710 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 711 |
+
"final_adopted": true
|
| 712 |
+
},
|
| 713 |
+
{
|
| 714 |
+
"attribute_id": "A41",
|
| 715 |
+
"name": "使用频次",
|
| 716 |
+
"layer": "C",
|
| 717 |
+
"status": "accepted",
|
| 718 |
+
"definition": "明确每日几次等频次;累计使用时间或瓶数不是频次;实际习惯不等于推荐剂量。",
|
| 719 |
+
"parent_id": null,
|
| 720 |
+
"background_evidence_ids": [
|
| 721 |
+
"B0981"
|
| 722 |
+
],
|
| 723 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 724 |
+
"final_adopted": true
|
| 725 |
+
},
|
| 726 |
+
{
|
| 727 |
+
"attribute_id": "A42",
|
| 728 |
+
"name": "购买渠道",
|
| 729 |
+
"layer": "T",
|
| 730 |
+
"status": "accepted",
|
| 731 |
+
"definition": "具体店铺、线上或线下可得性;单纯求链接或问品牌名字只作导航辅助,不强配。",
|
| 732 |
+
"parent_id": null,
|
| 733 |
+
"background_evidence_ids": [
|
| 734 |
+
"B0043",
|
| 735 |
+
"B0292",
|
| 736 |
+
"B0477",
|
| 737 |
+
"B0806"
|
| 738 |
+
],
|
| 739 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 740 |
+
"final_adopted": true
|
| 741 |
+
},
|
| 742 |
+
{
|
| 743 |
+
"attribute_id": "A43a",
|
| 744 |
+
"name": "版本选择与可得性",
|
| 745 |
+
"layer": "T",
|
| 746 |
+
"status": "accepted",
|
| 747 |
+
"definition": "明确新旧代或具体版本的选择、购买、可得性问题;不自动包含版本效果。",
|
| 748 |
+
"parent_id": "A43",
|
| 749 |
+
"background_evidence_ids": [
|
| 750 |
+
"B0787",
|
| 751 |
+
"B0788"
|
| 752 |
+
],
|
| 753 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 754 |
+
"final_adopted": true
|
| 755 |
+
},
|
| 756 |
+
{
|
| 757 |
+
"attribute_id": "A43b",
|
| 758 |
+
"name": "版本身份与变更关系",
|
| 759 |
+
"layer": "R",
|
| 760 |
+
"status": "accepted",
|
| 761 |
+
"definition": "记录版本身份、升级、代际关系和比较情境;不是功效票,也不因品牌名自动生成。",
|
| 762 |
+
"parent_id": "A43",
|
| 763 |
+
"background_evidence_ids": [
|
| 764 |
+
"B0029",
|
| 765 |
+
"B0834",
|
| 766 |
+
"B1027"
|
| 767 |
+
],
|
| 768 |
+
"decision_source": "executor_pro_joint_adjudication",
|
| 769 |
+
"final_adopted": true
|
| 770 |
+
},
|
| 771 |
+
{
|
| 772 |
+
"attribute_id": "A44",
|
| 773 |
+
"name": "未定型皮肤凸起与疙瘩变化",
|
| 774 |
+
"layer": "C",
|
| 775 |
+
"status": "accepted",
|
| 776 |
+
"definition": "明确但未分型的皮肤凸起或疙瘩数量、触感变化;不能强塞进痘痘、闭口或黑头。",
|
| 777 |
+
"parent_id": null,
|
| 778 |
+
"background_evidence_ids": [
|
| 779 |
+
"B0230"
|
| 780 |
+
],
|
| 781 |
+
"decision_source": "pro_proposal_executor_accepted_closure",
|
| 782 |
+
"final_adopted": true
|
| 783 |
+
},
|
| 784 |
+
{
|
| 785 |
+
"attribute_id": "A45",
|
| 786 |
+
"name": "洗后皮肤舒适感",
|
| 787 |
+
"layer": "C",
|
| 788 |
+
"status": "accepted",
|
| 789 |
+
"definition": "明确使用后皮肤或脸部的舒适感;不等同温和、细腻、不紧绷,孤立舒服或泛好用须保留未确定。",
|
| 790 |
+
"parent_id": null,
|
| 791 |
+
"background_evidence_ids": [
|
| 792 |
+
"B0717"
|
| 793 |
+
],
|
| 794 |
+
"decision_source": "pro_proposal_executor_accepted_closure",
|
| 795 |
+
"final_adopted": true
|
| 796 |
+
}
|
| 797 |
+
],
|
| 798 |
+
"main_coordinates": [
|
| 799 |
+
"A01",
|
| 800 |
+
"A02",
|
| 801 |
+
"A03",
|
| 802 |
+
"A04",
|
| 803 |
+
"A05",
|
| 804 |
+
"A06",
|
| 805 |
+
"A07",
|
| 806 |
+
"A08",
|
| 807 |
+
"A09",
|
| 808 |
+
"A10",
|
| 809 |
+
"A11",
|
| 810 |
+
"A12",
|
| 811 |
+
"A13a",
|
| 812 |
+
"A13b",
|
| 813 |
+
"A14",
|
| 814 |
+
"A15a",
|
| 815 |
+
"A15b",
|
| 816 |
+
"A16",
|
| 817 |
+
"A17a",
|
| 818 |
+
"A17b",
|
| 819 |
+
"A18",
|
| 820 |
+
"A20",
|
| 821 |
+
"A22",
|
| 822 |
+
"A23",
|
| 823 |
+
"A24",
|
| 824 |
+
"A25",
|
| 825 |
+
"A26",
|
| 826 |
+
"A27a",
|
| 827 |
+
"A27b",
|
| 828 |
+
"A30",
|
| 829 |
+
"A32",
|
| 830 |
+
"A40",
|
| 831 |
+
"A41",
|
| 832 |
+
"A44",
|
| 833 |
+
"A45"
|
| 834 |
+
],
|
| 835 |
+
"retired_parent_ids": [
|
| 836 |
+
"A13",
|
| 837 |
+
"A15",
|
| 838 |
+
"A17",
|
| 839 |
+
"A27",
|
| 840 |
+
"A43"
|
| 841 |
+
],
|
| 842 |
+
"enums": {
|
| 843 |
+
"decision": [
|
| 844 |
+
"映射",
|
| 845 |
+
"辅助",
|
| 846 |
+
"未确定"
|
| 847 |
+
],
|
| 848 |
+
"assertion": [
|
| 849 |
+
"肯定",
|
| 850 |
+
"否定",
|
| 851 |
+
"疑问",
|
| 852 |
+
"不确定"
|
| 853 |
+
],
|
| 854 |
+
"target": [
|
| 855 |
+
"明确本品",
|
| 856 |
+
"来源假设",
|
| 857 |
+
"品类",
|
| 858 |
+
"其他",
|
| 859 |
+
"不明"
|
| 860 |
+
],
|
| 861 |
+
"parent_use": [
|
| 862 |
+
"无",
|
| 863 |
+
"指代",
|
| 864 |
+
"问答槽位"
|
| 865 |
+
],
|
| 866 |
+
"attribution": [
|
| 867 |
+
"直接归因",
|
| 868 |
+
"共同干预",
|
| 869 |
+
"未说明"
|
| 870 |
+
]
|
| 871 |
+
},
|
| 872 |
+
"rules": {
|
| 873 |
+
"main_vote": "accepted C leaf AND decision 映射 AND exact own-body evidence AND target in 明确本品/来源假设; at most one vote per record and leaf",
|
| 874 |
+
"strict_target": "明确本品 only; separate from author strictness",
|
| 875 |
+
"author_scope": "broad excludes known source authors; strict only known non-source-author, which is not verified consumer identity",
|
| 876 |
+
"unknown": "Do not force source-assumed when target is semantically ambiguous; no vote is not known absence of attention",
|
| 877 |
+
"parent": "reference or answer-slot only; never inherit parent attribute votes or quote parent as own evidence",
|
| 878 |
+
"evidence_offsets": "Unicode code points, zero-based half-open; unique exact own-text quote may repair offsets; no fuzzy repair, inserted negation or parent quote",
|
| 879 |
+
"cache": "own text + parent context + source identity context + protocol/model revisions; not own text only",
|
| 880 |
+
"repeat": "retain every original ID; existing same-video/day/body analysis downweighting unchanged; no cross-video deletion",
|
| 881 |
+
"prior": "monthly equal background prior over eligible C counts only; smoothing=20",
|
| 882 |
+
"daily_attention": "(Ckt+20*piCk)/(sum_C Cjt+20); no eligible C day marked prior_only",
|
| 883 |
+
"observed_proportion": "Ckt/Nt, Nt retains semantically unmapped/unknown/T/E/R records after fixed source/time/author/leave-one-video filtering",
|
| 884 |
+
"supply": "equal allocation among accepted C leaves per timebin; denominator full video duration, without renormalizing C-only portions",
|
| 885 |
+
"matching": "dot(full-duration supply, C attention); T descriptive, E/R auxiliary, no extra regression",
|
| 886 |
+
"search": {
|
| 887 |
+
"fixed_coordinates": {
|
| 888 |
+
"控油洗面奶": "A02",
|
| 889 |
+
"祛痘洗面奶": "A05",
|
| 890 |
+
"温和洗面奶": "A12",
|
| 891 |
+
"敏感肌洗面奶": "A24"
|
| 892 |
+
},
|
| 893 |
+
"amino_acid": "retain raw, not generic A20",
|
| 894 |
+
"baidu": "separate not concatenated",
|
| 895 |
+
"formula": "r=training-geometric-mean-scaled index; DI=piC*r/sum_K4(piC*r); dot uses full-duration supply; report sum_K4 piC; no changing support or replacing missing terms"
|
| 896 |
+
},
|
| 897 |
+
"failure": "structure failure stops bounded batch; preserve original output. Systematic semantic failures stop expansion. Do not redefine catalog using September mapping rate or outcomes.",
|
| 898 |
+
"validation": "model-assisted reference and evidence constraints; not human ground truth or accuracy"
|
| 899 |
+
},
|
| 900 |
+
"bounded_check": {
|
| 901 |
+
"S_comments": 60,
|
| 902 |
+
"B_boundary": 19,
|
| 903 |
+
"videos": [
|
| 904 |
+
"P30",
|
| 905 |
+
"P10",
|
| 906 |
+
"P18",
|
| 907 |
+
"P16",
|
| 908 |
+
"P04",
|
| 909 |
+
"P27"
|
| 910 |
+
],
|
| 911 |
+
"separate_boundary": "P11",
|
| 912 |
+
"full_S_inference_authorized_after_check": false
|
| 913 |
+
}
|
| 914 |
+
}
|
supplements/20261107_buv_product_performance_uie/inputs/weights.json
ADDED
|
@@ -0,0 +1,1158 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"label": "模型联合编码的开发样本属性表达权重",
|
| 3 |
+
"pi_C": {
|
| 4 |
+
"A01": 0.11107175825952109,
|
| 5 |
+
"A02": 0.0977753089506664,
|
| 6 |
+
"A03": 0.10440046333128755,
|
| 7 |
+
"A04": 0.02242897860013083,
|
| 8 |
+
"A05": 0.022582191106160828,
|
| 9 |
+
"A06": 0.002777777777777778,
|
| 10 |
+
"A07": 0.008933933933933935,
|
| 11 |
+
"A08": 0.0328312332517547,
|
| 12 |
+
"A09": 0.029255632840578173,
|
| 13 |
+
"A10": 0.09671778591038474,
|
| 14 |
+
"A11": 0.07060124148538782,
|
| 15 |
+
"A12": 0.032344713300348285,
|
| 16 |
+
"A13a": 0.004932950191570881,
|
| 17 |
+
"A13b": 0.060715104296895715,
|
| 18 |
+
"A14": 0.017203020935148774,
|
| 19 |
+
"A15a": 0.0033783783783783786,
|
| 20 |
+
"A15b": 0.02121841669255462,
|
| 21 |
+
"A16": 0.019358193348941878,
|
| 22 |
+
"A17a": 0.016315064012709095,
|
| 23 |
+
"A17b": 0.0056273946360153254,
|
| 24 |
+
"A18": 0.006156156156156157,
|
| 25 |
+
"A20": 0.008252733389402859,
|
| 26 |
+
"A22": 0.002777777777777778,
|
| 27 |
+
"A23": 0.08673215372647669,
|
| 28 |
+
"A24": 0.02085046042678507,
|
| 29 |
+
"A25": 0.023158071864968415,
|
| 30 |
+
"A26": 0.009146341463414635,
|
| 31 |
+
"A27a": 0.00989938108840548,
|
| 32 |
+
"A27b": 0.009418512288571162,
|
| 33 |
+
"A30": 0.00448556209700028,
|
| 34 |
+
"A32": 0.006156156156156157,
|
| 35 |
+
"A40": 0.008620689655172414,
|
| 36 |
+
"A41": 0.011159003831417625,
|
| 37 |
+
"A44": 0.007183908045977011,
|
| 38 |
+
"A45": 0.005533550792171482
|
| 39 |
+
},
|
| 40 |
+
"effective_months": [
|
| 41 |
+
"2026-01",
|
| 42 |
+
"2026-02",
|
| 43 |
+
"2026-03",
|
| 44 |
+
"2026-04",
|
| 45 |
+
"2026-05",
|
| 46 |
+
"2026-06",
|
| 47 |
+
"2026-07",
|
| 48 |
+
"2026-08"
|
| 49 |
+
],
|
| 50 |
+
"strict_target_pi_C": {
|
| 51 |
+
"A01": 0.15476190476190477,
|
| 52 |
+
"A02": 0.08333333333333333,
|
| 53 |
+
"A03": 0.42857142857142855,
|
| 54 |
+
"A04": 0.0,
|
| 55 |
+
"A05": 0.16666666666666666,
|
| 56 |
+
"A06": 0.0,
|
| 57 |
+
"A07": 0.0,
|
| 58 |
+
"A08": 0.0,
|
| 59 |
+
"A09": 0.0,
|
| 60 |
+
"A10": 0.0,
|
| 61 |
+
"A11": 0.0,
|
| 62 |
+
"A12": 0.0,
|
| 63 |
+
"A13a": 0.0,
|
| 64 |
+
"A13b": 0.0,
|
| 65 |
+
"A14": 0.0,
|
| 66 |
+
"A15a": 0.0,
|
| 67 |
+
"A15b": 0.0,
|
| 68 |
+
"A16": 0.0,
|
| 69 |
+
"A17a": 0.0,
|
| 70 |
+
"A17b": 0.0,
|
| 71 |
+
"A18": 0.0,
|
| 72 |
+
"A20": 0.0,
|
| 73 |
+
"A22": 0.0,
|
| 74 |
+
"A23": 0.0,
|
| 75 |
+
"A24": 0.0,
|
| 76 |
+
"A25": 0.0,
|
| 77 |
+
"A26": 0.0,
|
| 78 |
+
"A27a": 0.0,
|
| 79 |
+
"A27b": 0.0,
|
| 80 |
+
"A30": 0.0,
|
| 81 |
+
"A32": 0.0,
|
| 82 |
+
"A40": 0.0,
|
| 83 |
+
"A41": 0.16666666666666666,
|
| 84 |
+
"A44": 0.0,
|
| 85 |
+
"A45": 0.0
|
| 86 |
+
},
|
| 87 |
+
"strict_target_effective_months": [
|
| 88 |
+
"2026-01",
|
| 89 |
+
"2026-02",
|
| 90 |
+
"2026-03",
|
| 91 |
+
"2026-05",
|
| 92 |
+
"2026-06",
|
| 93 |
+
"2026-08"
|
| 94 |
+
],
|
| 95 |
+
"status": "DESCRIPTIVE_DEVELOPMENT_WEIGHTS",
|
| 96 |
+
"monthly": [
|
| 97 |
+
{
|
| 98 |
+
"month": "2026-01",
|
| 99 |
+
"records": 101,
|
| 100 |
+
"mapped_records": 24,
|
| 101 |
+
"weighted_records": 96.99999999999999,
|
| 102 |
+
"weighted_mapped_records": 23.0,
|
| 103 |
+
"empty_records": 3,
|
| 104 |
+
"no_specific_aspect_records": 51,
|
| 105 |
+
"unmapped_records": 13,
|
| 106 |
+
"unresolved_disposition_records": 8,
|
| 107 |
+
"unknown_target_aspect_records": 0,
|
| 108 |
+
"strict_target_mapped_records": 2,
|
| 109 |
+
"residual_disagreement_records": 1,
|
| 110 |
+
"weighted_C_mentions": 37.0,
|
| 111 |
+
"C_counts": {
|
| 112 |
+
"A01": 5.0,
|
| 113 |
+
"A02": 3.0,
|
| 114 |
+
"A03": 4.0,
|
| 115 |
+
"A04": 0,
|
| 116 |
+
"A05": 1.0,
|
| 117 |
+
"A06": 0,
|
| 118 |
+
"A07": 1.0,
|
| 119 |
+
"A08": 1.0,
|
| 120 |
+
"A09": 1.0,
|
| 121 |
+
"A10": 1.0,
|
| 122 |
+
"A11": 5.0,
|
| 123 |
+
"A12": 1.0,
|
| 124 |
+
"A13a": 0,
|
| 125 |
+
"A13b": 3.0,
|
| 126 |
+
"A14": 1.0,
|
| 127 |
+
"A15a": 1.0,
|
| 128 |
+
"A15b": 1.0,
|
| 129 |
+
"A16": 1.0,
|
| 130 |
+
"A17a": 0,
|
| 131 |
+
"A17b": 0,
|
| 132 |
+
"A18": 1.0,
|
| 133 |
+
"A20": 0,
|
| 134 |
+
"A22": 0,
|
| 135 |
+
"A23": 1.0,
|
| 136 |
+
"A24": 1.0,
|
| 137 |
+
"A25": 1.0,
|
| 138 |
+
"A26": 0,
|
| 139 |
+
"A27a": 1.0,
|
| 140 |
+
"A27b": 0,
|
| 141 |
+
"A30": 0,
|
| 142 |
+
"A32": 1.0,
|
| 143 |
+
"A40": 0,
|
| 144 |
+
"A41": 0,
|
| 145 |
+
"A44": 0,
|
| 146 |
+
"A45": 1.0
|
| 147 |
+
},
|
| 148 |
+
"strict_target_C_counts": {
|
| 149 |
+
"A01": 0,
|
| 150 |
+
"A02": 0,
|
| 151 |
+
"A03": 2.0,
|
| 152 |
+
"A04": 0,
|
| 153 |
+
"A05": 0,
|
| 154 |
+
"A06": 0,
|
| 155 |
+
"A07": 0,
|
| 156 |
+
"A08": 0,
|
| 157 |
+
"A09": 0,
|
| 158 |
+
"A10": 0,
|
| 159 |
+
"A11": 0,
|
| 160 |
+
"A12": 0,
|
| 161 |
+
"A13a": 0,
|
| 162 |
+
"A13b": 0,
|
| 163 |
+
"A14": 0,
|
| 164 |
+
"A15a": 0,
|
| 165 |
+
"A15b": 0,
|
| 166 |
+
"A16": 0,
|
| 167 |
+
"A17a": 0,
|
| 168 |
+
"A17b": 0,
|
| 169 |
+
"A18": 0,
|
| 170 |
+
"A20": 0,
|
| 171 |
+
"A22": 0,
|
| 172 |
+
"A23": 0,
|
| 173 |
+
"A24": 0,
|
| 174 |
+
"A25": 0,
|
| 175 |
+
"A26": 0,
|
| 176 |
+
"A27a": 0,
|
| 177 |
+
"A27b": 0,
|
| 178 |
+
"A30": 0,
|
| 179 |
+
"A32": 0,
|
| 180 |
+
"A40": 0,
|
| 181 |
+
"A41": 0,
|
| 182 |
+
"A44": 0,
|
| 183 |
+
"A45": 0
|
| 184 |
+
},
|
| 185 |
+
"mapped_record_share": 0.2376237623762376,
|
| 186 |
+
"weighted_mapping_coverage": 0.23711340206185572,
|
| 187 |
+
"observed_C_distribution": {
|
| 188 |
+
"A01": 0.13513513513513514,
|
| 189 |
+
"A02": 0.08108108108108109,
|
| 190 |
+
"A03": 0.10810810810810811,
|
| 191 |
+
"A04": 0.0,
|
| 192 |
+
"A05": 0.02702702702702703,
|
| 193 |
+
"A06": 0.0,
|
| 194 |
+
"A07": 0.02702702702702703,
|
| 195 |
+
"A08": 0.02702702702702703,
|
| 196 |
+
"A09": 0.02702702702702703,
|
| 197 |
+
"A10": 0.02702702702702703,
|
| 198 |
+
"A11": 0.13513513513513514,
|
| 199 |
+
"A12": 0.02702702702702703,
|
| 200 |
+
"A13a": 0.0,
|
| 201 |
+
"A13b": 0.08108108108108109,
|
| 202 |
+
"A14": 0.02702702702702703,
|
| 203 |
+
"A15a": 0.02702702702702703,
|
| 204 |
+
"A15b": 0.02702702702702703,
|
| 205 |
+
"A16": 0.02702702702702703,
|
| 206 |
+
"A17a": 0.0,
|
| 207 |
+
"A17b": 0.0,
|
| 208 |
+
"A18": 0.02702702702702703,
|
| 209 |
+
"A20": 0.0,
|
| 210 |
+
"A22": 0.0,
|
| 211 |
+
"A23": 0.02702702702702703,
|
| 212 |
+
"A24": 0.02702702702702703,
|
| 213 |
+
"A25": 0.02702702702702703,
|
| 214 |
+
"A26": 0.0,
|
| 215 |
+
"A27a": 0.02702702702702703,
|
| 216 |
+
"A27b": 0.0,
|
| 217 |
+
"A30": 0.0,
|
| 218 |
+
"A32": 0.02702702702702703,
|
| 219 |
+
"A40": 0.0,
|
| 220 |
+
"A41": 0.0,
|
| 221 |
+
"A44": 0.0,
|
| 222 |
+
"A45": 0.02702702702702703
|
| 223 |
+
},
|
| 224 |
+
"included_in_equal_month_prior": true,
|
| 225 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 226 |
+
},
|
| 227 |
+
{
|
| 228 |
+
"month": "2026-02",
|
| 229 |
+
"records": 170,
|
| 230 |
+
"mapped_records": 62,
|
| 231 |
+
"weighted_records": 170.0,
|
| 232 |
+
"weighted_mapped_records": 62.0,
|
| 233 |
+
"empty_records": 0,
|
| 234 |
+
"no_specific_aspect_records": 82,
|
| 235 |
+
"unmapped_records": 13,
|
| 236 |
+
"unresolved_disposition_records": 2,
|
| 237 |
+
"unknown_target_aspect_records": 2,
|
| 238 |
+
"strict_target_mapped_records": 7,
|
| 239 |
+
"residual_disagreement_records": 5,
|
| 240 |
+
"weighted_C_mentions": 87.0,
|
| 241 |
+
"C_counts": {
|
| 242 |
+
"A01": 16.0,
|
| 243 |
+
"A02": 5.0,
|
| 244 |
+
"A03": 7.0,
|
| 245 |
+
"A04": 3.0,
|
| 246 |
+
"A05": 4.0,
|
| 247 |
+
"A06": 0,
|
| 248 |
+
"A07": 0,
|
| 249 |
+
"A08": 2.0,
|
| 250 |
+
"A09": 1.0,
|
| 251 |
+
"A10": 5.0,
|
| 252 |
+
"A11": 4.0,
|
| 253 |
+
"A12": 3.0,
|
| 254 |
+
"A13a": 0,
|
| 255 |
+
"A13b": 7.0,
|
| 256 |
+
"A14": 0,
|
| 257 |
+
"A15a": 0,
|
| 258 |
+
"A15b": 1.0,
|
| 259 |
+
"A16": 6.0,
|
| 260 |
+
"A17a": 0,
|
| 261 |
+
"A17b": 0,
|
| 262 |
+
"A18": 0,
|
| 263 |
+
"A20": 0,
|
| 264 |
+
"A22": 0,
|
| 265 |
+
"A23": 7.0,
|
| 266 |
+
"A24": 1.0,
|
| 267 |
+
"A25": 7.0,
|
| 268 |
+
"A26": 0,
|
| 269 |
+
"A27a": 0,
|
| 270 |
+
"A27b": 1.0,
|
| 271 |
+
"A30": 1.0,
|
| 272 |
+
"A32": 0,
|
| 273 |
+
"A40": 0,
|
| 274 |
+
"A41": 1.0,
|
| 275 |
+
"A44": 5.0,
|
| 276 |
+
"A45": 0
|
| 277 |
+
},
|
| 278 |
+
"strict_target_C_counts": {
|
| 279 |
+
"A01": 3.0,
|
| 280 |
+
"A02": 0,
|
| 281 |
+
"A03": 4.0,
|
| 282 |
+
"A04": 0,
|
| 283 |
+
"A05": 0,
|
| 284 |
+
"A06": 0,
|
| 285 |
+
"A07": 0,
|
| 286 |
+
"A08": 0,
|
| 287 |
+
"A09": 0,
|
| 288 |
+
"A10": 0,
|
| 289 |
+
"A11": 0,
|
| 290 |
+
"A12": 0,
|
| 291 |
+
"A13a": 0,
|
| 292 |
+
"A13b": 0,
|
| 293 |
+
"A14": 0,
|
| 294 |
+
"A15a": 0,
|
| 295 |
+
"A15b": 0,
|
| 296 |
+
"A16": 0,
|
| 297 |
+
"A17a": 0,
|
| 298 |
+
"A17b": 0,
|
| 299 |
+
"A18": 0,
|
| 300 |
+
"A20": 0,
|
| 301 |
+
"A22": 0,
|
| 302 |
+
"A23": 0,
|
| 303 |
+
"A24": 0,
|
| 304 |
+
"A25": 0,
|
| 305 |
+
"A26": 0,
|
| 306 |
+
"A27a": 0,
|
| 307 |
+
"A27b": 0,
|
| 308 |
+
"A30": 0,
|
| 309 |
+
"A32": 0,
|
| 310 |
+
"A40": 0,
|
| 311 |
+
"A41": 0,
|
| 312 |
+
"A44": 0,
|
| 313 |
+
"A45": 0
|
| 314 |
+
},
|
| 315 |
+
"mapped_record_share": 0.36470588235294116,
|
| 316 |
+
"weighted_mapping_coverage": 0.36470588235294116,
|
| 317 |
+
"observed_C_distribution": {
|
| 318 |
+
"A01": 0.1839080459770115,
|
| 319 |
+
"A02": 0.05747126436781609,
|
| 320 |
+
"A03": 0.08045977011494253,
|
| 321 |
+
"A04": 0.034482758620689655,
|
| 322 |
+
"A05": 0.04597701149425287,
|
| 323 |
+
"A06": 0.0,
|
| 324 |
+
"A07": 0.0,
|
| 325 |
+
"A08": 0.022988505747126436,
|
| 326 |
+
"A09": 0.011494252873563218,
|
| 327 |
+
"A10": 0.05747126436781609,
|
| 328 |
+
"A11": 0.04597701149425287,
|
| 329 |
+
"A12": 0.034482758620689655,
|
| 330 |
+
"A13a": 0.0,
|
| 331 |
+
"A13b": 0.08045977011494253,
|
| 332 |
+
"A14": 0.0,
|
| 333 |
+
"A15a": 0.0,
|
| 334 |
+
"A15b": 0.011494252873563218,
|
| 335 |
+
"A16": 0.06896551724137931,
|
| 336 |
+
"A17a": 0.0,
|
| 337 |
+
"A17b": 0.0,
|
| 338 |
+
"A18": 0.0,
|
| 339 |
+
"A20": 0.0,
|
| 340 |
+
"A22": 0.0,
|
| 341 |
+
"A23": 0.08045977011494253,
|
| 342 |
+
"A24": 0.011494252873563218,
|
| 343 |
+
"A25": 0.08045977011494253,
|
| 344 |
+
"A26": 0.0,
|
| 345 |
+
"A27a": 0.0,
|
| 346 |
+
"A27b": 0.011494252873563218,
|
| 347 |
+
"A30": 0.011494252873563218,
|
| 348 |
+
"A32": 0.0,
|
| 349 |
+
"A40": 0.0,
|
| 350 |
+
"A41": 0.011494252873563218,
|
| 351 |
+
"A44": 0.05747126436781609,
|
| 352 |
+
"A45": 0.0
|
| 353 |
+
},
|
| 354 |
+
"included_in_equal_month_prior": true,
|
| 355 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 356 |
+
},
|
| 357 |
+
{
|
| 358 |
+
"month": "2026-03",
|
| 359 |
+
"records": 53,
|
| 360 |
+
"mapped_records": 20,
|
| 361 |
+
"weighted_records": 53.0,
|
| 362 |
+
"weighted_mapped_records": 20.0,
|
| 363 |
+
"empty_records": 0,
|
| 364 |
+
"no_specific_aspect_records": 28,
|
| 365 |
+
"unmapped_records": 6,
|
| 366 |
+
"unresolved_disposition_records": 1,
|
| 367 |
+
"unknown_target_aspect_records": 1,
|
| 368 |
+
"strict_target_mapped_records": 1,
|
| 369 |
+
"residual_disagreement_records": 0,
|
| 370 |
+
"weighted_C_mentions": 36.0,
|
| 371 |
+
"C_counts": {
|
| 372 |
+
"A01": 5.0,
|
| 373 |
+
"A02": 4.0,
|
| 374 |
+
"A03": 3.0,
|
| 375 |
+
"A04": 0,
|
| 376 |
+
"A05": 0,
|
| 377 |
+
"A06": 0,
|
| 378 |
+
"A07": 0,
|
| 379 |
+
"A08": 2.0,
|
| 380 |
+
"A09": 2.0,
|
| 381 |
+
"A10": 6.0,
|
| 382 |
+
"A11": 1.0,
|
| 383 |
+
"A12": 1.0,
|
| 384 |
+
"A13a": 0,
|
| 385 |
+
"A13b": 1.0,
|
| 386 |
+
"A14": 0,
|
| 387 |
+
"A15a": 0,
|
| 388 |
+
"A15b": 1.0,
|
| 389 |
+
"A16": 0,
|
| 390 |
+
"A17a": 0,
|
| 391 |
+
"A17b": 1.0,
|
| 392 |
+
"A18": 0,
|
| 393 |
+
"A20": 0,
|
| 394 |
+
"A22": 0,
|
| 395 |
+
"A23": 3.0,
|
| 396 |
+
"A24": 1.0,
|
| 397 |
+
"A25": 2.0,
|
| 398 |
+
"A26": 0,
|
| 399 |
+
"A27a": 1.0,
|
| 400 |
+
"A27b": 0,
|
| 401 |
+
"A30": 0,
|
| 402 |
+
"A32": 0,
|
| 403 |
+
"A40": 0,
|
| 404 |
+
"A41": 2.0,
|
| 405 |
+
"A44": 0,
|
| 406 |
+
"A45": 0
|
| 407 |
+
},
|
| 408 |
+
"strict_target_C_counts": {
|
| 409 |
+
"A01": 0,
|
| 410 |
+
"A02": 0,
|
| 411 |
+
"A03": 1.0,
|
| 412 |
+
"A04": 0,
|
| 413 |
+
"A05": 0,
|
| 414 |
+
"A06": 0,
|
| 415 |
+
"A07": 0,
|
| 416 |
+
"A08": 0,
|
| 417 |
+
"A09": 0,
|
| 418 |
+
"A10": 0,
|
| 419 |
+
"A11": 0,
|
| 420 |
+
"A12": 0,
|
| 421 |
+
"A13a": 0,
|
| 422 |
+
"A13b": 0,
|
| 423 |
+
"A14": 0,
|
| 424 |
+
"A15a": 0,
|
| 425 |
+
"A15b": 0,
|
| 426 |
+
"A16": 0,
|
| 427 |
+
"A17a": 0,
|
| 428 |
+
"A17b": 0,
|
| 429 |
+
"A18": 0,
|
| 430 |
+
"A20": 0,
|
| 431 |
+
"A22": 0,
|
| 432 |
+
"A23": 0,
|
| 433 |
+
"A24": 0,
|
| 434 |
+
"A25": 0,
|
| 435 |
+
"A26": 0,
|
| 436 |
+
"A27a": 0,
|
| 437 |
+
"A27b": 0,
|
| 438 |
+
"A30": 0,
|
| 439 |
+
"A32": 0,
|
| 440 |
+
"A40": 0,
|
| 441 |
+
"A41": 0,
|
| 442 |
+
"A44": 0,
|
| 443 |
+
"A45": 0
|
| 444 |
+
},
|
| 445 |
+
"mapped_record_share": 0.37735849056603776,
|
| 446 |
+
"weighted_mapping_coverage": 0.37735849056603776,
|
| 447 |
+
"observed_C_distribution": {
|
| 448 |
+
"A01": 0.1388888888888889,
|
| 449 |
+
"A02": 0.1111111111111111,
|
| 450 |
+
"A03": 0.08333333333333333,
|
| 451 |
+
"A04": 0.0,
|
| 452 |
+
"A05": 0.0,
|
| 453 |
+
"A06": 0.0,
|
| 454 |
+
"A07": 0.0,
|
| 455 |
+
"A08": 0.05555555555555555,
|
| 456 |
+
"A09": 0.05555555555555555,
|
| 457 |
+
"A10": 0.16666666666666666,
|
| 458 |
+
"A11": 0.027777777777777776,
|
| 459 |
+
"A12": 0.027777777777777776,
|
| 460 |
+
"A13a": 0.0,
|
| 461 |
+
"A13b": 0.027777777777777776,
|
| 462 |
+
"A14": 0.0,
|
| 463 |
+
"A15a": 0.0,
|
| 464 |
+
"A15b": 0.027777777777777776,
|
| 465 |
+
"A16": 0.0,
|
| 466 |
+
"A17a": 0.0,
|
| 467 |
+
"A17b": 0.027777777777777776,
|
| 468 |
+
"A18": 0.0,
|
| 469 |
+
"A20": 0.0,
|
| 470 |
+
"A22": 0.0,
|
| 471 |
+
"A23": 0.08333333333333333,
|
| 472 |
+
"A24": 0.027777777777777776,
|
| 473 |
+
"A25": 0.05555555555555555,
|
| 474 |
+
"A26": 0.0,
|
| 475 |
+
"A27a": 0.027777777777777776,
|
| 476 |
+
"A27b": 0.0,
|
| 477 |
+
"A30": 0.0,
|
| 478 |
+
"A32": 0.0,
|
| 479 |
+
"A40": 0.0,
|
| 480 |
+
"A41": 0.05555555555555555,
|
| 481 |
+
"A44": 0.0,
|
| 482 |
+
"A45": 0.0
|
| 483 |
+
},
|
| 484 |
+
"included_in_equal_month_prior": true,
|
| 485 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 486 |
+
},
|
| 487 |
+
{
|
| 488 |
+
"month": "2026-04",
|
| 489 |
+
"records": 193,
|
| 490 |
+
"mapped_records": 28,
|
| 491 |
+
"weighted_records": 193.0,
|
| 492 |
+
"weighted_mapped_records": 28.0,
|
| 493 |
+
"empty_records": 3,
|
| 494 |
+
"no_specific_aspect_records": 122,
|
| 495 |
+
"unmapped_records": 28,
|
| 496 |
+
"unresolved_disposition_records": 17,
|
| 497 |
+
"unknown_target_aspect_records": 1,
|
| 498 |
+
"strict_target_mapped_records": 0,
|
| 499 |
+
"residual_disagreement_records": 1,
|
| 500 |
+
"weighted_C_mentions": 41.0,
|
| 501 |
+
"C_counts": {
|
| 502 |
+
"A01": 1.0,
|
| 503 |
+
"A02": 6.0,
|
| 504 |
+
"A03": 8.0,
|
| 505 |
+
"A04": 2.0,
|
| 506 |
+
"A05": 1.0,
|
| 507 |
+
"A06": 0,
|
| 508 |
+
"A07": 0,
|
| 509 |
+
"A08": 2.0,
|
| 510 |
+
"A09": 0,
|
| 511 |
+
"A10": 8.0,
|
| 512 |
+
"A11": 2.0,
|
| 513 |
+
"A12": 0,
|
| 514 |
+
"A13a": 0,
|
| 515 |
+
"A13b": 2.0,
|
| 516 |
+
"A14": 1.0,
|
| 517 |
+
"A15a": 0,
|
| 518 |
+
"A15b": 0,
|
| 519 |
+
"A16": 0,
|
| 520 |
+
"A17a": 0,
|
| 521 |
+
"A17b": 0,
|
| 522 |
+
"A18": 0,
|
| 523 |
+
"A20": 2.0,
|
| 524 |
+
"A22": 0,
|
| 525 |
+
"A23": 4.0,
|
| 526 |
+
"A24": 0,
|
| 527 |
+
"A25": 0,
|
| 528 |
+
"A26": 1.0,
|
| 529 |
+
"A27a": 1.0,
|
| 530 |
+
"A27b": 0,
|
| 531 |
+
"A30": 0,
|
| 532 |
+
"A32": 0,
|
| 533 |
+
"A40": 0,
|
| 534 |
+
"A41": 0,
|
| 535 |
+
"A44": 0,
|
| 536 |
+
"A45": 0
|
| 537 |
+
},
|
| 538 |
+
"strict_target_C_counts": {
|
| 539 |
+
"A01": 0,
|
| 540 |
+
"A02": 0,
|
| 541 |
+
"A03": 0,
|
| 542 |
+
"A04": 0,
|
| 543 |
+
"A05": 0,
|
| 544 |
+
"A06": 0,
|
| 545 |
+
"A07": 0,
|
| 546 |
+
"A08": 0,
|
| 547 |
+
"A09": 0,
|
| 548 |
+
"A10": 0,
|
| 549 |
+
"A11": 0,
|
| 550 |
+
"A12": 0,
|
| 551 |
+
"A13a": 0,
|
| 552 |
+
"A13b": 0,
|
| 553 |
+
"A14": 0,
|
| 554 |
+
"A15a": 0,
|
| 555 |
+
"A15b": 0,
|
| 556 |
+
"A16": 0,
|
| 557 |
+
"A17a": 0,
|
| 558 |
+
"A17b": 0,
|
| 559 |
+
"A18": 0,
|
| 560 |
+
"A20": 0,
|
| 561 |
+
"A22": 0,
|
| 562 |
+
"A23": 0,
|
| 563 |
+
"A24": 0,
|
| 564 |
+
"A25": 0,
|
| 565 |
+
"A26": 0,
|
| 566 |
+
"A27a": 0,
|
| 567 |
+
"A27b": 0,
|
| 568 |
+
"A30": 0,
|
| 569 |
+
"A32": 0,
|
| 570 |
+
"A40": 0,
|
| 571 |
+
"A41": 0,
|
| 572 |
+
"A44": 0,
|
| 573 |
+
"A45": 0
|
| 574 |
+
},
|
| 575 |
+
"mapped_record_share": 0.14507772020725387,
|
| 576 |
+
"weighted_mapping_coverage": 0.14507772020725387,
|
| 577 |
+
"observed_C_distribution": {
|
| 578 |
+
"A01": 0.024390243902439025,
|
| 579 |
+
"A02": 0.14634146341463414,
|
| 580 |
+
"A03": 0.1951219512195122,
|
| 581 |
+
"A04": 0.04878048780487805,
|
| 582 |
+
"A05": 0.024390243902439025,
|
| 583 |
+
"A06": 0.0,
|
| 584 |
+
"A07": 0.0,
|
| 585 |
+
"A08": 0.04878048780487805,
|
| 586 |
+
"A09": 0.0,
|
| 587 |
+
"A10": 0.1951219512195122,
|
| 588 |
+
"A11": 0.04878048780487805,
|
| 589 |
+
"A12": 0.0,
|
| 590 |
+
"A13a": 0.0,
|
| 591 |
+
"A13b": 0.04878048780487805,
|
| 592 |
+
"A14": 0.024390243902439025,
|
| 593 |
+
"A15a": 0.0,
|
| 594 |
+
"A15b": 0.0,
|
| 595 |
+
"A16": 0.0,
|
| 596 |
+
"A17a": 0.0,
|
| 597 |
+
"A17b": 0.0,
|
| 598 |
+
"A18": 0.0,
|
| 599 |
+
"A20": 0.04878048780487805,
|
| 600 |
+
"A22": 0.0,
|
| 601 |
+
"A23": 0.0975609756097561,
|
| 602 |
+
"A24": 0.0,
|
| 603 |
+
"A25": 0.0,
|
| 604 |
+
"A26": 0.024390243902439025,
|
| 605 |
+
"A27a": 0.024390243902439025,
|
| 606 |
+
"A27b": 0.0,
|
| 607 |
+
"A30": 0.0,
|
| 608 |
+
"A32": 0.0,
|
| 609 |
+
"A40": 0.0,
|
| 610 |
+
"A41": 0.0,
|
| 611 |
+
"A44": 0.0,
|
| 612 |
+
"A45": 0.0
|
| 613 |
+
},
|
| 614 |
+
"included_in_equal_month_prior": true,
|
| 615 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 616 |
+
},
|
| 617 |
+
{
|
| 618 |
+
"month": "2026-05",
|
| 619 |
+
"records": 175,
|
| 620 |
+
"mapped_records": 30,
|
| 621 |
+
"weighted_records": 172.0,
|
| 622 |
+
"weighted_mapped_records": 30.0,
|
| 623 |
+
"empty_records": 3,
|
| 624 |
+
"no_specific_aspect_records": 126,
|
| 625 |
+
"unmapped_records": 18,
|
| 626 |
+
"unresolved_disposition_records": 10,
|
| 627 |
+
"unknown_target_aspect_records": 1,
|
| 628 |
+
"strict_target_mapped_records": 1,
|
| 629 |
+
"residual_disagreement_records": 1,
|
| 630 |
+
"weighted_C_mentions": 41.0,
|
| 631 |
+
"C_counts": {
|
| 632 |
+
"A01": 2.0,
|
| 633 |
+
"A02": 3.0,
|
| 634 |
+
"A03": 6.0,
|
| 635 |
+
"A04": 0,
|
| 636 |
+
"A05": 2.0,
|
| 637 |
+
"A06": 0,
|
| 638 |
+
"A07": 0,
|
| 639 |
+
"A08": 1.0,
|
| 640 |
+
"A09": 2.0,
|
| 641 |
+
"A10": 1.0,
|
| 642 |
+
"A11": 4.0,
|
| 643 |
+
"A12": 2.0,
|
| 644 |
+
"A13a": 0,
|
| 645 |
+
"A13b": 5.0,
|
| 646 |
+
"A14": 0,
|
| 647 |
+
"A15a": 0,
|
| 648 |
+
"A15b": 0,
|
| 649 |
+
"A16": 1.0,
|
| 650 |
+
"A17a": 1.0,
|
| 651 |
+
"A17b": 0,
|
| 652 |
+
"A18": 0,
|
| 653 |
+
"A20": 0,
|
| 654 |
+
"A22": 0,
|
| 655 |
+
"A23": 5.0,
|
| 656 |
+
"A24": 2.0,
|
| 657 |
+
"A25": 0,
|
| 658 |
+
"A26": 2.0,
|
| 659 |
+
"A27a": 0,
|
| 660 |
+
"A27b": 1.0,
|
| 661 |
+
"A30": 1.0,
|
| 662 |
+
"A32": 0,
|
| 663 |
+
"A40": 0,
|
| 664 |
+
"A41": 0,
|
| 665 |
+
"A44": 0,
|
| 666 |
+
"A45": 0
|
| 667 |
+
},
|
| 668 |
+
"strict_target_C_counts": {
|
| 669 |
+
"A01": 0,
|
| 670 |
+
"A02": 0,
|
| 671 |
+
"A03": 0,
|
| 672 |
+
"A04": 0,
|
| 673 |
+
"A05": 1.0,
|
| 674 |
+
"A06": 0,
|
| 675 |
+
"A07": 0,
|
| 676 |
+
"A08": 0,
|
| 677 |
+
"A09": 0,
|
| 678 |
+
"A10": 0,
|
| 679 |
+
"A11": 0,
|
| 680 |
+
"A12": 0,
|
| 681 |
+
"A13a": 0,
|
| 682 |
+
"A13b": 0,
|
| 683 |
+
"A14": 0,
|
| 684 |
+
"A15a": 0,
|
| 685 |
+
"A15b": 0,
|
| 686 |
+
"A16": 0,
|
| 687 |
+
"A17a": 0,
|
| 688 |
+
"A17b": 0,
|
| 689 |
+
"A18": 0,
|
| 690 |
+
"A20": 0,
|
| 691 |
+
"A22": 0,
|
| 692 |
+
"A23": 0,
|
| 693 |
+
"A24": 0,
|
| 694 |
+
"A25": 0,
|
| 695 |
+
"A26": 0,
|
| 696 |
+
"A27a": 0,
|
| 697 |
+
"A27b": 0,
|
| 698 |
+
"A30": 0,
|
| 699 |
+
"A32": 0,
|
| 700 |
+
"A40": 0,
|
| 701 |
+
"A41": 0,
|
| 702 |
+
"A44": 0,
|
| 703 |
+
"A45": 0
|
| 704 |
+
},
|
| 705 |
+
"mapped_record_share": 0.17142857142857143,
|
| 706 |
+
"weighted_mapping_coverage": 0.1744186046511628,
|
| 707 |
+
"observed_C_distribution": {
|
| 708 |
+
"A01": 0.04878048780487805,
|
| 709 |
+
"A02": 0.07317073170731707,
|
| 710 |
+
"A03": 0.14634146341463414,
|
| 711 |
+
"A04": 0.0,
|
| 712 |
+
"A05": 0.04878048780487805,
|
| 713 |
+
"A06": 0.0,
|
| 714 |
+
"A07": 0.0,
|
| 715 |
+
"A08": 0.024390243902439025,
|
| 716 |
+
"A09": 0.04878048780487805,
|
| 717 |
+
"A10": 0.024390243902439025,
|
| 718 |
+
"A11": 0.0975609756097561,
|
| 719 |
+
"A12": 0.04878048780487805,
|
| 720 |
+
"A13a": 0.0,
|
| 721 |
+
"A13b": 0.12195121951219512,
|
| 722 |
+
"A14": 0.0,
|
| 723 |
+
"A15a": 0.0,
|
| 724 |
+
"A15b": 0.0,
|
| 725 |
+
"A16": 0.024390243902439025,
|
| 726 |
+
"A17a": 0.024390243902439025,
|
| 727 |
+
"A17b": 0.0,
|
| 728 |
+
"A18": 0.0,
|
| 729 |
+
"A20": 0.0,
|
| 730 |
+
"A22": 0.0,
|
| 731 |
+
"A23": 0.12195121951219512,
|
| 732 |
+
"A24": 0.04878048780487805,
|
| 733 |
+
"A25": 0.0,
|
| 734 |
+
"A26": 0.04878048780487805,
|
| 735 |
+
"A27a": 0.0,
|
| 736 |
+
"A27b": 0.024390243902439025,
|
| 737 |
+
"A30": 0.024390243902439025,
|
| 738 |
+
"A32": 0.0,
|
| 739 |
+
"A40": 0.0,
|
| 740 |
+
"A41": 0.0,
|
| 741 |
+
"A44": 0.0,
|
| 742 |
+
"A45": 0.0
|
| 743 |
+
},
|
| 744 |
+
"included_in_equal_month_prior": true,
|
| 745 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 746 |
+
},
|
| 747 |
+
{
|
| 748 |
+
"month": "2026-06",
|
| 749 |
+
"records": 147,
|
| 750 |
+
"mapped_records": 42,
|
| 751 |
+
"weighted_records": 145.0,
|
| 752 |
+
"weighted_mapped_records": 42.0,
|
| 753 |
+
"empty_records": 1,
|
| 754 |
+
"no_specific_aspect_records": 80,
|
| 755 |
+
"unmapped_records": 7,
|
| 756 |
+
"unresolved_disposition_records": 1,
|
| 757 |
+
"unknown_target_aspect_records": 3,
|
| 758 |
+
"strict_target_mapped_records": 1,
|
| 759 |
+
"residual_disagreement_records": 0,
|
| 760 |
+
"weighted_C_mentions": 58.0,
|
| 761 |
+
"C_counts": {
|
| 762 |
+
"A01": 3.0,
|
| 763 |
+
"A02": 9.0,
|
| 764 |
+
"A03": 5.0,
|
| 765 |
+
"A04": 3.0,
|
| 766 |
+
"A05": 2.0,
|
| 767 |
+
"A06": 0,
|
| 768 |
+
"A07": 0,
|
| 769 |
+
"A08": 1.0,
|
| 770 |
+
"A09": 2.0,
|
| 771 |
+
"A10": 7.0,
|
| 772 |
+
"A11": 1.0,
|
| 773 |
+
"A12": 1.0,
|
| 774 |
+
"A13a": 1.0,
|
| 775 |
+
"A13b": 4.0,
|
| 776 |
+
"A14": 3.0,
|
| 777 |
+
"A15a": 0,
|
| 778 |
+
"A15b": 2.0,
|
| 779 |
+
"A16": 2.0,
|
| 780 |
+
"A17a": 1.0,
|
| 781 |
+
"A17b": 1.0,
|
| 782 |
+
"A18": 0,
|
| 783 |
+
"A20": 1.0,
|
| 784 |
+
"A22": 0,
|
| 785 |
+
"A23": 4.0,
|
| 786 |
+
"A24": 1.0,
|
| 787 |
+
"A25": 0,
|
| 788 |
+
"A26": 0,
|
| 789 |
+
"A27a": 0,
|
| 790 |
+
"A27b": 1.0,
|
| 791 |
+
"A30": 0,
|
| 792 |
+
"A32": 0,
|
| 793 |
+
"A40": 2.0,
|
| 794 |
+
"A41": 0,
|
| 795 |
+
"A44": 0,
|
| 796 |
+
"A45": 1.0
|
| 797 |
+
},
|
| 798 |
+
"strict_target_C_counts": {
|
| 799 |
+
"A01": 1.0,
|
| 800 |
+
"A02": 1.0,
|
| 801 |
+
"A03": 0,
|
| 802 |
+
"A04": 0,
|
| 803 |
+
"A05": 0,
|
| 804 |
+
"A06": 0,
|
| 805 |
+
"A07": 0,
|
| 806 |
+
"A08": 0,
|
| 807 |
+
"A09": 0,
|
| 808 |
+
"A10": 0,
|
| 809 |
+
"A11": 0,
|
| 810 |
+
"A12": 0,
|
| 811 |
+
"A13a": 0,
|
| 812 |
+
"A13b": 0,
|
| 813 |
+
"A14": 0,
|
| 814 |
+
"A15a": 0,
|
| 815 |
+
"A15b": 0,
|
| 816 |
+
"A16": 0,
|
| 817 |
+
"A17a": 0,
|
| 818 |
+
"A17b": 0,
|
| 819 |
+
"A18": 0,
|
| 820 |
+
"A20": 0,
|
| 821 |
+
"A22": 0,
|
| 822 |
+
"A23": 0,
|
| 823 |
+
"A24": 0,
|
| 824 |
+
"A25": 0,
|
| 825 |
+
"A26": 0,
|
| 826 |
+
"A27a": 0,
|
| 827 |
+
"A27b": 0,
|
| 828 |
+
"A30": 0,
|
| 829 |
+
"A32": 0,
|
| 830 |
+
"A40": 0,
|
| 831 |
+
"A41": 0,
|
| 832 |
+
"A44": 0,
|
| 833 |
+
"A45": 0
|
| 834 |
+
},
|
| 835 |
+
"mapped_record_share": 0.2857142857142857,
|
| 836 |
+
"weighted_mapping_coverage": 0.2896551724137931,
|
| 837 |
+
"observed_C_distribution": {
|
| 838 |
+
"A01": 0.05172413793103448,
|
| 839 |
+
"A02": 0.15517241379310345,
|
| 840 |
+
"A03": 0.08620689655172414,
|
| 841 |
+
"A04": 0.05172413793103448,
|
| 842 |
+
"A05": 0.034482758620689655,
|
| 843 |
+
"A06": 0.0,
|
| 844 |
+
"A07": 0.0,
|
| 845 |
+
"A08": 0.017241379310344827,
|
| 846 |
+
"A09": 0.034482758620689655,
|
| 847 |
+
"A10": 0.1206896551724138,
|
| 848 |
+
"A11": 0.017241379310344827,
|
| 849 |
+
"A12": 0.017241379310344827,
|
| 850 |
+
"A13a": 0.017241379310344827,
|
| 851 |
+
"A13b": 0.06896551724137931,
|
| 852 |
+
"A14": 0.05172413793103448,
|
| 853 |
+
"A15a": 0.0,
|
| 854 |
+
"A15b": 0.034482758620689655,
|
| 855 |
+
"A16": 0.034482758620689655,
|
| 856 |
+
"A17a": 0.017241379310344827,
|
| 857 |
+
"A17b": 0.017241379310344827,
|
| 858 |
+
"A18": 0.0,
|
| 859 |
+
"A20": 0.017241379310344827,
|
| 860 |
+
"A22": 0.0,
|
| 861 |
+
"A23": 0.06896551724137931,
|
| 862 |
+
"A24": 0.017241379310344827,
|
| 863 |
+
"A25": 0.0,
|
| 864 |
+
"A26": 0.0,
|
| 865 |
+
"A27a": 0.0,
|
| 866 |
+
"A27b": 0.017241379310344827,
|
| 867 |
+
"A30": 0.0,
|
| 868 |
+
"A32": 0.0,
|
| 869 |
+
"A40": 0.034482758620689655,
|
| 870 |
+
"A41": 0.0,
|
| 871 |
+
"A44": 0.0,
|
| 872 |
+
"A45": 0.017241379310344827
|
| 873 |
+
},
|
| 874 |
+
"included_in_equal_month_prior": true,
|
| 875 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 876 |
+
},
|
| 877 |
+
{
|
| 878 |
+
"month": "2026-07",
|
| 879 |
+
"records": 78,
|
| 880 |
+
"mapped_records": 15,
|
| 881 |
+
"weighted_records": 76.0,
|
| 882 |
+
"weighted_mapped_records": 15.0,
|
| 883 |
+
"empty_records": 0,
|
| 884 |
+
"no_specific_aspect_records": 50,
|
| 885 |
+
"unmapped_records": 7,
|
| 886 |
+
"unresolved_disposition_records": 3,
|
| 887 |
+
"unknown_target_aspect_records": 3,
|
| 888 |
+
"strict_target_mapped_records": 0,
|
| 889 |
+
"residual_disagreement_records": 1,
|
| 890 |
+
"weighted_C_mentions": 29.0,
|
| 891 |
+
"C_counts": {
|
| 892 |
+
"A01": 5.0,
|
| 893 |
+
"A02": 2.0,
|
| 894 |
+
"A03": 2.0,
|
| 895 |
+
"A04": 0,
|
| 896 |
+
"A05": 0,
|
| 897 |
+
"A06": 0,
|
| 898 |
+
"A07": 0,
|
| 899 |
+
"A08": 0,
|
| 900 |
+
"A09": 1.0,
|
| 901 |
+
"A10": 4.0,
|
| 902 |
+
"A11": 3.0,
|
| 903 |
+
"A12": 3.0,
|
| 904 |
+
"A13a": 0,
|
| 905 |
+
"A13b": 1.0,
|
| 906 |
+
"A14": 1.0,
|
| 907 |
+
"A15a": 0,
|
| 908 |
+
"A15b": 2.0,
|
| 909 |
+
"A16": 0,
|
| 910 |
+
"A17a": 0,
|
| 911 |
+
"A17b": 0,
|
| 912 |
+
"A18": 0,
|
| 913 |
+
"A20": 0,
|
| 914 |
+
"A22": 0,
|
| 915 |
+
"A23": 3.0,
|
| 916 |
+
"A24": 1.0,
|
| 917 |
+
"A25": 0,
|
| 918 |
+
"A26": 0,
|
| 919 |
+
"A27a": 0,
|
| 920 |
+
"A27b": 0,
|
| 921 |
+
"A30": 0,
|
| 922 |
+
"A32": 0,
|
| 923 |
+
"A40": 1.0,
|
| 924 |
+
"A41": 0,
|
| 925 |
+
"A44": 0,
|
| 926 |
+
"A45": 0
|
| 927 |
+
},
|
| 928 |
+
"strict_target_C_counts": {
|
| 929 |
+
"A01": 0,
|
| 930 |
+
"A02": 0,
|
| 931 |
+
"A03": 0,
|
| 932 |
+
"A04": 0,
|
| 933 |
+
"A05": 0,
|
| 934 |
+
"A06": 0,
|
| 935 |
+
"A07": 0,
|
| 936 |
+
"A08": 0,
|
| 937 |
+
"A09": 0,
|
| 938 |
+
"A10": 0,
|
| 939 |
+
"A11": 0,
|
| 940 |
+
"A12": 0,
|
| 941 |
+
"A13a": 0,
|
| 942 |
+
"A13b": 0,
|
| 943 |
+
"A14": 0,
|
| 944 |
+
"A15a": 0,
|
| 945 |
+
"A15b": 0,
|
| 946 |
+
"A16": 0,
|
| 947 |
+
"A17a": 0,
|
| 948 |
+
"A17b": 0,
|
| 949 |
+
"A18": 0,
|
| 950 |
+
"A20": 0,
|
| 951 |
+
"A22": 0,
|
| 952 |
+
"A23": 0,
|
| 953 |
+
"A24": 0,
|
| 954 |
+
"A25": 0,
|
| 955 |
+
"A26": 0,
|
| 956 |
+
"A27a": 0,
|
| 957 |
+
"A27b": 0,
|
| 958 |
+
"A30": 0,
|
| 959 |
+
"A32": 0,
|
| 960 |
+
"A40": 0,
|
| 961 |
+
"A41": 0,
|
| 962 |
+
"A44": 0,
|
| 963 |
+
"A45": 0
|
| 964 |
+
},
|
| 965 |
+
"mapped_record_share": 0.19230769230769232,
|
| 966 |
+
"weighted_mapping_coverage": 0.19736842105263158,
|
| 967 |
+
"observed_C_distribution": {
|
| 968 |
+
"A01": 0.1724137931034483,
|
| 969 |
+
"A02": 0.06896551724137931,
|
| 970 |
+
"A03": 0.06896551724137931,
|
| 971 |
+
"A04": 0.0,
|
| 972 |
+
"A05": 0.0,
|
| 973 |
+
"A06": 0.0,
|
| 974 |
+
"A07": 0.0,
|
| 975 |
+
"A08": 0.0,
|
| 976 |
+
"A09": 0.034482758620689655,
|
| 977 |
+
"A10": 0.13793103448275862,
|
| 978 |
+
"A11": 0.10344827586206896,
|
| 979 |
+
"A12": 0.10344827586206896,
|
| 980 |
+
"A13a": 0.0,
|
| 981 |
+
"A13b": 0.034482758620689655,
|
| 982 |
+
"A14": 0.034482758620689655,
|
| 983 |
+
"A15a": 0.0,
|
| 984 |
+
"A15b": 0.06896551724137931,
|
| 985 |
+
"A16": 0.0,
|
| 986 |
+
"A17a": 0.0,
|
| 987 |
+
"A17b": 0.0,
|
| 988 |
+
"A18": 0.0,
|
| 989 |
+
"A20": 0.0,
|
| 990 |
+
"A22": 0.0,
|
| 991 |
+
"A23": 0.10344827586206896,
|
| 992 |
+
"A24": 0.034482758620689655,
|
| 993 |
+
"A25": 0.0,
|
| 994 |
+
"A26": 0.0,
|
| 995 |
+
"A27a": 0.0,
|
| 996 |
+
"A27b": 0.0,
|
| 997 |
+
"A30": 0.0,
|
| 998 |
+
"A32": 0.0,
|
| 999 |
+
"A40": 0.034482758620689655,
|
| 1000 |
+
"A41": 0.0,
|
| 1001 |
+
"A44": 0.0,
|
| 1002 |
+
"A45": 0.0
|
| 1003 |
+
},
|
| 1004 |
+
"included_in_equal_month_prior": true,
|
| 1005 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 1006 |
+
},
|
| 1007 |
+
{
|
| 1008 |
+
"month": "2026-08",
|
| 1009 |
+
"records": 118,
|
| 1010 |
+
"mapped_records": 26,
|
| 1011 |
+
"weighted_records": 117.0,
|
| 1012 |
+
"weighted_mapped_records": 26.0,
|
| 1013 |
+
"empty_records": 4,
|
| 1014 |
+
"no_specific_aspect_records": 68,
|
| 1015 |
+
"unmapped_records": 10,
|
| 1016 |
+
"unresolved_disposition_records": 4,
|
| 1017 |
+
"unknown_target_aspect_records": 3,
|
| 1018 |
+
"strict_target_mapped_records": 1,
|
| 1019 |
+
"residual_disagreement_records": 2,
|
| 1020 |
+
"weighted_C_mentions": 45.0,
|
| 1021 |
+
"C_counts": {
|
| 1022 |
+
"A01": 6.0,
|
| 1023 |
+
"A02": 4.0,
|
| 1024 |
+
"A03": 3.0,
|
| 1025 |
+
"A04": 2.0,
|
| 1026 |
+
"A05": 0,
|
| 1027 |
+
"A06": 1.0,
|
| 1028 |
+
"A07": 2.0,
|
| 1029 |
+
"A08": 3.0,
|
| 1030 |
+
"A09": 1.0,
|
| 1031 |
+
"A10": 2.0,
|
| 1032 |
+
"A11": 4.0,
|
| 1033 |
+
"A12": 0,
|
| 1034 |
+
"A13a": 1.0,
|
| 1035 |
+
"A13b": 1.0,
|
| 1036 |
+
"A14": 0,
|
| 1037 |
+
"A15a": 0,
|
| 1038 |
+
"A15b": 0,
|
| 1039 |
+
"A16": 0,
|
| 1040 |
+
"A17a": 4.0,
|
| 1041 |
+
"A17b": 0,
|
| 1042 |
+
"A18": 1.0,
|
| 1043 |
+
"A20": 0,
|
| 1044 |
+
"A22": 1.0,
|
| 1045 |
+
"A23": 5.0,
|
| 1046 |
+
"A24": 0,
|
| 1047 |
+
"A25": 1.0,
|
| 1048 |
+
"A26": 0,
|
| 1049 |
+
"A27a": 0,
|
| 1050 |
+
"A27b": 1.0,
|
| 1051 |
+
"A30": 0,
|
| 1052 |
+
"A32": 1.0,
|
| 1053 |
+
"A40": 0,
|
| 1054 |
+
"A41": 1.0,
|
| 1055 |
+
"A44": 0,
|
| 1056 |
+
"A45": 0
|
| 1057 |
+
},
|
| 1058 |
+
"strict_target_C_counts": {
|
| 1059 |
+
"A01": 0,
|
| 1060 |
+
"A02": 0,
|
| 1061 |
+
"A03": 0,
|
| 1062 |
+
"A04": 0,
|
| 1063 |
+
"A05": 0,
|
| 1064 |
+
"A06": 0,
|
| 1065 |
+
"A07": 0,
|
| 1066 |
+
"A08": 0,
|
| 1067 |
+
"A09": 0,
|
| 1068 |
+
"A10": 0,
|
| 1069 |
+
"A11": 0,
|
| 1070 |
+
"A12": 0,
|
| 1071 |
+
"A13a": 0,
|
| 1072 |
+
"A13b": 0,
|
| 1073 |
+
"A14": 0,
|
| 1074 |
+
"A15a": 0,
|
| 1075 |
+
"A15b": 0,
|
| 1076 |
+
"A16": 0,
|
| 1077 |
+
"A17a": 0,
|
| 1078 |
+
"A17b": 0,
|
| 1079 |
+
"A18": 0,
|
| 1080 |
+
"A20": 0,
|
| 1081 |
+
"A22": 0,
|
| 1082 |
+
"A23": 0,
|
| 1083 |
+
"A24": 0,
|
| 1084 |
+
"A25": 0,
|
| 1085 |
+
"A26": 0,
|
| 1086 |
+
"A27a": 0,
|
| 1087 |
+
"A27b": 0,
|
| 1088 |
+
"A30": 0,
|
| 1089 |
+
"A32": 0,
|
| 1090 |
+
"A40": 0,
|
| 1091 |
+
"A41": 1.0,
|
| 1092 |
+
"A44": 0,
|
| 1093 |
+
"A45": 0
|
| 1094 |
+
},
|
| 1095 |
+
"mapped_record_share": 0.22033898305084745,
|
| 1096 |
+
"weighted_mapping_coverage": 0.2222222222222222,
|
| 1097 |
+
"observed_C_distribution": {
|
| 1098 |
+
"A01": 0.13333333333333333,
|
| 1099 |
+
"A02": 0.08888888888888889,
|
| 1100 |
+
"A03": 0.06666666666666667,
|
| 1101 |
+
"A04": 0.044444444444444446,
|
| 1102 |
+
"A05": 0.0,
|
| 1103 |
+
"A06": 0.022222222222222223,
|
| 1104 |
+
"A07": 0.044444444444444446,
|
| 1105 |
+
"A08": 0.06666666666666667,
|
| 1106 |
+
"A09": 0.022222222222222223,
|
| 1107 |
+
"A10": 0.044444444444444446,
|
| 1108 |
+
"A11": 0.08888888888888889,
|
| 1109 |
+
"A12": 0.0,
|
| 1110 |
+
"A13a": 0.022222222222222223,
|
| 1111 |
+
"A13b": 0.022222222222222223,
|
| 1112 |
+
"A14": 0.0,
|
| 1113 |
+
"A15a": 0.0,
|
| 1114 |
+
"A15b": 0.0,
|
| 1115 |
+
"A16": 0.0,
|
| 1116 |
+
"A17a": 0.08888888888888889,
|
| 1117 |
+
"A17b": 0.0,
|
| 1118 |
+
"A18": 0.022222222222222223,
|
| 1119 |
+
"A20": 0.0,
|
| 1120 |
+
"A22": 0.022222222222222223,
|
| 1121 |
+
"A23": 0.1111111111111111,
|
| 1122 |
+
"A24": 0.0,
|
| 1123 |
+
"A25": 0.022222222222222223,
|
| 1124 |
+
"A26": 0.0,
|
| 1125 |
+
"A27a": 0.0,
|
| 1126 |
+
"A27b": 0.022222222222222223,
|
| 1127 |
+
"A30": 0.0,
|
| 1128 |
+
"A32": 0.022222222222222223,
|
| 1129 |
+
"A40": 0.0,
|
| 1130 |
+
"A41": 0.022222222222222223,
|
| 1131 |
+
"A44": 0.0,
|
| 1132 |
+
"A45": 0.0
|
| 1133 |
+
},
|
| 1134 |
+
"included_in_equal_month_prior": true,
|
| 1135 |
+
"no_eligible_count_is_not_zero_attention": true
|
| 1136 |
+
}
|
| 1137 |
+
],
|
| 1138 |
+
"records_preserved": 1035,
|
| 1139 |
+
"human_gold": false,
|
| 1140 |
+
"consumer_identity_verified": false,
|
| 1141 |
+
"semantic_accuracy_estimated": false,
|
| 1142 |
+
"formula_changed": false,
|
| 1143 |
+
"September_demand_computed": false,
|
| 1144 |
+
"coverage_fields_can_overlap": true,
|
| 1145 |
+
"coverage_note": "Unmapped expressions, unknown targets and residual model disagreement are separate; none is evidence of zero consumer attention.",
|
| 1146 |
+
"original_first_reason_omissions_preserved": 177,
|
| 1147 |
+
"inputs_sha256": {
|
| 1148 |
+
"source": "c0d6c63f4824f56c3fb20868ae8073eabdfc8c0856e5aa4df6ac9392fb609d66",
|
| 1149 |
+
"protocol": "66b9aa2e2091fd9a7ed8fe0b6779e34e4b878178d6eb380f9056fdf8679c23cc",
|
| 1150 |
+
"ledger": "34838bab411905c1f237907ff7d4dd2e5f3d5d6207e6616936ad074b33d5e448",
|
| 1151 |
+
"closure": "7b9567260d6c49945998c9edafc8c85e7aa24477f0c582c9dd5ee3c31a594597"
|
| 1152 |
+
},
|
| 1153 |
+
"runtime": {
|
| 1154 |
+
"hostname": "autodl-pro-793045af03ef",
|
| 1155 |
+
"executed_utc": "2026-10-27T00:20:00.355071+00:00",
|
| 1156 |
+
"script_sha256": "0d88687a27b9d9c9794f62b309fd2d93383f61bdd0fb66523e7c8036a1f85ee6"
|
| 1157 |
+
}
|
| 1158 |
+
}
|
supplements/20261107_buv_product_performance_uie/job.log
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/root/autodl-tmp/buv_joint_attribute_20261029/uie_env/lib/python3.12/site-packages/paddle/utils/cpp_extension/extension_utils.py:718: UserWarning: No ccache found. Please be aware that recompiling all source files may be required. You can download and install ccache from: https://github.com/ccache/ccache/blob/master/doc/INSTALL.md
|
| 2 |
+
warnings.warn(warning_message)
|
| 3 |
+
WARNING: OMP_NUM_THREADS set to 8, not 1. The computation speed will not be optimized if you use data parallel. It will fail if this PaddlePaddle binary is compiled with OpenBlas since OpenBlas does not support multi-threads.
|
| 4 |
+
PLEASE USE OMP_NUM_THREADS WISELY.
|
| 5 |
+
[32m[2026-11-07 23:05:28,073] [ INFO][0m - Loading configuration file /root/autodl-tmp/buv_joint_attribute_20261029/uie_model/model_config.json[0m
|
| 6 |
+
[32m[2026-11-07 23:05:28,073] [ INFO][0m - Loading weights file /root/autodl-tmp/buv_joint_attribute_20261029/uie_model/model_state.pdparams[0m
|
| 7 |
+
[32m[2026-11-07 23:05:28,538] [ INFO][0m - Loaded weights file from disk, setting weights to model.[0m
|
| 8 |
+
[32m[2026-11-07 23:05:33,078] [ INFO][0m - All model checkpoint weights were used when initializing UIE.
|
| 9 |
+
[0m
|
| 10 |
+
[32m[2026-11-07 23:05:33,078] [ INFO][0m - All the weights of UIE were initialized from the model checkpoint at /root/autodl-tmp/buv_joint_attribute_20261029/uie_model.
|
| 11 |
+
If your task is similar to the task the model of the checkpoint was trained on, you can already use UIE for predictions without further training.[0m
|
| 12 |
+
[32m[2026-11-07 23:05:33,096] [ INFO][0m - We are using <class 'paddlenlp.transformers.ernie.tokenizer.ErnieTokenizer'> to load '/root/autodl-tmp/buv_joint_attribute_20261029/uie_model'.[0m
|
| 13 |
+
/root/autodl-tmp/buv_joint_attribute_20261029/uie_env/lib/python3.12/site-packages/paddlenlp/transformers/tokenizer_utils_base.py:2512: FutureWarning: The `max_seq_len` argument is deprecated and will be removed in a future version, please use `max_length` instead.
|
| 14 |
+
warnings.warn(
|
| 15 |
+
/root/autodl-tmp/buv_joint_attribute_20261029/uie_env/lib/python3.12/site-packages/paddlenlp/transformers/tokenizer_utils_base.py:1912: FutureWarning: The `pad_to_max_length` argument is deprecated and will be removed in a future version, use `padding=True` or `padding='longest'` to pad to the longest sequence in the batch, or use `padding='max_length'` to pad to a max length. In this case, you can give a specific length with `max_length` (e.g. `max_length=45`) or leave max_length to None to pad to the maximal input size of the model (e.g. 512 for Bert).
|
| 16 |
+
warnings.warn(
|
| 17 |
+
{"phase": "synthetic", "completed": 16, "total": 24, "elapsed_seconds": 1045.2042583618313}
|
| 18 |
+
{"phase": "synthetic", "completed": 24, "total": 24, "elapsed_seconds": 1561.41142801987}
|
| 19 |
+
Traceback (most recent call last):
|
| 20 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 326, in <module>
|
| 21 |
+
run(parser.parse_args())
|
| 22 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 288, in run
|
| 23 |
+
synthetic = infer(fixtures, 'synthetic')
|
| 24 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 25 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 282, in infer
|
| 26 |
+
states = parse_output(text, cache[text], attributes, longtext=text in longtexts)
|
| 27 |
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| 28 |
+
File "/root/autodl-tmp/buv_product_performance_20261107/code/scripts/measure_buv_product_performance.py", line 95, in parse_output
|
| 29 |
+
raise ValueError('Invalid returned opinion span; no repair permitted')
|
| 30 |
+
ValueError: Invalid returned opinion span; no repair permitted
|
supplements/20261107_buv_product_performance_uie/job_exit.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"status": "EXITED", "timeout_pid": 1564, "started_at_utc": "2026-11-07T15:05:19.614053+00:00", "timeout_seconds": 2958, "exit_code": 1, "elapsed_seconds": 1564.2662971019745, "finished_at_utc": "2026-11-07T15:31:23.879611+00:00"}
|
supplements/20261107_buv_product_performance_uie/job_state.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"status": "RUNNING", "timeout_pid": 1564, "started_at_utc": "2026-11-07T15:05:19.614053+00:00", "timeout_seconds": 2958}
|
supplements/20261107_buv_product_performance_uie/preserve_controller_stream.py
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from pathlib import Path
|
| 2 |
+
import os,select,time,json
|
| 3 |
+
root=Path('/root/autodl-tmp/buv_product_performance_20261107')
|
| 4 |
+
readers={}
|
| 5 |
+
for n in (1,2):
|
| 6 |
+
fd=os.open('/proc/1563/fd/'+str(n),os.O_RDONLY|os.O_NONBLOCK)
|
| 7 |
+
readers[fd]=(root/('controller_stream_'+str(n)+'.log')).open('ab')
|
| 8 |
+
(root/'controller_reader_ready.json').write_text(json.dumps({'pid':os.getpid(),'controller_pid':1563,'model_restarted':False}))
|
| 9 |
+
deadline=time.monotonic()+3600
|
| 10 |
+
while readers and time.monotonic()<deadline:
|
| 11 |
+
ready,_,_=select.select(list(readers),[],[],10)
|
| 12 |
+
for fd in ready:
|
| 13 |
+
data=os.read(fd,65536)
|
| 14 |
+
if data:
|
| 15 |
+
readers[fd].write(data);readers[fd].flush()
|
| 16 |
+
else:
|
| 17 |
+
readers.pop(fd).close();os.close(fd)
|
| 18 |
+
for fd,f in read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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"attribute_id": "A01",
|
| 4 |
+
"name": "清洁去污",
|
| 5 |
+
"historical_pi": 0.11107175825952109,
|
| 6 |
+
"P": null,
|
| 7 |
+
"denominator": null,
|
| 8 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 9 |
+
},
|
| 10 |
+
{
|
| 11 |
+
"attribute_id": "A02",
|
| 12 |
+
"name": "去油与控油",
|
| 13 |
+
"historical_pi": 0.0977753089506664,
|
| 14 |
+
"P": null,
|
| 15 |
+
"denominator": null,
|
| 16 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 17 |
+
},
|
| 18 |
+
{
|
| 19 |
+
"attribute_id": "A03",
|
| 20 |
+
"name": "黑头",
|
| 21 |
+
"historical_pi": 0.10440046333128755,
|
| 22 |
+
"P": null,
|
| 23 |
+
"denominator": null,
|
| 24 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 25 |
+
},
|
| 26 |
+
{
|
| 27 |
+
"attribute_id": "A04",
|
| 28 |
+
"name": "闭口",
|
| 29 |
+
"historical_pi": 0.02242897860013083,
|
| 30 |
+
"P": null,
|
| 31 |
+
"denominator": null,
|
| 32 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 33 |
+
},
|
| 34 |
+
{
|
| 35 |
+
"attribute_id": "A05",
|
| 36 |
+
"name": "痘痘",
|
| 37 |
+
"historical_pi": 0.022582191106160828,
|
| 38 |
+
"P": null,
|
| 39 |
+
"denominator": null,
|
| 40 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"attribute_id": "A06",
|
| 44 |
+
"name": "未细分粉刺",
|
| 45 |
+
"historical_pi": 0.002777777777777778,
|
| 46 |
+
"P": null,
|
| 47 |
+
"denominator": null,
|
| 48 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 49 |
+
},
|
| 50 |
+
{
|
| 51 |
+
"attribute_id": "A07",
|
| 52 |
+
"name": "毛孔外观",
|
| 53 |
+
"historical_pi": 0.008933933933933935,
|
| 54 |
+
"P": null,
|
| 55 |
+
"denominator": null,
|
| 56 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"attribute_id": "A08",
|
| 60 |
+
"name": "触感细腻光滑",
|
| 61 |
+
"historical_pi": 0.0328312332517547,
|
| 62 |
+
"P": null,
|
| 63 |
+
"denominator": null,
|
| 64 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 65 |
+
},
|
| 66 |
+
{
|
| 67 |
+
"attribute_id": "A09",
|
| 68 |
+
"name": "水润感",
|
| 69 |
+
"historical_pi": 0.029255632840578173,
|
| 70 |
+
"P": null,
|
| 71 |
+
"denominator": null,
|
| 72 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 73 |
+
},
|
| 74 |
+
{
|
| 75 |
+
"attribute_id": "A10",
|
| 76 |
+
"name": "干燥紧绷",
|
| 77 |
+
"historical_pi": 0.09671778591038474,
|
| 78 |
+
"P": null,
|
| 79 |
+
"denominator": null,
|
| 80 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"attribute_id": "A11",
|
| 84 |
+
"name": "清爽感",
|
| 85 |
+
"historical_pi": 0.07060124148538782,
|
| 86 |
+
"P": null,
|
| 87 |
+
"denominator": null,
|
| 88 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 89 |
+
},
|
| 90 |
+
{
|
| 91 |
+
"attribute_id": "A12",
|
| 92 |
+
"name": "温和与刺激",
|
| 93 |
+
"historical_pi": 0.032344713300348285,
|
| 94 |
+
"P": null,
|
| 95 |
+
"denominator": null,
|
| 96 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 97 |
+
},
|
| 98 |
+
{
|
| 99 |
+
"attribute_id": "A13a",
|
| 100 |
+
"name": "起泡能力",
|
| 101 |
+
"historical_pi": 0.004932950191570881,
|
| 102 |
+
"P": null,
|
| 103 |
+
"denominator": null,
|
| 104 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 105 |
+
},
|
| 106 |
+
{
|
| 107 |
+
"attribute_id": "A13b",
|
| 108 |
+
"name": "泡量",
|
| 109 |
+
"historical_pi": 0.060715104296895715,
|
| 110 |
+
"P": null,
|
| 111 |
+
"denominator": null,
|
| 112 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 113 |
+
},
|
| 114 |
+
{
|
| 115 |
+
"attribute_id": "A14",
|
| 116 |
+
"name": "泡沫质地",
|
| 117 |
+
"historical_pi": 0.017203020935148774,
|
| 118 |
+
"P": null,
|
| 119 |
+
"denominator": null,
|
| 120 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"attribute_id": "A15a",
|
| 124 |
+
"name": "冲洗与冲净",
|
| 125 |
+
"historical_pi": 0.0033783783783783786,
|
| 126 |
+
"P": null,
|
| 127 |
+
"denominator": null,
|
| 128 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 129 |
+
},
|
| 130 |
+
{
|
| 131 |
+
"attribute_id": "A15b",
|
| 132 |
+
"name": "残留与假滑",
|
| 133 |
+
"historical_pi": 0.02121841669255462,
|
| 134 |
+
"P": null,
|
| 135 |
+
"denominator": null,
|
| 136 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 137 |
+
},
|
| 138 |
+
{
|
| 139 |
+
"attribute_id": "A16",
|
| 140 |
+
"name": "卸妆能力",
|
| 141 |
+
"historical_pi": 0.019358193348941878,
|
| 142 |
+
"P": null,
|
| 143 |
+
"denominator": null,
|
| 144 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"attribute_id": "A17a",
|
| 148 |
+
"name": "白净与变白",
|
| 149 |
+
"historical_pi": 0.016315064012709095,
|
| 150 |
+
"P": null,
|
| 151 |
+
"denominator": null,
|
| 152 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 153 |
+
},
|
| 154 |
+
{
|
| 155 |
+
"attribute_id": "A17b",
|
| 156 |
+
"name": "明亮通透",
|
| 157 |
+
"historical_pi": 0.0056273946360153254,
|
| 158 |
+
"P": null,
|
| 159 |
+
"denominator": null,
|
| 160 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"attribute_id": "A18",
|
| 164 |
+
"name": "上妆贴合",
|
| 165 |
+
"historical_pi": 0.006156156156156157,
|
| 166 |
+
"P": null,
|
| 167 |
+
"denominator": null,
|
| 168 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 169 |
+
},
|
| 170 |
+
{
|
| 171 |
+
"attribute_id": "A20",
|
| 172 |
+
"name": "成分与配方",
|
| 173 |
+
"historical_pi": 0.008252733389402859,
|
| 174 |
+
"P": null,
|
| 175 |
+
"denominator": null,
|
| 176 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 177 |
+
},
|
| 178 |
+
{
|
| 179 |
+
"attribute_id": "A22",
|
| 180 |
+
"name": "气味",
|
| 181 |
+
"historical_pi": 0.002777777777777778,
|
| 182 |
+
"P": null,
|
| 183 |
+
"denominator": null,
|
| 184 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"attribute_id": "A23",
|
| 188 |
+
"name": "肤质适用",
|
| 189 |
+
"historical_pi": 0.08673215372647669,
|
| 190 |
+
"P": null,
|
| 191 |
+
"denominator": null,
|
| 192 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 193 |
+
},
|
| 194 |
+
{
|
| 195 |
+
"attribute_id": "A24",
|
| 196 |
+
"name": "敏感肌适用",
|
| 197 |
+
"historical_pi": 0.02085046042678507,
|
| 198 |
+
"P": null,
|
| 199 |
+
"denominator": null,
|
| 200 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"attribute_id": "A25",
|
| 204 |
+
"name": "痘肌适用",
|
| 205 |
+
"historical_pi": 0.023158071864968415,
|
| 206 |
+
"P": null,
|
| 207 |
+
"denominator": null,
|
| 208 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 209 |
+
},
|
| 210 |
+
{
|
| 211 |
+
"attribute_id": "A26",
|
| 212 |
+
"name": "年龄适用",
|
| 213 |
+
"historical_pi": 0.009146341463414635,
|
| 214 |
+
"P": null,
|
| 215 |
+
"denominator": null,
|
| 216 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 217 |
+
},
|
| 218 |
+
{
|
| 219 |
+
"attribute_id": "A27a",
|
| 220 |
+
"name": "性别适用",
|
| 221 |
+
"historical_pi": 0.00989938108840548,
|
| 222 |
+
"P": null,
|
| 223 |
+
"denominator": null,
|
| 224 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 225 |
+
},
|
| 226 |
+
{
|
| 227 |
+
"attribute_id": "A27b",
|
| 228 |
+
"name": "家庭共用",
|
| 229 |
+
"historical_pi": 0.009418512288571162,
|
| 230 |
+
"P": null,
|
| 231 |
+
"denominator": null,
|
| 232 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"attribute_id": "A30",
|
| 236 |
+
"name": "包装外观",
|
| 237 |
+
"historical_pi": 0.00448556209700028,
|
| 238 |
+
"P": null,
|
| 239 |
+
"denominator": null,
|
| 240 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"attribute_id": "A32",
|
| 244 |
+
"name": "装量容量",
|
| 245 |
+
"historical_pi": 0.006156156156156157,
|
| 246 |
+
"P": null,
|
| 247 |
+
"denominator": null,
|
| 248 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 249 |
+
},
|
| 250 |
+
{
|
| 251 |
+
"attribute_id": "A40",
|
| 252 |
+
"name": "使用方法顺序",
|
| 253 |
+
"historical_pi": 0.008620689655172414,
|
| 254 |
+
"P": null,
|
| 255 |
+
"denominator": null,
|
| 256 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 257 |
+
},
|
| 258 |
+
{
|
| 259 |
+
"attribute_id": "A41",
|
| 260 |
+
"name": "使用频次",
|
| 261 |
+
"historical_pi": 0.011159003831417625,
|
| 262 |
+
"P": null,
|
| 263 |
+
"denominator": null,
|
| 264 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"attribute_id": "A44",
|
| 268 |
+
"name": "未定型皮肤凸起与疙瘩变化",
|
| 269 |
+
"historical_pi": 0.007183908045977011,
|
| 270 |
+
"P": null,
|
| 271 |
+
"denominator": null,
|
| 272 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 273 |
+
},
|
| 274 |
+
{
|
| 275 |
+
"attribute_id": "A45",
|
| 276 |
+
"name": "洗后皮肤舒适感",
|
| 277 |
+
"historical_pi": 0.005533550792171482,
|
| 278 |
+
"P": null,
|
| 279 |
+
"denominator": null,
|
| 280 |
+
"status": "not_estimated_diagnostic_replay_only"
|
| 281 |
+
}
|
| 282 |
+
]
|
supplements/20261107_buv_product_performance_uie/replay_results/replay_receipt.json
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hostname": "autodl-pro-793045af03ef",
|
| 3 |
+
"finished_at_utc": "2026-11-07T15:36:29.771799+00:00",
|
| 4 |
+
"raw_outputs_sha256": "a013fd5ea340760eb79dfcdc1cd356559b883d16cd1a0b12607ee78287f8fd22",
|
| 5 |
+
"raw_outputs": 24,
|
| 6 |
+
"protocol_sha256": "1b32796329df92f1196bcd975564b314204e21c479937fe36b8a3e8d72763ebf",
|
| 7 |
+
"script_sha256": "2ba28e4f6b379320b3907dfa862fa575af4224276519f5de066ad4a690a99f90",
|
| 8 |
+
"purpose": "complete diagnosis of unchanged saved outputs after correct fail-closed source-span rejection",
|
| 9 |
+
"model_calls": 0,
|
| 10 |
+
"parser_semantics_changed": false,
|
| 11 |
+
"prediction_repair": false
|
| 12 |
+
}
|
supplements/20261107_buv_product_performance_uie/replay_results/summary.json
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"status": "SYNTHETIC_GATE_FAILED",
|
| 3 |
+
"synthetic_gate_passed": false,
|
| 4 |
+
"real_pilot_started": false,
|
| 5 |
+
"full_data_inference_started": false,
|
| 6 |
+
"new_model_calls": 0
|
| 7 |
+
}
|
supplements/20261107_buv_product_performance_uie/replay_results/synthetic_gate.json
ADDED
|
@@ -0,0 +1,1083 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"passed": false,
|
| 3 |
+
"checks": {
|
| 4 |
+
"at_least_three_complete_reversal_pairs": false,
|
| 5 |
+
"no_opposite_direction_on_reversal_targets": true,
|
| 6 |
+
"cross_attribute_directions_all_correct": false,
|
| 7 |
+
"forbidden_inputs_have_no_direction_votes": false,
|
| 8 |
+
"other_product_positive_not_transferred": true,
|
| 9 |
+
"mixed_inputs_have_no_one_sided_direction_votes": false,
|
| 10 |
+
"all_returned_opinion_spans_valid": false
|
| 11 |
+
},
|
| 12 |
+
"complete_reversal_pairs": 1,
|
| 13 |
+
"reversal_target_inverse_errors": [],
|
| 14 |
+
"cases": [
|
| 15 |
+
{
|
| 16 |
+
"case_id": "01",
|
| 17 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢都洗干净了。",
|
| 18 |
+
"expected": "A01 正向",
|
| 19 |
+
"direction_votes": {},
|
| 20 |
+
"all_attribute_states": {
|
| 21 |
+
"A01": "model_not_mentioned",
|
| 22 |
+
"A02": "model_not_mentioned",
|
| 23 |
+
"A03": "model_not_mentioned",
|
| 24 |
+
"A04": "model_not_mentioned",
|
| 25 |
+
"A05": "model_not_mentioned",
|
| 26 |
+
"A06": "model_not_mentioned",
|
| 27 |
+
"A07": "model_not_mentioned",
|
| 28 |
+
"A08": "model_not_mentioned",
|
| 29 |
+
"A09": "model_not_mentioned",
|
| 30 |
+
"A10": "model_not_mentioned",
|
| 31 |
+
"A11": "model_not_mentioned",
|
| 32 |
+
"A12": "model_not_mentioned",
|
| 33 |
+
"A13a": "model_not_mentioned",
|
| 34 |
+
"A13b": "model_not_mentioned",
|
| 35 |
+
"A14": "model_not_mentioned",
|
| 36 |
+
"A15a": "model_not_mentioned",
|
| 37 |
+
"A15b": "model_not_mentioned",
|
| 38 |
+
"A16": "model_not_mentioned",
|
| 39 |
+
"A17a": "model_not_mentioned",
|
| 40 |
+
"A17b": "model_not_mentioned",
|
| 41 |
+
"A18": "model_not_mentioned",
|
| 42 |
+
"A20": "model_not_mentioned",
|
| 43 |
+
"A22": "model_not_mentioned",
|
| 44 |
+
"A23": "model_not_mentioned",
|
| 45 |
+
"A24": "model_not_mentioned",
|
| 46 |
+
"A25": "model_not_mentioned",
|
| 47 |
+
"A26": "model_not_mentioned",
|
| 48 |
+
"A27a": "model_not_mentioned",
|
| 49 |
+
"A27b": "model_not_mentioned",
|
| 50 |
+
"A30": "model_not_mentioned",
|
| 51 |
+
"A32": "model_not_mentioned",
|
| 52 |
+
"A40": "model_not_mentioned",
|
| 53 |
+
"A41": "model_not_mentioned",
|
| 54 |
+
"A44": "model_not_mentioned",
|
| 55 |
+
"A45": "unknown_no_opinion_evidence"
|
| 56 |
+
}
|
| 57 |
+
},
|
| 58 |
+
{
|
| 59 |
+
"case_id": "02",
|
| 60 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢仍然洗不干净。",
|
| 61 |
+
"expected": "A01 负向",
|
| 62 |
+
"direction_votes": {},
|
| 63 |
+
"all_attribute_states": {
|
| 64 |
+
"A01": "model_not_mentioned",
|
| 65 |
+
"A02": "model_not_mentioned",
|
| 66 |
+
"A03": "model_not_mentioned",
|
| 67 |
+
"A04": "model_not_mentioned",
|
| 68 |
+
"A05": "model_not_mentioned",
|
| 69 |
+
"A06": "model_not_mentioned",
|
| 70 |
+
"A07": "model_not_mentioned",
|
| 71 |
+
"A08": "model_not_mentioned",
|
| 72 |
+
"A09": "model_not_mentioned",
|
| 73 |
+
"A10": "model_not_mentioned",
|
| 74 |
+
"A11": "model_not_mentioned",
|
| 75 |
+
"A12": "model_not_mentioned",
|
| 76 |
+
"A13a": "model_not_mentioned",
|
| 77 |
+
"A13b": "model_not_mentioned",
|
| 78 |
+
"A14": "model_not_mentioned",
|
| 79 |
+
"A15a": "model_not_mentioned",
|
| 80 |
+
"A15b": "model_not_mentioned",
|
| 81 |
+
"A16": "model_not_mentioned",
|
| 82 |
+
"A17a": "model_not_mentioned",
|
| 83 |
+
"A17b": "model_not_mentioned",
|
| 84 |
+
"A18": "model_not_mentioned",
|
| 85 |
+
"A20": "model_not_mentioned",
|
| 86 |
+
"A22": "model_not_mentioned",
|
| 87 |
+
"A23": "model_not_mentioned",
|
| 88 |
+
"A24": "model_not_mentioned",
|
| 89 |
+
"A25": "model_not_mentioned",
|
| 90 |
+
"A26": "model_not_mentioned",
|
| 91 |
+
"A27a": "model_not_mentioned",
|
| 92 |
+
"A27b": "model_not_mentioned",
|
| 93 |
+
"A30": "model_not_mentioned",
|
| 94 |
+
"A32": "model_not_mentioned",
|
| 95 |
+
"A40": "model_not_mentioned",
|
| 96 |
+
"A41": "model_not_mentioned",
|
| 97 |
+
"A44": "model_not_mentioned",
|
| 98 |
+
"A45": "model_not_mentioned"
|
| 99 |
+
}
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"case_id": "03",
|
| 103 |
+
"text": "我用了BUV洗面奶,控油效果很好。",
|
| 104 |
+
"expected": "A02 正向",
|
| 105 |
+
"direction_votes": {
|
| 106 |
+
"A02": "positive"
|
| 107 |
+
},
|
| 108 |
+
"all_attribute_states": {
|
| 109 |
+
"A01": "model_not_mentioned",
|
| 110 |
+
"A02": "positive",
|
| 111 |
+
"A03": "model_not_mentioned",
|
| 112 |
+
"A04": "model_not_mentioned",
|
| 113 |
+
"A05": "model_not_mentioned",
|
| 114 |
+
"A06": "model_not_mentioned",
|
| 115 |
+
"A07": "model_not_mentioned",
|
| 116 |
+
"A08": "model_not_mentioned",
|
| 117 |
+
"A09": "model_not_mentioned",
|
| 118 |
+
"A10": "model_not_mentioned",
|
| 119 |
+
"A11": "model_not_mentioned",
|
| 120 |
+
"A12": "model_not_mentioned",
|
| 121 |
+
"A13a": "model_not_mentioned",
|
| 122 |
+
"A13b": "model_not_mentioned",
|
| 123 |
+
"A14": "model_not_mentioned",
|
| 124 |
+
"A15a": "model_not_mentioned",
|
| 125 |
+
"A15b": "model_not_mentioned",
|
| 126 |
+
"A16": "model_not_mentioned",
|
| 127 |
+
"A17a": "model_not_mentioned",
|
| 128 |
+
"A17b": "model_not_mentioned",
|
| 129 |
+
"A18": "model_not_mentioned",
|
| 130 |
+
"A20": "model_not_mentioned",
|
| 131 |
+
"A22": "model_not_mentioned",
|
| 132 |
+
"A23": "model_not_mentioned",
|
| 133 |
+
"A24": "model_not_mentioned",
|
| 134 |
+
"A25": "model_not_mentioned",
|
| 135 |
+
"A26": "model_not_mentioned",
|
| 136 |
+
"A27a": "model_not_mentioned",
|
| 137 |
+
"A27b": "model_not_mentioned",
|
| 138 |
+
"A30": "model_not_mentioned",
|
| 139 |
+
"A32": "model_not_mentioned",
|
| 140 |
+
"A40": "model_not_mentioned",
|
| 141 |
+
"A41": "model_not_mentioned",
|
| 142 |
+
"A44": "model_not_mentioned",
|
| 143 |
+
"A45": "model_not_mentioned"
|
| 144 |
+
}
|
| 145 |
+
},
|
| 146 |
+
{
|
| 147 |
+
"case_id": "04",
|
| 148 |
+
"text": "我用了BUV洗面奶,控油效果很差。",
|
| 149 |
+
"expected": "A02 负向",
|
| 150 |
+
"direction_votes": {
|
| 151 |
+
"A02": "negative"
|
| 152 |
+
},
|
| 153 |
+
"all_attribute_states": {
|
| 154 |
+
"A01": "model_not_mentioned",
|
| 155 |
+
"A02": "negative",
|
| 156 |
+
"A03": "model_not_mentioned",
|
| 157 |
+
"A04": "model_not_mentioned",
|
| 158 |
+
"A05": "model_not_mentioned",
|
| 159 |
+
"A06": "model_not_mentioned",
|
| 160 |
+
"A07": "model_not_mentioned",
|
| 161 |
+
"A08": "model_not_mentioned",
|
| 162 |
+
"A09": "model_not_mentioned",
|
| 163 |
+
"A10": "model_not_mentioned",
|
| 164 |
+
"A11": "model_not_mentioned",
|
| 165 |
+
"A12": "model_not_mentioned",
|
| 166 |
+
"A13a": "model_not_mentioned",
|
| 167 |
+
"A13b": "model_not_mentioned",
|
| 168 |
+
"A14": "model_not_mentioned",
|
| 169 |
+
"A15a": "model_not_mentioned",
|
| 170 |
+
"A15b": "model_not_mentioned",
|
| 171 |
+
"A16": "model_not_mentioned",
|
| 172 |
+
"A17a": "model_not_mentioned",
|
| 173 |
+
"A17b": "model_not_mentioned",
|
| 174 |
+
"A18": "model_not_mentioned",
|
| 175 |
+
"A20": "model_not_mentioned",
|
| 176 |
+
"A22": "model_not_mentioned",
|
| 177 |
+
"A23": "model_not_mentioned",
|
| 178 |
+
"A24": "model_not_mentioned",
|
| 179 |
+
"A25": "model_not_mentioned",
|
| 180 |
+
"A26": "model_not_mentioned",
|
| 181 |
+
"A27a": "model_not_mentioned",
|
| 182 |
+
"A27b": "model_not_mentioned",
|
| 183 |
+
"A30": "model_not_mentioned",
|
| 184 |
+
"A32": "model_not_mentioned",
|
| 185 |
+
"A40": "model_not_mentioned",
|
| 186 |
+
"A41": "model_not_mentioned",
|
| 187 |
+
"A44": "model_not_mentioned",
|
| 188 |
+
"A45": "model_not_mentioned"
|
| 189 |
+
}
|
| 190 |
+
},
|
| 191 |
+
{
|
| 192 |
+
"case_id": "05",
|
| 193 |
+
"text": "我用了BUV洗面奶,洗后脸部不紧绷。",
|
| 194 |
+
"expected": "A10 正向",
|
| 195 |
+
"direction_votes": {},
|
| 196 |
+
"all_attribute_states": {
|
| 197 |
+
"A01": "model_not_mentioned",
|
| 198 |
+
"A02": "model_not_mentioned",
|
| 199 |
+
"A03": "model_not_mentioned",
|
| 200 |
+
"A04": "model_not_mentioned",
|
| 201 |
+
"A05": "model_not_mentioned",
|
| 202 |
+
"A06": "model_not_mentioned",
|
| 203 |
+
"A07": "model_not_mentioned",
|
| 204 |
+
"A08": "model_not_mentioned",
|
| 205 |
+
"A09": "model_not_mentioned",
|
| 206 |
+
"A10": "model_not_mentioned",
|
| 207 |
+
"A11": "model_not_mentioned",
|
| 208 |
+
"A12": "model_not_mentioned",
|
| 209 |
+
"A13a": "model_not_mentioned",
|
| 210 |
+
"A13b": "model_not_mentioned",
|
| 211 |
+
"A14": "model_not_mentioned",
|
| 212 |
+
"A15a": "model_not_mentioned",
|
| 213 |
+
"A15b": "model_not_mentioned",
|
| 214 |
+
"A16": "model_not_mentioned",
|
| 215 |
+
"A17a": "model_not_mentioned",
|
| 216 |
+
"A17b": "model_not_mentioned",
|
| 217 |
+
"A18": "model_not_mentioned",
|
| 218 |
+
"A20": "model_not_mentioned",
|
| 219 |
+
"A22": "model_not_mentioned",
|
| 220 |
+
"A23": "model_not_mentioned",
|
| 221 |
+
"A24": "model_not_mentioned",
|
| 222 |
+
"A25": "model_not_mentioned",
|
| 223 |
+
"A26": "model_not_mentioned",
|
| 224 |
+
"A27a": "model_not_mentioned",
|
| 225 |
+
"A27b": "model_not_mentioned",
|
| 226 |
+
"A30": "model_not_mentioned",
|
| 227 |
+
"A32": "model_not_mentioned",
|
| 228 |
+
"A40": "model_not_mentioned",
|
| 229 |
+
"A41": "model_not_mentioned",
|
| 230 |
+
"A44": "model_not_mentioned",
|
| 231 |
+
"A45": "unknown_no_opinion_evidence"
|
| 232 |
+
}
|
| 233 |
+
},
|
| 234 |
+
{
|
| 235 |
+
"case_id": "06",
|
| 236 |
+
"text": "我用了BUV洗面奶,洗后脸部很紧绷。",
|
| 237 |
+
"expected": "A10 负向",
|
| 238 |
+
"direction_votes": {},
|
| 239 |
+
"all_attribute_states": {
|
| 240 |
+
"A01": "model_not_mentioned",
|
| 241 |
+
"A02": "model_not_mentioned",
|
| 242 |
+
"A03": "model_not_mentioned",
|
| 243 |
+
"A04": "model_not_mentioned",
|
| 244 |
+
"A05": "model_not_mentioned",
|
| 245 |
+
"A06": "model_not_mentioned",
|
| 246 |
+
"A07": "model_not_mentioned",
|
| 247 |
+
"A08": "model_not_mentioned",
|
| 248 |
+
"A09": "model_not_mentioned",
|
| 249 |
+
"A10": "model_not_mentioned",
|
| 250 |
+
"A11": "model_not_mentioned",
|
| 251 |
+
"A12": "model_not_mentioned",
|
| 252 |
+
"A13a": "model_not_mentioned",
|
| 253 |
+
"A13b": "model_not_mentioned",
|
| 254 |
+
"A14": "model_not_mentioned",
|
| 255 |
+
"A15a": "model_not_mentioned",
|
| 256 |
+
"A15b": "model_not_mentioned",
|
| 257 |
+
"A16": "model_not_mentioned",
|
| 258 |
+
"A17a": "model_not_mentioned",
|
| 259 |
+
"A17b": "model_not_mentioned",
|
| 260 |
+
"A18": "model_not_mentioned",
|
| 261 |
+
"A20": "model_not_mentioned",
|
| 262 |
+
"A22": "model_not_mentioned",
|
| 263 |
+
"A23": "model_not_mentioned",
|
| 264 |
+
"A24": "model_not_mentioned",
|
| 265 |
+
"A25": "model_not_mentioned",
|
| 266 |
+
"A26": "model_not_mentioned",
|
| 267 |
+
"A27a": "model_not_mentioned",
|
| 268 |
+
"A27b": "model_not_mentioned",
|
| 269 |
+
"A30": "model_not_mentioned",
|
| 270 |
+
"A32": "model_not_mentioned",
|
| 271 |
+
"A40": "model_not_mentioned",
|
| 272 |
+
"A41": "model_not_mentioned",
|
| 273 |
+
"A44": "model_not_mentioned",
|
| 274 |
+
"A45": "model_not_mentioned"
|
| 275 |
+
}
|
| 276 |
+
},
|
| 277 |
+
{
|
| 278 |
+
"case_id": "07",
|
| 279 |
+
"text": "我用了BUV洗面奶,感觉很温和。",
|
| 280 |
+
"expected": "A12 ��向",
|
| 281 |
+
"direction_votes": {},
|
| 282 |
+
"all_attribute_states": {
|
| 283 |
+
"A01": "model_not_mentioned",
|
| 284 |
+
"A02": "model_not_mentioned",
|
| 285 |
+
"A03": "model_not_mentioned",
|
| 286 |
+
"A04": "model_not_mentioned",
|
| 287 |
+
"A05": "model_not_mentioned",
|
| 288 |
+
"A06": "model_not_mentioned",
|
| 289 |
+
"A07": "model_not_mentioned",
|
| 290 |
+
"A08": "model_not_mentioned",
|
| 291 |
+
"A09": "model_not_mentioned",
|
| 292 |
+
"A10": "model_not_mentioned",
|
| 293 |
+
"A11": "model_not_mentioned",
|
| 294 |
+
"A12": "unknown_no_opinion_evidence",
|
| 295 |
+
"A13a": "model_not_mentioned",
|
| 296 |
+
"A13b": "model_not_mentioned",
|
| 297 |
+
"A14": "model_not_mentioned",
|
| 298 |
+
"A15a": "model_not_mentioned",
|
| 299 |
+
"A15b": "model_not_mentioned",
|
| 300 |
+
"A16": "model_not_mentioned",
|
| 301 |
+
"A17a": "model_not_mentioned",
|
| 302 |
+
"A17b": "model_not_mentioned",
|
| 303 |
+
"A18": "model_not_mentioned",
|
| 304 |
+
"A20": "model_not_mentioned",
|
| 305 |
+
"A22": "model_not_mentioned",
|
| 306 |
+
"A23": "model_not_mentioned",
|
| 307 |
+
"A24": "model_not_mentioned",
|
| 308 |
+
"A25": "model_not_mentioned",
|
| 309 |
+
"A26": "model_not_mentioned",
|
| 310 |
+
"A27a": "model_not_mentioned",
|
| 311 |
+
"A27b": "model_not_mentioned",
|
| 312 |
+
"A30": "model_not_mentioned",
|
| 313 |
+
"A32": "model_not_mentioned",
|
| 314 |
+
"A40": "model_not_mentioned",
|
| 315 |
+
"A41": "model_not_mentioned",
|
| 316 |
+
"A44": "model_not_mentioned",
|
| 317 |
+
"A45": "model_not_mentioned"
|
| 318 |
+
}
|
| 319 |
+
},
|
| 320 |
+
{
|
| 321 |
+
"case_id": "08",
|
| 322 |
+
"text": "我用了BUV洗面奶,感觉很刺激。",
|
| 323 |
+
"expected": "A12 负向",
|
| 324 |
+
"direction_votes": {},
|
| 325 |
+
"all_attribute_states": {
|
| 326 |
+
"A01": "model_not_mentioned",
|
| 327 |
+
"A02": "model_not_mentioned",
|
| 328 |
+
"A03": "model_not_mentioned",
|
| 329 |
+
"A04": "model_not_mentioned",
|
| 330 |
+
"A05": "model_not_mentioned",
|
| 331 |
+
"A06": "model_not_mentioned",
|
| 332 |
+
"A07": "model_not_mentioned",
|
| 333 |
+
"A08": "model_not_mentioned",
|
| 334 |
+
"A09": "model_not_mentioned",
|
| 335 |
+
"A10": "model_not_mentioned",
|
| 336 |
+
"A11": "model_not_mentioned",
|
| 337 |
+
"A12": "model_not_mentioned",
|
| 338 |
+
"A13a": "model_not_mentioned",
|
| 339 |
+
"A13b": "model_not_mentioned",
|
| 340 |
+
"A14": "model_not_mentioned",
|
| 341 |
+
"A15a": "model_not_mentioned",
|
| 342 |
+
"A15b": "model_not_mentioned",
|
| 343 |
+
"A16": "model_not_mentioned",
|
| 344 |
+
"A17a": "model_not_mentioned",
|
| 345 |
+
"A17b": "model_not_mentioned",
|
| 346 |
+
"A18": "model_not_mentioned",
|
| 347 |
+
"A20": "model_not_mentioned",
|
| 348 |
+
"A22": "model_not_mentioned",
|
| 349 |
+
"A23": "model_not_mentioned",
|
| 350 |
+
"A24": "model_not_mentioned",
|
| 351 |
+
"A25": "model_not_mentioned",
|
| 352 |
+
"A26": "model_not_mentioned",
|
| 353 |
+
"A27a": "model_not_mentioned",
|
| 354 |
+
"A27b": "model_not_mentioned",
|
| 355 |
+
"A30": "model_not_mentioned",
|
| 356 |
+
"A32": "model_not_mentioned",
|
| 357 |
+
"A40": "model_not_mentioned",
|
| 358 |
+
"A41": "model_not_mentioned",
|
| 359 |
+
"A44": "model_not_mentioned",
|
| 360 |
+
"A45": "model_not_mentioned"
|
| 361 |
+
}
|
| 362 |
+
},
|
| 363 |
+
{
|
| 364 |
+
"case_id": "09",
|
| 365 |
+
"text": "我用了BUV洗面奶,清洁效果很好,但刺激性很强。",
|
| 366 |
+
"expected": "A01 正、A12 负",
|
| 367 |
+
"direction_votes": {
|
| 368 |
+
"A01": "positive"
|
| 369 |
+
},
|
| 370 |
+
"all_attribute_states": {
|
| 371 |
+
"A01": "positive",
|
| 372 |
+
"A02": "model_not_mentioned",
|
| 373 |
+
"A03": "model_not_mentioned",
|
| 374 |
+
"A04": "model_not_mentioned",
|
| 375 |
+
"A05": "model_not_mentioned",
|
| 376 |
+
"A06": "model_not_mentioned",
|
| 377 |
+
"A07": "model_not_mentioned",
|
| 378 |
+
"A08": "model_not_mentioned",
|
| 379 |
+
"A09": "model_not_mentioned",
|
| 380 |
+
"A10": "model_not_mentioned",
|
| 381 |
+
"A11": "model_not_mentioned",
|
| 382 |
+
"A12": "model_not_mentioned",
|
| 383 |
+
"A13a": "model_not_mentioned",
|
| 384 |
+
"A13b": "model_not_mentioned",
|
| 385 |
+
"A14": "model_not_mentioned",
|
| 386 |
+
"A15a": "model_not_mentioned",
|
| 387 |
+
"A15b": "model_not_mentioned",
|
| 388 |
+
"A16": "model_not_mentioned",
|
| 389 |
+
"A17a": "model_not_mentioned",
|
| 390 |
+
"A17b": "model_not_mentioned",
|
| 391 |
+
"A18": "model_not_mentioned",
|
| 392 |
+
"A20": "model_not_mentioned",
|
| 393 |
+
"A22": "model_not_mentioned",
|
| 394 |
+
"A23": "model_not_mentioned",
|
| 395 |
+
"A24": "model_not_mentioned",
|
| 396 |
+
"A25": "model_not_mentioned",
|
| 397 |
+
"A26": "model_not_mentioned",
|
| 398 |
+
"A27a": "model_not_mentioned",
|
| 399 |
+
"A27b": "model_not_mentioned",
|
| 400 |
+
"A30": "model_not_mentioned",
|
| 401 |
+
"A32": "model_not_mentioned",
|
| 402 |
+
"A40": "model_not_mentioned",
|
| 403 |
+
"A41": "model_not_mentioned",
|
| 404 |
+
"A44": "model_not_mentioned",
|
| 405 |
+
"A45": "model_not_mentioned"
|
| 406 |
+
}
|
| 407 |
+
},
|
| 408 |
+
{
|
| 409 |
+
"case_id": "10",
|
| 410 |
+
"text": "我用了BUV洗面奶,清洁效果很差,但感觉很温和。",
|
| 411 |
+
"expected": "A01 负、A12 正",
|
| 412 |
+
"direction_votes": {},
|
| 413 |
+
"all_attribute_states": {
|
| 414 |
+
"A01": "unknown_no_opinion_evidence",
|
| 415 |
+
"A02": "model_not_mentioned",
|
| 416 |
+
"A03": "model_not_mentioned",
|
| 417 |
+
"A04": "model_not_mentioned",
|
| 418 |
+
"A05": "model_not_mentioned",
|
| 419 |
+
"A06": "model_not_mentioned",
|
| 420 |
+
"A07": "model_not_mentioned",
|
| 421 |
+
"A08": "model_not_mentioned",
|
| 422 |
+
"A09": "model_not_mentioned",
|
| 423 |
+
"A10": "model_not_mentioned",
|
| 424 |
+
"A11": "model_not_mentioned",
|
| 425 |
+
"A12": "model_not_mentioned",
|
| 426 |
+
"A13a": "model_not_mentioned",
|
| 427 |
+
"A13b": "model_not_mentioned",
|
| 428 |
+
"A14": "model_not_mentioned",
|
| 429 |
+
"A15a": "model_not_mentioned",
|
| 430 |
+
"A15b": "model_not_mentioned",
|
| 431 |
+
"A16": "model_not_mentioned",
|
| 432 |
+
"A17a": "model_not_mentioned",
|
| 433 |
+
"A17b": "model_not_mentioned",
|
| 434 |
+
"A18": "model_not_mentioned",
|
| 435 |
+
"A20": "model_not_mentioned",
|
| 436 |
+
"A22": "model_not_mentioned",
|
| 437 |
+
"A23": "model_not_mentioned",
|
| 438 |
+
"A24": "model_not_mentioned",
|
| 439 |
+
"A25": "model_not_mentioned",
|
| 440 |
+
"A26": "model_not_mentioned",
|
| 441 |
+
"A27a": "model_not_mentioned",
|
| 442 |
+
"A27b": "model_not_mentioned",
|
| 443 |
+
"A30": "model_not_mentioned",
|
| 444 |
+
"A32": "model_not_mentioned",
|
| 445 |
+
"A40": "model_not_mentioned",
|
| 446 |
+
"A41": "model_not_mentioned",
|
| 447 |
+
"A44": "model_not_mentioned",
|
| 448 |
+
"A45": "model_not_mentioned"
|
| 449 |
+
}
|
| 450 |
+
},
|
| 451 |
+
{
|
| 452 |
+
"case_id": "11",
|
| 453 |
+
"text": "BUV洗面奶控油好吗?",
|
| 454 |
+
"expected": "不得产生 P 方向票",
|
| 455 |
+
"direction_votes": {
|
| 456 |
+
"A02": "positive"
|
| 457 |
+
},
|
| 458 |
+
"all_attribute_states": {
|
| 459 |
+
"A01": "model_not_mentioned",
|
| 460 |
+
"A02": "positive",
|
| 461 |
+
"A03": "model_not_mentioned",
|
| 462 |
+
"A04": "model_not_mentioned",
|
| 463 |
+
"A05": "model_not_mentioned",
|
| 464 |
+
"A06": "model_not_mentioned",
|
| 465 |
+
"A07": "model_not_mentioned",
|
| 466 |
+
"A08": "model_not_mentioned",
|
| 467 |
+
"A09": "model_not_mentioned",
|
| 468 |
+
"A10": "model_not_mentioned",
|
| 469 |
+
"A11": "model_not_mentioned",
|
| 470 |
+
"A12": "model_not_mentioned",
|
| 471 |
+
"A13a": "model_not_mentioned",
|
| 472 |
+
"A13b": "model_not_mentioned",
|
| 473 |
+
"A14": "model_not_mentioned",
|
| 474 |
+
"A15a": "model_not_mentioned",
|
| 475 |
+
"A15b": "model_not_mentioned",
|
| 476 |
+
"A16": "model_not_mentioned",
|
| 477 |
+
"A17a": "model_not_mentioned",
|
| 478 |
+
"A17b": "model_not_mentioned",
|
| 479 |
+
"A18": "model_not_mentioned",
|
| 480 |
+
"A20": "model_not_mentioned",
|
| 481 |
+
"A22": "model_not_mentioned",
|
| 482 |
+
"A23": "model_not_mentioned",
|
| 483 |
+
"A24": "model_not_mentioned",
|
| 484 |
+
"A25": "model_not_mentioned",
|
| 485 |
+
"A26": "model_not_mentioned",
|
| 486 |
+
"A27a": "model_not_mentioned",
|
| 487 |
+
"A27b": "model_not_mentioned",
|
| 488 |
+
"A30": "model_not_mentioned",
|
| 489 |
+
"A32": "model_not_mentioned",
|
| 490 |
+
"A40": "model_not_mentioned",
|
| 491 |
+
"A41": "model_not_mentioned",
|
| 492 |
+
"A44": "model_not_mentioned",
|
| 493 |
+
"A45": "model_not_mentioned"
|
| 494 |
+
}
|
| 495 |
+
},
|
| 496 |
+
{
|
| 497 |
+
"case_id": "12",
|
| 498 |
+
"text": "BUV洗面奶洗后会紧绷吗?",
|
| 499 |
+
"expected": "不得产生 P 方向票",
|
| 500 |
+
"direction_votes": {},
|
| 501 |
+
"all_attribute_states": {
|
| 502 |
+
"A01": "model_not_mentioned",
|
| 503 |
+
"A02": "model_not_mentioned",
|
| 504 |
+
"A03": "model_not_mentioned",
|
| 505 |
+
"A04": "model_not_mentioned",
|
| 506 |
+
"A05": "model_not_mentioned",
|
| 507 |
+
"A06": "model_not_mentioned",
|
| 508 |
+
"A07": "model_not_mentioned",
|
| 509 |
+
"A08": "model_not_mentioned",
|
| 510 |
+
"A09": "model_not_mentioned",
|
| 511 |
+
"A10": "model_not_mentioned",
|
| 512 |
+
"A11": "model_not_mentioned",
|
| 513 |
+
"A12": "model_not_mentioned",
|
| 514 |
+
"A13a": "model_not_mentioned",
|
| 515 |
+
"A13b": "model_not_mentioned",
|
| 516 |
+
"A14": "model_not_mentioned",
|
| 517 |
+
"A15a": "model_not_mentioned",
|
| 518 |
+
"A15b": "model_not_mentioned",
|
| 519 |
+
"A16": "model_not_mentioned",
|
| 520 |
+
"A17a": "model_not_mentioned",
|
| 521 |
+
"A17b": "model_not_mentioned",
|
| 522 |
+
"A18": "model_not_mentioned",
|
| 523 |
+
"A20": "model_not_mentioned",
|
| 524 |
+
"A22": "model_not_mentioned",
|
| 525 |
+
"A23": "model_not_mentioned",
|
| 526 |
+
"A24": "model_not_mentioned",
|
| 527 |
+
"A25": "model_not_mentioned",
|
| 528 |
+
"A26": "model_not_mentioned",
|
| 529 |
+
"A27a": "model_not_mentioned",
|
| 530 |
+
"A27b": "model_not_mentioned",
|
| 531 |
+
"A30": "model_not_mentioned",
|
| 532 |
+
"A32": "model_not_mentioned",
|
| 533 |
+
"A40": "model_not_mentioned",
|
| 534 |
+
"A41": "model_not_mentioned",
|
| 535 |
+
"A44": "model_not_mentioned",
|
| 536 |
+
"A45": "invalid_model_return"
|
| 537 |
+
}
|
| 538 |
+
},
|
| 539 |
+
{
|
| 540 |
+
"case_id": "13",
|
| 541 |
+
"text": "BUV洗面奶还没用,希望控油好。",
|
| 542 |
+
"expected": "不得产生 P 方向票",
|
| 543 |
+
"direction_votes": {
|
| 544 |
+
"A02": "positive"
|
| 545 |
+
},
|
| 546 |
+
"all_attribute_states": {
|
| 547 |
+
"A01": "model_not_mentioned",
|
| 548 |
+
"A02": "positive",
|
| 549 |
+
"A03": "model_not_mentioned",
|
| 550 |
+
"A04": "model_not_mentioned",
|
| 551 |
+
"A05": "model_not_mentioned",
|
| 552 |
+
"A06": "model_not_mentioned",
|
| 553 |
+
"A07": "model_not_mentioned",
|
| 554 |
+
"A08": "model_not_mentioned",
|
| 555 |
+
"A09": "model_not_mentioned",
|
| 556 |
+
"A10": "model_not_mentioned",
|
| 557 |
+
"A11": "model_not_mentioned",
|
| 558 |
+
"A12": "model_not_mentioned",
|
| 559 |
+
"A13a": "model_not_mentioned",
|
| 560 |
+
"A13b": "model_not_mentioned",
|
| 561 |
+
"A14": "model_not_mentioned",
|
| 562 |
+
"A15a": "model_not_mentioned",
|
| 563 |
+
"A15b": "model_not_mentioned",
|
| 564 |
+
"A16": "model_not_mentioned",
|
| 565 |
+
"A17a": "model_not_mentioned",
|
| 566 |
+
"A17b": "model_not_mentioned",
|
| 567 |
+
"A18": "model_not_mentioned",
|
| 568 |
+
"A20": "model_not_mentioned",
|
| 569 |
+
"A22": "model_not_mentioned",
|
| 570 |
+
"A23": "model_not_mentioned",
|
| 571 |
+
"A24": "model_not_mentioned",
|
| 572 |
+
"A25": "model_not_mentioned",
|
| 573 |
+
"A26": "model_not_mentioned",
|
| 574 |
+
"A27a": "model_not_mentioned",
|
| 575 |
+
"A27b": "model_not_mentioned",
|
| 576 |
+
"A30": "model_not_mentioned",
|
| 577 |
+
"A32": "model_not_mentioned",
|
| 578 |
+
"A40": "model_not_mentioned",
|
| 579 |
+
"A41": "model_not_mentioned",
|
| 580 |
+
"A44": "model_not_mentioned",
|
| 581 |
+
"A45": "model_not_mentioned"
|
| 582 |
+
}
|
| 583 |
+
},
|
| 584 |
+
{
|
| 585 |
+
"case_id": "14",
|
| 586 |
+
"text": "BUV洗面奶还没开封,期待洗后不紧绷。",
|
| 587 |
+
"expected": "不得产生 P 方向票",
|
| 588 |
+
"direction_votes": {},
|
| 589 |
+
"all_attribute_states": {
|
| 590 |
+
"A01": "model_not_mentioned",
|
| 591 |
+
"A02": "model_not_mentioned",
|
| 592 |
+
"A03": "model_not_mentioned",
|
| 593 |
+
"A04": "model_not_mentioned",
|
| 594 |
+
"A05": "model_not_mentioned",
|
| 595 |
+
"A06": "model_not_mentioned",
|
| 596 |
+
"A07": "model_not_mentioned",
|
| 597 |
+
"A08": "model_not_mentioned",
|
| 598 |
+
"A09": "model_not_mentioned",
|
| 599 |
+
"A10": "model_not_mentioned",
|
| 600 |
+
"A11": "model_not_mentioned",
|
| 601 |
+
"A12": "model_not_mentioned",
|
| 602 |
+
"A13a": "model_not_mentioned",
|
| 603 |
+
"A13b": "model_not_mentioned",
|
| 604 |
+
"A14": "model_not_mentioned",
|
| 605 |
+
"A15a": "model_not_mentioned",
|
| 606 |
+
"A15b": "model_not_mentioned",
|
| 607 |
+
"A16": "model_not_mentioned",
|
| 608 |
+
"A17a": "model_not_mentioned",
|
| 609 |
+
"A17b": "model_not_mentioned",
|
| 610 |
+
"A18": "model_not_mentioned",
|
| 611 |
+
"A20": "model_not_mentioned",
|
| 612 |
+
"A22": "model_not_mentioned",
|
| 613 |
+
"A23": "model_not_mentioned",
|
| 614 |
+
"A24": "model_not_mentioned",
|
| 615 |
+
"A25": "model_not_mentioned",
|
| 616 |
+
"A26": "model_not_mentioned",
|
| 617 |
+
"A27a": "model_not_mentioned",
|
| 618 |
+
"A27b": "model_not_mentioned",
|
| 619 |
+
"A30": "model_not_mentioned",
|
| 620 |
+
"A32": "model_not_mentioned",
|
| 621 |
+
"A40": "model_not_mentioned",
|
| 622 |
+
"A41": "model_not_mentioned",
|
| 623 |
+
"A44": "model_not_mentioned",
|
| 624 |
+
"A45": "unknown_no_opinion_evidence"
|
| 625 |
+
}
|
| 626 |
+
},
|
| 627 |
+
{
|
| 628 |
+
"case_id": "15",
|
| 629 |
+
"text": "另一款洗面奶控油很好;BUV我还没用。",
|
| 630 |
+
"expected": "不得产生 BUV 的 P 方向票",
|
| 631 |
+
"direction_votes": {
|
| 632 |
+
"A02": "positive"
|
| 633 |
+
},
|
| 634 |
+
"all_attribute_states": {
|
| 635 |
+
"A01": "model_not_mentioned",
|
| 636 |
+
"A02": "positive",
|
| 637 |
+
"A03": "model_not_mentioned",
|
| 638 |
+
"A04": "model_not_mentioned",
|
| 639 |
+
"A05": "model_not_mentioned",
|
| 640 |
+
"A06": "model_not_mentioned",
|
| 641 |
+
"A07": "model_not_mentioned",
|
| 642 |
+
"A08": "model_not_mentioned",
|
| 643 |
+
"A09": "model_not_mentioned",
|
| 644 |
+
"A10": "model_not_mentioned",
|
| 645 |
+
"A11": "model_not_mentioned",
|
| 646 |
+
"A12": "model_not_mentioned",
|
| 647 |
+
"A13a": "model_not_mentioned",
|
| 648 |
+
"A13b": "model_not_mentioned",
|
| 649 |
+
"A14": "model_not_mentioned",
|
| 650 |
+
"A15a": "model_not_mentioned",
|
| 651 |
+
"A15b": "model_not_mentioned",
|
| 652 |
+
"A16": "model_not_mentioned",
|
| 653 |
+
"A17a": "model_not_mentioned",
|
| 654 |
+
"A17b": "model_not_mentioned",
|
| 655 |
+
"A18": "model_not_mentioned",
|
| 656 |
+
"A20": "model_not_mentioned",
|
| 657 |
+
"A22": "model_not_mentioned",
|
| 658 |
+
"A23": "model_not_mentioned",
|
| 659 |
+
"A24": "model_not_mentioned",
|
| 660 |
+
"A25": "model_not_mentioned",
|
| 661 |
+
"A26": "model_not_mentioned",
|
| 662 |
+
"A27a": "model_not_mentioned",
|
| 663 |
+
"A27b": "model_not_mentioned",
|
| 664 |
+
"A30": "model_not_mentioned",
|
| 665 |
+
"A32": "model_not_mentioned",
|
| 666 |
+
"A40": "model_not_mentioned",
|
| 667 |
+
"A41": "model_not_mentioned",
|
| 668 |
+
"A44": "model_not_mentioned",
|
| 669 |
+
"A45": "unknown_no_opinion_evidence"
|
| 670 |
+
}
|
| 671 |
+
},
|
| 672 |
+
{
|
| 673 |
+
"case_id": "16",
|
| 674 |
+
"text": "另一款洗面奶用着很温和,但BUV我用后觉得很刺激。",
|
| 675 |
+
"expected": "A12 负向或弃权;不得记正向",
|
| 676 |
+
"direction_votes": {},
|
| 677 |
+
"all_attribute_states": {
|
| 678 |
+
"A01": "model_not_mentioned",
|
| 679 |
+
"A02": "model_not_mentioned",
|
| 680 |
+
"A03": "model_not_mentioned",
|
| 681 |
+
"A04": "model_not_mentioned",
|
| 682 |
+
"A05": "model_not_mentioned",
|
| 683 |
+
"A06": "model_not_mentioned",
|
| 684 |
+
"A07": "model_not_mentioned",
|
| 685 |
+
"A08": "model_not_mentioned",
|
| 686 |
+
"A09": "model_not_mentioned",
|
| 687 |
+
"A10": "model_not_mentioned",
|
| 688 |
+
"A11": "model_not_mentioned",
|
| 689 |
+
"A12": "unknown_no_opinion_evidence",
|
| 690 |
+
"A13a": "model_not_mentioned",
|
| 691 |
+
"A13b": "model_not_mentioned",
|
| 692 |
+
"A14": "model_not_mentioned",
|
| 693 |
+
"A15a": "model_not_mentioned",
|
| 694 |
+
"A15b": "model_not_mentioned",
|
| 695 |
+
"A16": "model_not_mentioned",
|
| 696 |
+
"A17a": "model_not_mentioned",
|
| 697 |
+
"A17b": "model_not_mentioned",
|
| 698 |
+
"A18": "model_not_mentioned",
|
| 699 |
+
"A20": "model_not_mentioned",
|
| 700 |
+
"A22": "model_not_mentioned",
|
| 701 |
+
"A23": "model_not_mentioned",
|
| 702 |
+
"A24": "model_not_mentioned",
|
| 703 |
+
"A25": "model_not_mentioned",
|
| 704 |
+
"A26": "model_not_mentioned",
|
| 705 |
+
"A27a": "model_not_mentioned",
|
| 706 |
+
"A27b": "model_not_mentioned",
|
| 707 |
+
"A30": "model_not_mentioned",
|
| 708 |
+
"A32": "model_not_mentioned",
|
| 709 |
+
"A40": "model_not_mentioned",
|
| 710 |
+
"A41": "model_not_mentioned",
|
| 711 |
+
"A44": "model_not_mentioned",
|
| 712 |
+
"A45": "unknown_no_opinion_evidence"
|
| 713 |
+
}
|
| 714 |
+
},
|
| 715 |
+
{
|
| 716 |
+
"case_id": "17",
|
| 717 |
+
"text": "BUV快递送得很快。",
|
| 718 |
+
"expected": "35 个主坐标均不得产生 P 票",
|
| 719 |
+
"direction_votes": {},
|
| 720 |
+
"all_attribute_states": {
|
| 721 |
+
"A01": "model_not_mentioned",
|
| 722 |
+
"A02": "model_not_mentioned",
|
| 723 |
+
"A03": "model_not_mentioned",
|
| 724 |
+
"A04": "model_not_mentioned",
|
| 725 |
+
"A05": "model_not_mentioned",
|
| 726 |
+
"A06": "model_not_mentioned",
|
| 727 |
+
"A07": "model_not_mentioned",
|
| 728 |
+
"A08": "model_not_mentioned",
|
| 729 |
+
"A09": "model_not_mentioned",
|
| 730 |
+
"A10": "model_not_mentioned",
|
| 731 |
+
"A11": "model_not_mentioned",
|
| 732 |
+
"A12": "model_not_mentioned",
|
| 733 |
+
"A13a": "model_not_mentioned",
|
| 734 |
+
"A13b": "model_not_mentioned",
|
| 735 |
+
"A14": "model_not_mentioned",
|
| 736 |
+
"A15a": "model_not_mentioned",
|
| 737 |
+
"A15b": "model_not_mentioned",
|
| 738 |
+
"A16": "model_not_mentioned",
|
| 739 |
+
"A17a": "model_not_mentioned",
|
| 740 |
+
"A17b": "model_not_mentioned",
|
| 741 |
+
"A18": "model_not_mentioned",
|
| 742 |
+
"A20": "model_not_mentioned",
|
| 743 |
+
"A22": "model_not_mentioned",
|
| 744 |
+
"A23": "model_not_mentioned",
|
| 745 |
+
"A24": "model_not_mentioned",
|
| 746 |
+
"A25": "model_not_mentioned",
|
| 747 |
+
"A26": "model_not_mentioned",
|
| 748 |
+
"A27a": "model_not_mentioned",
|
| 749 |
+
"A27b": "model_not_mentioned",
|
| 750 |
+
"A30": "model_not_mentioned",
|
| 751 |
+
"A32": "model_not_mentioned",
|
| 752 |
+
"A40": "model_not_mentioned",
|
| 753 |
+
"A41": "model_not_mentioned",
|
| 754 |
+
"A44": "model_not_mentioned",
|
| 755 |
+
"A45": "model_not_mentioned"
|
| 756 |
+
}
|
| 757 |
+
},
|
| 758 |
+
{
|
| 759 |
+
"case_id": "18",
|
| 760 |
+
"text": "为了代言人购买BUV,支持偶像。",
|
| 761 |
+
"expected": "35 个主坐标均不得产生 P 票",
|
| 762 |
+
"direction_votes": {},
|
| 763 |
+
"all_attribute_states": {
|
| 764 |
+
"A01": "model_not_mentioned",
|
| 765 |
+
"A02": "model_not_mentioned",
|
| 766 |
+
"A03": "model_not_mentioned",
|
| 767 |
+
"A04": "model_not_mentioned",
|
| 768 |
+
"A05": "model_not_mentioned",
|
| 769 |
+
"A06": "model_not_mentioned",
|
| 770 |
+
"A07": "model_not_mentioned",
|
| 771 |
+
"A08": "model_not_mentioned",
|
| 772 |
+
"A09": "model_not_mentioned",
|
| 773 |
+
"A10": "model_not_mentioned",
|
| 774 |
+
"A11": "model_not_mentioned",
|
| 775 |
+
"A12": "model_not_mentioned",
|
| 776 |
+
"A13a": "model_not_mentioned",
|
| 777 |
+
"A13b": "model_not_mentioned",
|
| 778 |
+
"A14": "model_not_mentioned",
|
| 779 |
+
"A15a": "model_not_mentioned",
|
| 780 |
+
"A15b": "model_not_mentioned",
|
| 781 |
+
"A16": "model_not_mentioned",
|
| 782 |
+
"A17a": "model_not_mentioned",
|
| 783 |
+
"A17b": "model_not_mentioned",
|
| 784 |
+
"A18": "model_not_mentioned",
|
| 785 |
+
"A20": "model_not_mentioned",
|
| 786 |
+
"A22": "model_not_mentioned",
|
| 787 |
+
"A23": "model_not_mentioned",
|
| 788 |
+
"A24": "model_not_mentioned",
|
| 789 |
+
"A25": "model_not_mentioned",
|
| 790 |
+
"A26": "model_not_mentioned",
|
| 791 |
+
"A27a": "model_not_mentioned",
|
| 792 |
+
"A27b": "model_not_mentioned",
|
| 793 |
+
"A30": "model_not_mentioned",
|
| 794 |
+
"A32": "model_not_mentioned",
|
| 795 |
+
"A40": "model_not_mentioned",
|
| 796 |
+
"A41": "model_not_mentioned",
|
| 797 |
+
"A44": "model_not_mentioned",
|
| 798 |
+
"A45": "model_not_mentioned"
|
| 799 |
+
}
|
| 800 |
+
},
|
| 801 |
+
{
|
| 802 |
+
"case_id": "19",
|
| 803 |
+
"text": "BUV非常好,五星好评!",
|
| 804 |
+
"expected": "不得向具体属性外推 P 票",
|
| 805 |
+
"direction_votes": {},
|
| 806 |
+
"all_attribute_states": {
|
| 807 |
+
"A01": "model_not_mentioned",
|
| 808 |
+
"A02": "model_not_mentioned",
|
| 809 |
+
"A03": "model_not_mentioned",
|
| 810 |
+
"A04": "model_not_mentioned",
|
| 811 |
+
"A05": "model_not_mentioned",
|
| 812 |
+
"A06": "model_not_mentioned",
|
| 813 |
+
"A07": "model_not_mentioned",
|
| 814 |
+
"A08": "model_not_mentioned",
|
| 815 |
+
"A09": "model_not_mentioned",
|
| 816 |
+
"A10": "model_not_mentioned",
|
| 817 |
+
"A11": "model_not_mentioned",
|
| 818 |
+
"A12": "model_not_mentioned",
|
| 819 |
+
"A13a": "model_not_mentioned",
|
| 820 |
+
"A13b": "model_not_mentioned",
|
| 821 |
+
"A14": "model_not_mentioned",
|
| 822 |
+
"A15a": "model_not_mentioned",
|
| 823 |
+
"A15b": "model_not_mentioned",
|
| 824 |
+
"A16": "model_not_mentioned",
|
| 825 |
+
"A17a": "model_not_mentioned",
|
| 826 |
+
"A17b": "model_not_mentioned",
|
| 827 |
+
"A18": "model_not_mentioned",
|
| 828 |
+
"A20": "model_not_mentioned",
|
| 829 |
+
"A22": "model_not_mentioned",
|
| 830 |
+
"A23": "model_not_mentioned",
|
| 831 |
+
"A24": "model_not_mentioned",
|
| 832 |
+
"A25": "model_not_mentioned",
|
| 833 |
+
"A26": "model_not_mentioned",
|
| 834 |
+
"A27a": "model_not_mentioned",
|
| 835 |
+
"A27b": "model_not_mentioned",
|
| 836 |
+
"A30": "model_not_mentioned",
|
| 837 |
+
"A32": "model_not_mentioned",
|
| 838 |
+
"A40": "model_not_mentioned",
|
| 839 |
+
"A41": "model_not_mentioned",
|
| 840 |
+
"A44": "model_not_mentioned",
|
| 841 |
+
"A45": "model_not_mentioned"
|
| 842 |
+
}
|
| 843 |
+
},
|
| 844 |
+
{
|
| 845 |
+
"case_id": "20",
|
| 846 |
+
"text": "这支BUV洗面奶净含量100毫升。",
|
| 847 |
+
"expected": "不得把中性规格陈述计为正负票",
|
| 848 |
+
"direction_votes": {},
|
| 849 |
+
"all_attribute_states": {
|
| 850 |
+
"A01": "model_not_mentioned",
|
| 851 |
+
"A02": "model_not_mentioned",
|
| 852 |
+
"A03": "model_not_mentioned",
|
| 853 |
+
"A04": "model_not_mentioned",
|
| 854 |
+
"A05": "model_not_mentioned",
|
| 855 |
+
"A06": "model_not_mentioned",
|
| 856 |
+
"A07": "model_not_mentioned",
|
| 857 |
+
"A08": "model_not_mentioned",
|
| 858 |
+
"A09": "model_not_mentioned",
|
| 859 |
+
"A10": "model_not_mentioned",
|
| 860 |
+
"A11": "model_not_mentioned",
|
| 861 |
+
"A12": "model_not_mentioned",
|
| 862 |
+
"A13a": "model_not_mentioned",
|
| 863 |
+
"A13b": "model_not_mentioned",
|
| 864 |
+
"A14": "model_not_mentioned",
|
| 865 |
+
"A15a": "model_not_mentioned",
|
| 866 |
+
"A15b": "model_not_mentioned",
|
| 867 |
+
"A16": "model_not_mentioned",
|
| 868 |
+
"A17a": "model_not_mentioned",
|
| 869 |
+
"A17b": "model_not_mentioned",
|
| 870 |
+
"A18": "model_not_mentioned",
|
| 871 |
+
"A20": "model_not_mentioned",
|
| 872 |
+
"A22": "model_not_mentioned",
|
| 873 |
+
"A23": "model_not_mentioned",
|
| 874 |
+
"A24": "model_not_mentioned",
|
| 875 |
+
"A25": "model_not_mentioned",
|
| 876 |
+
"A26": "model_not_mentioned",
|
| 877 |
+
"A27a": "model_not_mentioned",
|
| 878 |
+
"A27b": "model_not_mentioned",
|
| 879 |
+
"A30": "model_not_mentioned",
|
| 880 |
+
"A32": "model_not_mentioned",
|
| 881 |
+
"A40": "model_not_mentioned",
|
| 882 |
+
"A41": "model_not_mentioned",
|
| 883 |
+
"A44": "model_not_mentioned",
|
| 884 |
+
"A45": "unknown_no_opinion_evidence"
|
| 885 |
+
}
|
| 886 |
+
},
|
| 887 |
+
{
|
| 888 |
+
"case_id": "21",
|
| 889 |
+
"text": "我用BUV后,有时控油很好,有时控油很差。",
|
| 890 |
+
"expected": "A02 弃权,不得单边计票",
|
| 891 |
+
"direction_votes": {},
|
| 892 |
+
"all_attribute_states": {
|
| 893 |
+
"A01": "model_not_mentioned",
|
| 894 |
+
"A02": "unknown_multi_opinion",
|
| 895 |
+
"A03": "model_not_mentioned",
|
| 896 |
+
"A04": "model_not_mentioned",
|
| 897 |
+
"A05": "model_not_mentioned",
|
| 898 |
+
"A06": "model_not_mentioned",
|
| 899 |
+
"A07": "model_not_mentioned",
|
| 900 |
+
"A08": "model_not_mentioned",
|
| 901 |
+
"A09": "model_not_mentioned",
|
| 902 |
+
"A10": "model_not_mentioned",
|
| 903 |
+
"A11": "model_not_mentioned",
|
| 904 |
+
"A12": "model_not_mentioned",
|
| 905 |
+
"A13a": "model_not_mentioned",
|
| 906 |
+
"A13b": "model_not_mentioned",
|
| 907 |
+
"A14": "model_not_mentioned",
|
| 908 |
+
"A15a": "model_not_mentioned",
|
| 909 |
+
"A15b": "model_not_mentioned",
|
| 910 |
+
"A16": "model_not_mentioned",
|
| 911 |
+
"A17a": "model_not_mentioned",
|
| 912 |
+
"A17b": "model_not_mentioned",
|
| 913 |
+
"A18": "model_not_mentioned",
|
| 914 |
+
"A20": "model_not_mentioned",
|
| 915 |
+
"A22": "model_not_mentioned",
|
| 916 |
+
"A23": "model_not_mentioned",
|
| 917 |
+
"A24": "model_not_mentioned",
|
| 918 |
+
"A25": "model_not_mentioned",
|
| 919 |
+
"A26": "model_not_mentioned",
|
| 920 |
+
"A27a": "model_not_mentioned",
|
| 921 |
+
"A27b": "model_not_mentioned",
|
| 922 |
+
"A30": "model_not_mentioned",
|
| 923 |
+
"A32": "model_not_mentioned",
|
| 924 |
+
"A40": "model_not_mentioned",
|
| 925 |
+
"A41": "model_not_mentioned",
|
| 926 |
+
"A44": "model_not_mentioned",
|
| 927 |
+
"A45": "model_not_mentioned"
|
| 928 |
+
}
|
| 929 |
+
},
|
| 930 |
+
{
|
| 931 |
+
"case_id": "22",
|
| 932 |
+
"text": "我用BUV后,有时不紧绷,有时很紧绷。",
|
| 933 |
+
"expected": "A10 弃权,不得单边计票",
|
| 934 |
+
"direction_votes": {},
|
| 935 |
+
"all_attribute_states": {
|
| 936 |
+
"A01": "model_not_mentioned",
|
| 937 |
+
"A02": "model_not_mentioned",
|
| 938 |
+
"A03": "model_not_mentioned",
|
| 939 |
+
"A04": "model_not_mentioned",
|
| 940 |
+
"A05": "model_not_mentioned",
|
| 941 |
+
"A06": "model_not_mentioned",
|
| 942 |
+
"A07": "model_not_mentioned",
|
| 943 |
+
"A08": "model_not_mentioned",
|
| 944 |
+
"A09": "model_not_mentioned",
|
| 945 |
+
"A10": "model_not_mentioned",
|
| 946 |
+
"A11": "model_not_mentioned",
|
| 947 |
+
"A12": "model_not_mentioned",
|
| 948 |
+
"A13a": "model_not_mentioned",
|
| 949 |
+
"A13b": "model_not_mentioned",
|
| 950 |
+
"A14": "model_not_mentioned",
|
| 951 |
+
"A15a": "model_not_mentioned",
|
| 952 |
+
"A15b": "model_not_mentioned",
|
| 953 |
+
"A16": "model_not_mentioned",
|
| 954 |
+
"A17a": "model_not_mentioned",
|
| 955 |
+
"A17b": "model_not_mentioned",
|
| 956 |
+
"A18": "model_not_mentioned",
|
| 957 |
+
"A20": "model_not_mentioned",
|
| 958 |
+
"A22": "model_not_mentioned",
|
| 959 |
+
"A23": "model_not_mentioned",
|
| 960 |
+
"A24": "model_not_mentioned",
|
| 961 |
+
"A25": "model_not_mentioned",
|
| 962 |
+
"A26": "model_not_mentioned",
|
| 963 |
+
"A27a": "model_not_mentioned",
|
| 964 |
+
"A27b": "model_not_mentioned",
|
| 965 |
+
"A30": "model_not_mentioned",
|
| 966 |
+
"A32": "model_not_mentioned",
|
| 967 |
+
"A40": "model_not_mentioned",
|
| 968 |
+
"A41": "model_not_mentioned",
|
| 969 |
+
"A44": "model_not_mentioned",
|
| 970 |
+
"A45": "model_not_mentioned"
|
| 971 |
+
}
|
| 972 |
+
},
|
| 973 |
+
{
|
| 974 |
+
"case_id": "23",
|
| 975 |
+
"text": "我用BUV后,有时很温和,有时很刺激。",
|
| 976 |
+
"expected": "A12 弃权,不得单边计票",
|
| 977 |
+
"direction_votes": {
|
| 978 |
+
"A12": "positive"
|
| 979 |
+
},
|
| 980 |
+
"all_attribute_states": {
|
| 981 |
+
"A01": "model_not_mentioned",
|
| 982 |
+
"A02": "model_not_mentioned",
|
| 983 |
+
"A03": "model_not_mentioned",
|
| 984 |
+
"A04": "model_not_mentioned",
|
| 985 |
+
"A05": "model_not_mentioned",
|
| 986 |
+
"A06": "model_not_mentioned",
|
| 987 |
+
"A07": "model_not_mentioned",
|
| 988 |
+
"A08": "model_not_mentioned",
|
| 989 |
+
"A09": "model_not_mentioned",
|
| 990 |
+
"A10": "model_not_mentioned",
|
| 991 |
+
"A11": "model_not_mentioned",
|
| 992 |
+
"A12": "positive",
|
| 993 |
+
"A13a": "model_not_mentioned",
|
| 994 |
+
"A13b": "model_not_mentioned",
|
| 995 |
+
"A14": "model_not_mentioned",
|
| 996 |
+
"A15a": "model_not_mentioned",
|
| 997 |
+
"A15b": "model_not_mentioned",
|
| 998 |
+
"A16": "model_not_mentioned",
|
| 999 |
+
"A17a": "model_not_mentioned",
|
| 1000 |
+
"A17b": "model_not_mentioned",
|
| 1001 |
+
"A18": "model_not_mentioned",
|
| 1002 |
+
"A20": "model_not_mentioned",
|
| 1003 |
+
"A22": "model_not_mentioned",
|
| 1004 |
+
"A23": "model_not_mentioned",
|
| 1005 |
+
"A24": "model_not_mentioned",
|
| 1006 |
+
"A25": "model_not_mentioned",
|
| 1007 |
+
"A26": "model_not_mentioned",
|
| 1008 |
+
"A27a": "model_not_mentioned",
|
| 1009 |
+
"A27b": "model_not_mentioned",
|
| 1010 |
+
"A30": "model_not_mentioned",
|
| 1011 |
+
"A32": "model_not_mentioned",
|
| 1012 |
+
"A40": "model_not_mentioned",
|
| 1013 |
+
"A41": "model_not_mentioned",
|
| 1014 |
+
"A44": "model_not_mentioned",
|
| 1015 |
+
"A45": "model_not_mentioned"
|
| 1016 |
+
}
|
| 1017 |
+
},
|
| 1018 |
+
{
|
| 1019 |
+
"case_id": "24",
|
| 1020 |
+
"text": "我用BUV后,有时洗得干净,有时洗不干净。",
|
| 1021 |
+
"expected": "A01 弃权,不得单边计票",
|
| 1022 |
+
"direction_votes": {},
|
| 1023 |
+
"all_attribute_states": {
|
| 1024 |
+
"A01": "model_not_mentioned",
|
| 1025 |
+
"A02": "model_not_mentioned",
|
| 1026 |
+
"A03": "model_not_mentioned",
|
| 1027 |
+
"A04": "model_not_mentioned",
|
| 1028 |
+
"A05": "model_not_mentioned",
|
| 1029 |
+
"A06": "model_not_mentioned",
|
| 1030 |
+
"A07": "model_not_mentioned",
|
| 1031 |
+
"A08": "model_not_mentioned",
|
| 1032 |
+
"A09": "model_not_mentioned",
|
| 1033 |
+
"A10": "model_not_mentioned",
|
| 1034 |
+
"A11": "model_not_mentioned",
|
| 1035 |
+
"A12": "model_not_mentioned",
|
| 1036 |
+
"A13a": "model_not_mentioned",
|
| 1037 |
+
"A13b": "model_not_mentioned",
|
| 1038 |
+
"A14": "model_not_mentioned",
|
| 1039 |
+
"A15a": "model_not_mentioned",
|
| 1040 |
+
"A15b": "model_not_mentioned",
|
| 1041 |
+
"A16": "model_not_mentioned",
|
| 1042 |
+
"A17a": "model_not_mentioned",
|
| 1043 |
+
"A17b": "model_not_mentioned",
|
| 1044 |
+
"A18": "model_not_mentioned",
|
| 1045 |
+
"A20": "model_not_mentioned",
|
| 1046 |
+
"A22": "model_not_mentioned",
|
| 1047 |
+
"A23": "model_not_mentioned",
|
| 1048 |
+
"A24": "model_not_mentioned",
|
| 1049 |
+
"A25": "model_not_mentioned",
|
| 1050 |
+
"A26": "model_not_mentioned",
|
| 1051 |
+
"A27a": "model_not_mentioned",
|
| 1052 |
+
"A27b": "model_not_mentioned",
|
| 1053 |
+
"A30": "model_not_mentioned",
|
| 1054 |
+
"A32": "model_not_mentioned",
|
| 1055 |
+
"A40": "model_not_mentioned",
|
| 1056 |
+
"A41": "model_not_mentioned",
|
| 1057 |
+
"A44": "model_not_mentioned",
|
| 1058 |
+
"A45": "unknown_no_opinion_evidence"
|
| 1059 |
+
}
|
| 1060 |
+
}
|
| 1061 |
+
],
|
| 1062 |
+
"human_accuracy_test": false,
|
| 1063 |
+
"invalid_model_returns": [
|
| 1064 |
+
{
|
| 1065 |
+
"case_id": "12",
|
| 1066 |
+
"attribute_id": "A45",
|
| 1067 |
+
"failure": "Invalid returned opinion span; no repair permitted",
|
| 1068 |
+
"raw_attribute_output": {
|
| 1069 |
+
"text": "洗后皮肤舒适感",
|
| 1070 |
+
"relations": {
|
| 1071 |
+
"观点词": [
|
| 1072 |
+
{
|
| 1073 |
+
"text": "舒适",
|
| 1074 |
+
"probability": 0.29761426146055214
|
| 1075 |
+
}
|
| 1076 |
+
]
|
| 1077 |
+
}
|
| 1078 |
+
}
|
| 1079 |
+
}
|
| 1080 |
+
],
|
| 1081 |
+
"original_predictions_repaired": false,
|
| 1082 |
+
"new_model_calls": 0
|
| 1083 |
+
}
|
supplements/20261107_buv_product_performance_uie/result_manifest.json
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"files": {
|
| 3 |
+
"cloud_runner.py": {
|
| 4 |
+
"sha256": "19402ee9359791ac8a195c5cb516cb019c3526689ca7a6528ba8d8adb02f84a1",
|
| 5 |
+
"bytes": 1475
|
| 6 |
+
},
|
| 7 |
+
"code/scripts/build_buv_pilot_panel.py": {
|
| 8 |
+
"sha256": "078682653932d836d2b41d5e4e16115f547ad205b9a22970b26ee0166ab2e9ce",
|
| 9 |
+
"bytes": 31369
|
| 10 |
+
},
|
| 11 |
+
"code/scripts/extract_buv_measurement_uie.py": {
|
| 12 |
+
"sha256": "b909c6213f645fcef4fa365ff8ccd568f4001a4112353c0e331ea87c75136322",
|
| 13 |
+
"bytes": 11080
|
| 14 |
+
},
|
| 15 |
+
"code/scripts/extract_preperiod_uie_features.py": {
|
| 16 |
+
"sha256": "2586e35919a3fa49654f4bced0884749e7d325f5bf6cf0af8a3c12f80a65de40",
|
| 17 |
+
"bytes": 13268
|
| 18 |
+
},
|
| 19 |
+
"code/scripts/measure_buv_product_performance.py": {
|
| 20 |
+
"sha256": "f813c99e0dfa9c9b7aaa5e739e43720c65c33d045ec234df9eb5cbe50bae13c9",
|
| 21 |
+
"bytes": 16952
|
| 22 |
+
},
|
| 23 |
+
"code/scripts/measure_buv_product_performance_audit.py": {
|
| 24 |
+
"sha256": "2ba28e4f6b379320b3907dfa862fa575af4224276519f5de066ad4a690a99f90",
|
| 25 |
+
"bytes": 21337
|
| 26 |
+
},
|
| 27 |
+
"code/scripts/prepare_preperiod_topics.py": {
|
| 28 |
+
"sha256": "34c58eacd309cf816e89485f1c0b32550dc2e5aead5105efa25a013126cfce73",
|
| 29 |
+
"bytes": 31702
|
| 30 |
+
},
|
| 31 |
+
"controller_reader_errors.log": {
|
| 32 |
+
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
| 33 |
+
"bytes": 0
|
| 34 |
+
},
|
| 35 |
+
"controller_reader_ready.json": {
|
| 36 |
+
"sha256": "776d6810e0033f08561965b376047f071dd47e6968df50f71ce49a42c98b0fef",
|
| 37 |
+
"bytes": 63
|
| 38 |
+
},
|
| 39 |
+
"controller_stream_1.log": {
|
| 40 |
+
"sha256": "b76f3dea6025ccd9e0774c32e2d50f1eca1013e8e889f825e45ef2d9b6c6bb6c",
|
| 41 |
+
"bytes": 1390
|
| 42 |
+
},
|
| 43 |
+
"controller_stream_2.log": {
|
| 44 |
+
"sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
|
| 45 |
+
"bytes": 0
|
| 46 |
+
},
|
| 47 |
+
"input_manifest.json": {
|
| 48 |
+
"sha256": "a363de3a3b1f4f102339db6e136a5580e7d40cd5ae40cf83c10acb9b93a5dcb7",
|
| 49 |
+
"bytes": 1410
|
| 50 |
+
},
|
| 51 |
+
"inputs/protocol.json": {
|
| 52 |
+
"sha256": "1b32796329df92f1196bcd975564b314204e21c479937fe36b8a3e8d72763ebf",
|
| 53 |
+
"bytes": 7286
|
| 54 |
+
},
|
| 55 |
+
"inputs/registry.json": {
|
| 56 |
+
"sha256": "66b9aa2e2091fd9a7ed8fe0b6779e34e4b878178d6eb380f9056fdf8679c23cc",
|
| 57 |
+
"bytes": 27964
|
| 58 |
+
},
|
| 59 |
+
"inputs/weights.json": {
|
| 60 |
+
"sha256": "5b35e70aff25c950ae71365912454f25ecfa94519572ec932b93f74dbfb353c2",
|
| 61 |
+
"bytes": 28039
|
| 62 |
+
},
|
| 63 |
+
"job.log": {
|
| 64 |
+
"sha256": "289579745ef6c6f1e10d861e2d753b78c559c15ec0085a9db6567ee06391be04",
|
| 65 |
+
"bytes": 3694
|
| 66 |
+
},
|
| 67 |
+
"job_exit.json": {
|
| 68 |
+
"sha256": "fbf30baf20dc5ca29da0e37217a250ade3ee2db8212b638a82062732f8a2fa02",
|
| 69 |
+
"bytes": 230
|
| 70 |
+
},
|
| 71 |
+
"job_state.json": {
|
| 72 |
+
"sha256": "23d2999edcc0729fed10f675d057c52daf4697cc9f35aaec33d496d543d97f1d",
|
| 73 |
+
"bytes": 121
|
| 74 |
+
},
|
| 75 |
+
"preserve_controller_stream.py": {
|
| 76 |
+
"sha256": "b003141f5e7add67aab34f9f11b7269b16cb0b8759e9dfccb508372e2121bb8e",
|
| 77 |
+
"bytes": 726
|
| 78 |
+
},
|
| 79 |
+
"replay_results/candidate_P.json": {
|
| 80 |
+
"sha256": "a46a96b19da1014f4cf420c661be4b8e866a847b8c5d5ed63a125efd8b9dc3c1",
|
| 81 |
+
"bytes": 7032
|
| 82 |
+
},
|
| 83 |
+
"replay_results/replay_receipt.json": {
|
| 84 |
+
"sha256": "8754c771209ff94f954343f2c975992cf5a6297ea00f7527ab1c62c160e2c377",
|
| 85 |
+
"bytes": 587
|
| 86 |
+
},
|
| 87 |
+
"replay_results/summary.json": {
|
| 88 |
+
"sha256": "357aa30309755b36a1c4db0de6d76b364bbe74e5b2572ee9f64baf589040b261",
|
| 89 |
+
"bytes": 169
|
| 90 |
+
},
|
| 91 |
+
"replay_results/synthetic_gate.json": {
|
| 92 |
+
"sha256": "bd7174802ad102f01feed785f035d4a827dacdcfd8836757be5498af71b9edbd",
|
| 93 |
+
"bytes": 38542
|
| 94 |
+
},
|
| 95 |
+
"results/protocol.json": {
|
| 96 |
+
"sha256": "1b32796329df92f1196bcd975564b314204e21c479937fe36b8a3e8d72763ebf",
|
| 97 |
+
"bytes": 7286
|
| 98 |
+
},
|
| 99 |
+
"results/raw_outputs.jsonl": {
|
| 100 |
+
"sha256": "a013fd5ea340760eb79dfcdc1cd356559b883d16cd1a0b12607ee78287f8fd22",
|
| 101 |
+
"bytes": 124757
|
| 102 |
+
},
|
| 103 |
+
"results/runtime.json": {
|
| 104 |
+
"sha256": "dcbb8f20a087eca55ca70eb6c86494201cd4b49fc4a1c6048b21370904706071",
|
| 105 |
+
"bytes": 909
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
}
|
supplements/20261107_buv_product_performance_uie/results/protocol.json
ADDED
|
@@ -0,0 +1,217 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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-v1",
|
| 3 |
+
"frozen_before_inference": true,
|
| 4 |
+
"status": "MODEL_ASSISTED_PROTOCOL_NOT_MEASUREMENT_VALIDATION",
|
| 5 |
+
"review_chat_url": "https://chatgpt.com/c/6aef3747-8b44-83e9-a00c-9d6004385649",
|
| 6 |
+
"pro_visible_setting": "Pro 5 of 5",
|
| 7 |
+
"pro_server_model_verified": false,
|
| 8 |
+
"pro_prompt_sha256": "c42b2f4e8df8eb10e83a7a85c8a7f0497f29ad655309dad97748168904003682",
|
| 9 |
+
"pro_response_sha256": "d3e9c15a97c339389398d7d3d2277553d336b0d52e1b2a6d74624ef8cf1bcd1e",
|
| 10 |
+
"input_sha256": {
|
| 11 |
+
"reviews": "28418ee5f958135f5700221a3a82d6714f8a31f955b293e0003e7917881c2e0c",
|
| 12 |
+
"weights": "5b35e70aff25c950ae71365912454f25ecfa94519572ec932b93f74dbfb353c2",
|
| 13 |
+
"registry": "66b9aa2e2091fd9a7ed8fe0b6779e34e4b878178d6eb380f9056fdf8679c23cc"
|
| 14 |
+
},
|
| 15 |
+
"coordinate_registry": "docs/sources/20261027/buv_attribute_protocol_v1.json",
|
| 16 |
+
"cutoff": "2026-09-01 00:00:00",
|
| 17 |
+
"time_basis": "source displayed calendar time; timezone unverified",
|
| 18 |
+
"model": "uie-senta-base",
|
| 19 |
+
"uie_schema": [
|
| 20 |
+
"观点词",
|
| 21 |
+
"情感倾向[正向,负向,未提及]"
|
| 22 |
+
],
|
| 23 |
+
"uie_config": {
|
| 24 |
+
"batch_size": 16,
|
| 25 |
+
"max_seq_len": 512,
|
| 26 |
+
"position_prob": 0.5,
|
| 27 |
+
"split_sentence": false,
|
| 28 |
+
"num_workers": 0,
|
| 29 |
+
"use_fast": false
|
| 30 |
+
},
|
| 31 |
+
"synthetic_cases": [
|
| 32 |
+
{
|
| 33 |
+
"case_id": "01",
|
| 34 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢都洗干净了。",
|
| 35 |
+
"expected": "A01 正向"
|
| 36 |
+
},
|
| 37 |
+
{
|
| 38 |
+
"case_id": "02",
|
| 39 |
+
"text": "我用了BUV洗面奶,洗后脸上的污垢仍然洗不干净。",
|
| 40 |
+
"expected": "A01 负向"
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"case_id": "03",
|
| 44 |
+
"text": "我用了BUV洗面奶,控油效果很好。",
|
| 45 |
+
"expected": "A02 正向"
|
| 46 |
+
},
|
| 47 |
+
{
|
| 48 |
+
"case_id": "04",
|
| 49 |
+
"text": "我用了BUV洗面奶,控油效果很差。",
|
| 50 |
+
"expected": "A02 负向"
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"case_id": "05",
|
| 54 |
+
"text": "我用了BUV洗面奶,洗后脸部不紧绷。",
|
| 55 |
+
"expected": "A10 正向"
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"case_id": "06",
|
| 59 |
+
"text": "我用了BUV洗面奶,洗后脸部很紧绷。",
|
| 60 |
+
"expected": "A10 负向"
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"case_id": "07",
|
| 64 |
+
"text": "我用了BUV洗面奶,感觉很温和。",
|
| 65 |
+
"expected": "A12 正向"
|
| 66 |
+
},
|
| 67 |
+
{
|
| 68 |
+
"case_id": "08",
|
| 69 |
+
"text": "我用了BUV洗面奶,感觉很刺激。",
|
| 70 |
+
"expected": "A12 负向"
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"case_id": "09",
|
| 74 |
+
"text": "我用了BUV洗面奶,清洁效果很好,但刺激性很强。",
|
| 75 |
+
"expected": "A01 正、A12 负"
|
| 76 |
+
},
|
| 77 |
+
{
|
| 78 |
+
"case_id": "10",
|
| 79 |
+
"text": "我用了BUV洗面奶,清洁效果很差,但感觉很温和。",
|
| 80 |
+
"expected": "A01 负、A12 正"
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"case_id": "11",
|
| 84 |
+
"text": "BUV洗面奶控油好吗?",
|
| 85 |
+
"expected": "不得产生 P 方向票"
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"case_id": "12",
|
| 89 |
+
"text": "BUV洗面奶洗后会紧绷吗?",
|
| 90 |
+
"expected": "不得产生 P 方向票"
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"case_id": "13",
|
| 94 |
+
"text": "BUV洗面奶还没用,希望控油好。",
|
| 95 |
+
"expected": "不得产生 P 方向票"
|
| 96 |
+
},
|
| 97 |
+
{
|
| 98 |
+
"case_id": "14",
|
| 99 |
+
"text": "BUV洗面奶还没开封,期待洗后不紧绷。",
|
| 100 |
+
"expected": "不得产生 P 方向票"
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"case_id": "15",
|
| 104 |
+
"text": "另一款洗面奶控油很好;BUV我还没用。",
|
| 105 |
+
"expected": "不得产生 BUV 的 P 方向票"
|
| 106 |
+
},
|
| 107 |
+
{
|
| 108 |
+
"case_id": "16",
|
| 109 |
+
"text": "另一款洗面奶用着很温和,但BUV我用后觉得很刺激。",
|
| 110 |
+
"expected": "A12 负向或弃权;不得记正向"
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"case_id": "17",
|
| 114 |
+
"text": "BUV快递送得很快。",
|
| 115 |
+
"expected": "35 个主坐标均不得产生 P 票"
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"case_id": "18",
|
| 119 |
+
"text": "为了代言人购买BUV,支持偶像。",
|
| 120 |
+
"expected": "35 个主坐标均不得产生 P 票"
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"case_id": "19",
|
| 124 |
+
"text": "BUV非常好,五星好评!",
|
| 125 |
+
"expected": "不得向具体属性外推 P 票"
|
| 126 |
+
},
|
| 127 |
+
{
|
| 128 |
+
"case_id": "20",
|
| 129 |
+
"text": "这支BUV洗面奶净含量100毫升。",
|
| 130 |
+
"expected": "不得把中性规格陈述计为正负票"
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"case_id": "21",
|
| 134 |
+
"text": "我用BUV后,有时控油很好,有时控油很差。",
|
| 135 |
+
"expected": "A02 弃权,不得单边计票"
|
| 136 |
+
},
|
| 137 |
+
{
|
| 138 |
+
"case_id": "22",
|
| 139 |
+
"text": "我用BUV后,有时不紧绷,有时很紧绷。",
|
| 140 |
+
"expected": "A10 弃权,不得单边计票"
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"case_id": "23",
|
| 144 |
+
"text": "我用BUV后,有时很温和,有时很刺激。",
|
| 145 |
+
"expected": "A12 弃权,不得单边计票"
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"case_id": "24",
|
| 149 |
+
"text": "我用BUV后,有时洗得干净,有时洗不干净。",
|
| 150 |
+
"expected": "A01 弃权,不得单边计票"
|
| 151 |
+
}
|
| 152 |
+
],
|
| 153 |
+
"gate": {
|
| 154 |
+
"complete_reversal_pairs_at_least": 3,
|
| 155 |
+
"reversal_target_wrong_sign_allowed": 0,
|
| 156 |
+
"cross_attribute_target_errors_allowed": 0,
|
| 157 |
+
"forbidden_cases": [
|
| 158 |
+
"11",
|
| 159 |
+
"12",
|
| 160 |
+
"13",
|
| 161 |
+
"14",
|
| 162 |
+
"15",
|
| 163 |
+
"17",
|
| 164 |
+
"18",
|
| 165 |
+
"19",
|
| 166 |
+
"20"
|
| 167 |
+
],
|
| 168 |
+
"forbidden_case_direction_votes_allowed": 0,
|
| 169 |
+
"case16_positive_votes_allowed": 0,
|
| 170 |
+
"mixed_cases": [
|
| 171 |
+
"21",
|
| 172 |
+
"22",
|
| 173 |
+
"23",
|
| 174 |
+
"24"
|
| 175 |
+
],
|
| 176 |
+
"mixed_case_direction_votes_allowed": 0,
|
| 177 |
+
"invalid_source_spans_allowed": 0,
|
| 178 |
+
"parser_only_repair_max": 1,
|
| 179 |
+
"semantic_retries_allowed": 0
|
| 180 |
+
},
|
| 181 |
+
"pilot": {
|
| 182 |
+
"max_parent_groups": 64,
|
| 183 |
+
"max_events": 128,
|
| 184 |
+
"sample_order": "SHA256(buv-p-pilot-v1| + original parent_id), retain complete groups",
|
| 185 |
+
"run_only_if_synthetic_gate_passes": true,
|
| 186 |
+
"full_data_run_automatic": false,
|
| 187 |
+
"single_original_instance_billed_minutes_limit": 60
|
| 188 |
+
},
|
| 189 |
+
"counting": {
|
| 190 |
+
"one_vote_per_parent_attribute": true,
|
| 191 |
+
"post_cutoff_append_excluded_before_grouping": true,
|
| 192 |
+
"latest_event_with_opinion_evidence_even_if_unknown": true,
|
| 193 |
+
"latest_unknown_blocks_old_direction": true,
|
| 194 |
+
"no_opinion_evidence_append_does_not_erase_prior_evidence": true,
|
| 195 |
+
"different_parent_same_body_retained": true,
|
| 196 |
+
"P": "positive/(positive+negative); denominator zero => NA",
|
| 197 |
+
"neutral_measured": false,
|
| 198 |
+
"mixed": "same timestamp, distinct events with opposed accepted directions",
|
| 199 |
+
"experience_or_target_classified": false,
|
| 200 |
+
"true_consumer_identity_verified": false
|
| 201 |
+
},
|
| 202 |
+
"later_interface_only": {
|
| 203 |
+
"D": "normalize(pi * p_leave_one_video_out)",
|
| 204 |
+
"matching": "sum(S * D)",
|
| 205 |
+
"P_comparison": "M_obs and Q_obs use the same P-observable coordinate set; preserve full M and coverage; never renormalize D on observed-P subset",
|
| 206 |
+
"daily_attribute_reclassification_run": false,
|
| 207 |
+
"current_vector_regression_modified": false,
|
| 208 |
+
"daily_duplicate_policy": "Pro carried forward old 35-coordinate same-source/day/text downweighting; latest full-ID pipeline differs. Not implemented or silently propagated by this P-only job."
|
| 209 |
+
},
|
| 210 |
+
"executor_decision": {
|
| 211 |
+
"adopted": "Fixed UIE aspect candidate and conservative parser, fixed synthetic gate then conditional bounded real pilot; no semantic repair",
|
| 212 |
+
"limits": "35-coordinate exploratory status retained; passing does not establish construct validity or accuracy",
|
| 213 |
+
"next_algorithm_must_return_to_Pro": true,
|
| 214 |
+
"human_annotation_requested": false,
|
| 215 |
+
"sales_regressions": 0
|
| 216 |
+
}
|
| 217 |
+
}
|
supplements/20261107_buv_product_performance_uie/results/raw_outputs.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
supplements/20261107_buv_product_performance_uie/results/runtime.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"hostname": "autodl-pro-793045af03ef",
|
| 3 |
+
"started_at_utc": "2026-11-07T15:05:21.973236+00:00",
|
| 4 |
+
"script_sha256": "f813c99e0dfa9c9b7aaa5e739e43720c65c33d045ec234df9eb5cbe50bae13c9",
|
| 5 |
+
"protocol_sha256": "1b32796329df92f1196bcd975564b314204e21c479937fe36b8a3e8d72763ebf",
|
| 6 |
+
"model_sha256": {
|
| 7 |
+
"model_config.json": "be9c5dd75a3b80cc98340286372886c4639be8e2dc08d963a82c74b5a4eb1630",
|
| 8 |
+
"model_state.pdparams": "580a41aa168bc4732bd938df782efa90fb2009f321c7ab3aa943a5005a97b34a",
|
| 9 |
+
"special_tokens_map.json": "303df45a03609e4ead04bc3dc1536d0ab19b5358db685b6f3da123d05ec200e3",
|
| 10 |
+
"tokenizer_config.json": "0f0698c70f5c8fc684e45e3704905b2aa3a83864b558ee0af43fb975975101c9",
|
| 11 |
+
"vocab.txt": "8b99e7ded859fe015d33329c4a6d75cfba7784cfe8d82db7551fbf481f262fbb"
|
| 12 |
+
},
|
| 13 |
+
"inference_device": "CPU on original AutoDL Pro",
|
| 14 |
+
"local_real_inference": false,
|
| 15 |
+
"new_training_fits": 0,
|
| 16 |
+
"new_regression_fits": 0
|
| 17 |
+
}
|