﻿# Comet start modes: strict resume and forced creation protect different experiment identities

Choose Comet start modes deliberately when a missing experiment key or an already running local experiment could silently change where a tuning trial records its evidence.

Author: Retrivium editorial team
Updated: 2026-11-04
Canonical URL: https://retrivium.ai/journal/fg2-comet-start-creation-mode-experiment-identity/
Language: en

## Start with the identity the application intends

A tuning controller invokes a training library repeatedly in the same process. Each invocation calls Comet initialization, and the researcher expects a separate experiment for every candidate. The [start API reference](https://www.comet.com/docs/v2/api-and-sdk/python-sdk/reference/start/) supports distinct policies for creating, retrieving and getting-or-creating an experiment. Choose the policy from the intended trial identity rather than assuming every initialization call necessarily produces a new remote record.

## Make a missing resume target visible

If an application expects to continue a known experiment, silently creating another one when the key is missing obscures that expectation. The [initialization guide](https://www.comet.com/docs/v2/api-and-sdk/python-sdk/start-experiment/) explains the strict get mode and the default get-or-create behavior. Record the expected key and handle a missing or inaccessible target as its own event. A new empty experiment may be valid for a fresh trial but should not look like successful continuation of an earlier record.

## Account for the running object in the process

Initialization can be called by the main script, callbacks and imported libraries. Depending on compatibility and mode, an existing running experiment may be reused instead of creating another. This is useful when the calls belong to the same execution, and misleading when independent candidate trials should remain separate. Keep ownership of experiment creation and ending in the controller that knows the trial boundary. Do not infer a new trial identity from a helper's initialization call alone.

## Separate resumed logging from resumed computation

The [resume guide](https://www.comet.com/docs/v2/guides/experiment-management/resume-experiment/) describes appending tracking data to an identified experiment. That operation does not itself restore the training application's checkpoint, optimizer or data position. Reusing a key also requires deliberate metric progress handling so new reports do not accidentally replace earlier points. Preserve the relationship between a process execution and the remote experiment, especially when multiple executions intentionally contribute evidence to a shared result.

## Probe fresh, existing and missing targets

Exercise initialization with an intended new trial, an accessible existing key and a deliberately absent target. Inspect the resulting experiment identities and where a recognizable metric arrives. Related guides cover [request identity scope](/journal/guide-triton-request-id-scope/) and [controlled experiment replay](/journal/data-guide-curriculum-order-controlled-replay/). These checks establish the logging identity policy before a long search. They leave model-state restoration and scientific comparability as explicit responsibilities of the training workflow rather than hidden assumptions of a tracking initializer.
