Commit 4f1d951
fix: warn when Eval() receives an empty dataset (#109)
* warn when Eval() receives an empty dataset
Print a warning to stderr when no data rows are found after iterating
the dataset, so users get an actionable signal instead of silently
landing on an empty experiment in the UI.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* use eprint and bcolors.WARNING for empty dataset warning
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* ruff format
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
---------
Co-authored-by: ekon15 <ekon15@users.noreply.github.com>
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent d82c425 commit 4f1d951
2 files changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1695 | 1695 | | |
1696 | 1696 | | |
1697 | 1697 | | |
| 1698 | + | |
| 1699 | + | |
| 1700 | + | |
| 1701 | + | |
| 1702 | + | |
1698 | 1703 | | |
1699 | 1704 | | |
1700 | 1705 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
607 | 607 | | |
608 | 608 | | |
609 | 609 | | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
| 614 | + | |
| 615 | + | |
| 616 | + | |
| 617 | + | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
| 623 | + | |
| 624 | + | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
0 commit comments