neuron-explorer
Steering-first neuron explorer for Qwen3.5-4B: push every MLP neuron, keep every rollout, browse the results
翻译准备中
正在加载完整 README。 以下为已保存的摘录。
Qovery Console
The web interface for managing your infrastructure, applications, and deployments with Qovery.
The Console is a TypeScript and React application in an Nx monorepo. It uses Vite for development and builds, TanStack Router for file-based routing, TanStack Query (React Query) for server state, and Tailwind CSS with Radix UI for the interface. Shared UI components are developed in Storybook; Jest and Playwright cover unit and end-to-end tests.
See package.json for the versions and available scripts.
Run commands from the repository root.查看完整 README ↗The Console is a TypeScript and React application in an Nx monorepo. It uses Vite for development and builds, TanStack Router for file-based routing, TanStack Query (React Query) for server state, and Tailwind CSS with Radix UI for the interface. Shared UI components are developed in Storybook; Jest and Playwright cover unit and end-to-end tests.
See package.json for the versions and available scripts.
Use Node.js 24 LTS and the bundled Yarn Berry release. With nvm:
nvm install
nvm use
First use
yarn && yarn setup
Start the project on localhost:4200
yarn start
Run commands from the repository root.
| Command | Purpose |
|---|---|
yarn start | Start the Console at http://localhost:4200 |
yarn storybook | Start shared UI Storybook at http://localhost:4400 |
yarn build:console | Build the Console into dist/apps/console |
yarn build-storybook | Build Storybook into dist/storybook/design-system |
yarn test | Run unit tests across all projects |
yarn lint | Lint all projects |
yarn format:check | Check formatting with Nx |
yarn format | Apply formatting with Nx |
yarn nx graph | Explore project dependencies |
For a focused change, target a project or only projects affected by your branch:
yarn nx test shared-ui
yarn nx lint shared-ui
yarn nx affected -t test --base=origin/staging
yarn nx affected -t lint --base=origin/staging
Generate libraries and components with the local Nx CLI:
yarn nx generate @nx/react:library --help
yarn nx generate @nx/react:component --help
The Playwright smoke test runs against Console staging by default. It requires E2E_AUTH_TOKEN, E2E_PROJECT_ID, and E2E_ENVIRONMENT_ID in the shell environment, with access to the target project and environment. Ask the maintainers for the test environment configuration.
yarn playwright install chromium
yarn e2e:staging
Set E2E_BASE_URL to target another running Console instance. The test runner does not start a local server. See the Playwright configuration and smoke test for details.
apps/
├── console/ # Main application, entry point, and integrations
│ └── src/
│ ├── app/ # Application shell and providers
│ ├── auth/ # Application authentication
│ └── routes/ # File-based pages and layouts (TanStack Router)
└── console-e2e/ # Playwright end-to-end smoke tests
libs/
├── domains/ # Business domains: services, environments, clusters, etc.
│ └── [domain-name]/
│ ├── data-access/ # Domain API access, types, and data hooks
│ ├── feature/ # Business logic and feature components
│ └── util/ # Domain-specific helpers, where needed
├── shared/ # Reusable components and cross-domain functionality
│ ├── ui/ # Shared UI components, styles, assets, and Storybook
│ ├── auth/ # Shared authentication logic
│ ├── router/ # Shared routing helpers
│ ├── util-js/ # General JavaScript utilities
│ ├── util-tests/ # Test helpers and providers
│ └── util-[name]/ # Other focused utilities (dates, hooks, types, etc.)
└── state/
└── util-queries/ # Shared query state and API access
adr/ # Architecture decision records
The tree shows the main layers; each domain only includes the libraries it needs. Route pages and layouts compose domain features and shared components.
Nx manages project dependencies and provides project-level build, test, lint, and generation commands. Use yarn nx graph to inspect the relationships between libraries.
Architecture decisions live in adr/. Read the relevant decisions and contribution guidelines before changing project boundaries or shared patterns.
Bug reports and improvements are welcome through GitHub issues and pull requests.
staging and keep changes focused.staging, using the PR template. Use a Conventional Commit title such as fix(service): correct deployment status.See LICENSE for the GNU General Public License v3 terms.