بنقرة واحدة
ix-pipeline
DAG pipeline orchestration with parallel execution and caching
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
DAG pipeline orchestration with parallel execution and caching
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Test model robustness with adversarial attacks and defenses
Multi-armed bandit simulation — epsilon-greedy, UCB1, Thompson sampling
Benchmark and compare ix algorithm performance
Embedded Redis-like cache with TTL, LRU, pub/sub, and RESP protocol
Category theory primitives — monad laws verification, free-forgetful adjunction
Chaos theory analysis — Lyapunov exponents, bifurcation, attractors, fractals
| name | ix-pipeline |
| description | DAG pipeline orchestration with parallel execution and caching |
| disable-model-invocation | true |
Design and execute multi-step data processing pipelines as DAGs.
When the user has a multi-step workflow where steps have dependencies, branches can run in parallel, and results should be cached.
use ix_pipeline::builder::PipelineBuilder;
use ix_pipeline::executor::{execute, NoCache};
use serde_json::{json, Value};
use std::collections::HashMap;
let pipeline = PipelineBuilder::new()
.source("load", || Ok(json!({"data": [1, 2, 3]})))
.node("process", |b| b
.input("x", "load")
.compute(|inputs| {
let data = inputs["x"].as_array().unwrap();
Ok(json!(data.len()))
})
)
.node("transform", |b| b
.input("x", "load")
.compute(|inputs| Ok(json!("transformed")))
)
.node("merge", |b| b
.input("count", "process")
.input("result", "transform")
.compute(|inputs| Ok(json!({"count": inputs["count"], "result": inputs["result"]})))
)
.build()
.unwrap();
// Edges auto-detected from .input() calls
// "process" and "transform" run in parallel (same level)
// "merge" waits for both
let result = execute(&pipeline, &HashMap::new(), &NoCache).unwrap();
.critical_path())