test(tests): R4.1b writer oracles: O1 draw logs, O2 R3-build PDFs (real raster, store path), O3 pre-R2 envelope PDFs

This commit is contained in:
bchanot committed 2026-10-18 05:25:57 +02:00
1 parent 7a4297933d
commit 87b88739f8
35 files changed
+39810

No files matched your search

File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+30
View File
@@ -0,0 +1,30 @@
{
"note": "v2full reduced to its first observation (obs-1, main view), every other field unchanged: the full report weighed 3 MB in real rasters.",
"calls": [
{
"index": 0,
"svgSha256": "c342c54fae8e69d90cbe90f4abf233b4aaa388e2d96d54a47fd7c73295b6c89a",
"widthPx": 1200,
"heightPx": 263,
"png": "raster-0.png",
"pngSha256": "38f30384e816271f3186ee3f94410d50975176db610ea9d86a3ad0c352fde4fd",
"subject": {
"kind": "logo",
"slot": "partner"
}
},
{
"index": 1,
"svgSha256": "a9a3155c827838af46edd583452e8d8106c3ce09da272afaaf37c3cb36af2c11",
"widthPx": 1200,
"heightPx": 943,
"png": "raster-1.png",
"pngSha256": "c4af684450f54dadf87208560a3ae7f758446f01a5a7f435b6d06c5df59083dd",
"subject": {
"kind": "view",
"observationId": "obs-1",
"viewId": "main"
}
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 522 KiB

Binary file not shown.
Binary file not shown.
+266
View File
@@ -0,0 +1,266 @@
{
"version": 3,
"id": "fixture-demo-v3",
"createdAt": "2026-10-11T09:30:00.000Z",
"date": "2026-10-11",
"practitioner": {
"contact": "secretariat@example.test",
"name": "Dr. Claire Dupont-Martin"
},
"animal": {
"speciesId": "equine",
"name": "Mistral",
"breed": "Selle Français",
"age": "9 ans"
},
"owner": {
"name": "Jean Martin"
},
"sheet": {
"sheetId": "503dc301-a8b1-50d4-9e44-0919b2fc2916",
"versionId": null,
"documentSha256": "27c7383c445c73dc2001ebf4794a3ea63d416910bbbaa0d7848dd720de7c2660"
},
"observations": [
{
"id": "obs-demo-1",
"zones": [
{
"annotationId": "c7-t1",
"viewId": "main",
"labelFrSnapshot": "Charnière C7-T1 (cervico-thoracique)",
"labelEnSnapshot": "C7-T1 junction (cervicothoracic)"
},
{
"annotationId": "t18-l1",
"viewId": "main",
"labelFrSnapshot": "Charnière T18-L1 (thoraco-lombaire)",
"labelEnSnapshot": "T18-L1 junction (thoracolumbar)"
}
],
"findings": [
{
"findingZoneId": "c7-t1",
"path": [
"c7-t1-dysfunctions",
"segmental",
"restriction-flexion"
],
"labelFrSnapshot": "Restriction en flexion",
"labelEnSnapshot": "Flexion restriction"
},
{
"findingZoneId": "c7-t1",
"path": [
"c7-t1-dysfunctions",
"segmental",
"restriction-extension"
],
"labelFrSnapshot": "Restriction en extension",
"labelEnSnapshot": "Extension restriction"
}
],
"freeTextFindings": [],
"severity": "mild",
"comment": "Réagit à la palpation de la charnière."
},
{
"id": "obs-demo-2",
"zones": [
{
"annotationId": "hip",
"viewId": "main",
"side": "left",
"labelFrSnapshot": "Hanche (coxo-fémorale)",
"labelEnSnapshot": "Hip joint"
},
{
"annotationId": "hip",
"viewId": "main",
"side": "right",
"labelFrSnapshot": "Hanche (coxo-fémorale)",
"labelEnSnapshot": "Hip joint"
}
],
"findings": [
{
"findingZoneId": "hip",
"path": [
"hip-dysfunctions",
"articular",
"restriction-flexion"
],
"labelFrSnapshot": "Restriction en flexion",
"labelEnSnapshot": "Flexion restriction",
"side": "left"
},
{
"findingZoneId": "hip",
"path": [
"hip-dysfunctions",
"articular",
"restriction-abduction-adduction"
],
"labelFrSnapshot": "Restriction en abduction / adduction",
"labelEnSnapshot": "Abduction / adduction restriction",
"side": "right"
}
],
"freeTextFindings": [],
"severity": "moderate",
"comment": ""
},
{
"id": "obs-demo-3",
"zones": [
{
"annotationId": "cervical",
"viewId": "main",
"vertebrae": [
{
"region": "C",
"index": 3
},
{
"region": "C",
"index": 4
}
],
"labelFrSnapshot": "Vertèbres cervicales",
"labelEnSnapshot": "Cervical vertebrae"
}
],
"findings": [
{
"findingZoneId": "cervical",
"path": [
"cervical-dysfunctions",
"segmental",
"localized-fixation"
],
"labelFrSnapshot": "Fixation segmentaire localisée (C2–C7)",
"labelEnSnapshot": "Localized segmental fixation (C2–C7)"
}
],
"freeTextFindings": [],
"severity": "severe",
"comment": "Fixation nette en latéroflexion droite."
},
{
"id": "obs-demo-4",
"zones": [
{
"annotationId": "atm",
"viewId": "head",
"labelFrSnapshot": "Articulation temporo-mandibulaire (ATM)",
"labelEnSnapshot": "Temporomandibular joint (TMJ)"
},
{
"annotationId": "frontal",
"viewId": "head",
"labelFrSnapshot": "Frontal",
"labelEnSnapshot": "Frontal bone"
}
],
"findings": [
{
"findingZoneId": "frontal",
"path": [
"frontal-consultation-reasons",
"head-rubbing"
],
"labelFrSnapshot": "Frottements répétés de la tête rapportés",
"labelEnSnapshot": "Reported repeated head rubbing",
"requiresVetReferral": true
},
{
"findingZoneId": "atm",
"path": [
"atm-dysfunctions",
"articular",
"restriction-opening"
],
"labelFrSnapshot": "Restriction à l'ouverture",
"labelEnSnapshot": "Opening restriction"
}
],
"freeTextFindings": [],
"comment": ""
},
{
"id": "obs-demo-5",
"zones": [
{
"annotationId": "sacroiliac",
"viewId": "main",
"side": "right",
"labelFrSnapshot": "Articulation sacro-iliaque",
"labelEnSnapshot": "Sacroiliac joint"
},
{
"annotationId": "occipital",
"viewId": "head",
"labelFrSnapshot": "Occipital",
"labelEnSnapshot": "Occipital bone"
}
],
"findings": [],
"freeTextFindings": [
"Sensibilité au garrot",
"Tension du ligament nuchal"
],
"severity": "mild",
"comment": "Compensation probable."
},
{
"id": "obs-demo-6",
"zones": [
{
"annotationId": "lumbar",
"viewId": "main",
"vertebrae": [
{
"region": "L",
"index": 2
},
{
"region": "L",
"index": 3
}
],
"labelFrSnapshot": "Vertèbres lombaires",
"labelEnSnapshot": "Lumbar vertebrae"
},
{
"annotationId": "l6-s1",
"viewId": "main",
"labelFrSnapshot": "Charnière L6-S1 (lombo-sacrée)",
"labelEnSnapshot": "L6-S1 junction (lumbosacral joint)"
}
],
"findings": [
{
"findingZoneId": "lumbar",
"path": [
"lumbar-dysfunctions",
"segmental",
"restriction-extension"
],
"labelFrSnapshot": "Restriction en extension",
"labelEnSnapshot": "Extension restriction"
}
],
"freeTextFindings": [
"Raideur lombaire au pas"
],
"comment": ""
}
],
"conclusion": "Dysfonction cervico-thoracique avec compensation du bassin et tension crânienne associée.",
"recommendations": "Repos 3 jours puis reprise progressive ; contrôle vétérinaire pour les frottements de tête.",
"localAnnotations": [],
"nextAppointment": {
"kind": "date",
"date": "2026-11-20"
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.