Skip to main content

plato_eval/
lib.rs

1//! # plato-eval
2//!
3//! PLATO tile evaluation metrics — quality scoring, domain analysis, and knowledge gap detection.
4//!
5//! Provides heuristic tile quality scoring that works without ML dependencies.
6//! Use alongside `plato-neural` (Python) for perplexity-based ML scoring.
7//!
8//! ## Example
9//! ```
10//! use plato_eval::{Tile, TileScorer};
11//!
12//! let tile = Tile::new(
13//!     "ct".into(),
14//!     "What is constraint theory?".into(),
15//!     "CT snap maps vectors to exact Pythagorean coordinates.".into(),
16//!     0.95,
17//! );
18//!
19//! let scorer = TileScorer::new();
20//! let score = scorer.score(&tile);
21//! println!("Quality: {}", score.quality_label());
22//! ```
23
24mod score;
25mod domain;
26mod gap;
27
28pub use score::{Tile, TileScorer, Score, Quality};
29pub use domain::{DomainStats, DomainAnalyzer};
30pub use gap::GapFinder;