OCaml Zarr jsont codecs for v2/v3 and common conventions
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

meta: add AI disclosure annotations

All OCaml source files annotated with ai-generated/claude-opus-4/Anthropic.
opam template adds x-ai-* extension fields.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

+19
+4
bin/zarr_inspect.ml
··· 1 + [@@@ai_disclosure "ai-generated"] 2 + [@@@ai_model "claude-opus-4"] 3 + [@@@ai_provider "Anthropic"] 4 + 1 5 open Cmdliner 2 6 3 7 (* File reading *)
+4
src/zarr_jsont.ml
··· 1 1 (* Zarr jsont codecs *) 2 2 3 + [@@@ai_disclosure "ai-generated"] 4 + [@@@ai_model "claude-opus-4"] 5 + [@@@ai_provider "Anthropic"] 6 + 3 7 module Other_codec = struct 4 8 type t = { name : string; configuration : Jsont.json } 5 9
+4
src/zarr_jsont.mli
··· 1 1 (** Jsont codecs for Zarr v2 and v3 metadata. *) 2 2 3 + [@@@ai_disclosure "ai-generated"] 4 + [@@@ai_model "claude-opus-4"] 5 + [@@@ai_provider "Anthropic"] 6 + 3 7 (** Fill value that encodes the value stored in unwritten or missing chunks. *) 4 8 type fill_value = [ 5 9 | `Null
+4
test/test_zarr_jsont.ml
··· 1 + [@@@ai_disclosure "ai-generated"] 2 + [@@@ai_model "claude-opus-4"] 3 + [@@@ai_provider "Anthropic"] 4 + 1 5 let decode c s = match Jsont_bytesrw.decode_string c s with 2 6 | Ok v -> v | Error e -> failwith e 3 7
+3
zarr-jsont.opam.template
··· 1 + x-ai-disclosure: "ai-generated" 2 + x-ai-model: "claude-opus-4" 3 + x-ai-provider: "Anthropic"