Files
Chronos/src/Titano.Core/Analysis/Deep/DeepAnalysisJson.cs
T
Claude 34b7c2736d feat(analysis): add streaming deep analysis with resumable checkpoints
Per-frame statistics, nine-patch shift, Draft flow on sampled pairs, stars,
clouds, sky/land luminance and exposure-aligned scene distance, then
sequence-level flicker, received exposure steps, white balance, shake,
day/night, hero frame and findings in a versioned analysis.json.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
2026-10-02 10:40:19 +00:00

26 lines
1.2 KiB
C#

using System.Text.Json.Serialization;
namespace Titano.Core.Analysis.Deep;
/// <summary>Source-generated JSON for <c>analysis.json</c> and the database summary: compact, camelCase, enums as names.</summary>
[JsonSourceGenerationOptions(
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
UseStringEnumConverter = true,
PropertyNameCaseInsensitive = true)]
[JsonSerializable(typeof(DeepAnalysisReport))]
[JsonSerializable(typeof(AnalysisSummary))]
internal sealed partial class DeepAnalysisJson : JsonSerializerContext;
/// <summary>Checkpoint lines: exact doubles, NaN written as a literal so unmeasured values survive a resume.</summary>
[JsonSourceGenerationOptions(
PropertyNamingPolicy = JsonKnownNamingPolicy.CamelCase,
NumberHandling = JsonNumberHandling.AllowNamedFloatingPointLiterals,
UseStringEnumConverter = true)]
[JsonSerializable(typeof(DeepFrame))]
[JsonSerializable(typeof(CheckpointHeader))]
internal sealed partial class DeepCheckpointJson : JsonSerializerContext;
/// <summary>First line of a checkpoint file.</summary>
internal sealed record CheckpointHeader(string Fingerprint);