---
title: "2026-09-16 Factory private batch helper"
description: "Renamed the direct batch execution helper to make its internal role explicit."
image: "https://docs.virdx.dev/img/virdx-social-card.png"
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.virdx.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 2026-09-16 Factory private batch helper

## Work Done

At the user's request, renamed FactoryDeployment.run_batch to \_run_batch in
`~/work/factory-framework`. Updated CLI, memory backend, tests and README references.
This changes visibility convention only; public infer still dispatches work and
the private helper executes one batch. No compatibility alias was retained.

## Pitfalls

The previous public helper made the two meanings of inference confusing.

## Improvements

Keep direct worker execution internal; the service's infer remains the inference
implementation and the deployment's infer remains the public dispatch operation.

Source: https://docs.virdx.dev/knowledge/inbox/2026-09-16-infrastructure-factory-private-batch-helper/index.mdx
