You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Implement full CLI with init, validate, upload, and run commands
- Add robust YAML configuration parser with file reference support
- Build simple test discovery using regex parsing (TypeScript & JavaScript)
- Create comprehensive API client for EvalOps platform integration
- Add complete type safety with proper TypeScript interfaces
- Implement configuration management with environment variable support
- Add extensive test suite covering all major functionality
- Create example files demonstrating decorator and function call patterns
- Update README with complete usage documentation
- Add development guidelines and coding standards
@@ -4,18 +4,28 @@ The EvalOps CLI is a powerful tool for evaluating code against Large Language Mo
4
4
5
5
## Features
6
6
7
-
-**Initialize Projects**: Quickly set up a new EvalOps project with `evalops init`.
8
-
-**Validate Configurations**: Ensure your `evalops.yaml` file is correctly formatted and your test cases are discoverable with `evalops validate`.
9
-
-**Upload Test Suites**: Upload your evaluation configurations to the EvalOps platform with `evalops upload`.
10
-
-**Local Evaluations (Coming Soon)**: Run evaluations locally against different providers with `evalops run`.
11
-
-**Automatic Test Discovery**: Automatically discover test cases in your codebase defined with `@evalops_test` decorators or `evalops_test()` function calls.
7
+
-**Initialize Projects**: Quickly set up a new EvalOps project with `evalops init`
8
+
-**Validate Configurations**: Ensure your `evalops.yaml` file is correctly formatted and your test cases are discoverable with `evalops validate`
9
+
-**Upload Test Suites**: Upload your evaluation configurations to the EvalOps platform with `evalops upload`
10
+
-**Local Evaluations (Coming Soon)**: Run evaluations locally against different providers with `evalops run`
11
+
-**Automatic Test Discovery**: Automatically discover test cases in your codebase using Tree-sitter parsing
12
+
-**TypeScript & JavaScript Support**: Full support for both TypeScript and JavaScript test files
13
+
-**Multiple Test Patterns**: Support for decorators, function calls, and various file patterns
12
14
13
15
## Installation
14
16
17
+
Install globally via npm:
18
+
15
19
```bash
16
20
npm install -g evalops-cli
17
21
```
18
22
23
+
Or install locally in your project:
24
+
25
+
```bash
26
+
npm install --save-dev evalops-cli
27
+
```
28
+
19
29
## Getting Started
20
30
21
31
1.**Initialize a new project:**
@@ -40,32 +50,57 @@ npm install -g evalops-cli
40
50
41
51
3.**Add test cases to your code:**
42
52
43
-
The CLI can automatically discover test cases in your code. You can define a test case using the `@evalops_test` decorator or the `evalops_test()`function.
53
+
The CLI can automatically discover test cases in your code. You can define test cases in special `.eval.ts`or `.eval.js` files using decorators or function calls.
0 commit comments