feat(apps): add Hy3 ScenarioForge decision rehearsal workspace#135
Open
dujunjin wants to merge 1 commit into
Open
feat(apps): add Hy3 ScenarioForge decision rehearsal workspace#135dujunjin wants to merge 1 commit into
dujunjin wants to merge 1 commit into
Conversation
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.
项目简介
ScenarioForge 是一个由 Tencent Hy3 驱动的决策演练 Web 应用。用户输入计划、成功目标和不可违反的约束,系统通过两次 Hy3 OpenAI-compatible API 调用完成多角色压力测试、反事实情景生成和执行门禁收敛。
本次实现
GO / CONDITIONAL_GO / NO_GO与执行门禁Hy3 是应用运行时唯一负责语义判断的模型;程序只负责边界、验证、重试、元数据和展示,不训练、不微调、不在本地推理。
两条端到端流程
演示 GIF 录制时使用仓库内置离线夹具,页面和报告元数据始终显示“非 Hy3 输出 / api calls: 0”。当前机器未提供 Hy3 API Key,因此不把离线结果冒充在线推理证据;真实 API 路径已实现并有协议级测试,配置 TokenHub 或自托管 Hy3 后即可运行任意自定义计划。
验证
ruff check .:通过python3 -m unittest discover -s tests -v:20/20 passedpython3 -m compileall -q scenarioforge tests:通过node --check scenarioforge/static/app.js:通过python3 -m build:wheel / sdist 构建成功scenarioforge --help冒烟通过POST /api/rehearse均为 HTTP 200;控制台 0 error / 0 warning协作说明
产品构思、实现、测试、文档和浏览器验证由 Codex 协助完成;未使用 CodeBuddy,因此没有虚构 CodeBuddy 贡献记录。
Related to #4.