neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
DevKit — 数字基底工具包,用于元数据驱动的数据建模:DSM、代码生成(类型化 C++ 与 Python 表面)、dsviper 运行时以及提交数据库工具。
AI 翻译
DevKit — the Digital Substrate toolkit for metadata-driven data modeling: DSM, code generation (typed C++ and Python surfaces), the dsviper runtime, and commit database tooling.
开发工具PythonGitHub @digital-substrate在线运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证第一方 kibo 模板,适用于 Viper 生态系统(C++ 与 Python 表面)
AI 翻译
First-party kibo templates for the Viper ecosystem (cpp + python surfaces)
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
First-party templated features targeting the Viper ecosystem
(Viper C++ runtime + dsviper
Python binding). Consumed by Kibo to
generate the static API surface that lets C++ and Python developers
work against typed wrappers instead of stringly-typed metadata.
Maintainer design note for the Python & TypeScript proxy templates:
DESIGN.md.
Part of the DevKit ecosystem.
For the conceptual ground (templated feature, Template Model, the role
of Kibo), see the user-facing docs:查看完整 README ↗Deprecated. This is the
LTS-1.2branch: the 1.2 pack, for kibo 1 and Template Model 1. It is deprecated and receives fixes only, for the life of the LTS-1.2 line. New projects use the kibo 2 line, onmain; moving a project is covered by the migration guides.
First-party templated features targeting the Viper ecosystem (Viper C++ runtime + dsviper Python binding). Consumed by Kibo to generate the static API surface that lets C++ and Python developers work against typed wrappers instead of stringly-typed metadata.
Full documentation: https://docs.digitalsubstrate.io/kibo-template-viper/
Maintainer design note for the Python & TypeScript proxy templates:
DESIGN.md.
Part of the DevKit ecosystem.
cpp/ # C++ surface templates targeting Viper C++ API
Data/ # struct, enum, concept, club implementations
Database/ # SQLite persistence
Stream/, Json/ # codecs
ValueCodec, ValueType, ValueHasher
Attachments/, AttachmentFunctionPool/, FunctionPool/
Test/, TestApp/
python/ # Python surface templates targeting dsviper API
package/ # the importable Python package generated for a model
For the conceptual ground (templated feature, Template Model, the role of Kibo), see the user-facing docs:
devkit-doc/source/kibo/usage.mddevkit-doc/source/kibo/templates.mddevkit-doc/source/kibo/template_model.mdThese templates are surface templates: each one is a static projection
of one Viper runtime feature (Database, Codec, Stream, Attachments, …).
They are part of the Viper public API by another name — modifying
cpp/Database is no more anodyne than modifying
viper/src/Viper/Viper_Database.hpp.
Versioning follows the Viper C++ API and dsviper Python API public-
contract lines: any breaking change to a cpp/ template tracks the
corresponding C++ API bump; same for python/ against dsviper.
Templates here are consumed by Kibo, which produces the generated code:
java -jar kibo-X.Y.Z.jar \
-c cpp \
-n MyApp \
-d MyApp.dsm.json \
-t /path/to/this/repo/cpp/Database \
-o ./generated
In practice, dsm_util.py and the various generate.py scripts
resolve this path automatically via the sibling-checkout convention
or via the KIBO_TEMPLATES environment variable.
This repo is for first-party templates only (DS-maintained). Third
parties writing their own templated features follow the same .stg
conventions but live in their own repos.
This project is licensed under the MIT License — see LICENSE.
The templates themselves are open source. Each template, when processed by Kibo against a user model, also emits a header comment in the generated file that records this licensing posture (templates: MIT, runtime: Commercial) so the licensing story remains visible to the end user of the DevKit.
Templates in this repository emit code that is not standalone — at runtime it depends on:
viper (C++ runtime, for cpp/ templates) — proprietary,
distributed under LicenseRef-DigitalSubstrate-Commercial-1.2.dsviper (Python runtime, for python/ templates) — proprietary
Python wheel published on PyPI under
LicenseRef-DigitalSubstrate-Commercial-1.2. See
https://pypi.org/project/dsviper/.@digitalsubstrate/dsviper (Node binding, for typescript/
templates) — proprietary npm package over the same Viper runtime,
under LicenseRef-DigitalSubstrate-Commercial-1.2. See
https://www.npmjs.com/package/@digitalsubstrate/dsviper.The runtime's MAJOR.MINOR is the compatibility contract — the on-disk
format and public API are locked across a minor. The PATCH is versioned
independently per binding, so the numbers differ between targets:
| Templates | Runtime | Compatible versions |
|---|---|---|
typescript | @digitalsubstrate/dsviper (npm) | >=1.2.16 <1.3.0 |
python | dsviper (PyPI wheel) | >=1.2.31 <1.3 |
cpp | viper (C++ runtime) | >=1.2.30 <1.3 |
These templates project the runtime's basic surface. When a template comes to need something a particular patch introduced, that becomes a floor, and where the generated output has a manifest, the floor belongs there: a pin the consumer's build reads cannot go stale, and it fails where someone will see it.
typescript is the one such case today. Its generated package.json pins
>=1.2.16 <1.3.0: the generated vec/mat proxies call the binding's
toArray(), which the binding settled on from 1.2.8 onward (a fixed-shape
sequence is an array in JS, not a tuple), and a remote attachment function that
only reads takes an AttachmentGetting, which the binding's call accepts from
1.2.14, and a write takes a CommitAttachmentMutating, the binding's name for
it from 1.2.16.
The python and cpp outputs have no manifest to carry a pin, so their floor
is this table's. A write takes a CommitAttachmentMutating, which dsviper
names from 1.2.31 and the C++ runtime from 1.2.30. Against an older wheel,
a generated Python module fails to import, as its annotations are evaluated
when it loads; against an older checkout, the generated C++ does not compile.
The MIT license above governs the templates as source. The output
of kibo produced from these templates is a derivative work of MIT
material and remains free of obligations beyond the standard MIT
notice; however, executing that output requires a runtime listed
above, and the runtime's own licence applies independently. Any
commercial deployment therefore requires a Commercial Licence from
Digital Substrate for the relevant runtime.