[{"data":1,"prerenderedAt":1617},["ShallowReactive",2],{"all-projects":3},[4,570,913,1140,1374],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"status":11,"weight":12,"featured":13,"language":14,"highlights":15,"tags":19,"url":24,"body":25,"_type":564,"_id":565,"_source":566,"_file":567,"_stem":568,"_extension":569},"\u002Fprojects\u002Fgenesis","projects",false,"","Genesis · 一站式数据平台与灵枢 AI","面向中小团队自部署的一站式数据平台，打通 OneData 建模、IDE 开发、调度运维与血缘质量；并内置「灵枢 AI」Data Agent，将智能建模、智能开发与可信问数收进受控工具闸门。","在线运行",100,true,"Java + Vue 3 + Python",[16,17,18],"灵枢 AI（DeepAgent + 7 职能子代理）：11 大域 75 个受控工具，生产发布与删除物理不注册","智能建模与智能开发闭环：7 维模型体检与物理漂移对比、多方言转译、DEV 沙箱有界自愈","企业本体与业务语义层：表级混合 RAG + 确定性工具双轨防幻觉，并配套独立隔离演示舱",[20,21,22,23],"大数据平台","Data Agent","数仓建模","调度","https:\u002F\u002Fgenesis-platform.cn",{"type":26,"children":27,"toc":551},"root",[28,36,50,95,101,127,231,236,359,364,369,375,424,430,460,465,522,528],{"type":29,"tag":30,"props":31,"children":33},"element","h2",{"id":32},"项目定位",[34],{"type":35,"value":32},"text",{"type":29,"tag":37,"props":38,"children":39},"p",{},[40,42,48],{"type":35,"value":41},"Genesis 是面向",{"type":29,"tag":43,"props":44,"children":45},"strong",{},[46],{"type":35,"value":47},"中小团队自部署",{"type":35,"value":49},"的一站式数据平台，目标是把阿里 DataWorks \u002F 字节火山的核心数据研发体验搬到自有集群上，同时用 AI 解决数仓「上手门槛高、重复活多、规范难守」三个老问题：",{"type":29,"tag":51,"props":52,"children":53},"ul",{},[54,65,75,85],{"type":29,"tag":55,"props":56,"children":57},"li",{},[58,63],{"type":29,"tag":43,"props":59,"children":60},{},[61],{"type":35,"value":62},"数据建模与标准",{"type":35,"value":64},"：OneData 建模、数据域、统一词根与智能命名，覆盖 ODS \u002F DWD \u002F DWS \u002F ADS 分层，支持 7 维模型健康体检与物理表结构漂移对比。",{"type":29,"tag":55,"props":66,"children":67},{},[68,73],{"type":29,"tag":43,"props":69,"children":70},{},[71],{"type":35,"value":72},"数据开发与调度",{"type":35,"value":74},"：网页 IDE 写 SQL \u002F Shell 节点，支持多方言转译、自动生成单测断言、12 项发布前预检与人工审批，发布为 DolphinScheduler 工作流并可视化编排 DAG。",{"type":29,"tag":55,"props":76,"children":77},{},[78,83],{"type":29,"tag":43,"props":79,"children":80},{},[81],{"type":35,"value":82},"数据集成、血缘与质量",{"type":35,"value":84},"：支持 DataX \u002F SeaTunnel 数据同步，提供 Hive \u002F 湖仓表级血缘与数据地图（Apache Atlas）、表指挥中心与质量规则告警。",{"type":29,"tag":55,"props":86,"children":87},{},[88,93],{"type":29,"tag":43,"props":89,"children":90},{},[91],{"type":35,"value":92},"灵枢 AI（Data Agent）",{"type":35,"value":94},"：平台内置的受控数据智能体，按权限和风险分级执行——覆盖找表问数、正向\u002F逆向建仓、SQL 调优自愈与提审前深度预审。",{"type":29,"tag":30,"props":96,"children":98},{"id":97},"灵枢-ai-与防幻觉边界",[99],{"type":35,"value":100},"灵枢 AI 与防幻觉边界",{"type":29,"tag":37,"props":102,"children":103},{},[104,106,111,113,118,120,125],{"type":35,"value":105},"给数据平台接大模型，最怕两件事：一是",{"type":29,"tag":43,"props":107,"children":108},{},[109],{"type":35,"value":110},"瞎编字段和口径",{"type":35,"value":112},"，二是",{"type":29,"tag":43,"props":114,"children":115},{},[116],{"type":35,"value":117},"越权改生产数据",{"type":35,"value":119},"。Genesis 在架构上采用了「",{"type":29,"tag":43,"props":121,"children":122},{},[123],{"type":35,"value":124},"铁轨 + 越野车",{"type":35,"value":126},"」的混合编排思路：",{"type":29,"tag":51,"props":128,"children":129},{},[130,164,211,221],{"type":29,"tag":55,"props":131,"children":132},{},[133,138,140,147,149,155,156,162],{"type":29,"tag":43,"props":134,"children":135},{},[136],{"type":35,"value":137},"总管 + 7 大职能子代理",{"type":35,"value":139},"：将平台能力收口为 11 大业务域、75 个受控工具（按 ",{"type":29,"tag":141,"props":142,"children":144},"code",{"className":143},[],[145],{"type":35,"value":146},"L0 只读",{"type":35,"value":148},"、",{"type":29,"tag":141,"props":150,"children":152},{"className":151},[],[153],{"type":35,"value":154},"L1 草稿",{"type":35,"value":148},{"type":29,"tag":141,"props":157,"children":159},{"className":158},[],[160],{"type":35,"value":161},"L2 开发态变更",{"type":35,"value":163}," 分级），每个子代理只看本职能的少量高内聚工具，减少工具溢流与上下文膨胀。",{"type":29,"tag":55,"props":165,"children":166},{},[167,172,174,180,182,201,203,209],{"type":29,"tag":43,"props":168,"children":169},{},[170],{"type":35,"value":171},"硬权限隔离",{"type":35,"value":173},"：所有 ",{"type":29,"tag":141,"props":175,"children":177},{"className":176},[],[178],{"type":35,"value":179},"L2",{"type":35,"value":181}," 写草稿与 DEV 沙箱试跑都走显式人工确认（HITL），",{"type":29,"tag":43,"props":183,"children":184},{},[185,191,193,199],{"type":29,"tag":141,"props":186,"children":188},{"className":187},[],[189],{"type":35,"value":190},"L3",{"type":35,"value":192}," 生产发布与 ",{"type":29,"tag":141,"props":194,"children":196},{"className":195},[],[197],{"type":35,"value":198},"L4",{"type":35,"value":200}," 删除动作物理永不注册为模型工具",{"type":35,"value":202},"；开发沙箱严格校验 ",{"type":29,"tag":141,"props":204,"children":206},{"className":205},[],[207],{"type":35,"value":208},"envType == 'DEV'",{"type":35,"value":210},"，非开发环境一律硬拒。",{"type":29,"tag":55,"props":212,"children":213},{},[214,219],{"type":29,"tag":43,"props":215,"children":216},{},[217],{"type":35,"value":218},"表级混合 RAG + 确定性工具双轨防幻觉",{"type":35,"value":220},"：业务语义与同义词找表走混合检索，具体字段、行数与指标数值必须回查确定性元数据工具或业务语义编译器；缺字段或超出工具边界时强制转人工确认，不允许模型靠预训练记忆补全。",{"type":29,"tag":55,"props":222,"children":223},{},[224,229],{"type":29,"tag":43,"props":225,"children":226},{},[227],{"type":35,"value":228},"公开演示舱隔离设计",{"type":35,"value":230},"：针对对外体验与访客验证，设计了独立网络与卷的隔离演示舱架构——边缘默认拒绝非演示路由、覆写转发头限流、SSRF 守卫加白名单，并通过 AST 级 SQL 策略授权器拦截敏感列与 CTE \u002F 派生表别名绕过。",{"type":29,"tag":30,"props":232,"children":234},{"id":233},"架构与技术栈",[235],{"type":35,"value":233},{"type":29,"tag":237,"props":238,"children":239},"table",{},[240,264],{"type":29,"tag":241,"props":242,"children":243},"thead",{},[244],{"type":29,"tag":245,"props":246,"children":247},"tr",{},[248,254,259],{"type":29,"tag":249,"props":250,"children":251},"th",{},[252],{"type":35,"value":253},"层",{"type":29,"tag":249,"props":255,"children":256},{},[257],{"type":35,"value":258},"选型",{"type":29,"tag":249,"props":260,"children":261},{},[262],{"type":35,"value":263},"说明",{"type":29,"tag":265,"props":266,"children":267},"tbody",{},[268,287,305,323,341],{"type":29,"tag":245,"props":269,"children":270},{},[271,277,282],{"type":29,"tag":272,"props":273,"children":274},"td",{},[275],{"type":35,"value":276},"平台后端",{"type":29,"tag":272,"props":278,"children":279},{},[280],{"type":35,"value":281},"Spring Boot 3 + MyBatis-Plus + MySQL + Redis",{"type":29,"tag":272,"props":283,"children":284},{},[285],{"type":35,"value":286},"模块化单体，Flyway 托管 Schema 演进",{"type":29,"tag":245,"props":288,"children":289},{},[290,295,300],{"type":29,"tag":272,"props":291,"children":292},{},[293],{"type":35,"value":294},"智能体运行时",{"type":29,"tag":272,"props":296,"children":297},{},[298],{"type":35,"value":299},"Python Sidecar（DeepAgent + LangGraph）",{"type":29,"tag":272,"props":301,"children":302},{},[303],{"type":35,"value":304},"75 工具双端对齐，DEV 沙箱 3 轮有界自愈状态机",{"type":29,"tag":245,"props":306,"children":307},{},[308,313,318],{"type":29,"tag":272,"props":309,"children":310},{},[311],{"type":35,"value":312},"前端",{"type":29,"tag":272,"props":314,"children":315},{},[316],{"type":35,"value":317},"Vue 3 + TypeScript + Vite + Ant Design Vue 4",{"type":29,"tag":272,"props":319,"children":320},{},[321],{"type":35,"value":322},"首屏 JS 经预加载拆分从 1462KB 压到 413KB（gzip）",{"type":29,"tag":245,"props":324,"children":325},{},[326,331,336],{"type":29,"tag":272,"props":327,"children":328},{},[329],{"type":35,"value":330},"调度与计算",{"type":29,"tag":272,"props":332,"children":333},{},[334],{"type":35,"value":335},"DolphinScheduler + Hive \u002F Spark \u002F Hudi \u002F Iceberg",{"type":29,"tag":272,"props":337,"children":338},{},[339],{"type":35,"value":340},"外部引擎可按需开关，支持单机 Lite 轻量运行",{"type":29,"tag":245,"props":342,"children":343},{},[344,349,354],{"type":29,"tag":272,"props":345,"children":346},{},[347],{"type":35,"value":348},"元数据与血缘",{"type":29,"tag":272,"props":350,"children":351},{},[352],{"type":35,"value":353},"Apache Atlas + 平台表上下文服务",{"type":29,"tag":272,"props":355,"children":356},{},[357],{"type":35,"value":358},"计划演进至 OpenMetadata + OpenLineage",{"type":29,"tag":30,"props":360,"children":362},{"id":361},"工程记录",[363],{"type":35,"value":361},{"type":29,"tag":37,"props":365,"children":366},{},[367],{"type":35,"value":368},"想先看全貌，读图文架构与 6 条架构决策；想看具体排查与踩坑，按下面分类往下翻。",{"type":29,"tag":370,"props":371,"children":373},"h3",{"id":372},"整体设计与演进",[374],{"type":35,"value":372},{"type":29,"tag":51,"props":376,"children":377},{},[378,388,397,406,415],{"type":29,"tag":55,"props":379,"children":380},{},[381],{"type":29,"tag":382,"props":383,"children":385},"a",{"href":384},"\u002Fblog\u002F2026-11-07-genesis-architecture-illustrated\u002F",[386],{"type":35,"value":387},"五张图看懂 Genesis：一条 SQL 的上线路，和四个让我头疼的问题",{"type":29,"tag":55,"props":389,"children":390},{},[391],{"type":29,"tag":382,"props":392,"children":394},{"href":393},"\u002Fblog\u002F2026-09-16-genesis-architecture-overview\u002F",[395],{"type":35,"value":396},"Genesis 架构总览：模块、主链路和外部依赖",{"type":29,"tag":55,"props":398,"children":399},{},[400],{"type":29,"tag":382,"props":401,"children":403},{"href":402},"\u002Fblog\u002F2026-10-08-genesis-architecture-adr\u002F",[404],{"type":35,"value":405},"改 Genesis 架构之前，我先定下的 6 条决策",{"type":29,"tag":55,"props":407,"children":408},{},[409],{"type":29,"tag":382,"props":410,"children":412},{"href":411},"\u002Fblog\u002F2026-10-09-genesis-intelligent-governance\u002F",[413],{"type":35,"value":414},"让守规范变成最省事的做法：Genesis 智能化与降本增效方案",{"type":29,"tag":55,"props":416,"children":417},{},[418],{"type":29,"tag":382,"props":419,"children":421},{"href":420},"\u002Fblog\u002F2026-10-12-ai-assisted-genesis\u002F",[422],{"type":35,"value":423},"Genesis 的代码大多是 AI 写的：我怎么定规矩、过 spec，又在哪儿没管住",{"type":29,"tag":370,"props":425,"children":427},{"id":426},"建模数仓与湖仓",[428],{"type":35,"value":429},"建模、数仓与湖仓",{"type":29,"tag":51,"props":431,"children":432},{},[433,442,451],{"type":29,"tag":55,"props":434,"children":435},{},[436],{"type":29,"tag":382,"props":437,"children":439},{"href":438},"\u002Fblog\u002F2026-08-22-genesis-onedata-standards\u002F",[440],{"type":35,"value":441},"数仓命名靠词根管：Genesis 的数据标准和 OneData 建模是怎么设计的",{"type":29,"tag":55,"props":443,"children":444},{},[445],{"type":29,"tag":382,"props":446,"children":448},{"href":447},"\u002Fblog\u002F2026-09-06-gmall-dw-on-genesis\u002F",[449],{"type":35,"value":450},"在 Genesis 上一夜搭完电商数仓 V6，以及路上记下的 30 个问题",{"type":29,"tag":55,"props":452,"children":453},{},[454],{"type":29,"tag":382,"props":455,"children":457},{"href":456},"\u002Fblog\u002F2026-09-12-genesis-lakehouse-hudi-iceberg\u002F",[458],{"type":35,"value":459},"给 Genesis 接 Hudi 和 Iceberg：灰度怎么设计，canary 卡在了哪",{"type":29,"tag":370,"props":461,"children":463},{"id":462},"开发排查与集群运维",[464],{"type":35,"value":462},{"type":29,"tag":51,"props":466,"children":467},{},[468,477,486,495,504,513],{"type":29,"tag":55,"props":469,"children":470},{},[471],{"type":29,"tag":382,"props":472,"children":474},{"href":473},"\u002Fblog\u002F2026-08-24-genesis-vite-preload-first-screen\u002F",[475],{"type":35,"value":476},"首屏 JS 从 1462KB 降到 523KB：问题出在一个 200 字节的预加载函数",{"type":29,"tag":55,"props":478,"children":479},{},[480],{"type":29,"tag":382,"props":481,"children":483},{"href":482},"\u002Fblog\u002F2026-09-09-genesis-table-detail-truth\u002F",[484],{"type":35,"value":485},"查询失败却亮绿灯：表详情页的修复，和一个改了三次的线程池",{"type":29,"tag":55,"props":487,"children":488},{},[489],{"type":29,"tag":382,"props":490,"children":492},{"href":491},"\u002Fblog\u002F2026-09-28-homelab-production-deployment\u002F",[493],{"type":35,"value":494},"家里这套生产环境：机器、VM 分布和几条踩坑后定下的规矩",{"type":29,"tag":55,"props":496,"children":497},{},[498],{"type":29,"tag":382,"props":499,"children":501},{"href":500},"\u002Fblog\u002F2026-09-22-pve2-power-key-boot-path\u002F",[502],{"type":35,"value":503},"pve2 被按了一下电源键，重启后三台节点起不来",{"type":29,"tag":55,"props":505,"children":506},{},[507],{"type":29,"tag":382,"props":508,"children":510},{"href":509},"\u002Fblog\u002F2026-09-24-datanode-on-system-disk\u002F",[511],{"type":35,"value":512},"两台 DataNode 一直在往系统盘写",{"type":29,"tag":55,"props":514,"children":515},{},[516],{"type":29,"tag":382,"props":517,"children":519},{"href":518},"\u002Fblog\u002F2026-09-26-ssh-tty-sighup-daemons\u002F",[520],{"type":35,"value":521},"主节点上的守护进程没了，ssh -tt 嫌疑最大",{"type":29,"tag":30,"props":523,"children":525},{"id":524},"当前阶段截至-2026-年-11-月",[526],{"type":35,"value":527},"当前阶段（截至 2026 年 11 月）",{"type":29,"tag":51,"props":529,"children":530},{},[531,536,546],{"type":29,"tag":55,"props":532,"children":533},{},[534],{"type":35,"value":535},"电商数仓模型已在实际场景中落地（含多源数据接入与每日调度），调度引擎已稳定运行在集群模式。",{"type":29,"tag":55,"props":537,"children":538},{},[539,544],{"type":29,"tag":43,"props":540,"children":541},{},[542],{"type":35,"value":543},"灵枢 AI 智能建模与智能开发（75 工具终态）",{"type":35,"value":545},"、表级混合 RAG 与轻量化本体 GraphRAG 已完成双门禁验证并上线生产。",{"type":29,"tag":55,"props":547,"children":548},{},[549],{"type":35,"value":550},"当前阶段平台核心研发进入稳定沉淀期，重点转向对外演示验证、客户场景适配与文档整理。",{"title":8,"searchDepth":552,"depth":552,"links":553},3,[554,556,557,558,563],{"id":32,"depth":555,"text":32},2,{"id":97,"depth":555,"text":100},{"id":233,"depth":555,"text":233},{"id":361,"depth":555,"text":361,"children":559},[560,561,562],{"id":372,"depth":552,"text":372},{"id":426,"depth":552,"text":429},{"id":462,"depth":552,"text":462},{"id":524,"depth":555,"text":527},"markdown","content:projects:genesis.md","content","projects\u002Fgenesis.md","projects\u002Fgenesis","md",{"_path":571,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":572,"description":573,"status":11,"weight":574,"featured":13,"language":575,"highlights":576,"tags":580,"url":585,"docs":586,"body":587,"_type":564,"_id":910,"_source":566,"_file":911,"_stem":912,"_extension":569},"\u002Fprojects\u002Fnexuskey","NexusKey · 多协议商业级 AI API 网关","面向开发者与小团队的统一大模型 API 网关：一套 Base URL 兼容 OpenAI、Anthropic、Gemini 与图像\u002F视频协议，内置多上游容灾、不可变账本、BYOK 加密托管与实时透明遥测。",96,"Go + Vue 3",[577,578,579],"四协议统一接入：OpenAI \u002F Anthropic \u002F Gemini \u002F 图像与视频端点一套密钥打通","商业级稳定性与风控：深度就绪探针、多上游自动容灾、单 Key 模型白名单与 RPM 护栏","账本透明与 BYOK：不可变钱包账本 + CSV 对账、自有上游加密托管、真实 24h \u002F 30d 调用遥测",[581,582,583,584],"AI 网关","Go","多模型路由","高可用","https:\u002F\u002Fnexuskey.cn","https:\u002F\u002Fdocs.nexuskey.cn",{"type":26,"children":588,"toc":903},[589,593,598,625,689,694,703,708,827,832,871,875],{"type":29,"tag":30,"props":590,"children":591},{"id":32},[592],{"type":35,"value":32},{"type":29,"tag":37,"props":594,"children":595},{},[596],{"type":35,"value":597},"在自己同时维护数据平台、量化研究和多个 AI 编码工作流的过程中，反复踩到同一个痛点：不同模型厂商协议不统一、单一上游晚高峰抖动限流、多个工具各自管 Key 导致费用成了黑盒。",{"type":29,"tag":37,"props":599,"children":600},{},[601,606,608,615,617,623],{"type":29,"tag":43,"props":602,"children":603},{},[604],{"type":35,"value":605},"NexusKey",{"type":35,"value":607},"（",{"type":29,"tag":382,"props":609,"children":612},{"href":585,"rel":610},[611],"nofollow",[613],{"type":35,"value":614},"nexuskey.cn",{"type":35,"value":616},"）就是冲着这三件事做的多协议 AI API 网关，配套完整使用文档（",{"type":29,"tag":382,"props":618,"children":620},{"href":586,"rel":619},[611],[621],{"type":35,"value":622},"docs.nexuskey.cn",{"type":35,"value":624},"）与公开模型广场：",{"type":29,"tag":51,"props":626,"children":627},{},[628,661,679],{"type":29,"tag":55,"props":629,"children":630},{},[631,636,638,644,645,651,653,659],{"type":29,"tag":43,"props":632,"children":633},{},[634],{"type":35,"value":635},"统一协议层",{"type":35,"value":637},"：一个 Base URL 覆盖 OpenAI（",{"type":29,"tag":141,"props":639,"children":641},{"className":640},[],[642],{"type":35,"value":643},"\u002Fv1\u002Fchat\u002Fcompletions",{"type":35,"value":148},{"type":29,"tag":141,"props":646,"children":648},{"className":647},[],[649],{"type":35,"value":650},"\u002Fv1\u002Fresponses",{"type":35,"value":652},"）、Anthropic Messages（",{"type":29,"tag":141,"props":654,"children":656},{"className":655},[],[657],{"type":35,"value":658},"\u002Fv1\u002Fmessages",{"type":35,"value":660},"）、Gemini 原生端点以及图像\u002F视频多模态接口，开箱适配 Claude Code、Codex、Cursor 与自研 Agent。",{"type":29,"tag":55,"props":662,"children":663},{},[664,669,671,677],{"type":29,"tag":43,"props":665,"children":666},{},[667],{"type":35,"value":668},"稳定优先的路由容灾",{"type":35,"value":670},"：内置深度就绪探针（",{"type":29,"tag":141,"props":672,"children":674},{"className":673},[],[675],{"type":35,"value":676},"\u002Fhealth\u002Fready",{"type":35,"value":678},"）与多上游主备切换机制，在单通道波动或限流时平滑承接流量。",{"type":29,"tag":55,"props":680,"children":681},{},[682,687],{"type":29,"tag":43,"props":683,"children":684},{},[685],{"type":35,"value":686},"把账算明白",{"type":35,"value":688},"：采用不可变钱包账本记录每一笔消耗并支持 CSV 导出对账；公开模型广场直接展示分组倍率与折后价格，拒绝暗箱扣费。",{"type":29,"tag":30,"props":690,"children":692},{"id":691},"逻辑架构",[693],{"type":35,"value":691},{"type":29,"tag":37,"props":695,"children":696},{},[697],{"type":29,"tag":698,"props":699,"children":702},"img",{"alt":700,"src":701},"NexusKey 多协议 AI API 网关逻辑架构：调用方经 OpenAI\u002FAnthropic\u002FGemini\u002F多模态四协议入口进入网关，通过单 Key 白名单与 RPM 护栏，再由多上游路由容灾与 BYOK 引擎转发，底层落地不可变钱包账本与 24h\u002F30d 真实调用遥测","\u002Fimages\u002Fprojects\u002Fnexuskey\u002Farchitecture.svg",[],{"type":29,"tag":30,"props":704,"children":706},{"id":705},"核心工程能力",[707],{"type":35,"value":705},{"type":29,"tag":237,"props":709,"children":710},{},[711,732],{"type":29,"tag":241,"props":712,"children":713},{},[714],{"type":29,"tag":245,"props":715,"children":716},{},[717,722,727],{"type":29,"tag":249,"props":718,"children":719},{},[720],{"type":35,"value":721},"能力域",{"type":29,"tag":249,"props":723,"children":724},{},[725],{"type":35,"value":726},"关键实现",{"type":29,"tag":249,"props":728,"children":729},{},[730],{"type":35,"value":731},"解决的实际问题",{"type":29,"tag":265,"props":733,"children":734},{},[735,756,777,806],{"type":29,"tag":245,"props":736,"children":737},{},[738,746,751],{"type":29,"tag":272,"props":739,"children":740},{},[741],{"type":29,"tag":43,"props":742,"children":743},{},[744],{"type":35,"value":745},"单 Key 精细护栏",{"type":29,"tag":272,"props":747,"children":748},{},[749],{"type":35,"value":750},"逐 Key 配置模型白名单、RPM 限流与额度上限",{"type":29,"tag":272,"props":752,"children":753},{},[754],{"type":35,"value":755},"给测试环境、自动化脚本或团队成员发 Key 时，避免误调高价模型或死循环刷爆余额",{"type":29,"tag":245,"props":757,"children":758},{},[759,767,772],{"type":29,"tag":272,"props":760,"children":761},{},[762],{"type":29,"tag":43,"props":763,"children":764},{},[765],{"type":35,"value":766},"BYOK 混合托管",{"type":29,"tag":272,"props":768,"children":769},{},[770],{"type":35,"value":771},"支持加密托管用户自有上游凭证，主备容灾且零扣平台余额",{"type":29,"tag":272,"props":773,"children":774},{},[775],{"type":35,"value":776},"既有官方账号又有平台兜底需求时，统一收口到一个入口管理",{"type":29,"tag":245,"props":778,"children":779},{},[780,788,801],{"type":29,"tag":272,"props":781,"children":782},{},[783],{"type":29,"tag":43,"props":784,"children":785},{},[786],{"type":35,"value":787},"实时透明遥测",{"type":29,"tag":272,"props":789,"children":790},{},[791,793,799],{"type":35,"value":792},"只读统计服务（",{"type":29,"tag":141,"props":794,"children":796},{"className":795},[],[797],{"type":35,"value":798},"singleflight",{"type":35,"value":800}," + 缓存 + 查询超时）聚合 24h 分时调用、TTFT P50 与 30 天归档成功率",{"type":29,"tag":272,"props":802,"children":803},{},[804],{"type":35,"value":805},"首页与状态面板只展示真实运行态数据，无数据时诚实展示空态，不伪造 SLA 数字",{"type":29,"tag":245,"props":807,"children":808},{},[809,817,822],{"type":29,"tag":272,"props":810,"children":811},{},[812],{"type":29,"tag":43,"props":813,"children":814},{},[815],{"type":35,"value":816},"克制的运维与客服边界",{"type":29,"tag":272,"props":818,"children":819},{},[820],{"type":35,"value":821},"计费、发布排空与渠道监控保留在确定性作业层，智能客服设计坚持先过代码级凭据拦截与硬规则转人工",{"type":29,"tag":272,"props":823,"children":824},{},[825],{"type":35,"value":826},"避免让大模型越权碰账本、承诺价格或泄露敏感凭证",{"type":29,"tag":30,"props":828,"children":830},{"id":829},"技术栈",[831],{"type":35,"value":829},{"type":29,"tag":51,"props":833,"children":834},{},[835,852,861],{"type":29,"tag":55,"props":836,"children":837},{},[838,843,845,850],{"type":29,"tag":43,"props":839,"children":840},{},[841],{"type":35,"value":842},"后端",{"type":35,"value":844},"：Go + PostgreSQL + Redis，高并发流式代理（SSE）、",{"type":29,"tag":141,"props":846,"children":848},{"className":847},[],[849],{"type":35,"value":798},{"type":35,"value":851}," 防击穿聚合与发布排空护栏",{"type":29,"tag":55,"props":853,"children":854},{},[855,859],{"type":29,"tag":43,"props":856,"children":857},{},[858],{"type":35,"value":312},{"type":35,"value":860},"：Vue 3 + TypeScript + Tailwind CSS（中英双语 Editorial Tech 编辑型首页、独立模型广场与控制台）",{"type":29,"tag":55,"props":862,"children":863},{},[864,869],{"type":29,"tag":43,"props":865,"children":866},{},[867],{"type":35,"value":868},"配套工具",{"type":35,"value":870},"：独立的 Python 3 零依赖上游探测与隐式 Token 虚标审计 CLI，用于上游接入前的质量把关",{"type":29,"tag":30,"props":872,"children":873},{"id":524},[874],{"type":35,"value":527},{"type":29,"tag":51,"props":876,"children":877},{},[878,883],{"type":29,"tag":55,"props":879,"children":880},{},[881],{"type":35,"value":882},"已完成商业化 C1 核心闭环（深度探针、不可变账本与 CSV 对账、单 Key 护栏、BYOK 托管与容灾）与全新编辑型官网、独立模型广场改版上线。",{"type":29,"tag":55,"props":884,"children":885},{},[886,888,893,895,901],{"type":35,"value":887},"支持公网注册体验与文档自助接入：",{"type":29,"tag":382,"props":889,"children":891},{"href":585,"rel":890},[611],[892],{"type":35,"value":614},{"type":35,"value":894}," · ",{"type":29,"tag":382,"props":896,"children":898},{"href":586,"rel":897},[611],[899],{"type":35,"value":900},"使用文档",{"type":35,"value":902},"。",{"title":8,"searchDepth":552,"depth":552,"links":904},[905,906,907,908,909],{"id":32,"depth":555,"text":32},{"id":691,"depth":555,"text":691},{"id":705,"depth":555,"text":705},{"id":829,"depth":555,"text":829},{"id":524,"depth":555,"text":527},"content:projects:nexuskey.md","projects\u002Fnexuskey.md","projects\u002Fnexuskey",{"_path":914,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":915,"description":916,"status":917,"weight":918,"featured":13,"language":919,"highlights":920,"tags":924,"url":929,"body":930,"_type":564,"_id":1137,"_source":566,"_file":1138,"_stem":1139,"_extension":569},"\u002Fprojects\u002Fargus-quant","argus-quant · A 股量化研究与回测纪律系统","A 股日频多因子量化研究与回测验证系统：从多源只追加行情、表达式因子库、逐日成本撮合到样本外访问预算硬守卫；核心目标是让一条失真的回测曲线很难造出来。","需登录 · 可演示",95,"Python + Vue 3",[921,922,923],"严守 PIT 与真实撮合：多源交叉校验、T+1 \u002F 涨跌停 \u002F 停牌 \u002F 滑点与净收益硬口径","研究纪律防自欺：样本外与留出集按策略族配预算，超限即报错并全链路留审计","三域隔离克制架构：不可变实验清单与哈希链复现，零容忍研究铁轨永留确定性内核",[925,926,927,928],"量化研究","回测","数据质量","确定性内核","https:\u002F\u002Fargus-quant.cn",{"type":26,"children":931,"toc":1131},[932,936,947,959,988,993,1001,1054,1059,1087,1092],{"type":29,"tag":30,"props":933,"children":934},{"id":32},[935],{"type":35,"value":32},{"type":29,"tag":37,"props":937,"children":938},{},[939,941,946],{"type":35,"value":940},"argus-quant 是我从 2026 年 7 月开始构建的 ",{"type":29,"tag":43,"props":942,"children":943},{},[944],{"type":35,"value":945},"A 股日频多因子量化研究与纪律验证工具",{"type":35,"value":902},{"type":29,"tag":37,"props":948,"children":949},{},[950,952,957],{"type":35,"value":951},"这个系统花力气最多的地方，是",{"type":29,"tag":43,"props":953,"children":954},{},[955],{"type":35,"value":956},"让一条失真的回测曲线很难被造出来",{"type":35,"value":958},"。在选股研究里，只要不小心用了下单时尚未公布的公告数据、对同一段样本外数据反复调参试错，或者低估了交易滑点与冲击成本，回测曲线就会好看得离谱，而程序本身不会报任何错。",{"type":29,"tag":960,"props":961,"children":962},"blockquote",{},[963],{"type":29,"tag":37,"props":964,"children":965},{},[966,971,973,978,980,986],{"type":29,"tag":43,"props":967,"children":968},{},[969],{"type":35,"value":970},"合规与边界声明",{"type":35,"value":972},"：本系统定位为客观量化研究与信息工具，",{"type":29,"tag":43,"props":974,"children":975},{},[976],{"type":35,"value":977},"不荐股、不提供买卖点、不做任何收益承诺、不代客下单",{"type":35,"value":979},"。仓库不公开；线上入口 ",{"type":29,"tag":382,"props":981,"children":983},{"href":929,"rel":982},[611],[984],{"type":35,"value":985},"argus-quant.cn",{"type":35,"value":987}," 需要登录，交流或面试时可现场演示架构与工程实现。本页及相关文章仅讨论数据质量、回测工程与研究纪律，不构成任何投资建议。",{"type":29,"tag":30,"props":989,"children":991},{"id":990},"主链路",[992],{"type":35,"value":990},{"type":29,"tag":37,"props":994,"children":995},{},[996],{"type":29,"tag":698,"props":997,"children":1000},{"alt":998,"src":999},"argus-quant 主链路","\u002Fimages\u002Fprojects\u002Fargus-quant\u002Farchitecture.svg",[],{"type":29,"tag":51,"props":1002,"children":1003},{},[1004,1014,1024,1034,1044],{"type":29,"tag":55,"props":1005,"children":1006},{},[1007,1012],{"type":29,"tag":43,"props":1008,"children":1009},{},[1010],{"type":35,"value":1011},"数据层",{"type":35,"value":1013},"：行情与公告在主源之外接入第二源交叉校验；原始数据按时间点（Point-in-Time）只追加存入 PostgreSQL + TimescaleDB。",{"type":29,"tag":55,"props":1015,"children":1016},{},[1017,1022],{"type":29,"tag":43,"props":1018,"children":1019},{},[1020],{"type":35,"value":1021},"因子与模型层",{"type":35,"value":1023},"：表达式引擎配合自建因子库；模型以 LightGBM 为主，按月滚动重训，训练标签直接对齐可成交净收益口径。",{"type":29,"tag":55,"props":1025,"children":1026},{},[1027,1032],{"type":29,"tag":43,"props":1028,"children":1029},{},[1030],{"type":35,"value":1031},"回测撮合层",{"type":35,"value":1033},"：逐日模拟真实市场约束，T+1、涨跌停、停牌、部分成交与滑点成本统一按规则处理。",{"type":29,"tag":55,"props":1035,"children":1036},{},[1037,1042],{"type":29,"tag":43,"props":1038,"children":1039},{},[1040],{"type":35,"value":1041},"研究纪律守卫",{"type":35,"value":1043},"：历史数据按时间切分，样本外每个策略族限定访问预算（20 次），留出集每个策略族仅允许访问 1 次且需一次性口令与只追加审计台账。",{"type":29,"tag":55,"props":1045,"children":1046},{},[1047,1052],{"type":29,"tag":43,"props":1048,"children":1049},{},[1050],{"type":35,"value":1051},"复现与看板层",{"type":35,"value":1053},"：每次回测强制绑定代码、参数、数据快照、滑点模型、成本表与阈值六项版本（不可变实验清单与哈希链契约）；看板采用 FastAPI + Vue 3，异常告警推送飞书。",{"type":29,"tag":30,"props":1055,"children":1057},{"id":1056},"几条写死在代码里的硬规矩",[1058],{"type":35,"value":1056},{"type":29,"tag":51,"props":1060,"children":1061},{},[1062,1067,1072,1077],{"type":29,"tag":55,"props":1063,"children":1064},{},[1065],{"type":35,"value":1066},"每个进入模型和回测的数据字段，都必须回答「下单那一刻它是否已经真实产生」。",{"type":29,"tag":55,"props":1068,"children":1069},{},[1070],{"type":35,"value":1071},"样本外和留出集的访问次数在数据库与服务端硬管控，超预算直接拒跑，绝不靠人工自觉。",{"type":29,"tag":55,"props":1073,"children":1074},{},[1075],{"type":35,"value":1076},"任何新因子族写代码之前，先过一遍成本算术检查并落盘 ADR；收益统计强制优先展示扣费后的净收益。",{"type":29,"tag":55,"props":1078,"children":1079},{},[1080,1085],{"type":29,"tag":43,"props":1081,"children":1082},{},[1083],{"type":35,"value":1084},"克制的 Agent 边界（三域隔离）",{"type":35,"value":1086},"：PIT 校验、回测撮合、样本外预算、生命周期准入等零容忍链路永久留在 PostgreSQL 与确定性服务端内核，绝不交由 LLM 编排；不做面向外部的开放式荐股对话机器人，只保留受控的客观只读研究工具与研究者本地辅助流程。",{"type":29,"tag":30,"props":1088,"children":1090},{"id":1089},"相关工程笔记",[1091],{"type":35,"value":1089},{"type":29,"tag":51,"props":1093,"children":1094},{},[1095,1104,1113,1122],{"type":29,"tag":55,"props":1096,"children":1097},{},[1098],{"type":29,"tag":382,"props":1099,"children":1101},{"href":1100},"\u002Fblog\u002F2026-11-07-argus-architecture-illustrated\u002F",[1102],{"type":35,"value":1103},"argus-quant 是怎么搭起来的：收盘后的一晚，和几处最难的地方",{"type":29,"tag":55,"props":1105,"children":1106},{},[1107],{"type":29,"tag":382,"props":1108,"children":1110},{"href":1109},"\u002Fblog\u002F2026-09-21-argus-lookahead-bias\u002F",[1111],{"type":35,"value":1112},"选股回测里查出的四处未来函数",{"type":29,"tag":55,"props":1114,"children":1115},{},[1116],{"type":29,"tag":382,"props":1117,"children":1119},{"href":1118},"\u002Fblog\u002F2026-09-22-argus-backtest-budget\u002F",[1120],{"type":35,"value":1121},"样本外数据要省着看：给回测加上访问预算",{"type":29,"tag":55,"props":1123,"children":1124},{},[1125],{"type":29,"tag":382,"props":1126,"children":1128},{"href":1127},"\u002Fblog\u002F2026-09-24-argus-cost-eats-returns\u002F",[1129],{"type":35,"value":1130},"回测毛收益 +27%，扣完成本变成 -20%",{"title":8,"searchDepth":552,"depth":552,"links":1132},[1133,1134,1135,1136],{"id":32,"depth":555,"text":32},{"id":990,"depth":555,"text":990},{"id":1056,"depth":555,"text":1056},{"id":1089,"depth":555,"text":1089},"content:projects:argus-quant.md","projects\u002Fargus-quant.md","projects\u002Fargus-quant",{"_path":1141,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":1142,"description":1143,"status":1144,"weight":1145,"featured":13,"language":1146,"highlights":1147,"tags":1151,"body":1156,"_type":564,"_id":1371,"_source":566,"_file":1372,"_stem":1373,"_extension":569},"\u002Fprojects\u002Flocal-ai-cluster","本地 AI 集群 · DGX Spark 双机推理底座","两台 NVIDIA DGX Spark 通过 200GbE QSFP 直连组成跨机 TP=2 推理集群，vLLM 托管 DeepSeek-V4-Flash，LiteLLM 提供 OpenAI \u002F Anthropic 双协议统一别名网关。","双机运行",90,"Python + Shell",[1148,1149,1150],"2 × NVIDIA DGX Spark（GB10 · 128GB 统一内存），两条 200GbE QSFP 数据面直连","vLLM 跨机 TP=2 推理 + LiteLLM OpenAI \u002F Anthropic 双协议别名网关","实测驱动架构选型：定位内存带宽瓶颈（42% 效率），15 分钟止损无效优化方案",[1152,1153,1154,1155],"vLLM","LLM","集群","GPU",{"type":26,"children":1157,"toc":1364},[1158,1162,1167,1172,1213,1218,1261,1266,1271,1314,1319,1352],{"type":29,"tag":30,"props":1159,"children":1160},{"id":32},[1161],{"type":35,"value":32},{"type":29,"tag":37,"props":1163,"children":1164},{},[1165],{"type":35,"value":1166},"这是搭建在本地的私有大模型推理底座，由两台 NVIDIA DGX Spark 组成。日常的 AI 辅助编程、自研数据平台（Genesis）的本地优先模型调用以及微调实验，都会优先走这套本地推理集群，云端模型仅在复杂任务或兜底时路由。",{"type":29,"tag":30,"props":1168,"children":1170},{"id":1169},"硬件与网络",[1171],{"type":35,"value":1169},{"type":29,"tag":51,"props":1173,"children":1174},{},[1175,1185,1195],{"type":29,"tag":55,"props":1176,"children":1177},{},[1178,1183],{"type":29,"tag":43,"props":1179,"children":1180},{},[1181],{"type":35,"value":1182},"算力节点",{"type":35,"value":1184},"：2 × NVIDIA DGX Spark（GB10 Grace Blackwell，单机 128GB LPDDR5x 统一内存，理论内存带宽 273 GB\u002Fs，20 核 ARM）",{"type":29,"tag":55,"props":1186,"children":1187},{},[1188,1193],{"type":29,"tag":43,"props":1189,"children":1190},{},[1191],{"type":35,"value":1192},"互联拓扑",{"type":35,"value":1194},"：两机之间通过两条 200GbE QSFP 高速直连，管理面与推理数据面物理隔离",{"type":29,"tag":55,"props":1196,"children":1197},{},[1198,1203,1205,1211],{"type":29,"tag":43,"props":1199,"children":1200},{},[1201],{"type":35,"value":1202},"监控观测",{"type":35,"value":1204},"：两台节点部署 ",{"type":29,"tag":141,"props":1206,"children":1208},{"className":1207},[],[1209],{"type":35,"value":1210},"dcgm-exporter",{"type":35,"value":1212}," 采集 GPU 与显存指标，接入 Prometheus \u002F Grafana",{"type":29,"tag":30,"props":1214,"children":1216},{"id":1215},"当前软件栈",[1217],{"type":35,"value":1215},{"type":29,"tag":51,"props":1219,"children":1220},{},[1221,1231,1241,1251],{"type":29,"tag":55,"props":1222,"children":1223},{},[1224,1229],{"type":29,"tag":43,"props":1225,"children":1226},{},[1227],{"type":35,"value":1228},"推理引擎",{"type":35,"value":1230},"：vLLM 跨两机 TP=2 部署 DeepSeek-V4-Flash，统一管理推理上下文与高并发批处理",{"type":29,"tag":55,"props":1232,"children":1233},{},[1234,1239],{"type":29,"tag":43,"props":1235,"children":1236},{},[1237],{"type":35,"value":1238},"节点分工",{"type":35,"value":1240},"：Spark-1 作为 TP Head 对外暴露唯一 OpenAI 兼容端点，并保留 PyTorch + PEFT 微调环境；Spark-2 专注 TP Worker",{"type":29,"tag":55,"props":1242,"children":1243},{},[1244,1249],{"type":29,"tag":43,"props":1245,"children":1246},{},[1247],{"type":35,"value":1248},"协议网关",{"type":35,"value":1250},"：LiteLLM 提供 OpenAI \u002F Anthropic 双协议入口，维护 25 条语义别名与工具兼容路由",{"type":29,"tag":55,"props":1252,"children":1253},{},[1254,1259],{"type":29,"tag":43,"props":1255,"children":1256},{},[1257],{"type":35,"value":1258},"上层接入",{"type":35,"value":1260},"：直接服务 Claude Code、OpenCode 以及 Genesis 平台的 AI 助手本地路由",{"type":29,"tag":30,"props":1262,"children":1264},{"id":1263},"架构演进与踩坑复盘",[1265],{"type":35,"value":1263},{"type":29,"tag":37,"props":1267,"children":1268},{},[1269],{"type":35,"value":1270},"这套集群并不是一次就定型的，中间经历过四轮架构对比与压测收敛：",{"type":29,"tag":51,"props":1272,"children":1273},{},[1274,1284,1294,1304],{"type":29,"tag":55,"props":1275,"children":1276},{},[1277,1282],{"type":29,"tag":43,"props":1278,"children":1279},{},[1280],{"type":35,"value":1281},"vLLM + Ray 跨机 TP=2（Qwen3.5-122B FP8）",{"type":35,"value":1283},"：初版跑通双机推理，decode 约 12 tok\u002Fs。",{"type":29,"tag":55,"props":1285,"children":1286},{},[1287,1292],{"type":29,"tag":43,"props":1288,"children":1289},{},[1290],{"type":35,"value":1291},"Ollama 单机多模型互备",{"type":35,"value":1293},"：122B（Q4_K_M）单机实测 23 tok\u002Fs，并做过 TensorRT-LLM 跑 235B-A22B（约 7 tok\u002Fs）的对比实验。",{"type":29,"tag":55,"props":1295,"children":1296},{},[1297,1302],{"type":29,"tag":43,"props":1298,"children":1299},{},[1300],{"type":35,"value":1301},"单机推理 + 微调分治",{"type":35,"value":1303},"：曾拆分 Spark-1 做微调、Spark-2 跑单机推理。",{"type":29,"tag":55,"props":1305,"children":1306},{},[1307,1312],{"type":29,"tag":43,"props":1308,"children":1309},{},[1310],{"type":35,"value":1311},"收口到双机 vLLM TP=2",{"type":35,"value":1313},"：最终将两台合并为稳定的 TP=2 组跑 DeepSeek-V4-Flash，并对齐了全量 LiteLLM 别名与探活配置。",{"type":29,"tag":30,"props":1315,"children":1317},{"id":1316},"三条关键工程判断",[1318],{"type":35,"value":1316},{"type":29,"tag":51,"props":1320,"children":1321},{},[1322,1332,1342],{"type":29,"tag":55,"props":1323,"children":1324},{},[1325,1330],{"type":29,"tag":43,"props":1326,"children":1327},{},[1328],{"type":35,"value":1329},"decode 速度卡在内存带宽，不是算力",{"type":35,"value":1331},"：122B-A10B 在 Q4 量化下每生成 1 个 token 约读取 5GB 权重，273 GB\u002Fs 带宽理论上限 54 tok\u002Fs，实测 23 tok\u002Fs（带宽效率 42%，同机 gpt-oss-120b 为 38%）。确认瓶颈后放弃盲目调 KV 精度与 Flash Attention 参数，保留 KV F16 省去 ARM 反量化开销。",{"type":29,"tag":55,"props":1333,"children":1334},{},[1335,1340],{"type":29,"tag":43,"props":1336,"children":1337},{},[1338],{"type":35,"value":1339},"技术调研先设止损门",{"type":35,"value":1341},"：验证投机解码（speculative decoding）前先确认参数能否穿透底层引擎；发现 ARM64 版 Ollama 静默忽略额外参数后，15 分钟内果断止损。",{"type":29,"tag":55,"props":1343,"children":1344},{},[1345,1350],{"type":29,"tag":43,"props":1346,"children":1347},{},[1348],{"type":35,"value":1349},"路由配置入库前必须探活",{"type":35,"value":1351},"：清理配置漂移时，把历史失效后端标注归档，25 条路由别名全部核验探活后才入库。",{"type":29,"tag":37,"props":1353,"children":1354},{},[1355,1357,1363],{"type":35,"value":1356},"完整踩坑与选型细节见：",{"type":29,"tag":382,"props":1358,"children":1360},{"href":1359},"\u002Fblog\u002F2026-08-30-local-ai-cluster-architecture\u002F",[1361],{"type":35,"value":1362},"两台 DGX Spark 的本地推理集群：现在怎么搭的，之前换过什么",{"type":35,"value":902},{"title":8,"searchDepth":552,"depth":552,"links":1365},[1366,1367,1368,1369,1370],{"id":32,"depth":555,"text":32},{"id":1169,"depth":555,"text":1169},{"id":1215,"depth":555,"text":1215},{"id":1263,"depth":555,"text":1263},{"id":1316,"depth":555,"text":1316},"content:projects:local-ai-cluster.md","projects\u002Flocal-ai-cluster.md","projects\u002Flocal-ai-cluster",{"_path":1375,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":1376,"description":1377,"weight":1378,"featured":7,"tags":1379,"body":1383,"_type":564,"_id":1614,"_source":566,"_file":1615,"_stem":1616,"_extension":569},"\u002Fprojects\u002Fdata-modeling-tool","数据建模工具 · 标准字段生成","网易国贸集团数据中台项目中自研的建模辅助工具：中文字段注释经分词匹配标准词根，自动生成规范的英文字段名，并配套模型 DDL\u002FDML 生成与词根管理。",70,[1380,1381,1382],"数据建模","数据标准","数仓",{"type":26,"children":1384,"toc":1608},[1385,1389,1394,1399,1472,1477,1548,1561,1566,1584,1589],{"type":29,"tag":30,"props":1386,"children":1387},{"id":32},[1388],{"type":35,"value":32},{"type":29,"tag":37,"props":1390,"children":1391},{},[1392],{"type":35,"value":1393},"在网易负责国贸集团“1+1+N”数据中台时，模型覆盖 13 个部室、28 条职能条线，字段命名如果只靠人工对照规范，很难保持一致。这个工具把「统一词根」从一份规范文档变成可以直接调用的服务：输入中文字段注释，返回分词结果、每个词根对应的英文名，以及按顺序拼接好的标准字段名，支持批量生成。",{"type":29,"tag":30,"props":1395,"children":1397},{"id":1396},"它能做什么",[1398],{"type":35,"value":1396},{"type":29,"tag":237,"props":1400,"children":1401},{},[1402,1417],{"type":29,"tag":241,"props":1403,"children":1404},{},[1405],{"type":29,"tag":245,"props":1406,"children":1407},{},[1408,1413],{"type":29,"tag":249,"props":1409,"children":1410},{},[1411],{"type":35,"value":1412},"能力",{"type":29,"tag":249,"props":1414,"children":1415},{},[1416],{"type":35,"value":263},{"type":29,"tag":265,"props":1418,"children":1419},{},[1420,1433,1446,1459],{"type":29,"tag":245,"props":1421,"children":1422},{},[1423,1428],{"type":29,"tag":272,"props":1424,"children":1425},{},[1426],{"type":35,"value":1427},"标准字段生成",{"type":29,"tag":272,"props":1429,"children":1430},{},[1431],{"type":35,"value":1432},"中文注释 → 分词 → 匹配标准词根 → 拼接英文字段名",{"type":29,"tag":245,"props":1434,"children":1435},{},[1436,1441],{"type":29,"tag":272,"props":1437,"children":1438},{},[1439],{"type":35,"value":1440},"自定义分词",{"type":29,"tag":272,"props":1442,"children":1443},{},[1444],{"type":35,"value":1445},"通过用户词典把多个词登记为一个数据元，再评审并修正新词根的英文名",{"type":29,"tag":245,"props":1447,"children":1448},{},[1449,1454],{"type":29,"tag":272,"props":1450,"children":1451},{},[1452],{"type":35,"value":1453},"模型 DDL \u002F DML",{"type":29,"tag":272,"props":1455,"children":1456},{},[1457],{"type":35,"value":1458},"结合在线 mapping 文档生成可执行的建表语句；DML 生成目前只支持 Hive 引擎",{"type":29,"tag":245,"props":1460,"children":1461},{},[1462,1467],{"type":29,"tag":272,"props":1463,"children":1464},{},[1465],{"type":35,"value":1466},"词根管理",{"type":29,"tag":272,"props":1468,"children":1469},{},[1470],{"type":35,"value":1471},"批量查询词根（返回中文名、翻译参考、词频、英文名），以及词根更新",{"type":29,"tag":37,"props":1473,"children":1474},{},[1475],{"type":35,"value":1476},"几个真实的生成结果：",{"type":29,"tag":237,"props":1478,"children":1479},{},[1480,1501],{"type":29,"tag":241,"props":1481,"children":1482},{},[1483],{"type":29,"tag":245,"props":1484,"children":1485},{},[1486,1491,1496],{"type":29,"tag":249,"props":1487,"children":1488},{},[1489],{"type":35,"value":1490},"中文注释",{"type":29,"tag":249,"props":1492,"children":1493},{},[1494],{"type":35,"value":1495},"分词与词根",{"type":29,"tag":249,"props":1497,"children":1498},{},[1499],{"type":35,"value":1500},"标准字段",{"type":29,"tag":265,"props":1502,"children":1503},{},[1504,1526],{"type":29,"tag":245,"props":1505,"children":1506},{},[1507,1512,1517],{"type":29,"tag":272,"props":1508,"children":1509},{},[1510],{"type":35,"value":1511},"是否评审",{"type":29,"tag":272,"props":1513,"children":1514},{},[1515],{"type":35,"value":1516},"是否 + 评审",{"type":29,"tag":272,"props":1518,"children":1519},{},[1520],{"type":29,"tag":141,"props":1521,"children":1523},{"className":1522},[],[1524],{"type":35,"value":1525},"is_review",{"type":29,"tag":245,"props":1527,"children":1528},{},[1529,1534,1539],{"type":29,"tag":272,"props":1530,"children":1531},{},[1532],{"type":35,"value":1533},"数据仓库标准",{"type":29,"tag":272,"props":1535,"children":1536},{},[1537],{"type":35,"value":1538},"数据 + 仓库 + 标准",{"type":29,"tag":272,"props":1540,"children":1541},{},[1542],{"type":29,"tag":141,"props":1543,"children":1545},{"className":1544},[],[1546],{"type":35,"value":1547},"data_wrhs_std",{"type":29,"tag":37,"props":1549,"children":1550},{},[1551,1553,1559],{"type":35,"value":1552},"「是否评审」如果登记成一个数据元，程序按默认规则生成的是 ",{"type":29,"tag":141,"props":1554,"children":1556},{"className":1555},[],[1557],{"type":35,"value":1558},"whthr_rvw",{"type":35,"value":1560},"，不够准确，这时就需要走一次词根评审，把英文名改对。自定义分词和词根评审一起，构成了词根库持续沉淀的闭环。",{"type":29,"tag":30,"props":1562,"children":1564},{"id":1563},"结果与局限",[1565],{"type":35,"value":1563},{"type":29,"tag":51,"props":1567,"children":1568},{},[1569,1574,1579],{"type":29,"tag":55,"props":1570,"children":1571},{},[1572],{"type":35,"value":1573},"在国贸集团数据中台项目中，建模效率提升 50% 以上，并沉淀了可跨项目复用的行业词根资产库。",{"type":29,"tag":55,"props":1575,"children":1576},{},[1577],{"type":35,"value":1578},"「一种基于自然语言分词算法的标准字段生成方案」形成专利提案（提案号 N34F00121CN）。",{"type":29,"tag":55,"props":1580,"children":1581},{},[1582],{"type":35,"value":1583},"已知局限：分词翻译准确率约 75%，需要持续沉淀各行业标准词根；DML 自动生成不能覆盖全部场景和引擎。",{"type":29,"tag":30,"props":1585,"children":1587},{"id":1586},"后来",[1588],{"type":35,"value":1586},{"type":29,"tag":37,"props":1590,"children":1591},{},[1592,1594,1599,1601,1607],{"type":35,"value":1593},"Genesis 数据标准模块里的词根管理与智能命名生成，延续的是同一套思路，详见 ",{"type":29,"tag":382,"props":1595,"children":1596},{"href":438},[1597],{"type":35,"value":1598},"数仓命名靠词根管：Genesis 的数据标准与 OneData 建模",{"type":35,"value":1600},"。原先的在线演示服务已经下线，接口的调用方式记录在 ",{"type":29,"tag":382,"props":1602,"children":1604},{"href":1603},"\u002Fblog\u002F2024-05-08-data-modeling-api\u002F",[1605],{"type":35,"value":1606},"数据建模 API 功能说明",{"type":35,"value":902},{"title":8,"searchDepth":552,"depth":552,"links":1609},[1610,1611,1612,1613],{"id":32,"depth":555,"text":32},{"id":1396,"depth":555,"text":1396},{"id":1563,"depth":555,"text":1563},{"id":1586,"depth":555,"text":1586},"content:projects:data-modeling-tool.md","projects\u002Fdata-modeling-tool.md","projects\u002Fdata-modeling-tool",1796523532265]