chrisvoncsefalvay commited on
Commit
38d3faa
·
verified ·
1 Parent(s): efb643c

Add fidelity score diagrams

Browse files

Add formal, visual and kinematic score diagrams with Geist Sans labels, typeset equations and editable Mermaid sources.

README.md CHANGED
@@ -111,6 +111,14 @@ The three composites describe different properties of the reconstruction and are
111
 
112
  ### Formal fidelity
113
 
 
 
 
 
 
 
 
 
114
  Profile validation uses [NVIDIA SimReady-Foundation Robotics-Prop 4.0.0](https://github.com/NVIDIA/simready-foundation/blob/main/nv_core/sr_specs/docs/guides/profiles_validation_workflow.md). The 46 mandatory requirements cover the structural, physical and semantic properties of a simulation-ready prop. Each mandatory requirement contributes equally to 95 points, with five additional points when all 46 pass:
115
 
116
  ```text
@@ -130,6 +138,14 @@ Both scores retain their passed, failed and unknown requirement counts. Partiall
130
 
131
  ### Visual fidelity
132
 
 
 
 
 
 
 
 
 
133
  Visual fidelity is the geometric mean of shape and appearance correspondence:
134
 
135
  ```text
@@ -140,6 +156,14 @@ Shape is the bidirectional surface F-score at the reference scale. Appearance co
140
 
141
  ### Kinematic fidelity
142
 
 
 
 
 
 
 
 
 
143
  The evaluator matches joints one to one through corresponding bodies and compares the relative poses permitted by their constraints. For fixed, revolute and prismatic joints, seventeen deterministic nonuniform states sample each motion probe. Both constraints act on the same reference-body landmarks, so reconstructed surface detail does not count twice as kinematic error.
144
 
145
  ```text
 
111
 
112
  ### Formal fidelity
113
 
114
+ <!-- score-diagram:formal:start -->
115
+
116
+ ![Formal fidelity combines passed mandatory requirement credit with the all-pass bonus.](media/formal-fidelity.png)
117
+
118
+ [SVG](media/formal-fidelity.svg) | [Editable Mermaid source](media/formal-fidelity.mmd)
119
+
120
+ <!-- score-diagram:formal:end -->
121
+
122
  Profile validation uses [NVIDIA SimReady-Foundation Robotics-Prop 4.0.0](https://github.com/NVIDIA/simready-foundation/blob/main/nv_core/sr_specs/docs/guides/profiles_validation_workflow.md). The 46 mandatory requirements cover the structural, physical and semantic properties of a simulation-ready prop. Each mandatory requirement contributes equally to 95 points, with five additional points when all 46 pass:
123
 
124
  ```text
 
138
 
139
  ### Visual fidelity
140
 
141
+ <!-- score-diagram:visual:start -->
142
+
143
+ ![Visual fidelity is the geometric mean of shape and supported material appearance.](media/visual-fidelity.png)
144
+
145
+ [SVG](media/visual-fidelity.svg) | [Editable Mermaid source](media/visual-fidelity.mmd)
146
+
147
+ <!-- score-diagram:visual:end -->
148
+
149
  Visual fidelity is the geometric mean of shape and appearance correspondence:
150
 
151
  ```text
 
156
 
157
  ### Kinematic fidelity
158
 
159
+ <!-- score-diagram:kinematic:start -->
160
+
161
+ ![Kinematic fidelity combines per-joint agreement through moving-joint and fixed-constraint recovery.](media/kinematic-fidelity.png)
162
+
163
+ [SVG](media/kinematic-fidelity.svg) | [Editable Mermaid source](media/kinematic-fidelity.mmd)
164
+
165
+ <!-- score-diagram:kinematic:end -->
166
+
167
  The evaluator matches joints one to one through corresponding bodies and compares the relative poses permitted by their constraints. For fixed, revolute and prismatic joints, seventeen deterministic nonuniform states sample each motion probe. Both constraints act on the same reference-body landmarks, so reconstructed surface detail does not count twice as kinematic error.
168
 
169
  ```text
media/formal-fidelity.mmd ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %%{init: {"startOnLoad":false,"securityLevel":"strict","theme":"base","look":"classic","fontFamily":"Geist Sans, sans-serif","fontSize":22,"htmlLabels":true,"themeVariables":{"fontFamily":"Geist Sans, sans-serif","fontSize":"22px","background":"#ffffff","primaryColor":"#ffffff","primaryTextColor":"#222222","primaryBorderColor":"#555555","lineColor":"#777777","secondaryColor":"#ffffff","tertiaryColor":"#ffffff","edgeLabelBackground":"#ffffff"},"flowchart":{"htmlLabels":true,"curve":"linear","nodeSpacing":32,"rankSpacing":52,"padding":20,"diagramPadding":20,"useMaxWidth":false,"wrappingWidth":460}}}%%
2
+ %% SimReadyBench formal fidelity. All scores are percentages.
3
+ %% Sources: engine/scoring.py:419-494; composites.py:75-101.
4
+ flowchart LR
5
+ accTitle: Formal fidelity aggregation
6
+ accDescr: The passed count across 46 mandatory requirement IDs determines 95 points of base credit. A further five points are awarded only if all 46 pass. Unknown outcomes retain the denominator and leave the scalar score unmeasured.
7
+
8
+ roster["Mandatory requirement groups<br/>Rigid body/collision: 10<br/>Asset paths/naming: 8<br/>Geometry/mesh: 8<br/>Materials/textures: 6<br/>Semantics: 6<br/>Hierarchy: 4<br/>Units: 2<br/>Thumbnail metadata: 2"]
9
+ passed["Passed requirements<br/>$$p = \sum_{i=1}^{46} \mathbf{1}[\text{ID }i\text{ passes}]$$<br/>$$N = 46$$"]
10
+ base["Base credit<br/>$$B = 95\,\frac{p}{46}$$"]
11
+ bonus["All-pass bonus<br/>$$C = \begin{cases}5,&p=46\\0,&p<46\end{cases}$$"]
12
+ score["Formal fidelity (%)<br/>$$F = B + C$$"]
13
+ state["All 46 mandatory IDs remain in scope.<br/>Any unknown outcome: score unmeasured.<br/>Optional requirements are reported separately."]
14
+
15
+ roster --> passed
16
+ passed --> base
17
+ passed --> bonus
18
+ base --> score
19
+ bonus --> score
20
+ state -.- score
21
+
22
+ classDef input fill:#ffffff,stroke:#9a9a9a,stroke-width:1px,color:#222222;
23
+ classDef calculation fill:#ffffff,stroke:#555555,stroke-width:1.2px,color:#222222;
24
+ classDef result fill:#f2f2f2,stroke:#222222,stroke-width:1.6px,color:#111111,font-weight:600;
25
+ classDef note fill:#ffffff,stroke:none,color:#555555,font-size:18px;
26
+ class roster input;
27
+ class passed,base,bonus calculation;
28
+ class score result;
29
+ class state note;
media/formal-fidelity.png ADDED

Git LFS Details

  • SHA256: d540076d1f127261f8b0241c2157136844dfad2a687695833d5f10797cdb0f22
  • Pointer size: 131 Bytes
  • Size of remote file: 167 kB
media/formal-fidelity.svg ADDED
media/kinematic-fidelity.mmd ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %%{init: {"startOnLoad":false,"securityLevel":"strict","theme":"base","look":"classic","fontFamily":"Geist Sans, sans-serif","fontSize":22,"htmlLabels":true,"themeVariables":{"fontFamily":"Geist Sans, sans-serif","fontSize":"22px","background":"#ffffff","primaryColor":"#ffffff","primaryTextColor":"#222222","primaryBorderColor":"#555555","lineColor":"#777777","secondaryColor":"#ffffff","tertiaryColor":"#ffffff","edgeLabelBackground":"#ffffff"},"flowchart":{"htmlLabels":true,"curve":"linear","nodeSpacing":32,"rankSpacing":52,"padding":20,"diagramPadding":20,"useMaxWidth":false,"wrappingWidth":460}}}%%
2
+ %% SimReadyBench kinematic fidelity. Joint qualities and recoveries are fractions.
3
+ %% Sources: kinematics.py:165-225,243-300,313-371,417-464;
4
+ %% composites.py:152-162.
5
+ flowchart LR
6
+ accTitle: Kinematic fidelity aggregation
7
+ accDescr: Each matched joint quality is the product of motion, unwrapped extent and limit pattern agreement. Moving-joint and fixed-constraint recovery each use twice the summed joint quality divided by the combined reference and candidate count. Kinematic fidelity is the geometric mean of active recovery groups, expressed as a percentage.
8
+
9
+ motion["Motion agreement<br/>$$m_j = \frac{1}{1+(d_j/b)^2}$$<br/>$$d_j = \text{landmark RMS displacement}$$<br/>$$b = \text{configured position tolerance}$$"]
10
+ extent["Unwrapped extent agreement<br/>$$e_j = \frac{1}{1+(\delta_j/t_j)^2}$$<br/>$$\delta_j = \text{interval-width error}$$<br/>$$t_j = \text{absolute}+\text{relative}\cdot\text{reference width}$$<br/>$$e_j=1$$ unless both intervals are finite"]
11
+ pattern["Limit pattern agreement<br/>$$p_j = \frac{1}{1+h_j}$$<br/>$$h_j = \text{mismatched lower/upper patterns}$$<br/>Finite or signed unbounded"]
12
+ joint["Matched joint quality<br/>$$q_j = m_j e_j p_j$$<br/>One-to-one type and connectivity matching<br/>Fixed constraints: $$e_j = p_j = 1$$"]
13
+ moving["Moving-joint recovery<br/>$$r_m = \frac{2\sum_{j=1}^{R_m}q_j}{R_m+C_m}$$"]
14
+ fixed["Fixed-constraint recovery<br/>$$r_f = \frac{2\sum_{j=1}^{R_f}q_j}{R_f+C_f}$$"]
15
+ score["Kinematic fidelity (%)<br/>$$K = 100\sqrt{r_m r_f}$$<br/>Geometric mean of active groups"]
16
+ counts["$$R_g,\ C_g = \text{reference/candidate group counts}$$<br/>Missing or invalid matches earn zero.<br/>Extra joints increase the denominator."]
17
+ state["Omit empty groups. One active group: $$K = 100 r_g$$<br/>Both groups empty: not applicable.<br/>Unmeasured reference semantics: score unmeasured, with bounds."]
18
+
19
+ motion --> joint
20
+ extent --> joint
21
+ pattern --> joint
22
+ joint --> moving
23
+ joint --> fixed
24
+ moving --> score
25
+ fixed --> score
26
+ counts -.- joint
27
+ state -.- score
28
+
29
+ classDef input fill:#ffffff,stroke:#9a9a9a,stroke-width:1px,color:#222222;
30
+ classDef calculation fill:#ffffff,stroke:#555555,stroke-width:1.2px,color:#222222;
31
+ classDef result fill:#f2f2f2,stroke:#222222,stroke-width:1.6px,color:#111111,font-weight:600;
32
+ classDef note fill:#ffffff,stroke:none,color:#555555,font-size:18px;
33
+ class motion,extent,pattern input;
34
+ class joint,moving,fixed calculation;
35
+ class score result;
36
+ class counts,state note;
media/kinematic-fidelity.png ADDED

Git LFS Details

  • SHA256: bab0282dabde7fa1713b976b979e4ce2e033e9a9b6b539b865f9e4001f834e1d
  • Pointer size: 131 Bytes
  • Size of remote file: 287 kB
media/kinematic-fidelity.svg ADDED
media/score-diagrams-Geist-OFL.txt ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font) Geist-Italic[wght].ttf: Copyright 2024 The Geist Project Authors (https://github.com/vercel/geist-font)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
media/visual-fidelity.mmd ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ %%{init: {"startOnLoad":false,"securityLevel":"strict","theme":"base","look":"classic","fontFamily":"Geist Sans, sans-serif","fontSize":22,"htmlLabels":true,"themeVariables":{"fontFamily":"Geist Sans, sans-serif","fontSize":"22px","background":"#ffffff","primaryColor":"#ffffff","primaryTextColor":"#222222","primaryBorderColor":"#555555","lineColor":"#777777","secondaryColor":"#ffffff","tertiaryColor":"#ffffff","edgeLabelBackground":"#ffffff"},"flowchart":{"htmlLabels":true,"curve":"linear","nodeSpacing":32,"rankSpacing":52,"padding":20,"diagramPadding":20,"useMaxWidth":false,"wrappingWidth":460}}}%%
2
+ %% SimReadyBench visual fidelity. S, A and V are percentages.
3
+ %% Sources: fidelity.py:217-233,400-432,688-770,852-907;
4
+ %% composites.py:102-151; usd_geometry.py:292-313.
5
+ flowchart LR
6
+ accTitle: Visual fidelity aggregation
7
+ accDescr: Surface precision and recall form the shape F-score. Supported material property matches are averaged first within each area sample and then across reference samples. Visual fidelity is the geometric mean of shape and appearance. Inapplicable factors are omitted and unmeasured active factors keep the scalar score unknown.
8
+
9
+ geometry["Surface correspondence<br/>$$P = \text{candidate-to-reference precision}$$<br/>$$R = \text{reference-to-candidate recall}$$<br/>Within the configured distance band"]
10
+ shape["Shape (%)<br/>$$S = \begin{cases}100\,\frac{2PR}{P+R},&P+R>0\\0,&P+R=0\end{cases}$$"]
11
+ properties["Supported material appearance<br/>Diffuse colour, roughness<br/>Metallic and opacity<br/>Match requires spatial and property tolerances"]
12
+ sample["Per-sample appearance<br/>$$a_i = \frac{\text{passed properties at }i}{\text{eligible properties at }i}$$<br/>Equal weight per reference area sample"]
13
+ appearance["Appearance (%)<br/>$$A = \frac{100}{n}\sum_{i=1}^{n}a_i$$<br/>$$n = \text{eligible reference samples}$$"]
14
+ visual["Visual fidelity (%)<br/>$$V = \sqrt{SA}$$<br/>Geometric mean of active factors"]
15
+ state["Assigned samples with no supported properties stay unmeasured.<br/>Any active factor unmeasured: score unmeasured, with bounds.<br/>Omit inapplicable factors. One remains: its score is used.<br/>None remain: not applicable."]
16
+
17
+ geometry --> shape
18
+ properties --> sample --> appearance
19
+ shape --> visual
20
+ appearance --> visual
21
+ state -.- visual
22
+
23
+ classDef input fill:#ffffff,stroke:#9a9a9a,stroke-width:1px,color:#222222;
24
+ classDef calculation fill:#ffffff,stroke:#555555,stroke-width:1.2px,color:#222222;
25
+ classDef result fill:#f2f2f2,stroke:#222222,stroke-width:1.6px,color:#111111,font-weight:600;
26
+ classDef note fill:#ffffff,stroke:none,color:#555555,font-size:18px;
27
+ class geometry,properties input;
28
+ class shape,sample,appearance calculation;
29
+ class visual result;
30
+ class state note;
media/visual-fidelity.png ADDED

Git LFS Details

  • SHA256: e757eeca8b8591c4965c773e0a5541f769b1637f7df77d14162d00e7dc8ad56a
  • Pointer size: 131 Bytes
  • Size of remote file: 238 kB
media/visual-fidelity.svg ADDED