# AIMI 102 Data Dictionary / 資料字典

> **Simulated teaching data / 模擬教學資料.** Every outlet, company, headline, URL and label in `AIMI102_News_Sample.csv` and `AIMI102_Gold_Labels.csv` is invented for practice. Outlet names end in "(simulated)" and companies are "Company A (simulated)" and so on; none refers to a real organisation. URLs use the reserved `example.com` domain and do not open real articles. Nothing in these files is investment advice.
> 兩個 CSV 檔中的所有媒體、公司、標題、網址與標籤都是練習用的模擬資料；媒體名稱都標有「（模擬）」，公司以「甲公司（模擬）」等表示，不指涉任何真實機構。網址使用保留網域 `example.com`，不會連到真實文章。本資料不構成投資建議。

> **Privacy / 隱私.** Use only these simulated files. Do not paste company secrets, client personal data or unpublished editorial material into an AI tool.
> 只使用這些模擬檔案。請勿將公司機密、客戶個資或未發布的編輯素材貼入 AI 工具。

## 1. Scenario and decision / 情境與決策

The communications team at a listed company asks Formosa Finance Daily (simulated) to compare financial-media topics and coverage sentiment about **the battery energy-storage industry (simulated)** across two periods, and to judge whether the evidence supports adjusting the company's communication strategy. The decision is about communication, not about buying or selling shares.
一家上市公司的溝通團隊請台灣財經日報（模擬）比較兩個期間財經媒體對 **儲能電池產業（模擬）** 的議題與報導情緒，判斷證據是否支持調整企業溝通策略。這是溝通決策，不是買賣股票的決策。

| Period / 期間 | Date range (inclusive) / 日期區間（含） |
|---|---|
| Period A / A 期 | 2026-01-01 to 2026-03-31 |
| Period B / B 期 | 2026-04-01 to 2026-06-30 |

Records published outside these two ranges are **Out of period / 超出期間**.

## 2. Fields in `AIMI102_News_Sample.csv` / 欄位說明

| Field / 欄位 | Meaning / 意義 | Allowed values / 允許值 | Why it matters / 為何重要 |
|---|---|---|---|
| `article_id` | Stable record id / 穩定的資料編號 | `A001`, `A002`, ... | Lets reviewers trace every row and label / 讓審核者追溯每一列與每個標籤 |
| `published_at` | Publication date and time, local time / 發布日期與時間（本地時間） | `YYYY-MM-DDThh:mm` | Assigns the record to a period / 決定資料屬於哪一期 |
| `source` | Outlet name, zh-TW then English / 媒體名稱（中文在前、英文在後） | One of the six registered outlets in section 3, or another source to be checked / 第 3 節登錄的六家媒體之一，或需查證的其他來源 | Source-mix and bias checks / 來源組成與偏誤檢查 |
| `source_type` | Type of source / 來源類型 | `news-outlet`, `press-release`, `blog`, `forum` | Blogs and forums need extra verification / 部落格與論壇需額外查證 |
| `headline` | Headline, zh-TW and English separated by `｜` / 標題（中英以 `｜` 分隔） | Free text / 文字 | Input for topic and sentiment classification / 議題與情緒分類的輸入 |
| `topic` | Topic from the codebook (section 4) / 依 Codebook 的議題（第 4 節） | `regulation`, `earnings`, `supply-chain`, `safety-esg`, `labour`, `technology` | Comparable only if the codebook is fixed / 定義固定才能比較 |
| `sentiment` | **AI draft label (simulated AI output, not yet reviewed)**: coverage tone toward the storage industry / **AI 初稿標籤（模擬的 AI 輸出，尚未審核）**：對儲能產業的報導語氣 | `positive`, `neutral`, `negative`, `mixed`, `unknown` | Must be checked against the human gold labels / 必須與人工 Gold Labels 比對 |
| `url` | Where the record came from / 原始出處 | URL, may be empty / 網址，可能空白 | Traceability; an empty or unopenable URL means the source cannot be verified / 可追溯性；空白或無法開啟代表來源無法查證 |
| `rights_note` | How the record may be used / 使用權利 | e.g. `licensed for teaching (simulated)`, `public press release ...`, `syndicated copy of ...`, `unconfirmed ...` | Permission to quote; "unconfirmed" means do not use yet / 能否引用；「unconfirmed」代表確認前暫不使用 |

## 3. Registered outlets / 已登錄媒體（全部為模擬）

| Code / 代碼 | `source` value (exact spelling) / 正確寫法 |
|---|---|
| ffd | 台灣財經日報（模擬） Formosa Finance Daily (simulated) |
| ncb | 北城商業網（模擬） North City Business Net (simulated) |
| iew | 島嶼經濟週報（模擬） Island Economic Weekly (simulated) |
| hci | 港都產業新聞（模擬） Harbour City Industry News (simulated) |
| spt | 竹科技術報（模擬） Science Park Tech Report (simulated) |
| mlf | 晨光財經電子報（模擬） Morning Light Finance Newsletter (simulated) |

A `source` spelled differently from this table must be checked against the URL code before it is merged with a registered outlet; record the decision.
`source` 拼寫與本表不同時，須先以網址代碼查證再決定是否視為同一家媒體，並記錄決定。

## 4. Codebook v1.0 / 標註準則 v1.0

**Topic / 議題**: `regulation` 法規與政策；`earnings` 營收、獲利與標案；`supply-chain` 原料、交期與物流；`safety-esg` 安全、回收與永續；`labour` 人力與招聘；`technology` 技術與示範案。

**Sentiment / 情緒**: tone of the coverage **toward the storage industry (or the named company in it)**, not the writer's mood or market prices. 判斷的是報導對 **儲能產業（或文中該公司）** 的語氣，不是作者心情或股價。

| Rule / 規則 | |
|---|---|
| 1 `positive` | Mainly favourable news (orders, hiring, approvals, successful pilots) / 主要是有利消息（訂單、招聘、核准、示範成功） |
| 2 `negative` | Mainly unfavourable news (losses widening, cuts, higher costs, safety incidents, delays) / 主要是不利消息（虧損擴大、縮編、成本上升、安全事件、延宕） |
| 3 `neutral` | Reports facts or divided views without a clear direction / 陳述事實或各方意見，沒有明確方向 |
| 4 Relative to expectations / 相對預期 | "Fell less than expected" or "losses narrowed" is not automatically negative; judge the whole sentence / 「衰退小於預期」「虧損收斂」不自動算負面，要看整句意思 |
| 5 `mixed` | Clear good and clear bad news in the same record; never average them / 同一則同時有明確好消息與壞消息；不要取平均 |
| 6 Keywords / 關鍵字 | A negative-sounding word (for example "layoffs") does not decide the label; read what the story says about it / 負面字眼（例如「裁員」）不決定標籤，要看報導實際說什麼 |
| 7 `unknown` | Cannot be judged from the headline / 僅憑標題無法判斷 |

New labels are a codebook revision approved by a person and applied to every record in both periods.
新增標籤屬於 Codebook 修訂，須由人核准並套用到兩期的所有資料。

## 5. Data-quality labels / 資料品質標籤

Give every row exactly one label. The sample deliberately contains rows for each label.
每一列只給一個標籤。樣本刻意包含每一種標籤的例子。

| Label / 標籤 | When to use / 使用時機 | Typical action / 典型處理 |
|---|---|---|
| OK | Traceable source, in period, metadata complete / 來源可追溯、在期間內、Metadata 完整 | Keep / 保留 |
| Duplicate / 重複 | Same story already counted (syndicated copy, reposted update) / 同一則報導已計入（轉載、重新貼出） | Keep one, note the others / 保留一筆，其餘註記 |
| Missing metadata / 缺少 Metadata | Date, source or another key field is blank / 日期、來源或關鍵欄位空白 | Recover from the original, or exclude with a note / 從原始來源補齊，或附註排除 |
| Out of period / 超出期間 | Published outside the fixed date ranges / 發布時間在固定區間之外 | Exclude with a note / 附註排除 |
| Unverifiable source / 來源無法查證 | Original cannot be found or opened / 找不到或打不開原始來源 | Exclude; never cite / 排除；絕不引用 |
| Rights unclear / 權利不明 | Permission to use not yet confirmed / 使用權限尚未確認 | Do not use until confirmed / 確認前暫不使用 |

## 6. Cleaning record template / 清理紀錄範本

| article_id | Quality label / 品質標籤 | Action / 處理 | Reason / 理由 | Decided by (learner code) / 決定者（學員代碼） |
|---|---|---|---|---|
| | | | | |

## 7. `AIMI102_Gold_Labels.csv` / 人工標註基準

Ten records labelled by two simulated annotators (`ANN-01`, `ANN-02`) with codebook v1.0, before seeing the AI output. Columns: `article_id`, `annotator`, `label` (sentiment), `justification` (zh-TW ｜ English), `label_version`. Compare them with the AI draft in the `sentiment` column and classify each disagreement by error type.
十筆由兩位模擬標註者依 Codebook v1.0、在看到 AI 輸出之前完成的標註。請與 `sentiment` 欄的 AI 初稿比較，並把每一筆不一致歸類為錯誤類型。
