Skip to content
View tlyyxjz's full-sized avatar

Block or report tlyyxjz

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
tlyyxjz/README.md

徐浚钊 · Xjz · tlyyxjz

让 LLM 的输出可被核验。 模型出候选,确定性程序做验证;追溯不到原文的值,宁可不输出。

上海建桥学院 · 计算机科学与技术 · 2029 届 · 上海

个人主页 tlyyxjz.github.io


主项目

🏆 BidAgent 标小智 — 招投标信息抽取,每个字段指回原文第几个字符

给它一份政府采购公告,返回项目编号、采购人、中标供应商、中标金额 —— 每个值都带它在原文里的字符区间。没有可溯源依据的字段直接丢弃,不做猜测。

▶ 在线试用 —— 点任一字段,正文跳到并高亮对应字符区间,可逐字核对。

Python · 81,215 行 / 418 文件 · CI 2335 passed · 3 skipped · 覆盖率 87.41% · Apache-2.0

金标集 620 篇:字段准确率 97.60% · 无依据输出率 0.00%

  • 架构:LLM 只负责生成候选与定位,落库前由确定性校验器逐字段复核(原文存在性、类型、跨字段一致性)
  • 可审计:每条结论绑定字符偏移量,审计方可逐字符回看,不需要信任模型
  • 工程:161 次提交,GitHub Actions 全绿,124 个测试文件分层覆盖(单元 / 集成 / 回归)

🐝 HiveSwarm — 多智能体协调框架

技能按需借还(borrow / return),Agent 用完即焚。差异点是结构化失败修复:编排失败时输出的是「装配变更」,不是一句自然语言道歉。

Python · CI 637 passed · 1 skipped · 覆盖率 88% · MIT

🩺 casbin-config-doctor — enforce() 为什么返回 false?

Casbin 只给结论,不给原因。这个给原因:哪条规则几乎匹配上了、差在哪个字段、角色是怎么继承来的。

▶ 在线试用 —— 贴 model.conf + policy.csv,数据不出浏览器。

Python · 零第三方依赖 · 62 个用例 · CI 在 3.9–3.13 五个版本全绿 · 另跑 lint + security · MIT

🧪 authztest — Go 授权测试断言库

把授权失败的上下文(哪条策略、哪个字段、期望 vs 实际)做成断言输出,而不是一个 bool。

Go · MIT · GitHub Actions 通过


上游开源贡献

oceanbase/powercontext(C++ 存储引擎 / 上下文管理)—— 5 个 PR 已合并,合计 +2132 −128,涉及 20 个文件:

PR 内容 改动
#1483 共享过滤器推导、快照决策边界、适配器一致性测试套件 +886 −81 / 4 文件
#1883 DSH 插件把服务端可恢复拒绝误报为故障:补 6 个状态分支,修掉静默丢弃 details 的解码路径 +497 −20 / 9 文件
#1898 授权决策读一致性缺口:快照读边界 + fail-closed +211 −7 / 3 文件
#2026 配置校验与失败语义收敛 +126 −2 / 2 文件
#2061 插件侧边界条件与错误传播 +412 −18 / 2 文件

竞赛

  • OceanBase 2026 数据库大赛 · seekdb 赛道 · 提交仓库 在 oceanbase/seekdb 代码库上做索引构建路径优化:先做性能归因定出杠杆上限,再改上游代码路径。改的是上游代码,不是自研引擎。 官方评测 1.793×

其他

  • prompt-proxy-lite —— 300 行 OpenAI 兼容代理,把 system prompt 留在服务端,客户端只拿 API key。Python · MIT
  • tlyyxjz.github.io —— 个人主页源码

技术栈

Python Go TypeScript SQL

FastAPI pytest SQLAlchemy async SQLite

Docker GitHub Actions Git Linux


联系

BidAgent is a verifiable document-extraction engine for Chinese government procurement notices: every extracted field carries its character offset in the source text, and fields without traceable evidence are dropped rather than guessed. 620 golden notices, 97.60% field accuracy, 0% unsupported output. 5 merged PRs in oceanbase/powercontext.

Pinned Loading

  1. HiveSwarm HiveSwarm Public

    Multi-agent framework: skills are borrowed on demand, agents are burned after use. The difference is structured failure repair - a failed orchestration returns an assembly diff, not an apology.

    Python 1

  2. BidAgent BidAgent Public

    Verifiable extraction for Chinese government procurement notices. Every extracted field carries its character offset in the source text; fields without traceable evidence are dropped, not guessed. …

    Python 2