use super::*;
use std::collections::HashMap;
pub struct CodeAnalysisPrompt;
impl Default for CodeAnalysisPrompt {
fn default() -> Self {
Self::new()
}
}
impl CodeAnalysisPrompt {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new() -> Self {
Self
}
}
pub struct RefactoringPrompt;
impl Default for RefactoringPrompt {
fn default() -> Self {
Self::new()
}
}
impl RefactoringPrompt {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new() -> Self {
Self
}
}
pub struct QualityAssessmentPrompt;
impl Default for QualityAssessmentPrompt {
fn default() -> Self {
Self::new()
}
}
impl QualityAssessmentPrompt {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new() -> Self {
Self
}
}
pub struct RepoScorePrompt;
impl Default for RepoScorePrompt {
fn default() -> Self {
Self::new()
}
}
impl RepoScorePrompt {
#[provable_contracts_macros::contract("pmat-core.yaml", equation = "check_compliance")]
pub fn new() -> Self {
Self
}
}
include!("prompts_impls.rs");
include!("prompts_tests.rs");
include!("prompts_tests_repo_score.rs");