Repository navigation
feat(jev-sim): 新增会话内决策模拟插件(Choice/Noul/Score,轮转去偏差 + NONE 出口 + 温度缩放校准) - #94
Open
forrestneo wants to merge 1 commit into
Open
forrestneo wants to merge 1 commit into
forrestneo wants to merge 1 commit into
Conversation
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
forrestneo
force-pushed
the
community/jev-sim
branch
from
October 14, 2026 09:51
c764c6d to
cd24eea
Compare
Collaborator
|
✅ Internal validation passed. A ZCode maintainer will review the change next; after acceptance, release checks run separately and this PR is closed automatically. |
10 tasks done
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plugin type / 插件类型
涉及插件名称:jev-sim
What / 改动内容
新增社区插件 jev-sim v0.2.0(external_plugins/jev-sim/),并在根目录 marketplace.json 注册。
jev-sim 用当前 ZCode 会话内的大模型模拟 Jev 风格的类型化决策:Choice(选项概率分布)/ Noul(命题真假概率 0-1)/ Score(量规等级分布 + 期望分值)。解决的问题是:agent 需要"从候选中选一个 / 判真假 / 按量规打分"时,通常只有自由文本回答,缺少结构化、带概率、会承认不确定的决策输出。与调云端决策模型 API 的方案相比,jev-sim 零基础设施、零 API key、数据不出本机。
机制(会话模型 API 无 logprobs 的替代协议):字母作答 + K=3 选项轮转去位置偏差(AnyJev cyclic shift 思路)+ Noul 对称问句去框架偏差 + 投票频率平滑归一 + 温度缩放校准(自带 calibrate.py,输出 ECE/准确率并拟合温度)。v0.2 输出 status 三态(answer / none / clarify),含 NONE 显式出口——判官多数认为"无选项成立"时不硬选。
用户可见行为与测试方式
安装后新建任务,在 composer 选中 jev-sim 技能,输入判断题(背景 + 问题 + 选项),得到 JSON:各选项概率、status、置信度、弃答/补背景建议。README_CN.md 有完整示例。
本地验证:
版本与市场注册
plugin.json 与 marketplace.json 均为 0.2.0;name / version / description / description_i18n(en + zh-CN)两处一致;category=developer-tools。
依赖、网络请求、权限和副作用
第三方材料来源与许可证
Self-check / 自查清单