Skip to content

refactor(model): 重构官方XGBoost JSON模型加载模块#3

Merged
huangbogeng merged 1 commit into
mainfrom
feature/fix_model_json
Apr 20, 2026
Merged

refactor(model): 重构官方XGBoost JSON模型加载模块#3
huangbogeng merged 1 commit into
mainfrom
feature/fix_model_json

Conversation

@huangbogeng

Copy link
Copy Markdown
Owner

将模型加载逻辑从 xgboost_json 模块重构为新的 official_model 模块 新模块包含独立的 schema 定义和加载器,并增加了更严格的树结构验证
包括检测循环节点、不可达节点和无效树形结构,提高模型加载的健壮性

将模型加载逻辑从 `xgboost_json` 模块重构为新的 `official_model` 模块
新模块包含独立的 schema 定义和加载器,并增加了更严格的树结构验证
包括检测循环节点、不可达节点和无效树形结构,提高模型加载的健壮性

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 17b456bb27

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/official_model/loader.rs
@huangbogeng huangbogeng merged commit 9e472c1 into main Apr 20, 2026
1 check passed
@huangbogeng huangbogeng deleted the feature/fix_model_json branch April 20, 2026 02:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant