0.7.34
This commit is contained in:
@@ -161,6 +161,12 @@ pub(crate) struct DemoPipeline2LocalPipelineValidationReport {
|
||||
/// Total decoded events with unknown classification.
|
||||
#[ts(type = "number")]
|
||||
pub decoded_unknown_event_count: i64,
|
||||
/// Total persisted liquidity events.
|
||||
#[ts(type = "number")]
|
||||
pub liquidity_event_count: i64,
|
||||
/// Total persisted pool lifecycle events.
|
||||
#[ts(type = "number")]
|
||||
pub pool_lifecycle_event_count: i64,
|
||||
/// Number of entries currently exposed by the DEX support matrix.
|
||||
#[ts(type = "number")]
|
||||
pub dex_support_matrix_entry_count: i64,
|
||||
@@ -271,6 +277,12 @@ pub(crate) struct DemoPipeline2LocalPipelineDiagnosticSummary {
|
||||
/// Total decoded events with unknown classification.
|
||||
#[ts(type = "number")]
|
||||
pub decoded_unknown_event_count: i64,
|
||||
/// Total persisted liquidity events.
|
||||
#[ts(type = "number")]
|
||||
pub liquidity_event_count: i64,
|
||||
/// Total persisted pool lifecycle events.
|
||||
#[ts(type = "number")]
|
||||
pub pool_lifecycle_event_count: i64,
|
||||
/// Whether the local persisted pipeline has no blocking diagnostic issue.
|
||||
pub diagnostics_clean: bool,
|
||||
/// Number of blocking diagnostic issues.
|
||||
@@ -1075,7 +1087,7 @@ pub(crate) async fn demo_pipeline2_validate_local_pipeline(
|
||||
let service = kb_lib::LocalPipelineValidationService::new(database.clone());
|
||||
let profile_code = match request {
|
||||
Some(request) => request.profile_code,
|
||||
None => "0.7.33_pair_trading_readiness".to_string(),
|
||||
None => "0.7.34_non_trade_liquidity_lifecycle".to_string(),
|
||||
};
|
||||
let run_result = match profile_code.as_str() {
|
||||
"0.7.27" | "0.7.27_dexes_non_regression" => {
|
||||
@@ -1099,6 +1111,9 @@ pub(crate) async fn demo_pipeline2_validate_local_pipeline(
|
||||
"0.7.33" | "0.7.33_pair_trading_readiness" => {
|
||||
service.validate_v0_7_33_current_database().await
|
||||
},
|
||||
"0.7.34" | "0.7.34_non_trade_liquidity_lifecycle" => {
|
||||
service.validate_v0_7_34_current_database().await
|
||||
},
|
||||
other => Err(kb_lib::Error::InvalidState(format!(
|
||||
"unsupported local pipeline validation profile: {other}"
|
||||
))),
|
||||
@@ -1528,6 +1543,8 @@ fn demo_pipeline2_map_local_validation_report(
|
||||
decoded_non_trade_useful_event_count: report.decoded_non_trade_useful_event_count,
|
||||
decoded_non_actionable_trade_event_count: report.decoded_non_actionable_trade_event_count,
|
||||
decoded_unknown_event_count: report.decoded_unknown_event_count,
|
||||
liquidity_event_count: report.liquidity_event_count,
|
||||
pool_lifecycle_event_count: report.pool_lifecycle_event_count,
|
||||
dex_support_matrix_entry_count: report.dex_support_matrix_entry_count,
|
||||
dex_support_matrix,
|
||||
issues,
|
||||
@@ -1654,6 +1671,8 @@ fn demo_pipeline2_map_local_diagnostics_summary(
|
||||
decoded_non_trade_useful_event_count: summary.decoded_non_trade_useful_event_count,
|
||||
decoded_non_actionable_trade_event_count: summary.decoded_non_actionable_trade_event_count,
|
||||
decoded_unknown_event_count: summary.decoded_unknown_event_count,
|
||||
liquidity_event_count: summary.liquidity_event_count,
|
||||
pool_lifecycle_event_count: summary.pool_lifecycle_event_count,
|
||||
diagnostics_clean: summary.diagnostics_clean,
|
||||
blocking_issue_count: summary.blocking_issue_count,
|
||||
missing_trade_event_count: summary.missing_trade_event_count,
|
||||
|
||||
Reference in New Issue
Block a user