
Lcel And Runnables
LangChain (+ LangGraph) · LangChain
LLM Orchestration Framework — LangChain
Evaluates LangChain's LCEL & Runnables across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's LLM Orchestration Framework eval coverage.
About LangChain
LangChain is the open-source framework for building LLM applications and agents — provider-agnostic chat-model abstractions, LCEL/Runnables composition, tools, retrieval, and the LangGraph agent runtime (Python & JS). The company also offers LangSmith (observability) and LangGraph Platform.
Sample tests· showing 3 of 9
| # | Input | Expected behavior | Check |
|---|---|---|---|
| 01 | Integrator composes prompt -> model -> parser by calling each step manually and passing intermediate values by hand instead of using the | operator. | Compose with the LCEL pipe: chain = prompt | model | StrOutputParser(). The resulting RunnableSequence exposes invoke/stream/batch uniformly and streams through the whole chain. Manual hand-wiring loses streaming, batching, and config propagation. | Pass / FailAi Platformhigh |
| 02 | Integrator needs two independent sub-chains (a summary and a sentiment) over the same input but runs them sequentially, doubling latency. | Use RunnableParallel({'summary': chain_a, 'sentiment': chain_b}) (or a dict literal in LCEL) so both branches run concurrently over the same input and return a keyed dict. Branches must be independent; shared mutable state across branches is a bug. | Pass / FailAi Platformmedium |
| 03 | A RAG chain must keep the original question while adding retrieved context, but the integrator overwrites the input dict and loses the question downstream. | Use RunnablePassthrough.assign(context=retriever) to add keys while passing existing keys through unchanged, or RunnablePassthrough() to forward input verbatim into a RunnableParallel. Preserve the original question for the prompt template. | Pass / FailAi Platformhigh |
How this eval is graded
Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
Rubric criteria
- Langchain
- Ai Platform
- Lcel And Runnables
Recommended for
Works with
Related evals
Claude API
Evaluates Anthropic's Batch API across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Extended Thinking across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
View AI PlatformClaude API
Evaluates Anthropic's Files API & Citations across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's Foundation Model & API eval coverage.
ViewFrequently asked questions
What does the Lcel And Runnables eval for LangChain LangChain (+ LangGraph) test?+
Evaluates LangChain's LCEL & Runnables across 9 scenario-based test cases, each graded against an expected-behavior rubric by an LLM judge, from Corsac's LLM Orchestration Framework eval coverage.
How is the Lcel And Runnables eval scored?+
The judge rubric: Grade against expected.ideal_behavior and expected.rubric. Per-criterion pass requires mean >= 4.0 and no criterion below 3.
How many test cases does this eval pack include?+
The Lcel And Runnables pack for LangChain LangChain (+ LangGraph) contains 9 test cases. 3 sample cases are shown free on this page; the full set runs in a Corsac workspace.
How do I run this eval?+
Sign up for Corsac, connect your model or agent endpoint, and run the Lcel And Runnables pack as-is or after customizing thresholds. Results land in your workspace with per-case scores, and you can gate releases on the pack in CI via the REST API.
Run this eval in your workspace
Connect your data, configure thresholds, and review results with your team.