neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻譯準備中
尚未偵測到更新。GitHub 發布版本後會顯示在這裡。
個人 GitHub 帳號下公開儲存庫的擁有者可以登入並驗證所有權,自行管理介紹,無需管理員核准。
登入並產生驗證檔案,在 30 分鐘內將其提交至此儲存庫的預設分支。其他分支或分叉儲存庫中的檔案無效。然後在下方檢查檔案,即可無需管理員核准直接管理專案。請保留檔案以維持管理權限。
如需登入,將前往登入頁面。登入後請回到此處,再次點擊所選的驗證按鈕。
在專案資料夾中執行 /nomorevibe verify,即可驗證所有權並自行管理介紹。
一分鐘完成驗證製作者的介紹僅有上面的一句話。 更多詳情請閱讀儲存庫 README。 儲存庫 README ↗
正在載入完整 README。
檢視完整 README ↗Analyse any service flow in your Splunk logs. Traceline traces each request and response across your service layers, draws it as a sequence diagram, works out the processing rules the flows follow, and builds the Splunk query that does the same on your real indexes. It works on real log lines you paste in or on mock logs it generates, and it runs entirely in your browser.
▶ Live app: https://zhangranclaude-cloud.github.io/traceline/
Paste lines from any Splunk log file, or generate mock ones, and the tool:
Step EventTime Flow HostServices Params ElapsedMs
9 2026-10-25 10:00:00.398 eComm: /api/v1/payment/transfer [?] TxnRefNo: TX1917377922
14 2026-10-25 10:00:00.575 --› Enterprise: FundTransfer [?] TxnRefNo: TX1917377922
15 2026-10-25 10:00:00.581 ------› WS: https://…/ws/limitCheck [?]
16 2026-10-25 10:00:00.701 ------› WS: https://…/ws/limitCheck [!] 120
17 2026-10-25 10:00:00.704 ------› Host: FT01 [?] FT01 ~ A01 | FT01 ~ A02 AcctNo: 1722464163
18 2026-10-25 10:00:00.938 ------› Host: FT01 [!] FT01 ~ A01 | FT01 ~ A02 234
20 2026-10-25 10:00:00.995 eComm: /api/v1/payment/transfer [!] TxnRefNo: …; HTTP: 200 597
[?] marks a request and [!] a response. Indentation shows which call made which. HostServices lists a Host message's <SvcCode> values as service ~ sub-service pairs, joined with |.
The default setup models four layers, eComm API → Enterprise API → WS (web service) / Host service. Each layer's name, Splunk source, log pattern and regexes can be changed, so you can point them at your own services and log formats.
Step EventTime sessionId Flow HostServices Params ElapsedMs. Filter by session, or export as CSV.js/seqsvg.js), so nothing is sent to a PlantUML server. You can download it as .puml or .svg.rex and shown in the Params column.makeresults. It runs the real query in Splunk without indexing anything, and Splunk's output should match the Flow Result.Multiple scenarios: each named scenario has its own call tree, an on/off switch and a session count. Sessions from all enabled scenarios are mixed in time order, as in production. You can set latencies, noise lines and timeouts. Six scenarios are built in:
| Scenario | What it covers |
|---|---|
| Login, eligibility and fund transfer | Rules-only call, two Enterprise APIs, WS then Host |
| Bill payment | WS lookup, then a Host service with three sub-codes |
| Account summary (several Host services) | One Enterprise API calling a WS and two Host services |
| Rules only (no Enterprise call) | Entry APIs that never call downstream |
| Profile update (Enterprise, no Host) | An Enterprise API with no WS or Host call |
| Fund transfer with Host timeout | A Host request with no response logged |
Mock values: each parameter's value can come from a pattern, a list, a number, a UUID or a sequence, and can stay the same per line, call, call tree or session.
Self-test: every generated line is checked against the layer it was written for, so a broken regex shows up straight away.
No backend and no network requests: a strict Content-Security-Policy blocks them, and fonts are bundled. Your logs stay in your browser. See SECURITY.md.
| Tab | Shows |
|---|---|
| Flow Result | Every call in time order, indented by caller |
| Sequence Diagram | PlantUML code with the diagram drawn below it |
| Processing Rule | Step / Item / Processing rule for each API and URL in the diagram |
| Query & Logs | Sub-tabs: Extraction Debug · Mock Logs · Splunk Query · Splunk Test Harness |
The left panel holds the inputs: Scenario, Parameters, Log Layers, Settings and Input Logs.
The UI follows a Minimalism & Swiss developer-tool style generated with the ui-ux-pro-max design skill: a slate "code dark" palette with a green accent, dense dashboard spacing, IBM Plex Sans for UI text and JetBrains Mono for code.
css/fonts/ (SIL Open Font License, licences included), so the app still makes no network requests.There's nothing to build and no dependencies.
git clone https://github.com/zhangranclaude-cloud/traceline.git
cd traceline
You need a modern browser (Edge, Chrome, Firefox, Safari). Node.js 20+ is only needed to run the tests, and npm install isn't required.
Online: open the live app.
Locally: pick one.
# 1. Open the file directly
start index.html # Windows
open index.html # macOS
xdg-open index.html # Linux
# 2. Or serve it on localhost
python tools/serve.py 8080 # or: npm start (localhost only, no browser caching)
# then browse to http://127.0.0.1:8080
Tests:
npm run check # syntax check
npm test # engine and security tests (Node's built-in runner)
To analyse real logs:
To build and test a query before you have logs:
Your config saves in the browser automatically. Use Settings → Export / Import config to share it.
js/simulator.js runs the same steps as the generated SPL (js/spl.js): classify, rex, direction, sort, API inheritance, params, elapsed time and render. What you see in the browser is therefore what the query will produce in Splunk. The Test Harness is the final check, because it runs the real SPL on Splunk against known input. The flow is then rebuilt into call trees for the diagram (js/plantuml.js) and the processing rules (js/rules.js), which use the same step numbers.
The simulator only mirrors the query this tool generates; it isn't a general SPL interpreter.
Things to know:
(?<value>…), and the tool renames the group to the right field.``` step comments need Splunk 8.0+. Turn them off in Settings for older versions..github/workflows/ci-cd.yml runs on every push and pull request, and weekly:
| Job | |
|---|---|
| Test | Syntax check plus npm test |
| Secret scan | gitleaks over the full git history |
| CodeQL | security-extended analysis of the JavaScript and the workflows |
| Deploy | On main only, after all checks pass, publishes index.html, css/ and js/ to GitHub Pages |
index.html page shell and Content-Security-Policy
css/style.css design tokens and styles (dark, light, system)
css/fonts/ bundled IBM Plex Sans + JetBrains Mono (OFL)
js/util.js seeded random, time formatting, regex helpers
js/defaults.js default layers, parameters, scenarios; validation
js/generator.js mock log generation, pasted-log parsing
js/simulator.js in-browser run of the query pipeline
js/spl.js SPL and test-harness builder
js/plantuml.js PlantUML sequence diagram from the flow
js/seqsvg.js local SVG renderer for that PlantUML
js/rules.js call-tree rebuild and step-by-step processing rules
js/app.js UI
tests/ engine and security tests (node:test)
tools/serve.py localhost dev server without caching
.github/ CI/CD workflow and Dependabot