Palantir has added AIP Evals results to the Workflow Lineage graph. Builders can now see which AIP Logic and function nodes pass their tests and which need attention.

The November 24 announcement adds two features: an Evals bottom panel and an Evals success rate color mode. "Together, these features help you assess performance across your workflow and identify resources that need attention," Palantir said. Our November 25 story reported the release. This guide shows how to use it.

In our view, this is a meaningful step for AIP testing. Pass counts on one suite tell you how one function performs. A colored graph shows which resources across the workflow are failing their test cases.

Before you start: to see a success rate on a node, you need a workflow in Workflow Lineage with AIP Logic or function nodes. You also need at least one AIP Evals suite linked to those functions and run on the main branch, plus permission to view its results.

A quick refresher on AIP Evals

Our November 23 guide quotes Palantir's AIP Evals overview: "AIP Evals is a testing environment to evaluate the performance of your AIP Logic functions, AIP Chatbot functions, or code-authored functions." That guide explains that an evaluation suite holds test cases, target functions and evaluation functions.

It helps to know what "passed" means. The same guide quotes Palantir's docs: "A test case fails if any metric fails in any iteration, and passes if at least one metric passes and none fail."

Step by step: color the graph by success rate

  1. Open your workflow in Workflow Lineage. Palantir says the new features let you view AIP Evals results inside your workflow.
  2. Switch the color mode. Palantir's instruction is short: "Switch the graph's color mode to Evals success rate to visualize results across your workflow."
  3. Read the legend. The announcement says: "The legend also distinguishes resources with incomplete evaluations, no linked evaluations, or results you cannot access." Note which nodes fall into those groups before you read anything into the colors.
  4. Find the weak spots. Look for AIP Logic or function nodes with a low success rate. These are the functions with the smallest share of passing test cases.

What the number measures

Get this right before you act on a color. Palantir's definition: "Each resource's success rate reflects the percentage of test cases that passed across the most recent run of each linked evaluation suite on the main branch."

Three things follow from that sentence:

  • It is a percentage of test cases, not of suites or of production runs.
  • It uses the most recent run of each linked suite.
  • It counts main-branch runs only.

As the announcement frames it, the color is a snapshot of each suite's latest main-branch run. To see the detail behind a score, open the results from the Evals panel, covered below.

Our November 25 story noted that this mode joins the failure rate color mode Palantir announced in August. That story says the August mode colors nodes by the share of runs that failed.

In our view, the two modes answer different questions. One colors nodes by the share of runs that failed. The other shows how a function scores against your test cases.

Step by step: drill from a weak node to its test cases

The graph shows you where to look.

  1. Select the node. The panel works on AIP Logic or function nodes.
  2. Open the Evals tab in the bottom panel. Palantir says the tab lists the evaluation suites linked to that node, with pass counts for their test cases.
  3. Open the results. According to the announcement, you can open results from the panel and examine individual test cases. This is where you see which cases failed.
  4. Check for missing coverage. Palantir says the panel also helps you spot resources that have no evaluations configured. Use it to find resources without linked evaluations.

Palantir's Workflow Lineage observability page has a section on evaluation results.

Pair it with model testing

Our November 23 guide walks through testing a candidate model on an AIP Logic function in AIP Evals before you switch. That guide notes you can select a branch in the run configuration. It also notes that runs record the branch, version and model.

Here is how we would combine the two. Use the color mode to find the functions that need help. Test a candidate model against them on a branch in AIP Evals, then merge the change and rerun the suite on main.

In our reading of the announcement, a candidate tested only on a branch will not change the graph colors, because the rate counts main-branch runs.

If many Logic functions share one model, our November 23 guide notes that Palantir's May announcements describe bulk replace in Workflow Lineage. We think a bulk swap, a main-branch rerun and a look at the success rate colors make a tidy loop. Our November 27 Take looks at what model swapping means for teams more broadly.

Watch out for

  • Old main runs. The rate uses the most recent run on main. In our reading, if you changed a function but have not rerun its suite on main, the color still reflects the earlier run. Rerun before you draw conclusions.
  • Functions with no suites. The legend shows these as having no linked evaluations, not as passing. Use the Evals tab to find them and add coverage.
  • Incomplete evaluations. The legend calls these out separately, so do not read them as a score.
  • Permissions shape what you see. The announcement says: "Only evaluation results you have permission to view are included." The legend flags results you cannot access. In our reading, teammates with different access may see different colors on the same graph, so compare notes before you escalate.
  • Too few iterations for LLM-backed functions. Our November 23 guide quotes Palantir's docs: "Due to the non-deterministic nature of LLMs, we recommend running test cases at least three times for LLM-backed functions." The guide says test cases can run from 1 to 100 times. We think a rate built on single runs is a thinner signal.
  • User-scoped runs. Our November 23 guide notes that project-scoped execution is the default. It also says user-scoped results are visible only to you, for 24 hours after the run. Keep that in mind when sharing results with your team.

What to watch

In our view, the payoff grows with coverage. The more functions carry linked suites run on main, the more complete the map. We think the first job for most teams is to use the Evals tab to find nodes without linked evaluations.

Palantir is asking for feedback. "Share your thoughts with Palantir Support channels or our Developer Community, using the workflow-lineage tag," the announcement says.