@@ -97,6 +97,16 @@ python run.py
9797- Compare LLM vs baseline test approaches
9898- Experiment with different configurations
9999
100+ ### Local Testing Option
101+
102+ For offline development or controlled testing, use the local examples:
103+
104+ ``` bash
105+ python run.py --config configs/experiment.local.yaml
106+ ```
107+
108+ This uses the included ` examples/toy_lib/ ` code instead of cloning external repositories.
109+
100110## ⚙️ Configuration
101111
102112### Key Parameters
@@ -125,14 +135,17 @@ steps:
125135### Pipeline Options
126136
127137` ` ` bash
128- # Use fake provider (no API key needed )
129- python run.py # Uses config defaults
138+ # Default: uses remote repository (requests library )
139+ python run.py
130140
131- # Force fresh execution (no caching)
132- python run.py --no-cache
141+ # Local testing with included examples
142+ python run.py --config configs/experiment.local.yaml
133143
134- # Use different config
144+ # High-quality test generation
135145python run.py --config configs/experiment.strict.yaml
146+
147+ # Force fresh execution (no caching)
148+ python run.py --no-cache
136149```
137150
138151## 🔬 Advanced Usage
@@ -213,7 +226,8 @@ qualityflow/
213226│
214227├── configs/ # Pipeline configurations
215228│ ├── experiment.default.yaml # Standard experiment settings
216- │ └── experiment.strict.yaml # High-quality gates
229+ │ ├── experiment.strict.yaml # High-quality gates
230+ │ └── experiment.local.yaml # Local examples testing
217231│
218232├── pipelines/ # Pipeline definitions
219233│ └── generate_and_evaluate.py # Main pipeline
@@ -233,9 +247,9 @@ qualityflow/
233247│ └── unit_test_strict_v2.jinja # Comprehensive test generation
234248│
235249├── examples/ # Demo code for testing
236- │ └── toy_lib/ # Sample library
237- │ ├── calculator.py
238- │ └── string_utils.py
250+ │ └── toy_lib/ # Sample library with test-friendly code
251+ │ ├── calculator.py # Calculator class with edge cases
252+ │ └── string_utils.py # String utilities with validation
239253│
240254└── run.py # Main entry point
241255```
@@ -246,6 +260,7 @@ qualityflow/
246260- ** Prompt Templates** : Jinja2 templates for LLM test generation
247261- ** Configuration** : YAML-driven experiment settings
248262- ** Test Generation** : Both LLM-based and heuristic approaches for comparison
263+ - ** Example Code** : Sample Python modules (` toy_lib ` ) designed for effective test generation demonstration
249264
250265## 🚀 Production Deployment
251266
0 commit comments