leoventu commited on
Commit
6a0b0a1
·
verified ·
1 Parent(s): 18688f5

Simplify documentation and keep essential usage details

Browse files
Files changed (4) hide show
  1. README.md +16 -33
  2. calibration/README.md +3 -3
  3. checksums.sha256 +3 -3
  4. references/README.md +3 -7
README.md CHANGED
@@ -8,49 +8,32 @@ tags:
8
  - operator-guidance
9
  - experiment-metadata
10
  ---
11
- # Piston assembly study metadata
12
 
13
- The dataset contents are licensed under [MIT](LICENSE), as selected by the owner on 19 November 2026.
14
-
15
- Associated manuscript: **A Vision-Based Framework for Manual Assembly Verification and Adaptive Operator Assistance**, Naveen Joseph Delphin, Leonardo Venturoso, Isabella Soraruf and Marco Todescato.
16
 
17
  ## Contents
18
 
19
- - `experiments/*/metadata.json`: 72 records from 8 participants; 70 nonempty valid trials and 698 stage decisions, including 677 complete-case motion observations.
20
- - `tables/trials.csv`: numeric identifiers, task/condition, valid-trial flags and exclusions. Valid trials: 21 full, 22 mid, 27 no guidance.
21
- - `experiments/interruptions.csv` and `questionnaire.csv`: 69 intervention rows and 8 participant responses, with matching numeric IDs.
22
- - `analysis/`: statistical tables, reports and figures.
23
- - `external_assets.json`: asset references and recovery status.
24
- - `preparation_summary.json` and `checksums.sha256`: preparation checks and file hashes.
25
-
26
- Two records without FSM decisions are retained and flagged as excluded. There is no train/test split: these records describe the study cohort.
27
-
28
- ## Preparation
29
-
30
- Participant, session and trial identifiers use consistent numeric release IDs. Identifying filenames/reference names, the inference endpoint and machine-specific executable path were replaced or removed. Original dates were replaced with synthetic ordinal timestamps beginning in 2000; these indicate trial order only and are not collection dates. Finalization dates were removed. All numeric measurements, relative stage timings, outcomes and FSM transitions were preserved. Stage/trial tables and cycle order match the original inputs exactly after ID relabeling.
31
-
32
- The private identity/path mapping is stored separately and is not part of this dataset. Numeric IDs alone do not establish anonymity; the final release still requires review.
33
 
34
- ## Statistical analysis
35
 
36
- The companion code runs with Python 3.11, statsmodels 0.14.5, SciPy 1.13.1, pandas 2.2.3 and NumPy 1.26.4. Intervention notes use canonical event keywords that preserve the analysis category counts. Questionnaire timestamps, the unlabelled form field and vision-health responses were omitted; retained responses and their order were preserved.
37
 
38
- The supplied questionnaire has incomplete later trial blocks; the analysis retains its existing handling. Missing intervention matches retain the historical zero default. Independent optimizer runs can yield small numerical differences from the supplied paper outputs.
39
-
40
- From the code repository, with this dataset placed under `data/study`:
41
 
42
  ```bash
43
- python scripts/guidance_stats_final_analysis_model_B.py --experiments-root data/study/experiments --interruptions-csv data/study/experiments/interruptions.csv --questionnaire-csv data/study/experiments/questionnaire.csv --output-dir results
44
  ```
45
 
46
- Source `protocol.data_sources` existence/size fields describe the collection environment. Recordings and model weights are distributed separately.
47
-
48
- Code: https://github.com/fraunhofer-italia/vision-assembly-assistance
49
-
50
- ## Newly recovered assets
51
-
52
- The linked recordings have been recovered into the separate [recordings dataset](https://huggingface.co/datasets/fhi/piston-assembly-recordings) with matching numeric file IDs. They are not part of this metadata package. Two valid trials share one recording reference and require confirmation. The newly supplied expert-reference candidates differ from the recorded study names and byte sizes; they have not replaced the study references.
53
 
54
- ## Reference/calibration recovery — 19 November 2026
55
 
56
- The two study homographies are now included under `calibration/`, with numeric IDs matching the metadata. Twenty-two cached numerical reference trajectories were recovered under `references/trajectories/`; three distinct full cache profiles are also preserved as JSON. See their READMEs for the A08 expected-pose variation and the limits of cache-to-trial provenance. Original reference videos remain unavailable; the supplied reference-video candidates have not been asserted equivalent.
 
8
  - operator-guidance
9
  - experiment-metadata
10
  ---
11
+ # Piston assembly study
12
 
13
+ Study data for pneumatic piston assembly/disassembly: **8 participants, 70 valid trials**, and three guidance conditions (`full`, `mid`, `no`).
 
 
14
 
15
  ## Contents
16
 
17
+ | Path | Contents |
18
+ | --- | --- |
19
+ | `experiments/` | 72 trial metadata records, including 2 excluded records; intervention and questionnaire tables |
20
+ | `tables/trials.csv` | Numeric participant/trial IDs and trial conditions |
21
+ | `analysis/` | Statistical tables, reports and figures |
22
+ | `calibration/` | Two workbench homographies |
23
+ | `references/` | 22 DTW reference trajectories and cache profiles |
 
 
 
 
 
 
 
24
 
25
+ Identifiers are numeric. Synthetic timestamps preserve trial order. Measurements, stage timings and FSM transitions are retained. Intervention notes preserve event-category counts; questionnaire responses retain their original order.
26
 
27
+ ## Run the analysis
28
 
29
+ Download this dataset to `data/study` in the [code repository](https://github.com/fraunhofer-italia/vision-assembly-assistance):
 
 
30
 
31
  ```bash
32
+ python scripts/guidance_stats_final_analysis_model_B.py --experiments-root data/study/experiments --interruptions-csv data/study/experiments/interruptions.csv --questionnaire-csv data/study/experiments/questionnaire.csv --output-dir results/analysis
33
  ```
34
 
35
+ Verified environment: Python 3.11, statsmodels 0.14.5, SciPy 1.13.1, pandas 2.2.3 and NumPy 1.26.4. The analysis uses 677 complete motion observations. Unmatched intervention counts default to zero; incomplete questionnaire blocks follow the script's filtering rules.
 
 
 
 
 
 
36
 
37
+ [Recordings](https://huggingface.co/datasets/fhi/piston-assembly-recordings) are provided separately. See the reference and calibration READMEs for their formats. File integrity: `checksums.sha256`.
38
 
39
+ Paper and code: [Vision assembly assistance](https://github.com/fraunhofer-italia/vision-assembly-assistance). License: [MIT](LICENSE).
calibration/README.md CHANGED
@@ -1,5 +1,5 @@
1
- # Study workbench homographies
2
 
3
- The two calibrations referenced by study metadata were recovered from the colleague-provided calibration archive. Matrices are preserved byte-for-byte and validated as finite, invertible 3×3 NumPy arrays. Numeric directory IDs match the de-identified metadata paths.
4
 
5
- Calibration creation dates and machine-specific source paths were removed from JSON metadata; frame size and marker IDs were retained. The archive's third, older calibration and three calibration/validation videos were not added to this study package because they are not referenced by the trial metadata. No new calibration or geometric-accuracy validation was performed.
 
1
+ # Workbench homographies
2
 
3
+ Two finite, invertible 3×3 NumPy matrices for the study's 1280×720 camera frames. Directory IDs match the calibration paths in the trial metadata.
4
 
5
+ JSON metadata retain frame dimensions and marker IDs. Matrices preserve their source values; dates and machine-specific paths are omitted.
checksums.sha256 CHANGED
@@ -1,5 +1,5 @@
1
  6e5d8f6a7b2f8a0127944ed9deba64088dfe4f877692172738926592570da470 LICENSE
2
- 5ad10d846426dccbeed4f01f6979dc8202cf02e524815baaed0396b876cd66eb README.md
3
  a23c55e319635f17d81c91ce9de1c26cb7354b4e925cc2463e6534ae8d7610cb analysis/analysis_dataset.csv
4
  158f7b340d694c13f9cee7984362f4d420d6ead7fde267da378c0b0ea472e4fb analysis/covariate_models.csv
5
  3e361e89668ec3e2b99ecf74eaf86d278045c3522702046f59a28f719c219fe2 analysis/cycle_participation.csv
@@ -34,7 +34,7 @@ a3886fa7063fd64b37014a58e226031ee66f29cf978ac3baac3afe59bf57c424 analysis/syste
34
  da6599864ad5d73e157d5e014422ecf1da55a4f0db51f6d54c9b9dd2ab6d16a8 analysis/trial_report.txt
35
  ac617a36189857e458710aba87446613c648f0e40ba302d61852333c48bcebfd analysis/trial_structure_report.txt
36
  bb60bb31aa48e6329456ea53e3d631787c1ce58dfd69e8f206fd519db3d5e720 analysis/trial_summary.csv
37
- 70edde1fc348ce00d03b06f0aaf6d5af49cf5ccf0d8d789b8e3ac97c4159e3e8 calibration/README.md
38
  3c768b5fdc68ba940cdae3fa2ede0c2e96d31ef0848745ff0db62d131e3b8ed7 calibration/calibration_01/calibration_meta.json
39
  d71d453c51a332d32fd8b2c4e6a89d2ac802030c4dd926087921d432ad92e6d5 calibration/calibration_01/homography.npy
40
  ec09c520da4fe99d939e71327cfad6e70ec526816aae71c1271e82901d2368cb calibration/calibration_02/calibration_meta.json
@@ -115,7 +115,7 @@ c212edcfa7b88dd5cf6b25e9e23001d79286b79afe7d779f6e56f7ae49f9fdb5 experiments/tr
115
  b4d352ce978fb67336437278fa9357e5091e2bbb12ad5b7edac7df9a49624ebf experiments/trial_0072/metadata.json
116
  f867b39409c55819fa91caebcd2f4b0b2b20d85a9f724a478977605dad766fde external_assets.json
117
  9c30c125337ddb285b8bd0197f99f6e1e5ae41d1b697a3259fba955c58ce14ca preparation_summary.json
118
- d864824a75ea586d10b3db24f1dd1f30183c6a80ea28ecbf49ea57a1ef7d0860 references/README.md
119
  839cdf377f02913760e474dcde0f9a5473b7949fdb7b2fa22dd06c7ae7650517 references/cache_inventory.json
120
  224e2493d1c4181fb112d86d28c4df1d9ce9cc952af207b92c79a990198be3f0 references/cache_profiles/profile_01.json
121
  26c0171b9beaecbcc2643c6f1229ed30f3e76cf96373d7703ea2b9b47622a1c1 references/cache_profiles/profile_02.json
 
1
  6e5d8f6a7b2f8a0127944ed9deba64088dfe4f877692172738926592570da470 LICENSE
2
+ 27812f97fc36c36f511a65d1925d2b677b608a2d140613380e0d735ecaaef2fd README.md
3
  a23c55e319635f17d81c91ce9de1c26cb7354b4e925cc2463e6534ae8d7610cb analysis/analysis_dataset.csv
4
  158f7b340d694c13f9cee7984362f4d420d6ead7fde267da378c0b0ea472e4fb analysis/covariate_models.csv
5
  3e361e89668ec3e2b99ecf74eaf86d278045c3522702046f59a28f719c219fe2 analysis/cycle_participation.csv
 
34
  da6599864ad5d73e157d5e014422ecf1da55a4f0db51f6d54c9b9dd2ab6d16a8 analysis/trial_report.txt
35
  ac617a36189857e458710aba87446613c648f0e40ba302d61852333c48bcebfd analysis/trial_structure_report.txt
36
  bb60bb31aa48e6329456ea53e3d631787c1ce58dfd69e8f206fd519db3d5e720 analysis/trial_summary.csv
37
+ 5d85c85e007831b53ca0c659cc58441f793612e148a0babed7eff191c5e28d64 calibration/README.md
38
  3c768b5fdc68ba940cdae3fa2ede0c2e96d31ef0848745ff0db62d131e3b8ed7 calibration/calibration_01/calibration_meta.json
39
  d71d453c51a332d32fd8b2c4e6a89d2ac802030c4dd926087921d432ad92e6d5 calibration/calibration_01/homography.npy
40
  ec09c520da4fe99d939e71327cfad6e70ec526816aae71c1271e82901d2368cb calibration/calibration_02/calibration_meta.json
 
115
  b4d352ce978fb67336437278fa9357e5091e2bbb12ad5b7edac7df9a49624ebf experiments/trial_0072/metadata.json
116
  f867b39409c55819fa91caebcd2f4b0b2b20d85a9f724a478977605dad766fde external_assets.json
117
  9c30c125337ddb285b8bd0197f99f6e1e5ae41d1b697a3259fba955c58ce14ca preparation_summary.json
118
+ 772e5b5dff9b504d0b908823dd66d55c541c4c52fb087dcf888f2f98621ab740 references/README.md
119
  839cdf377f02913760e474dcde0f9a5473b7949fdb7b2fa22dd06c7ae7650517 references/cache_inventory.json
120
  224e2493d1c4181fb112d86d28c4df1d9ce9cc952af207b92c79a990198be3f0 references/cache_profiles/profile_01.json
121
  26c0171b9beaecbcc2643c6f1229ed30f3e76cf96373d7703ea2b9b47622a1c1 references/cache_profiles/profile_02.json
references/README.md CHANGED
@@ -1,9 +1,5 @@
1
- # Cached expert trajectories
2
 
3
- Recovered from seven original primitive-only reference cache files. There is one trajectory for each of 11 assembly and 11 disassembly descriptor entries (including D08a/D08b). Their geometric/time/tool data are identical within each task across all supplied caches.
4
 
5
- `trajectories/assembly.json` and `trajectories/dismantle.json` preserve x, y, t, tool and tool_id and can supply `stage_references` to the StageFSM API. These are exported numerical references, not replacement videos or automatic drop-in replacements for the UI's hashed pickle cache loader.
6
-
7
- `cache_profiles/` preserves three distinct full reference profiles without creation timestamps or identifying reference names. Two assembly profiles differ in the expected pose attached to A08 points (flipped versus correct); geometry/time/tool values are unchanged. Trial metadata do not record the individual cache key, so no exact full-profile-to-trial mapping is asserted. Cache creation times were not used to guess it.
8
-
9
- The colleague reports caching references during experiments and no longer retaining the original expert videos. The supplied video candidates remain separate: equivalence to the original footage is not established. These recovered trajectories preserve the cached DTW inputs even though original reference footage is unavailable.
 
1
+ # Expert reference trajectories
2
 
3
+ `trajectories/assembly.json` and `trajectories/dismantle.json` contain 11 trajectories each, including D08a/D08b. Each point preserves x, y, t, tool and tool_id. Use these JSONs as `stage_references` with the StageFSM API.
4
 
5
+ `cache_profiles/` contains three reference profiles. Two assembly profiles differ in the A08 expected pose; their geometry and timing match. Trial metadata do not link individual profiles. These JSONs serve the StageFSM API; the UI uses its own hashed cache format.