Metadata-Version: 2.4
Name: collapse-score-lite
Version: 0.1.0
Summary: Yuanlong causal-chain outcome-label (energy collapse) text evaluation and best-candidate selection module
Home-page: https://pypi.org/project/collapse-score-lite/
Author: Yuanlong
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Classifier: Natural Language :: Chinese (Simplified)
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: jieba>=0.42.1

# collapse-score-lite

元龙因果链 - 因果配平第四方程 - 果标签（能量坍塌）文本检测与最佳遴选模块。

## 功能

- 对候选中文文本进行"果标签"规范度评分（0-100）
- 拦截包含 `|` 占位符的文本（判无效）
- 检测意志主体挂载、主观程度词、转折骨架
- 排查客观实体事件叙事混入
- 从候选列表中遴选最高分合格文本，或输出详细评估报告

## 安装

```bash
pip install collapse-score-lite
```

## 使用

```python
from collapse_score_lite import get_best_outcome_label, OutcomeLabelEvaluator

candidates = [
    "廉颇不讲信用，而且性格差",
    "廉颇吃了一斗米",
    "廉颇值得信任",
]

best = get_best_outcome_label(candidates)                      # 遴选最佳文本
report = get_best_outcome_label(candidates, return_eval=True)  # 详细评估报告
```

## 命令行演示

```bash
python -m collapse_score_lite
```
