rezanehzati commited on
Commit
160fb82
·
verified ·
1 Parent(s): 6a7fc05

Document verified PROCEDURE assets, immutable loading, lineage and private organizer access

Browse files
DATA_PROVENANCE.md ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Data provenance and disclosure boundary
2
+
3
+ This document covers the retained PROCEDURE candidate and its selected Dense48/Point320 lineage. It does not substitute the diet of another pfull, FRAME, SEGMENT, private-data continuation or later experimental checkpoint. [LINEAGE.json](LINEAGE.json) records exact evidence hashes and distinguishes recovered metadata, intended recipe, observed consumption and selected checkpoint bytes.
4
+
5
+ ## Selected adapter training records
6
+
7
+ | Record | Dense48 | Point320 specialist |
8
+ |---|---|---|
9
+ | Selected checkpoint | 12,910; final-save and checkpoint tensors match | Independently accepted terminal 12,910 |
10
+ | Initialization | Checkpoint 11,709, tensor SHA-256 `684922901db549df459e586e2d62f1535b3f6820cf6b62e7cf482a409e9ac60e` | Same exact initializer; fresh optimizer |
11
+ | Recorded recipe | 51,635 rows, eight ranks, seed 42, learning rate 0.0002, requested 48 frames, maximum side 576 | Same recorded geometry and learning rate; exact point-target-restored diet below |
12
+ | Proof limit | Recovery establishes selected tensor/config bytes and saved training metadata, not the exact historical corpus revision or complete per-rank input/update history | Actual terminal, consumed-input and reload evidence exists; it does not eliminate inherited exposure or annotation/decode limitations |
13
+
14
+ The selected Point diet is SHA-256 `3f14484182a01b7e5e8eafad437665cc7fb7975cbeb5511296e05147412ad081`: 51,635 rows over 128 source-video identities. Its preparation restored 4,164 target answers from checked organizer sources (2,089 native views and 2,075 middle views), preserving all current windows, question strings and other columns. It did not restore original windows or guarantee that an event appears in the sampled frames.
15
+
16
+ The source-lineage audit of the unchanged parent population binds 46,742 rows to organizer HeiCo/LapChole source material. A further 363 transfer rows bind to the paired parent rather than organizer faces. The 4,530 jury rows retain an unresolved original-annotation bridge. This is not a claim that every training row has a fully reconstructed original annotation source.
17
+
18
+ The Point runtime recorded 103,280 consumed examples across repeated training draws, not 103,280 unique rows. Of these, 78,788 realized 48 frames and 24,492 had a requested/realized mismatch; diagnostics also record 36 substitutions, ten jittered successes and 174,825 rejected blank frames. Completion is therefore not described as perfect data/render fidelity. Later corpus filtering cannot erase possible exposure inherited through checkpoint 11,709.
19
+
20
+ ## Named sources and restrictions
21
+
22
+ | Source | Relevant provenance | Distribution scope |
23
+ |---|---|---|
24
+ | [HeiCo-FOCUS-VQA](https://huggingface.co/datasets/orena-dkfz/heico-focus-vqa) | Organizer colorectal VQA training material and derived views/statistics. The audited parent source covers organizer track-specific training faces; no claim is made that every ancestor diet used the same revision. | The source records CC BY-NC-SA 4.0 plus a challenge-publication restriction. Historical campaign records preserve dataset-specific challenge-use rulings and annotation-delivery conditions; they are not a new redistribution grant or proof that an obligation has been completed. |
25
+ | [LapChole-FOCUS-VQA](https://huggingface.co/datasets/orena-dkfz/lapchole-focus-vqa) | Organizer laparoscopic cholecystectomy VQA training material, derived point views and the selected organizer-derived v39 prior. | Access and data handling are governed by the organizer Data Usage Agreement, not a generic open-data license. The published conditions restrict data sharing, public release and reidentification. Consult the original agreement for model/data distinctions. |
26
+ | Jury and transfer-derived rows | 4,530 jury rows retain an original-annotation gap; 363 transfer rows are traced to their paired parent. | Raw rows and source media are not distributed here. This unresolved history is not filled with an invented public-dataset attribution or a claim of complete clearance. |
27
+ | Private V2 surgery and its derivatives | A separately identified six-predicate diagnostic used for evaluation only; no qualified matched model-accuracy comparison resulted. | Evaluation-only; excluded from adaptation and training-rule selection. No V2 media or reference labels are included. |
28
+
29
+ The [PROCEDURE rules](https://procedure.orena-focus-challenge.org/rules/) and captured method-description form require actual data-source disclosure, including descriptions of private sources. This repository does not claim that the method form, architecture figure, restricted annotation handoff or publication obligations have been submitted or acknowledged. The current source pages are attribution/access references; they do not replace pinned historical training evidence.
30
+
31
+ ## Included derived runtime priors
32
+
33
+ The package includes six small JSON assets under `image_root/app/artifacts/` in addition to learned weights:
34
+
35
+ | File | Role and provenance limit |
36
+ |---|---|
37
+ | `train_modes.json` | Training modes by track, capability and answer format; no embedded dataset revision or complete derivation receipt. |
38
+ | `x11_stem_table.json` | PROCEDURE question-stem answer modes; no embedded dataset revision or complete derivation receipt. |
39
+ | `stem_table.json` | Track/capability/format/stem modes; source requires at least five training questions and 40% support, but the asset has no complete derivation receipt. |
40
+ | `fo_quadrant_priors_colorectal.json` | HeiCo colorectal spatial priors, attributed by the exact loader source; no embedded dataset revision. |
41
+ | `cholec_priors_v39_organizer.json` | Selected organizer LapChole prior derived using the shipped detector; embedded record describes 57 videos, 3,477 frames and 14,258 detections. This is the v39 artifact, not the historical CholecTrack20-derived v38 fallback. |
42
+ | `duration_priors.json` | HeiCo procedure-training duration constants. The constructor reads the asset, while the retained L16 applicability flag is disabled. |
43
+
44
+ ASSET_MANIFEST.json binds their bytes. These assets may contain source-derived answer modes and question stems; they are not described as purely learned parameters. Their embedded historical rulings are preserved as provenance rather than converted into a new legal conclusion.
45
+
46
+ ## What is withheld and what the scores mean
47
+
48
+ Private surgical media and evaluation banks are not distributed here. The original inference source may retain unit-test fixtures, and the above runtime priors are explicitly included. No raw Parquet/JSONL training dataset, per-question evaluation-output bank or evaluation gold is selected for this handoff.
49
+
50
+ The 1,087-question local development board was repeatedly used for model/inference selection. It contains zero challenge OOD rows and only one clinical-flagged row. Its local scores cannot establish a clinical accuracy estimate, untouched generalization, an official platform result or a finals rank. The retained failed rows and the distinction between historical and fresh native protocols are reported in README.md and EVALUATION_SUMMARY.json.
EVALUATION_SUMMARY.json ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "evaluation_gold_or_rows_included": false,
3
+ "fresh_native_protocol": {
4
+ "all_primary_outcomes_retained": 2174,
5
+ "external_process_pool": "120 + 30 * B seconds",
6
+ "failure_causes": {
7
+ "pfull_best_platform": {
8
+ "original_process_pool_timeout_rows": 124
9
+ },
10
+ "selected615": {
11
+ "stream_cap_rows": 28,
12
+ "validation_demotion_group_rows": 39
13
+ }
14
+ },
15
+ "profiles": {
16
+ "pfull_best_platform": {
17
+ "five_bucket_mean_exact": {
18
+ "denominator": 3272160,
19
+ "float": 0.46532229475331277,
20
+ "numerator": 1522609
21
+ },
22
+ "n": 1087,
23
+ "n_correct": 444,
24
+ "outcomes": {
25
+ "answered": 963,
26
+ "wrapper_failed": 124
27
+ },
28
+ "per_bucket_correct": {
29
+ "aggregation": 39,
30
+ "complex_reasoning": 13,
31
+ "event_understanding": 10,
32
+ "object_recognition": 267,
33
+ "temporal_grounding": 115
34
+ }
35
+ },
36
+ "selected615": {
37
+ "five_bucket_mean_exact": {
38
+ "denominator": 654432,
39
+ "float": 0.5593201432692778,
40
+ "numerator": 366037
41
+ },
42
+ "n": 1087,
43
+ "n_correct": 579,
44
+ "outcomes": {
45
+ "answered": 1020,
46
+ "wrapper_failed": 67
47
+ },
48
+ "per_bucket_correct": {
49
+ "aggregation": 53,
50
+ "complex_reasoning": 16,
51
+ "event_understanding": 10,
52
+ "object_recognition": 399,
53
+ "temporal_grounding": 101
54
+ }
55
+ }
56
+ },
57
+ "resources": {
58
+ "cpus": 16,
59
+ "gpu": "H100",
60
+ "host_memory_mib": 196608
61
+ }
62
+ },
63
+ "historical_local_protocol": {
64
+ "five_bucket_mean_exact": {
65
+ "denominator": 204510,
66
+ "float": 0.6191042002836047,
67
+ "numerator": 126613
68
+ },
69
+ "n": 1087,
70
+ "n_correct": 615,
71
+ "outcomes": {
72
+ "answered": 1087
73
+ },
74
+ "per_bucket_correct": {
75
+ "aggregation": 56,
76
+ "complex_reasoning": 18,
77
+ "event_understanding": 12,
78
+ "object_recognition": 416,
79
+ "temporal_grounding": 113
80
+ }
81
+ },
82
+ "independent_native_scoring_review": {
83
+ "bytes": 13528,
84
+ "sha256": "fb18091701d6dcbfc55abd1d646cd68ff29c9fad3b32a8273d2b49722e216515"
85
+ },
86
+ "joint_qualified_sensitivity": {
87
+ "comparator_correct": 421,
88
+ "n": 910,
89
+ "replaces_primary_population": false,
90
+ "selected_correct": 511
91
+ },
92
+ "limits": [
93
+ "Local selected development population; no untouched or challenge OOD generalization claim.",
94
+ "One clinical-flagged row cannot establish clinical quality.",
95
+ "Correlated question/video observations and repeated model selection limit rowwise comparisons.",
96
+ "Historical615 and fresh native579 are different protocols."
97
+ ],
98
+ "official_challenge_result": false,
99
+ "population": {
100
+ "challenge_ood_rows": 0,
101
+ "clinical_flagged_rows": 1,
102
+ "questions": 1087,
103
+ "used_during_development_and_selection": true,
104
+ "videos": 27
105
+ },
106
+ "schema": "procedure-final-local-evaluation-summary/1"
107
+ }
EXACT_DEPENDENCIES.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"packages": {"Pillow": "12.3.0", "accelerate": "1.14.0", "av": "16.1.0", "bitsandbytes": "0.50.1", "huggingface-hub": "1.29.0", "peft": "0.20.0", "safetensors": "0.8.0", "tokenizers": "0.22.2", "torch": "2.13.0", "transformers": "5.14.0"}, "python": "3.11.11 | packaged by conda-forge | (main, Dec 5 2024, 14:17:24) [GCC 13.3.0]"}
LICENSES.json ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "contact": "Reza Nehzati, Ph.D.",
3
+ "inactive_exclusions": {
4
+ "Qwen/Qwen3-VL-8B-Instruct": "Not in selected upload; its Apache-2.0 card was checked only to avoid confusing the inactive cached model with the selected foundation.",
5
+ "SAM_YOLO_ByteTrack": "No additional active selected weight artifact identified by exact source/asset map; do not import unrelated historical license inventories."
6
+ },
7
+ "overall_new_license_assigned_by_this_review": false,
8
+ "predecessor_license_provenance": {
9
+ "bytes": 4101,
10
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/LICENSES.json",
11
+ "sha256": "4e0bd85f6b2344dc545a430395c512f781254e0ee10ba60501db4646fa3bf29d"
12
+ },
13
+ "private_only": true,
14
+ "publisher": "HeyDonto Labs",
15
+ "repository_mapping_addendum": {
16
+ "bytes": 5043,
17
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/CACHE_MAPPING_B.json",
18
+ "sha256": "8dd7bdeb47c5fd2b0b001a917da42900d8f1e73f026a7f095980c0103dd7d394"
19
+ },
20
+ "retained_notices": [
21
+ "Retain the actual Qwen LICENSE and upstream copyright notice, model cards and the project modification description.",
22
+ "Model upstream licensing does not by itself establish redistribution rights for training videos, annotations, adapted weights or runtime priors.",
23
+ "Private access is the owner requested distribution setting, not a replacement for applicable upstream terms."
24
+ ],
25
+ "schema": "selected615-hf-upstream-license-provenance/1",
26
+ "training_data_scope": {
27
+ "dataset_redistribution_clearance_established": false,
28
+ "historical_owner_policy": {
29
+ "bytes": 3116,
30
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/history/trees/surgfield-save-focus-regimed/training/guards/nc_license_denylist.json",
31
+ "sha256": "0111fb7a2ff76f1f3552020bd447402974cee82d7cf3bfdc1f9b3d5780beaf27"
32
+ },
33
+ "historical_policy_reading": "Preserved policy records contain evaluation-only restrictions and later dataset-specific owner rulings. They are not a new permission to redistribute source data or evidence that every listed dataset is present in these selected adapters. Exact included v39 organizer-derived priors replace the inactive older CholecTrack20-derived v38 artifact.",
34
+ "lineage": {
35
+ "bytes": 22451,
36
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/LINEAGE_B.json",
37
+ "sha256": "4861d771843d543f75cd7a9d0440670f784f615522528b1504f17a6a3823367c"
38
+ },
39
+ "raw_data_in_upload": false,
40
+ "runtime_derived_statistics_in_upload": true
41
+ },
42
+ "upstream": [
43
+ {
44
+ "applies_to": "Upstream base/model metadata; selected saved int8 transformation should be disclosed as a modification.",
45
+ "baked_license_identical": true,
46
+ "declared_license": "Apache-2.0",
47
+ "license_text": {
48
+ "bytes": 11544,
49
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/upstream/qwen38_LICENSE.raw",
50
+ "sha256": "bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a"
51
+ },
52
+ "model_card": {
53
+ "bytes": 65012,
54
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/upstream/qwen38_README.raw",
55
+ "sha256": "57e4bdb258ee1a7d2635c5174ebd4e56abe392505cdb5f8bbb356b0dc4293641"
56
+ },
57
+ "repository": "Qwen/Qwen3.8-27B",
58
+ "revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
59
+ "url": "https://huggingface.co/Qwen/Qwen3.8-27B/resolve/1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0/LICENSE"
60
+ },
61
+ {
62
+ "applies_to": "Included OWL-V2 model/cache assets; model card declares Apache-2.0.",
63
+ "declared_license": "Apache-2.0",
64
+ "model_card": {
65
+ "bytes": 4840,
66
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/upstream/owlv2_README.raw",
67
+ "sha256": "a2e10c3916166f08eaf2ab43ca1eb63c6116df228dea655c56e4c8e1607ecfe9"
68
+ },
69
+ "repository": "google/owlv2-large-patch14-ensemble",
70
+ "revision": "95e26936e865f87db1742128404b3c035d47d89d",
71
+ "url": "https://huggingface.co/google/owlv2-large-patch14-ensemble/resolve/95e26936e865f87db1742128404b3c035d47d89d/README.md"
72
+ }
73
+ ],
74
+ "verification": {
75
+ "auth_used": false,
76
+ "license_assessment_type": "Primary upstream license and local provenance inventory; not a new legal opinion.",
77
+ "retrieval": {
78
+ "bytes": 4473,
79
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/upstream/RETRIEVAL.json",
80
+ "sha256": "27f3b5d0879dfb807b3028870d028ff214cefea008fcdc8d2a15372e4e23a919"
81
+ },
82
+ "tls_verified": true
83
+ }
84
+ }
LICENSE_PROVENANCE.md ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # License provenance
2
+
3
+ This document reports component terms and their evidence. It does not grant a new blanket license for the aggregate private package or assert that model, source, dataset and annotation terms are interchangeable.
4
+
5
+ | Component | Recorded terms or status | Evidence and scope |
6
+ |---|---|---|
7
+ | Qwen/Qwen3.8-27B upstream metadata and model | Apache License 2.0 | Revision `1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0`; original [LICENSE](image_root/app/artifacts/q38_base/LICENSE) and README match independently fetched pinned upstream bytes. |
8
+ | Prequantized Qwen base | Quantized derivative of the recorded Qwen base | Exact selected tensor/config hashes and quantization configuration are in ASSET_MANIFEST.json and LINEAGE.json. Retain the Qwen notices; no new aggregate-package license is declared here. |
9
+ | Dense48 and Point320 LoRA adapters | Team-selected adaptations with upstream and data provenance | Exact terminal checkpoint ancestry is in LINEAGE.json. The existence of an upstream Apache license does not establish unrestricted rights to all data-derived material. |
10
+ | google/owlv2-large-patch14-ensemble auxiliary cache | Apache License 2.0 as recorded by the model card | Pinned revision `95e26936e865f87db1742128404b3c035d47d89d`; [Google's original card](https://huggingface.co/google/owlv2-large-patch14-ensemble/blob/95e26936e865f87db1742128404b3c035d47d89d/README.md), matching cached SHA-256 `a2e10c3916166f08eaf2ab43ca1eb63c6116df228dea655c56e4c8e1607ecfe9`. |
11
+ | Team inference source | Preserved exact source; no additional blanket grant recorded by this document | All 84 selected file hashes are in SOURCE_MANIFEST.json. Existing notices remain intact. |
12
+ | Third-party Python/CUDA runtime | Per-package terms | Installed versions are observed in EXACT_DEPENDENCIES.json; the complete runtime is retained in the original OCI image rather than repackaged here. |
13
+ | Organizer/private data, annotations and six derived runtime priors | Source-specific access and usage terms | DATA_PROVENANCE.md and LINEAGE.json preserve the recorded sources, restrictions and remaining evidence limits. Private media and evaluation-bank payloads are excluded. |
14
+
15
+ The repository is private, and configured organizer read access is not a license grant or permission to make restricted data public. No `license: apache-2.0` label is applied to the whole model card merely because the base and auxiliary model report Apache terms. Original attribution and applicable license text must accompany components where redistribution is permitted.
16
+
17
+ The exact inventory's LICENSES.json is the machine-readable provenance companion. Dataset terms and any recorded challenge-specific permissions should be read at their original source; this document does not replace those instruments or declare a separate obligation completed.
LINEAGE.json ADDED
@@ -0,0 +1,406 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "asset_manifest": {
3
+ "bytes": 71837,
4
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/ASSET_MANIFEST_B.json",
5
+ "sha256": "bf9706c9c565dae44f5c3285c565490c89c84c44194d48130d39cfcbd238824d"
6
+ },
7
+ "auxiliary_detector": {
8
+ "both_weight_formats_retained": true,
9
+ "cache_root": "/app/.cache/huggingface/hub/models--google--owlv2-large-patch14-ensemble",
10
+ "initialization": {
11
+ "bytes": 21477,
12
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/container.py",
13
+ "sha256": "df39335c4843e814b354b2e587bf48a77aebbe88325be99a6f7e2f9e136474c7"
14
+ },
15
+ "load": "Owlv2Processor and Owlv2ForObjectDetection.from_pretrained(...,local_files_only=True), using exact cache refs/main.",
16
+ "only_one_loaded_format_proven": false,
17
+ "revision": "95e26936e865f87db1742128404b3c035d47d89d",
18
+ "separate_clip_download_required": false,
19
+ "source": {
20
+ "bytes": 8568,
21
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/detection.py",
22
+ "sha256": "9c8bfec8df2effb3b642c2bbd092dcecf837b851e81c45008c531e5dcc0a1a58"
23
+ },
24
+ "upstream_repository": "google/owlv2-large-patch14-ensemble"
25
+ },
26
+ "base": {
27
+ "actual_architectures": [
28
+ "Qwen3_5ForConditionalGeneration"
29
+ ],
30
+ "actual_model_type": "qwen3_5",
31
+ "evidence": "Exact revision config, README, and LICENSE are byte-identical to baked q38_base metadata; upstream README explains the Qwen3.5 architectural foundation. Repository and architecture names are distinct verified fields.",
32
+ "limitations": [
33
+ "PREQUANT_MANIFEST does not contain base_model_rev; matching metadata and training snapshot do not independently rederive every prequantized tensor from original upstream weights.",
34
+ "No bf16 base weight shards are in the selected q38_base metadata directory.",
35
+ "Extracted assets/source alone do not reproduce all OCI dependencies, filesystem ownership, and runtime environment."
36
+ ],
37
+ "prequant_manifest": {
38
+ "bytes": 1335,
39
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/metadata/artifacts/q38_base_int8_prequant/PREQUANT_MANIFEST.json",
40
+ "sha256": "7207316b0b252d832a685bc3345f589ed809013680279e8c2f601a660a924271"
41
+ },
42
+ "prequant_source_image": "us-central1-docker.pkg.dev/heydonto-425716/surgfield/surgfield-proc-finals-q38@sha256:2f27588bdde87ab9ed168f82daaef41007fbf9306c78da5eb2f10c1c7616621f",
43
+ "processor_path": "/app/artifacts/q38_base",
44
+ "quantization": "Saved bitsandbytes int8; local-only from_pretrained consumes saved quantization config, not a freshly created quantization recipe.",
45
+ "quantized_config": {
46
+ "bytes": 4169,
47
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/metadata/artifacts/q38_base_int8_prequant/config.json",
48
+ "sha256": "e3943d663db8686a81a987ac31f6edcaf940cdf622c7df57ba0c1795f76df55c"
49
+ },
50
+ "revision": "1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0",
51
+ "upstream_metadata_retrieval": {
52
+ "bytes": 4473,
53
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/upstream/RETRIEVAL.json",
54
+ "sha256": "27f3b5d0879dfb807b3028870d028ff214cefea008fcdc8d2a15372e4e23a919"
55
+ },
56
+ "upstream_repository": "Qwen/Qwen3.8-27B",
57
+ "weight_path": "/app/artifacts/q38_base_int8_prequant/model.safetensors"
58
+ },
59
+ "contact": "Reza Nehzati, Ph.D.",
60
+ "dense48": {
61
+ "configuration": {
62
+ "bytes": 1135,
63
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/metadata/artifacts/proc_q38_dense48_ck12910/adapter_config.json",
64
+ "sha256": "52e9ce4678fc4bcf4e717245952665c921c13a28247c67b679eeafdb25c4f6f8"
65
+ },
66
+ "download_receipt": {
67
+ "bytes": 8411,
68
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/evidence/arm_runtime_2026-09-07/recovery/DOWNLOAD_RECEIPT.json",
69
+ "sha256": "9288bc2db9e16e6ea00dc0a314e37d681e54a4750632e4b39022f1ea7b56d2c3"
70
+ },
71
+ "image_directory": "/app/artifacts/proc_q38_dense48_ck12910",
72
+ "independent_recovery": {
73
+ "bytes": 11671,
74
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/evidence/arm_runtime_2026-09-07/recovery/INDEPENDENT_REVIEW.json",
75
+ "sha256": "0d8ce2d5f459a6e5d14663731db3176e33faa3c8cdcaddd169dec9ea7e89ea15"
76
+ },
77
+ "initializer": "/work/proc/main/checkpoint-11709",
78
+ "initializer_model_sha256": "684922901db549df459e586e2d62f1535b3f6820cf6b62e7cf482a409e9ac60e",
79
+ "limits": [
80
+ "Historical recovered train metadata and saved/final byte equality are available; do not upgrade that recovery to complete historical per-rank optimizer/input proof.",
81
+ "Exact historical Dense training-corpus revision is not established by this metadata record alone; do not substitute the later quality-original corpus.",
82
+ "Writer decode_fallback_stats=0 does not prove no fallback on every worker."
83
+ ],
84
+ "lora_alpha": 64,
85
+ "lora_rank": 32,
86
+ "lr": 0.0002,
87
+ "max_side": 576,
88
+ "model_sha256": "500126c5a3a7e813483929225bf2321c82f8a5b59c32ed8aac268db34ab7c4fe",
89
+ "n_train": 51635,
90
+ "optimizer_resume_claimed": false,
91
+ "requested_frames": 48,
92
+ "role": "Default adapter attached to selected prequantized base.",
93
+ "saved_epoch": 2,
94
+ "seed": 42,
95
+ "terminal_step": 12910,
96
+ "training_metadata": {
97
+ "bytes": 936,
98
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/evidence/arm_runtime_2026-09-07/recovery/train_meta_dense48.json",
99
+ "sha256": "b27e4bf8f3620f053f7ef783c0903305b63003f1e90830e0d62ce89a0c710d1c"
100
+ },
101
+ "world_size": 8
102
+ },
103
+ "disclosures": [
104
+ "The upload includes learned model weights AND training/annotation-derived inference priors/stem statistics; it is not only weights.",
105
+ "No raw training videos, raw Parquet/JSONL question datasets, per-question evaluation outputs or evaluation gold are selected for upload. Derived runtime priors may contain source-derived answer modes and question stems.",
106
+ "Historical cached Qwen3-VL-8B, cholec_adapter, checkpoint13246 and optimizer/RNG states are excluded; their names in stale baked environment metadata do not make them selected active weights.",
107
+ "SURGFIELD_NATIVE_VIDEO=0 disables the historical second temporal slot; do not invent a required temporal_adapter directory.",
108
+ "This provenance review is not a training-data redistribution license or blanket legal clearance."
109
+ ],
110
+ "exact_dependencies": {
111
+ "bytes": 333,
112
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/EXACT_DEPENDENCIES.json",
113
+ "sha256": "e9345708c455fd7b275781736f6aac2f23621e0251bab8484a8840dacf2bf5ca"
114
+ },
115
+ "hf_asset_revision": "6a7fc05f196b98d751e3a14775d60f1161166d2a",
116
+ "image_config_digest": "sha256:8d3bbd92c7ef8f73ff058382bef1b8523ec55961b831422c1fb04226b31b35d5",
117
+ "image_identity": {
118
+ "bytes": 5975,
119
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/IMAGE_IDENTITY.json",
120
+ "sha256": "913403bda9aea20157c859fa92566e20185a45a18a82ec83ebfb67f4e36dabf7"
121
+ },
122
+ "metadata_derivation": {
123
+ "asset_commit_creation_claimed": true,
124
+ "change": "Add actual immutable HF asset commit and explicit selected image config; original lineage/evidence fields preserved.",
125
+ "cpu_qualification": {
126
+ "bytes": 183011,
127
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/procedure/review/hf_final_20260911/readback_cpu_actual_b/RESULT.json",
128
+ "sha256": "c8440ff025d0ea7135066db41d681b2acba5c8c72e849ffd9bf6a4a303b89f45"
129
+ },
130
+ "cpu_qualification_scope": "Actual readback files/aliases, local configurations/processors, and all640 adapter headers; no whole-model/GPU/quality acceptance.",
131
+ "independent_remote_readback_claimed": true,
132
+ "remote_readback": {
133
+ "bytes": 24367,
134
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/procedure/review/hf_final_20260911/cloud_upload_a/HF_FULL_READBACK.json",
135
+ "sha256": "14810b6e1436b868c130d8d0e150cb3afceb35685e8b5cbdf0b63e65f04730fb"
136
+ },
137
+ "remote_readback_scope": "Fresh HF download and full SHA-256 for all 136 uploaded files; no component or whole-model load claim.",
138
+ "source_lineage": {
139
+ "bytes": 22451,
140
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/LINEAGE_B.json",
141
+ "sha256": "4861d771843d543f75cd7a9d0440670f784f615522528b1504f17a6a3823367c"
142
+ }
143
+ },
144
+ "point_specialist": {
145
+ "acceptance_summary": {
146
+ "bytes": 1071,
147
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/review/quality_terminal_custody_20260909/point_acceptance_a/SUMMARY.json",
148
+ "sha256": "7e3b1eaaa48d358793f47db2f7a15629acc83e9f60f9ba653597da5cf146f2ac"
149
+ },
150
+ "actual_consumed_rows": 103280,
151
+ "actual_elements": 61865984,
152
+ "actual_tensors": 320,
153
+ "actual_updates_per_rank": 12910,
154
+ "configuration": {
155
+ "bytes": 1135,
156
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/metadata/artifacts/proc_q38_point_ck12910/adapter_config.json",
157
+ "sha256": "52e9ce4678fc4bcf4e717245952665c921c13a28247c67b679eeafdb25c4f6f8"
158
+ },
159
+ "data": {
160
+ "comparison_contract": {
161
+ "bytes": 2167,
162
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/runtime/q38/quality_data_20260909/COMPARISON_CONTRACT.json",
163
+ "sha256": "4763a0c5c07723eeca39a949120ccea3e44fdae3b48eaf6bd56129ea299bdfd9"
164
+ },
165
+ "current_windows_preserved": true,
166
+ "derivation_description": {
167
+ "bytes": 2203,
168
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/runtime/q38/quality_data_20260909/README.md",
169
+ "sha256": "eff7e81e7c0c4f81fac97ceccf85c5fef024de93b17cf337f5981b12fe6c32bf"
170
+ },
171
+ "diet_sha256": "3f14484182a01b7e5e8eafad437665cc7fb7975cbeb5511296e05147412ad081",
172
+ "original_windows_restored": false,
173
+ "raw_dataset_uploaded": false,
174
+ "restored_A_mid": 2075,
175
+ "restored_A_native": 2089,
176
+ "rows": 51635,
177
+ "source_proposal": {
178
+ "bytes": 2680,
179
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/runtime/q38/quality_data_20260909/INPUTS.PROPOSED.json",
180
+ "sha256": "c2e6ddc44a527d123486908d6c9557af800ee5e3a254a828145cadacfe4eb3d3"
181
+ },
182
+ "source_videos": 128,
183
+ "target_answers_restored": 4164,
184
+ "unresolved_jury_annotation_bridge_rows": 4530
185
+ },
186
+ "image_directory": "/app/artifacts/proc_q38_point_ck12910",
187
+ "independent_acceptance": {
188
+ "bytes": 141515,
189
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/review/quality_terminal_custody_20260909/point_acceptance_a/REVIEW.json",
190
+ "sha256": "6c7308b48e28fd01aa5d7a395ba6b99701d0a0af27000b6f6c0f45b51e5e52d0"
191
+ },
192
+ "initializer": "/work/proc/main/checkpoint-11709",
193
+ "initializer_model_sha256": "684922901db549df459e586e2d62f1535b3f6820cf6b62e7cf482a409e9ac60e",
194
+ "limits": [
195
+ "Preserve the 4530-row original-annotation bridge gap; target restoration did not restore original windows or prove event visibility.",
196
+ "Later corpus decontamination does not erase possible exposure in inherited checkpoint11709.",
197
+ "Training closure/fresh reload does not establish untouched out-of-distribution or clinical efficacy."
198
+ ],
199
+ "lora_alpha": 64,
200
+ "lora_rank": 32,
201
+ "lr": 0.0002,
202
+ "max_side": 576,
203
+ "model_sha256": "24762d93abdd35704e0087feefb5a9e4d0794d6b7cea39d0df195f93829481a7",
204
+ "n_train": 51635,
205
+ "optimizer_resume_claimed": false,
206
+ "point320_means": "320 adapter tensors; not 320 training steps.",
207
+ "producer_evidence": {
208
+ "bytes": 74338,
209
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/review/quality_terminal_custody_20260909/point_actual_a/capture/raw/evidence/ARM_Q38_EVIDENCE.json",
210
+ "sha256": "8f7265921316784b760f8638babe318b417bbf2ef9a0f9cfd65c54fa7ede41db"
211
+ },
212
+ "requested_frames": 48,
213
+ "role": "Second point_object adapter on same base; source runtime controller selects object capabilities and restores default adapter.",
214
+ "seed": 42,
215
+ "tensor_fingerprint": "813714323f3ad235669e2872f693c5a0f2b57faed544f824a3641cdd3592460c",
216
+ "terminal_step": 12910,
217
+ "training_decode_diagnostics": {
218
+ "blank_frames_rejected": 174825,
219
+ "consumed_at48frames": 78788,
220
+ "jittered_successes": 10,
221
+ "not_all_examples_realized48frames": true,
222
+ "requested_realized_mismatch": 24492,
223
+ "source": {
224
+ "bytes": 2355,
225
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/review/quality_terminal_custody_20260909/point_actual_a/TRAINING_DIAGNOSTICS.json",
226
+ "sha256": "fbebbe51a5629aad16053fe587f59303dadbb16c18595c4f5e7278a00580255d"
227
+ },
228
+ "substitutions": 36
229
+ },
230
+ "training_metadata": {
231
+ "bytes": 1566,
232
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/training/review/quality_terminal_custody_20260909/point_actual_a/capture/raw/checkpoints/train_meta.json",
233
+ "sha256": "b5fb7c0bee3a8cf472b3ebec24206c4bd9c91f8c0817e20505720003f9e790af"
234
+ },
235
+ "world_size": 8
236
+ },
237
+ "predecessor_lineage": {
238
+ "bytes": 21723,
239
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/LINEAGE.json",
240
+ "sha256": "0f188e13b76d4f618978e751e1a282db53142b6557abf3083dd63dcf7d52ab21"
241
+ },
242
+ "private_only": true,
243
+ "publisher": "HeyDonto Labs",
244
+ "repository": "HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL",
245
+ "repository_mapping_addendum": {
246
+ "bytes": 5043,
247
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/CACHE_MAPPING_B.json",
248
+ "sha256": "8dd7bdeb47c5fd2b0b001a917da42900d8f1e73f026a7f095980c0103dd7d394"
249
+ },
250
+ "repository_mapping_note": "HF forbids .cache path components: OWL destination is image_root/app/hf_cache. Original /app/.cache paths, aliases and selected image identity remain unchanged. Mapping is storage-only; reconstruct original runtime paths explicitly.",
251
+ "runtime_priors": {
252
+ "/app/artifacts/cholec_priors_v39_organizer.json": {
253
+ "classification": "training_or_annotation_derived_runtime_statistics",
254
+ "embedded_provenance": {
255
+ "n_videos": 57,
256
+ "provenance": {
257
+ "behavior_delta_named": "cap1d_oe_default changes '1. Clip: top/right' (v38) -> '1. Specimen: top/left' (organizer-derived) \u2014 priced by the paired no-harm read banked beside this artifact",
258
+ "derivation_run": "modal cholec-priors-regen v3, 2026-08-24 (~15:2xZ), L40S, d8e1e188 image + committed solution overlay",
259
+ "dua_reading": "lapchole-train processed on OUR OWN Modal compute is lawful \u2014 the DUA fence forbids external-API sends, and this never leaves our tenancy (coordinator-countersigned 2026-08-24)",
260
+ "instrument": "THE SHIP'S OWN detector (solution/detection.py Owlv2Detector + FOCUS_PROMPTS + its quadrant binning) \u2014 priors derived by the exact instrument that consumes them",
261
+ "recipe_fidelity": "v38 params held: min_confidence 0.2, 61 frames/video uniform; the ONE change is the ruled source swap",
262
+ "ruling": "Reza 2026-08-24 (hybrid): keep/disclose v38 in old finished models; REPLACE in all new models",
263
+ "run_postmortems": [
264
+ "v1: upload dep missing in-image (return-first cure)",
265
+ "v2: detection schema guessed not read \u2014 14,258 dets aggregated to zero (read-the-docstring cure)"
266
+ ]
267
+ },
268
+ "source": "ORGANIZER lapchole train videos (m5_phaseB_train77 subset), OWL-V2-large zero-shot via the SHIP detector (solution/detection.py), recipe-faithful to v38 params; replaces CholecTrack20-sourced v38 per the 2026-08-24 ruling"
269
+ },
270
+ "file": {
271
+ "bytes": 3920,
272
+ "image_path": "/app/artifacts/cholec_priors_v39_organizer.json",
273
+ "repo_path": "image_root/app/artifacts/cholec_priors_v39_organizer.json",
274
+ "sha256": "9780988bdba5fbb69fda26bc11efba00bf5bda4bb8981ef53c46b85fc8cbc721"
275
+ },
276
+ "role": "OWL-V2-derived quadrant/presence/density statistics on organizer lapchole training videos.",
277
+ "scope_limits": "Actual artifact names m5_phaseB_train77 subset:57 videos,3477 frames,14258 detections,confidence0.2. Its embedded historical owner ruling is provenance, not a new independent legal conclusion.",
278
+ "source_loader": {
279
+ "bytes": 9607,
280
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
281
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
282
+ }
283
+ },
284
+ "/app/artifacts/duration_priors.json": {
285
+ "classification": "training_or_annotation_derived_runtime_statistics",
286
+ "embedded_provenance": {
287
+ "_doc": "PROC 2b duration constant per procedure_type, fitted to maximize train hits under orena Time \u00b15s. Consumed by L16 (pipeline/layers/duration_constant.py). Re-fit on cholec batch-2 via eval/scripts/fit_duration_prior.py <cholec-train.parquet>.",
288
+ "_fitted_from": "heico-focus-vqa procedure/train.parquet (HF orena-dkfz/heico-focus-vqa; see MODELS.md)"
289
+ },
290
+ "file": {
291
+ "bytes": 508,
292
+ "image_path": "/app/artifacts/duration_priors.json",
293
+ "repo_path": "image_root/app/artifacts/duration_priors.json",
294
+ "sha256": "d59b2a1226f03c114976bca7a3c4ecf7dab4e93c739a1f9c9e313ca0e897f312"
295
+ },
296
+ "role": "Procedure duration constants fitted to heico-focus-vqa procedure/train.parquet under +/-5s tolerance.",
297
+ "scope_limits": "Constructor reads this file; selected L16 applicability is disabled. Not a newly enabled inference intervention.",
298
+ "source_loader": {
299
+ "bytes": 9607,
300
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
301
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
302
+ }
303
+ },
304
+ "/app/artifacts/fo_quadrant_priors_colorectal.json": {
305
+ "classification": "training_or_annotation_derived_runtime_statistics",
306
+ "embedded_provenance": {},
307
+ "file": {
308
+ "bytes": 849,
309
+ "image_path": "/app/artifacts/fo_quadrant_priors_colorectal.json",
310
+ "repo_path": "image_root/app/artifacts/fo_quadrant_priors_colorectal.json",
311
+ "sha256": "0299f175494ce7255bb6488093781f0a25d3e44c5221545bd0e623830bb72fdd"
312
+ },
313
+ "role": "Foreign-object quadrant probabilities from HeiCo colorectal training data.",
314
+ "scope_limits": "This file has no embedded dataset revision; attribution is from the exact source loader docstring.",
315
+ "source_loader": {
316
+ "bytes": 9607,
317
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
318
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
319
+ }
320
+ },
321
+ "/app/artifacts/stem_table.json": {
322
+ "classification": "training_or_annotation_derived_runtime_statistics",
323
+ "embedded_provenance": {},
324
+ "file": {
325
+ "bytes": 6342,
326
+ "image_path": "/app/artifacts/stem_table.json",
327
+ "repo_path": "image_root/app/artifacts/stem_table.json",
328
+ "sha256": "3cd4120e0a637293ce10f6d46224fa7bb894325b7f965c385009aa02dee90acc"
329
+ },
330
+ "role": "All-track question-stem answer modes; source says at least five training questions and >=40% support.",
331
+ "scope_limits": "Source describes training-derived constants; this file has no embedded dataset revision or full derivation receipt.",
332
+ "source_loader": {
333
+ "bytes": 9607,
334
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
335
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
336
+ }
337
+ },
338
+ "/app/artifacts/train_modes.json": {
339
+ "classification": "training_or_annotation_derived_runtime_statistics",
340
+ "embedded_provenance": {},
341
+ "file": {
342
+ "bytes": 2127,
343
+ "image_path": "/app/artifacts/train_modes.json",
344
+ "repo_path": "image_root/app/artifacts/train_modes.json",
345
+ "sha256": "34aede7983742bea062ea1557dc91998fd03b93cb04311540079c10045e92d57"
346
+ },
347
+ "role": "Per track/capability/format training truth modes.",
348
+ "scope_limits": "Source describes training-derived constants; this file has no embedded dataset revision or full derivation receipt.",
349
+ "source_loader": {
350
+ "bytes": 9607,
351
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
352
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
353
+ }
354
+ },
355
+ "/app/artifacts/x11_stem_table.json": {
356
+ "classification": "training_or_annotation_derived_runtime_statistics",
357
+ "embedded_provenance": {},
358
+ "file": {
359
+ "bytes": 8309,
360
+ "image_path": "/app/artifacts/x11_stem_table.json",
361
+ "repo_path": "image_root/app/artifacts/x11_stem_table.json",
362
+ "sha256": "0be76a1c0ea4530414c33cf91aa1707d76a91a6c1fb8c3bf4df7ccf4d5add823"
363
+ },
364
+ "role": "Procedure question-stem answer modes.",
365
+ "scope_limits": "Source describes training-derived constants; this file has no embedded dataset revision or full derivation receipt.",
366
+ "source_loader": {
367
+ "bytes": 9607,
368
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/priors.py",
369
+ "sha256": "b35cb57c886bfdb033b92f3ab51f9c07952e60ff5682c9b0eaea9f95859c29a1"
370
+ }
371
+ }
372
+ },
373
+ "runtime_sources": {
374
+ "runtime_zoom_entry.py": {
375
+ "bytes": 4645,
376
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/runtime_zoom_entry.py",
377
+ "sha256": "ac44daa78b946456a755b44c40c06ea07ea8708206d64b98fd2bcb25039f43e5"
378
+ },
379
+ "solution/layers/duration_constant.py": {
380
+ "bytes": 3862,
381
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/layers/duration_constant.py",
382
+ "sha256": "8c9bdd828635b87fd56e54b5afffd616d0deff3ea284336e36328c209ae4293f"
383
+ },
384
+ "solution/layers/vlm_cholec.py": {
385
+ "bytes": 64217,
386
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/layers/vlm_cholec.py",
387
+ "sha256": "44df3d7ca03f6e96460334ef59ffb988538b6be0d926cfe359e67728c79a9f7f"
388
+ },
389
+ "solution/object_specialist.py": {
390
+ "bytes": 10032,
391
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/solution/object_specialist.py",
392
+ "sha256": "3b684cbf7e3581bf63b559cb393294a6c088d84e851d783f676d419d0be196ad"
393
+ },
394
+ "verify_vehicle.py": {
395
+ "bytes": 13796,
396
+ "path": "/Users/rezanehzati/Projects/orena-finals/packages/foundation-q38/review/exact615_platform_compatibility_20260910/cpu_source_a/source/app/verify_vehicle.py",
397
+ "sha256": "225f06c54f4fbff02cfa88391aefe04a6449c35c9a43bcb86d33a5969175d9d0"
398
+ }
399
+ },
400
+ "schema": "selected615-hf-lineage/1",
401
+ "source_manifest": {
402
+ "bytes": 52053,
403
+ "path": "/private/tmp/orena-selected615-hf-inventory-20260911-decode-a/SOURCE_MANIFEST.json",
404
+ "sha256": "df1cf7f38c87eae4719b721a7f4a6e7c1d19d9c59d33d065808f9976d937afd5"
405
+ }
406
+ }
LOAD.md ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Loading the retained PROCEDURE assets
2
+
3
+ Repository: `HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL`.
4
+
5
+ ## Pin the asset revision
6
+
7
+ The private asset commit is pinned below. A fresh Hugging Face download verified all 136 uploaded files (33,969,040,571 bytes) against their full SHA-256 values at 2026-09-10 22:20 UTC. The readback receipt SHA-256 is `14810b6e1436b868c130d8d0e150cb3afceb35685e8b5cbdf0b63e65f04730fb`. A subsequent CPU qualification on that downloaded snapshot passed in 37.203 seconds: all 130 asset/source files and 11 aliases reverified, Qwen3_5Config/Qwen3VLProcessor and Owlv2Config/Owlv2Processor loaded locally, and all 640 adapter tensor headers checked. Its result SHA-256 is `c8440ff025d0ea7135066db41d681b2acba5c8c72e849ffd9bf6a4a303b89f45`. These checks did not load the whole model or perform GPU generation.
8
+
9
+ ```text
10
+ ASSET_REVISION=6a7fc05f196b98d751e3a14775d60f1161166d2a
11
+ ```
12
+
13
+ A later metadata/documentation commit may contain this guide while referring back to this asset commit. Record both commits when reproducing an experiment; do not substitute `main` or a movable tag. The initial empty repository commit is not the asset release.
14
+
15
+ For an account granted read access to the private repository, use locally configured Hugging Face authentication. Do not paste a token into this guide or into a command that is stored in logs.
16
+
17
+ ```python
18
+ import re
19
+ from huggingface_hub import snapshot_download
20
+
21
+ ASSET_REVISION = "6a7fc05f196b98d751e3a14775d60f1161166d2a"
22
+ if not re.fullmatch(r"[0-9a-f]{40}", ASSET_REVISION):
23
+ raise SystemExit("Set a full immutable asset commit before downloading")
24
+
25
+ snapshot = snapshot_download(
26
+ repo_id="HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL",
27
+ repo_type="model",
28
+ revision=ASSET_REVISION,
29
+ local_dir="procedure-final-assets",
30
+ )
31
+ print(snapshot)
32
+ ```
33
+
34
+ The official [Hugging Face download guide](https://huggingface.co/docs/huggingface_hub/guides/download) documents downloading a snapshot at a specific revision. No network access is required during the retained image's inference; repository download is a separate acquisition step.
35
+
36
+ ## Preserve the image paths
37
+
38
+ Most files are stored under `image_root/` with their original absolute image path made relative: `/app/artifacts/...` becomes `image_root/app/artifacts/...`, and `/app/runtime_zoom_entry.py` becomes `image_root/app/runtime_zoom_entry.py`. The [ASSET_MANIFEST.json](ASSET_MANIFEST.json) lists 46 physical asset files totaling 33,967,875,210 bytes and 11 relative OWLv2 snapshot aliases. [SOURCE_MANIFEST.json](SOURCE_MANIFEST.json) lists the 84 exact selected source files. [IMAGE_IDENTITY.json](IMAGE_IDENTITY.json) binds the native environment and original archive. Both OWLv2 weight formats are retained by the asset inventory; this is a conservative complete cache set, not a minimum-file claim. Hugging Face disallows a `.cache` repository path segment, so the OWLv2 cache alone is stored under `image_root/app/hf_cache/` instead of its original `/app/.cache/`. The manifests preserve both `image_path` and `repo_path`, and aliases explicitly record `resolved_repo_path`. These manifests supply every selected path, byte size and SHA-256. Verify those values before using any component; directory names and adapter configuration alone do not establish tensor identity. Download canonical physical files once, then recreate the eleven relative aliases exactly from their repository mappings when reconstructing the cache. To restore the original image filesystem semantics in a separately assembled root, map the contents of `image_root/app/hf_cache/` back to `/app/.cache/`, preserving the relative links. Do not edit the baked `HF_HOME=/app/.cache/huggingface` configuration and call that an unchanged native run; this package does not overwrite a running container automatically. Never turn an alias into an unrelated model download.
39
+
40
+ Run the bundled verifier from the trusted documentation checkout against the downloaded snapshot:
41
+
42
+ ```bash
43
+ python3 -B verify_files.py procedure-final-assets --restore-aliases
44
+ ```
45
+
46
+ It authenticates both manifests, streams the SHA-256 of all 130 selected physical asset/source files, and verifies or creates the eleven prescribed relative aliases. It refuses a mismatched existing alias rather than overwriting it. Without `--restore-aliases` it performs read-only verification. The pass result is file verification, not a model-load or GPU-runtime result.
47
+
48
+ The Dense48 and Point320 adapters are distinct 247,513,400-byte files even though their 1,135-byte configuration files match. Both use the selected checkpoint 12,910. Do not merge, rename or exchange them, substitute another base revision, regenerate int8 weights, or install a later research adapter when reproducing this candidate.
49
+
50
+ ## Load the model components for inspection or custom research
51
+
52
+ The exact image reports Python **3.11.11** and the following installed versions: Transformers **5.14.0**, PEFT **0.20.0**, Torch **2.13.0**, bitsandbytes **0.50.1**, Accelerate **1.14.0**, safetensors **0.8.0**, tokenizers **0.22.2**, huggingface-hub **1.29.0**, Pillow **12.3.0**, and PyAV **16.1.0**. These are observed installed versions, not the older `PYTORCH_VERSION` environment label. Matching these numbers alone does not reconstruct the CUDA libraries or full image.
53
+
54
+ [load_components.py](load_components.py) is a concrete CUDA component-loading example derived from the shipped `vlm_cholec.py` and `object_specialist.py` calls. It verifies the extracted files, loads the processor from `image_root/app/artifacts/q38_base`, loads the existing prequantized base from `q38_base_int8_prequant`, attaches Dense48 as `default`, and loads Point320 as `point_object` while preserving RNG state for that second attachment. It does not supply a new quantization configuration or merge the adapters.
55
+
56
+ ```python
57
+ from load_components import load
58
+
59
+ processor, model = load("procedure-final-assets")
60
+ # Dense48 is active initially. For a custom component-level experiment:
61
+ try:
62
+ model.set_adapter("point_object", inference_mode=True)
63
+ model.eval()
64
+ # Prepare authorized inputs with processor, then call model.generate(...).
65
+ finally:
66
+ model.set_adapter("default", inference_mode=True)
67
+ model.eval()
68
+ ```
69
+
70
+ For a separate auxiliary-detector component experiment, use the relocated, exact OWLv2 snapshot rather than a model name resolved through the network:
71
+
72
+ ```python
73
+ from pathlib import Path
74
+ from transformers import Owlv2Processor, Owlv2ForObjectDetection
75
+
76
+ owl_path = (
77
+ Path("procedure-final-assets").resolve()
78
+ / "image_root/app/hf_cache/huggingface/hub"
79
+ / "models--google--owlv2-large-patch14-ensemble/snapshots"
80
+ / "95e26936e865f87db1742128404b3c035d47d89d"
81
+ )
82
+ owl_processor = Owlv2Processor.from_pretrained(str(owl_path), local_files_only=True)
83
+ owl_model = Owlv2ForObjectDetection.from_pretrained(
84
+ str(owl_path), local_files_only=True
85
+ ).to("cuda")
86
+ owl_model.eval()
87
+ ```
88
+
89
+ This optional snippet follows the original detector's processor/model API and assumes the manifest verifier has restored the cache aliases. It is not a second whole-pipeline qualification.
90
+
91
+ The example checks exact package versions and CUDA availability. Its API sequence was checked with explicit CPU doubles and source-call comparison. Actual downloaded-asset CPU configuration, processor and header checks passed separately; the CUDA component-loading function itself has not been executed as a new GPU load. It intentionally does not recreate the native question router, warmups, per-request controller witnesses, input shell or temporal budget policy. Use the unchanged image below for the demonstrated end-to-end behavior.
92
+
93
+ ## Reproduce the demonstrated runtime
94
+
95
+ The extracted files are not a standalone operating-system or Python environment. Loading them with an arbitrary current Transformers/PEFT installation is not the qualified native runtime. The reference is the retained OCI image:
96
+
97
+ ```text
98
+ us-central1-docker.pkg.dev/heydonto-425716/surgfield/surgfield-proc-q38-validation@sha256:32d4f04c32fc304888b0571ce76a332c8d2fe8d2e4aac262de9709dca07f4291
99
+ ```
100
+
101
+ Its image configuration is `sha256:8d3bbd92c7ef8f73ff058382bef1b8523ec55961b831422c1fb04226b31b35d5`. The retained archive has SHA-256 `d633c21f620c4e4afbdd6dadb181dfc4d41a4fc446a6dbede1718cd949ac6acc` and size 52,710,560,644 bytes. Registry/GCS access is managed separately from private Hugging Face access; the full archive is not duplicated in this asset repository.
102
+
103
+ The original default command is `/opt/conda/bin/python -B /app/runtime_zoom_entry.py --submission`, working directory `/app`, UID/GID 1000. The shell reads `/input/request.json`, organizer `/input/FO_definitions.json` and the supplied video layout, and writes `/output/answer.json` containing `{qID, content, latency}` records. Preserve the original input contract and use only data you are authorized to process. Private evaluation fixtures and reference answers are not supplied here.
104
+
105
+ The published native checks used an H100 and, for the fresh full-board comparison, 16 CPUs with 196,608 MiB host memory. Those resources describe that experiment; they are not a proven minimum or a claim that every deployment meets the original process budget. Preserve the image's default entrypoint, flags and environment for an exact comparison.
MODIFICATIONS.md ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Modifications and selected-runtime scope
2
+
3
+ Prepared by **HeyDonto Labs** for `HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL`. Contact: **Reza Nehzati, Ph.D.**
4
+
5
+ The handoff extracts selected files from image configuration `8d3bbd92c7ef8f73ff058382bef1b8523ec55961b831422c1fb04226b31b35d5`. Extraction preserves file bytes. It does not merge adapters, quantize a new base, edit the inference source, or turn a later research branch into the retained candidate.
6
+
7
+ ## Model adaptation
8
+
9
+ The selected runtime records upstream `Qwen/Qwen3.8-27B` with actual configuration architecture `Qwen3_5ForConditionalGeneration`. It uses a prequantized bitsandbytes int8 vision-language base and two separate LoRA adapters, Dense48 and Point320, selected at checkpoint 12,910. Each selected adapter has rank 32, alpha 64 and dropout 0.05. “Point320” names its 320-tensor adapter payload, not 320 training updates. The selected Point adapter completed 12,910 optimizer updates; it is the point-target-restored quality arm, distinct from later private-data continuation experiments. The base's recorded model identifier and its actual architecture field must both be retained in the inventory; the family name is not a substitute for configuration and tensor hashes.
10
+
11
+ Dense48 is the default selected adapter; Point320 is separately loaded for the configured specialist route. The combined selected adapter payload and runtime lock are checked as distinct parts of the release. Exact model and source inventories define the release; files with similar directory or checkpoint names are not equivalent.
12
+
13
+ ## Selected tensor files
14
+
15
+ | Original image path | Bytes | SHA-256 |
16
+ |---|---:|---|
17
+ | `/app/artifacts/proc_q38_dense48_ck12910/adapter_model.safetensors` | 247,513,400 | `500126c5a3a7e813483929225bf2321c82f8a5b59c32ed8aac268db34ab7c4fe` |
18
+ | `/app/artifacts/proc_q38_point_ck12910/adapter_model.safetensors` | 247,513,400 | `24762d93abdd35704e0087feefb5a9e4d0794d6b7cea39d0df195f93829481a7` |
19
+ | `/app/artifacts/q38_base_int8_prequant/model.safetensors` | 29,924,045,158 | `238b0622e3b2446e71daeaef8289f9a81560ed26cc280f47182a0475917b6f04` |
20
+
21
+ The two adapter configuration files share SHA-256 `52e9ce4678fc4bcf4e717245952665c921c13a28247c67b679eeafdb25c4f6f8`. Their matching configuration does not make the adapter tensors identical.
22
+
23
+ ## Inference composition
24
+
25
+ The retained source composes question routing, sampled video frames, model generation, format validation, rule-based answers and output hygiene. Six training/annotation-derived JSON prior and stem-statistic assets are included alongside learned weights, as listed in DATA_PROVENANCE.md. A source-bound 120-second temporal refinement policy uses actual decoded timestamps and retains the verified coarse answer when the original budget guard declines a refinement. Runtime observations distinguish loader return, per-question generation and rules/fallback behavior.
26
+
27
+ Private cache preparation, run-as-application setup, input staging and the original default launcher are part of the demonstrated behavior. Merely invoking the base model with a prompt does not reproduce the full PROCEDURE pipeline.
28
+
29
+ ## Excluded successors and legacy material
30
+
31
+ The shipping-guard `441` image, 240-second policy experiment, private-data training successors, Gate512/LR1920 or recovered1440 branches, V2 observer derivatives and synthetic warmup experiments are not this candidate. Older weights and optimizer state retained in the original image are separately classified by the inventory and excluded from the selected Hugging Face asset set. Their presence in the archive does not make them active selected components.
32
+
33
+ The original archive remains the lineage reference. The Hugging Face package is an explicitly selected extraction and is not claimed to reproduce every incidental cache file or the entire container filesystem.
ORGANIZER_ACCESS.md ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Organizer access
2
+
3
+ Repository and clean submission-form URL: [HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL](https://huggingface.co/HeyDonto/SURGFIELD-ORena-2026-PROCEDURE-FINAL).
4
+
5
+ Maintainer: **HeyDonto Labs**. Corresponding contact: **Reza Nehzati, Ph.D.**
6
+
7
+ The repository is private. The initial access setup records the dedicated resource group **ORena 2026 PROCEDURE organizer review** (id `6aa329480ec8205ac77ce835`) for this repository and read access for `orena-dkfz` through that group. Organization-wide access remains `no_access`, automatic joining is disabled, and unrelated FRAME, SEGMENT and annotation groups were unchanged in the setup comparison.
8
+
9
+ This is a configured-access observation. It does not establish that an organizer has accepted an invitation, acknowledged receipt, downloaded the assets, verified their hashes or successfully loaded the model. Organizer acknowledgement has not been received at this preparation stage.
10
+
11
+ The private asset commit `6a7fc05f196b98d751e3a14775d60f1161166d2a` has been created and passed a fresh full-file download/hash comparison. The initial empty repository commit is not an asset release. LOAD.md pins the actual asset commit, and later documentation updates must continue to point to it. This does not claim a recipient has downloaded or loaded the model.
12
+
13
+ Access is intended for authorized challenge review. This repository excludes private surgical media, annotation banks and evaluation-bank payloads. The preserved source may retain original unit-test fixtures. Any separately required restricted-data or annotation handoff must use its own authorized channel and disclosure; this model repository does not imply that such a handoff has occurred.
README.md CHANGED
@@ -1,10 +1,59 @@
1
  ---
2
  pretty_name: SURGFIELD ORena 2026 PROCEDURE FINAL
 
 
 
 
 
 
 
 
3
  ---
4
  # SURGFIELD ORena 2026 PROCEDURE FINAL
5
 
6
- Attribution: HeyDonto Labs. Responsible contact: Reza Nehzati, Ph.D.
7
 
8
- Private organizer-review repository. The exact selected PROCEDURE model payload and verified loading instructions are being prepared. This initial repository commit is not a completed model release.
9
 
10
- Selected image configuration: `8d3bbd92c7ef8f73ff058382bef1b8523ec55961b831422c1fb04226b31b35d5`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  pretty_name: SURGFIELD ORena 2026 PROCEDURE FINAL
3
+ language:
4
+ - en
5
+ tags:
6
+ - surgical-video-question-answering
7
+ - procedure
8
+ - lora
9
+ - bitsandbytes
10
+ - research
11
  ---
12
  # SURGFIELD ORena 2026 PROCEDURE FINAL
13
 
14
+ **HeyDonto Labs** · Corresponding contact: **Reza Nehzati, Ph.D.**
15
 
16
+ This private repository records the retained PROCEDURE candidate from the ORena–SAVE FOCUS challenge campaign. It contains selected model assets and inference source extracted from the exact image identified below, with component provenance and loading instructions. It does not distribute private surgical media or evaluation banks. The exact inference source may retain its original unit-test fixtures; those fixtures are distinct from private evaluation-bank payloads.
17
 
18
+ The final candidate is the retained `8d3` image. The repository is a component and source handoff; the original image remains the reference environment for the demonstrated end-to-end behavior. The private asset commit is `6a7fc05f196b98d751e3a14775d60f1161166d2a`, as pinned in [LOAD.md](LOAD.md). A fresh Hugging Face download verified all 136 uploaded files against their full SHA-256 values. A separate CPU check also reverified all 130 asset/source files and 11 aliases, loaded the actual processor/configuration objects, and checked all 640 adapter tensor headers. It did not load the whole model or perform GPU generation. A later documentation commit does not change the asset revision.
19
+
20
+ ## Exact candidate
21
+
22
+ | Identity | Value |
23
+ |---|---|
24
+ | OCI image configuration | `sha256:8d3bbd92c7ef8f73ff058382bef1b8523ec55961b831422c1fb04226b31b35d5` |
25
+ | Registry manifest | `sha256:32d4f04c32fc304888b0571ce76a332c8d2fe8d2e4aac262de9709dca07f4291` |
26
+ | Retained Docker archive SHA-256 | `d633c21f620c4e4afbdd6dadb181dfc4d41a4fc446a6dbede1718cd949ac6acc` |
27
+ | Retained archive size | 52,710,560,644 bytes |
28
+ | Native entrypoint | `/opt/conda/bin/python -B /app/runtime_zoom_entry.py --submission` |
29
+ | Native identity | UID/GID 1000; Python 3.11.11 |
30
+
31
+ ## Method
32
+
33
+ The serving path combines an int8 vision-language base with separate Dense48 and Point320 LoRA adapters at checkpoint 12,910, a question router, answer-format validation and a budget-aware temporal refinement policy. The retained temporal policy uses a 120-second refinement window and 48 sampled frames. A refinement may be declined by the original remaining-budget guard; completion does not mean every question used a second model pass. Rule answers and degraded fallbacks are distinct from observed model generation.
34
+
35
+ The recorded upstream base is `Qwen/Qwen3.8-27B`; the shipped configuration architecture is `Qwen3_5ForConditionalGeneration`. Point320 denotes its 320-tensor adapter payload, not 320 optimizer steps. Exact configuration, adapter hyperparameters, auxiliary assets and upstream revisions are disclosed in the asset inventory and [MODIFICATIONS.md](MODIFICATIONS.md). Older weights retained inside the original image are listed separately from the active selected payload. They are not silently substituted into this handoff.
36
+
37
+ ## Evaluation and limits
38
+
39
+ These are local research results, not official challenge standings. [EVALUATION_SUMMARY.json](EVALUATION_SUMMARY.json) provides aggregate counts and the independent review hash without releasing per-question data.
40
+
41
+ | Evaluation protocol | Selected candidate | Comparator | Processing failures retained |
42
+ |---|---:|---:|---|
43
+ | Historical local 1,087-question protocol | 615/1,087 correct; five-bucket mean 0.6191042 | Not a fresh native comparison | Historical protocol recorded 1,087 answered |
44
+ | Fresh native default-entrypoint comparison, 1,087 questions per image | 579/1,087 correct; five-bucket mean 0.5593201 | Exact pfull best-platform variant: 444/1,087; mean 0.4653223 | Selected 67; comparator 124 |
45
+ | Jointly native- and pool-qualified sensitivity population | 511/910 correct | 421/910 correct | Subset only; primary denominators remain 1,087 each |
46
+
47
+ The fresh comparison used the unchanged images on H100 with 16 CPUs and 196,608 MiB host memory, and the original external process allowances of `120 + 30 × number_of_questions` seconds. The selected candidate's 67 failures comprise 28 questions in two stream-cap terminations and 39 questions in three groups excluded by the frozen validation-demotion rule. Comparator failures include nine original process-pool timeouts. Failed rows were not removed from the primary scores.
48
+
49
+ The 1,087-question development population contains no challenge OOD rows and only one clinical-flagged row. It was used during development and selection; repeated use, correlated questions within videos and selection bias limit transfer claims. The results establish neither a clinical accuracy estimate nor a finals Copeland rank, and do not establish official platform superiority.
50
+
51
+ The exact archive also completed the organizer's ten-question canonical compatibility fixture in two local input layouts. Owner-supplied platform try-out output matched those ten answer strings. Each layout showed nine question-bound VLM answers and one rule answer for the original invalid clip. This is an execution-compatibility observation, not an accuracy benchmark or independent organizer approval of this repository.
52
+
53
+ A separate private, one-surgery, six-predicate diagnostic retained all 12 selected-image observations as processing/observation failures; it yielded no qualified matched accuracy comparison. Its media, labels and derivatives remain evaluation-only and are not included here.
54
+
55
+ ## Data and intended use
56
+
57
+ This release supports authorized challenge review and surgical-video VQA research. Dataset provenance, annotation sources and restrictions are recorded in [DATA_PROVENANCE.md](DATA_PROVENANCE.md). Private surgical media, annotation banks and evaluation-bank payloads are not distributed with the model. This research system has no established clinical safety or diagnostic performance and is not validated for patient-care decisions.
58
+
59
+ Component licenses and notices are documented in [UPSTREAM_NOTICES.md](UPSTREAM_NOTICES.md) and [LICENSE_PROVENANCE.md](LICENSE_PROVENANCE.md). [ORGANIZER_ACCESS.md](ORGANIZER_ACCESS.md) separates configured repository access from organizer acknowledgement.
RELEASE_VERIFICATION.json ADDED
The diff for this file is too large to render. See raw diff
 
UPSTREAM_NOTICES.md ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Upstream notices
2
+
3
+ This private handoff is attributed to **HeyDonto Labs**; contact **Reza Nehzati, Ph.D.** Upstream authors retain their respective copyrights and licenses.
4
+
5
+ ## Qwen base and selected adaptations
6
+
7
+ The recorded upstream is **Qwen/Qwen3.8-27B**, revision `1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0`. Its configuration declares `Qwen3_5ForConditionalGeneration`. The pinned upstream configuration, README and LICENSE were fetched independently and matched the exact retained image's metadata bytes. The original model card identifies Apache License 2.0. See the [pinned upstream model card](https://huggingface.co/Qwen/Qwen3.8-27B/blob/1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0/README.md) and [pinned license](https://huggingface.co/Qwen/Qwen3.8-27B/blob/1d4bf0f2ff6012fd82039f2fa52739d0dd7c60c0/LICENSE).
8
+
9
+ The original license is included at [image_root/app/artifacts/q38_base/LICENSE](image_root/app/artifacts/q38_base/LICENSE), SHA-256 `bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a`. The model card is retained at [image_root/app/artifacts/q38_base/README.md](image_root/app/artifacts/q38_base/README.md). Team quantization and the selected Dense48/Point320 adapters are described in MODIFICATIONS.md; these changes do not replace the upstream attribution.
10
+
11
+ ## OWLv2 auxiliary assets
12
+
13
+ The auxiliary cache records **google/owlv2-large-patch14-ensemble**, revision `95e26936e865f87db1742128404b3c035d47d89d`. Its [pinned Google model card](https://huggingface.co/google/owlv2-large-patch14-ensemble/blob/95e26936e865f87db1742128404b3c035d47d89d/README.md) identifies Apache License 2.0 and cites the OWL-ViT/OWLv2 work. The independently retrieved card matches the cached card, SHA-256 `a2e10c3916166f08eaf2ab43ca1eb63c6116df228dea655c56e4c8e1607ecfe9`. Both authenticated cached weight formats and their metadata are retained; the alias map avoids duplicate physical uploads of a logical snapshot file.
14
+
15
+ ## Runtime software and excluded cache material
16
+
17
+ The reference image uses third-party libraries including PyTorch, Transformers, PEFT, bitsandbytes, Accelerate, safetensors, tokenizers, Hugging Face Hub, Pillow and PyAV. EXACT_DEPENDENCIES.json records the installed versions observed inside the image. Their applicable licenses and notices are separate from the model license; this extracted asset handoff does not redistribute the complete Python/CUDA environment or relicense those packages.
18
+
19
+ The original image also contains inactive Qwen3-VL-8B, older adapter/checkpoint and optimizer payloads. They are classified in ASSET_MANIFEST.json and excluded from this selected component handoff. They are not additional active bases for the published loader.
20
+
21
+ ## Data-derived assets
22
+
23
+ This repository does not distribute private surgical media or evaluation banks. Its exact source may contain original unit-test fixtures, and its selected runtime assets include six disclosed training/annotation-derived prior and statistic JSON files. These carry their source provenance and restrictions; the base-model license is not a grant of rights to private data. DATA_PROVENANCE.md and LICENSE_PROVENANCE.md record that separate scope.
load_components.py ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Load the extracted selected components with the recorded native library versions.
2
+
3
+ This example does not install the native router, warmups, input shell, controller
4
+ witnesses or temporal budget policy, and is not a full-pipeline runtime claim.
5
+ """
6
+ import argparse
7
+ from importlib.metadata import version
8
+ import os
9
+ from pathlib import Path
10
+ import platform
11
+
12
+ EXPECTED_VERSIONS = {
13
+ 'Pillow': '12.3.0', 'accelerate': '1.14.0', 'av': '16.1.0',
14
+ 'bitsandbytes': '0.50.1', 'huggingface-hub': '1.29.0', 'peft': '0.20.0',
15
+ 'safetensors': '0.8.0', 'tokenizers': '0.22.2', 'torch': '2.13.0',
16
+ 'transformers': '5.14.0',
17
+ }
18
+
19
+
20
+ def load(snapshot):
21
+ if platform.python_version() != '3.11.11':
22
+ raise RuntimeError('Use the recorded Python 3.11.11 environment')
23
+ actual = {name: version(name) for name in EXPECTED_VERSIONS}
24
+ if actual != EXPECTED_VERSIONS:
25
+ raise RuntimeError('Installed library versions differ from the retained image')
26
+ for name in ('HF_HUB_OFFLINE', 'TRANSFORMERS_OFFLINE', 'HF_DATASETS_OFFLINE'):
27
+ os.environ[name] = '1'
28
+ from verify_files import verify
29
+ verify(snapshot, restore_aliases=True)
30
+ import torch
31
+ from transformers import AutoModelForImageTextToText, AutoProcessor
32
+ from peft import PeftModel
33
+ if not torch.cuda.is_available():
34
+ raise RuntimeError('The selected int8 component-loading example requires CUDA')
35
+ artifacts = Path(snapshot).resolve(strict=True) / 'image_root' / 'app' / 'artifacts'
36
+ processor = AutoProcessor.from_pretrained(
37
+ str(artifacts / 'q38_base'), trust_remote_code=True, local_files_only=True)
38
+ # The saved prequant config already declares bitsandbytes int8. Do not
39
+ # supply a new BitsAndBytesConfig or re-quantize the base at load time.
40
+ base = AutoModelForImageTextToText.from_pretrained(
41
+ str(artifacts / 'q38_base_int8_prequant'),
42
+ torch_dtype=torch.bfloat16, device_map='cuda', attn_implementation='sdpa',
43
+ trust_remote_code=True, local_files_only=True)
44
+ model = PeftModel.from_pretrained(
45
+ base, str(artifacts / 'proc_q38_dense48_ck12910'),
46
+ adapter_name='default', is_trainable=False, local_files_only=True)
47
+ devices = sorted({p.device.index for p in model.parameters() if p.device.type == 'cuda'})
48
+ with torch.random.fork_rng(devices=devices):
49
+ result = model.load_adapter(
50
+ str(artifacts / 'proc_q38_point_ck12910'), 'point_object',
51
+ is_trainable=False, local_files_only=True, autocast_adapter_dtype=True)
52
+ if result.missing_keys or result.unexpected_keys:
53
+ raise RuntimeError('Point adapter load has missing or unexpected keys')
54
+ if set(model.peft_config) != {'default', 'point_object'}:
55
+ raise RuntimeError('The selected component pair was not loaded')
56
+ model.set_adapter('default', inference_mode=True)
57
+ model.eval()
58
+ return processor, model
59
+
60
+
61
+ def main():
62
+ parser = argparse.ArgumentParser(description=__doc__)
63
+ parser.add_argument('snapshot', type=Path)
64
+ args = parser.parse_args()
65
+ processor, model = load(args.snapshot)
66
+ print({'processor_type': type(processor).__name__, 'model_type': type(model).__name__,
67
+ 'active_adapter': model.active_adapter, 'full_pipeline_qualified': False})
68
+
69
+
70
+ if __name__ == '__main__':
71
+ main()
verify_files.py ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """Verify the selected extracted files; optionally restore exact OWLv2 aliases.
2
+
3
+ This does not load a model or reproduce the original OCI environment.
4
+ """
5
+ import argparse
6
+ import hashlib
7
+ import json
8
+ import os
9
+ from pathlib import Path, PurePosixPath
10
+ import stat
11
+
12
+ MANIFEST_SHA256 = {
13
+ 'ASSET_MANIFEST.json': 'bf9706c9c565dae44f5c3285c565490c89c84c44194d48130d39cfcbd238824d',
14
+ 'SOURCE_MANIFEST.json': 'df1cf7f38c87eae4719b721a7f4a6e7c1d19d9c59d33d065808f9976d937afd5',
15
+ }
16
+
17
+
18
+ def digest(path):
19
+ h = hashlib.sha256()
20
+ with path.open('rb') as stream:
21
+ for chunk in iter(lambda: stream.read(8 * 1024 * 1024), b''):
22
+ h.update(chunk)
23
+ return h.hexdigest()
24
+
25
+
26
+ def member(root, relative):
27
+ p = PurePosixPath(relative)
28
+ if p.is_absolute() or not p.parts or '..' in p.parts or p.parts[0] != 'image_root':
29
+ raise ValueError('invalid manifest repository path')
30
+ path = root.joinpath(*p.parts)
31
+ if not path.parent.resolve().is_relative_to(root):
32
+ raise ValueError('path leaves snapshot')
33
+ return path
34
+
35
+
36
+ def checked_manifest(root, name):
37
+ p = root / name
38
+ raw = p.read_bytes()
39
+ if hashlib.sha256(raw).hexdigest() != MANIFEST_SHA256[name]:
40
+ raise ValueError('manifest identity mismatch: ' + name)
41
+ return json.loads(raw)
42
+
43
+
44
+ def verify(root, restore_aliases=False):
45
+ root = Path(root).resolve(strict=True)
46
+ assets = checked_manifest(root, 'ASSET_MANIFEST.json')
47
+ sources = checked_manifest(root, 'SOURCE_MANIFEST.json')
48
+ if (assets['schema'] != 'selected615-hf-asset-manifest/1' or
49
+ sources['schema'] != 'selected615-hf-source-manifest/1'):
50
+ raise ValueError('manifest schema mismatch')
51
+ files = list(assets['regular_files'].values()) + list(sources['files'].values())
52
+ checked = {}
53
+ for entry in files:
54
+ p = member(root, entry['repo_path'])
55
+ before = p.lstat()
56
+ if not stat.S_ISREG(before.st_mode) or before.st_size != entry['bytes']:
57
+ raise ValueError('file kind or size mismatch: ' + entry['repo_path'])
58
+ actual = digest(p)
59
+ after = p.lstat()
60
+ if actual != entry['sha256'] or (before.st_dev, before.st_ino, before.st_size, before.st_mtime_ns) != (after.st_dev, after.st_ino, after.st_size, after.st_mtime_ns):
61
+ raise ValueError('file bytes changed or mismatched: ' + entry['repo_path'])
62
+ checked[entry['repo_path']] = entry
63
+ restored = 0
64
+ for entry in assets['aliases'].values():
65
+ alias = member(root, entry['repo_path'])
66
+ target = member(root, entry['resolved_repo_path'])
67
+ target_entry = checked.get(entry['resolved_repo_path'])
68
+ if target_entry is None or any(target_entry[k] != entry['target_pin'][k] for k in ('bytes', 'sha256')):
69
+ raise ValueError('alias target is not an authenticated physical file')
70
+ link = entry['relative_link_target']
71
+ if PurePosixPath(link).is_absolute() or (alias.parent / link).resolve() != target.resolve():
72
+ raise ValueError('alias target mapping mismatch')
73
+ if os.path.lexists(alias):
74
+ if not alias.is_symlink() or os.readlink(alias) != link:
75
+ raise ValueError('existing alias differs: ' + entry['repo_path'])
76
+ elif restore_aliases:
77
+ alias.parent.mkdir(parents=True, exist_ok=True)
78
+ if not alias.parent.resolve().is_relative_to(root):
79
+ raise ValueError('alias parent leaves snapshot')
80
+ alias.symlink_to(link)
81
+ restored += 1
82
+ else:
83
+ raise ValueError('alias missing; rerun with --restore-aliases: ' + entry['repo_path'])
84
+ for name in MANIFEST_SHA256:
85
+ checked_manifest(root, name)
86
+ return {'physical_files_verified': len(checked), 'aliases_verified': len(assets['aliases']), 'aliases_restored': restored, 'model_loaded': False}
87
+
88
+
89
+ def main():
90
+ parser = argparse.ArgumentParser(description=__doc__)
91
+ parser.add_argument('snapshot', type=Path)
92
+ parser.add_argument('--restore-aliases', action='store_true')
93
+ args = parser.parse_args()
94
+ print(json.dumps(verify(args.snapshot, args.restore_aliases), sort_keys=True))
95
+
96
+
97
+ if __name__ == '__main__':
98
+ main()