Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Pure Rust workspace:
| Package | Path | Role |
|---------|------|------|
| `lgp` | `crates/lgp` | Core library — traits, evolutionary engine, built-in problems |
| `lgp-cli` | `crates/lgp-cli` | CLI binary (`lgp`) for running experiments, hyperparameter search, and analysis |
| `lgp` | `crates/lgp-cli` | CLI binary for running experiments, hyperparameter search, and analysis |

### Core Traits

Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ cargo test

# Run tests for specific crate
cargo test -p lgp
cargo test -p lgp-cli
cargo test -p lgp

# Run tests with output
cargo test -- --nocapture
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ RUST_LOG=lgp::core=trace,lgp=info lgp run iris_baseline
| Package | Description |
|---------|-------------|
| [lgp](crates/lgp/README.md) | Core library — traits, evolutionary engine, built-in problems |
| [lgp-cli](crates/lgp-cli/README.md) | CLI binary for running experiments, search, and analysis |
| [lgp](crates/lgp-cli/README.md) | CLI binary for running experiments, search, and analysis |

## Extending the Framework

Expand Down
6 changes: 3 additions & 3 deletions crates/lgp-cli/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# lgp-cli
# lgp

Command-line interface for running Linear Genetic Programming experiments.

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](../../LICENSE)

## Overview

`lgp-cli` provides the `lgp` binary for running LGP experiments using TOML-based configuration files. It supports listing available experiments, running them with config overrides, hyperparameter search, result analysis, and end-to-end experiment pipelines.
`lgp` is a CLI for running LGP experiments using TOML-based configuration files. It supports listing available experiments, running them with config overrides, hyperparameter search, result analysis, and end-to-end experiment pipelines.

## Installation

```bash
cargo install lgp-cli
cargo install lgp
```

Or build from source:
Expand Down
2 changes: 1 addition & 1 deletion llms.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
- [crates/lgp/src/core/engines/core_engine.rs](https://github.com/urmzd/linear-gp/blob/main/crates/lgp/src/core/engines/core_engine.rs): Main evolutionary loop
- [crates/lgp/src/extensions/q_learning.rs](https://github.com/urmzd/linear-gp/blob/main/crates/lgp/src/extensions/q_learning.rs): Hybrid LGP + Q-Learning
- [crates/lgp/src/problems/](https://github.com/urmzd/linear-gp/tree/main/crates/lgp/src/problems): Built-in problem implementations (Iris, Gym)
- [crates/lgp-cli/src/main.rs](https://github.com/urmzd/linear-gp/blob/main/crates/lgp-cli/src/main.rs): CLI entry point (run, search, analyze, experiment)
- [crates/lgp-cli/src/main.rs](https://github.com/urmzd/linear-gp/blob/main/crates/lgp-cli/src/main.rs): CLI entry point (`lgp` binary — run, search, analyze, experiment)

## Optional

Expand Down
2 changes: 1 addition & 1 deletion skills/lgp-experiment/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ The config system uses TOML files in the `configs/` directory. To add a new expe

3. **Register the environment in `experiment_runner.rs`:**

Add a match arm in `crates/lgp-cli/src/experiment_runner.rs` (around line 81):
Add a match arm in `crates/lgp-cli/src/experiment_runner.rs`:

```rust
// In run_experiment function's match statement:
Expand Down
Loading