Summaries¶
Structured, frozen, JSON-friendly structural facts. No scientific calculation, quality score or inferred value appears here.
ExperimentSummary
¶
Bases: _Frozen
A factual, structural description of an experiment.
The summary describes structure and metadata only. It makes no claim about scientific validity or suitability for sedimentation analysis.
to_dict
¶
to_text
¶
Render the human-readable summary.
Describes structure and metadata only; it makes no claim about scientific validity or suitability for sedimentation analysis.
Source code in src/openauc/models/summary.py
ValueRange
¶
Bases: _Frozen
The observed span of one quantity, with presence counts.
minimum and maximum are None when nothing was present. The unit
is the declared unit, retained verbatim; nothing is converted.
render
¶
'6 to 7.2 cm (observed)', or 'unknown' when nothing present.
Source code in src/openauc/models/summary.py
MetadataPresence
¶
Bases: _Frozen
Presence counts for one metadata field across scans or samples.
absent counts records where the field itself is structurally absent
(None); the remaining counters record the explicit
:class:~openauc.models.enums.ValueStatus of the values that are present as
quantities. The two levels of absence are never collapsed.
unrecorded
property
¶
Records carrying no usable value, however that absence is expressed.
ValidationCounts
¶
Bases: _Frozen
Finding counts from the full (all-tier) validation report.
summarise_experiment
¶
Build the structured summary for experiment.
Source code in src/openauc/models/summary.py
345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 | |