-
Notifications
You must be signed in to change notification settings - Fork 0
Learning Vtk Result Context
github-actions[bot] edited this page Jun 23, 2026
·
2 revisions
Intermediate, with beginner and expert options.
Post-processing users, visualization engineers, data engineers, and developers handling optional scientific dependencies.
By the end, you can:
- inspect a VTK-family result file;
- describe result-field context safely;
- explain why field presence is not correctness evidence; and
- discuss optional dependency fallback behavior.
examples/vtk_minimal/sample.vtk- Architecture: Adapters
caereflex inspect-vtk examples/vtk_minimal/sample.vtk --out vtk_case.json
caereflex export agent-context vtk_case.json --out vtk_agent_context.jsonReview the context:
python -m json.tool vtk_agent_context.json | head -100- Result files may expose fields, metadata, or safe fingerprints.
- Rich VTK/PyVista behavior can depend on optional packages.
- Result context does not prove convergence, mesh adequacy, or physical correctness.
A representative vtk_agent_context.json for examples/vtk_minimal/sample.vtk should show dataset and field context like this:
{
"case_name": "sample",
"case_type": "vtk",
"detected_formats": [".vtk"],
"detected_tools": ["VTK/ParaView-compatible"],
"assets": [
{"asset_type": "result_file", "name": "sample.vtk", "metrics": {"dataset_type": "POLYDATA", "points": 4, "cells": null}}
],
"result_fields": [
{"name": "pressure", "association": "point", "field_type": "scalar", "components": 1},
{"name": "velocity", "association": "point", "field_type": "vector", "components": 3}
]
}Interpret the output as follows:
- Extracted evidence: the
.vtksuffix,POLYDATAdataset type, point count, and point-data field names are read fromexamples/vtk_minimal/sample.vtk. - Inferred context:
detected_tools: ["VTK/ParaView-compatible"]indicates a compatible result format, not the actual solver or visualization workflow used. - Warnings: optional-reader fallback warnings, if present, mean the context may be less rich and should be surfaced to the user.
- Provenance: the full JSON includes
vtk_inspection_startedand a trace pointing back tosample.vtk. - Unsafe claims to avoid: do not claim convergence, interpolation quality, unit correctness, solver provenance, physical correctness, mesh adequacy, or validated results from field presence alone.
Identify the inspected file and any result-context information present in the output.
Draft an agent response that describes the detected VTK evidence and explicitly names what is not proven.
Study the VTK adapter and answer:
- What happens when optional readers are unavailable?
- Which behavior should remain available in the base install?
- Which tests would protect fallback behavior?
- The learner inspected the VTK example.
- The learner avoids treating fields as validation evidence.
- The learner can explain optional dependency implications.
- Home
- Architecture
- Developer-Guide
- Learning
- Reference
- Releases
- User-Guide
Synced from /wiki/docs in the main CaeReflex repository.