Skip to content

Commit 248fd42

Browse files
m-messerclaude
andcommitted
Record the exact eV and u constants as expected parity changes
The v0.1 parity check flagged the 12 eV/u probes (10 eV, 10 electronvolt, 10 u, 10 atomic_mass_unit in strict_all, natural and legacy modes), which change on purpose with the exact constants. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 34b677d commit 248fd42

1 file changed

Lines changed: 204 additions & 0 deletions

File tree

‎tools/parity/expected_changes.json‎

Lines changed: 204 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -648,6 +648,23 @@
648648
"value_latex": "10"
649649
}
650650
},
651+
"quantity.parse|legacy|10 atomic_mass_unit": {
652+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
653+
"value": {
654+
"content": "10 atomic_mass_unit",
655+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
656+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
657+
"latex": "10~\\mathrm{atomic_mass_unit}",
658+
"messages": [],
659+
"standard_unit": "gram",
660+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
661+
"unit": "atomic_mass_unit",
662+
"unit_factor": "41513476723/25000000000000000000000000000000000",
663+
"unit_latex": "\\mathrm{atomic_mass_unit}",
664+
"value": "10",
665+
"value_latex": "10"
666+
}
667+
},
651668
"quantity.parse|legacy|10 deg": {
652669
"reason": "units: angles in radians (radian = 1); degree is pi/180 (was 1/360 of a turn, inconsistent with angleminute)",
653670
"value": {
@@ -682,6 +699,40 @@
682699
"value_latex": "10"
683700
}
684701
},
702+
"quantity.parse|legacy|10 eV": {
703+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
704+
"value": {
705+
"content": "10 electronvolt",
706+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
707+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
708+
"latex": "10~\\mathrm{electronvolt}",
709+
"messages": [],
710+
"standard_unit": "gram*metre**2/second**2",
711+
"standard_value": "10*801088317/5000000000000000000000000",
712+
"unit": "eV",
713+
"unit_factor": "801088317/5000000000000000000000000",
714+
"unit_latex": "\\mathrm{electronvolt}",
715+
"value": "10",
716+
"value_latex": "10"
717+
}
718+
},
719+
"quantity.parse|legacy|10 electronvolt": {
720+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
721+
"value": {
722+
"content": "10 electronvolt",
723+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
724+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
725+
"latex": "10~\\mathrm{electronvolt}",
726+
"messages": [],
727+
"standard_unit": "gram*metre**2/second**2",
728+
"standard_value": "10*801088317/5000000000000000000000000",
729+
"unit": "electronvolt",
730+
"unit_factor": "801088317/5000000000000000000000000",
731+
"unit_latex": "\\mathrm{electronvolt}",
732+
"value": "10",
733+
"value_latex": "10"
734+
}
735+
},
685736
"quantity.parse|legacy|10 kg m/s^2 + 10 kg m/s^2": {
686737
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
687738
"value": {
@@ -1159,6 +1210,23 @@
11591210
"value_latex": "10"
11601211
}
11611212
},
1213+
"quantity.parse|legacy|10 u": {
1214+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
1215+
"value": {
1216+
"content": "10 atomic_mass_unit",
1217+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
1218+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
1219+
"latex": "10~\\mathrm{atomic_mass_unit}",
1220+
"messages": [],
1221+
"standard_unit": "gram",
1222+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
1223+
"unit": "u",
1224+
"unit_factor": "41513476723/25000000000000000000000000000000000",
1225+
"unit_latex": "\\mathrm{atomic_mass_unit}",
1226+
"value": "10",
1227+
"value_latex": "10"
1228+
}
1229+
},
11621230
"quantity.parse|legacy|100* Pa": {
11631231
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
11641232
"value": {
@@ -3123,6 +3191,23 @@
31233191
"value_latex": "10"
31243192
}
31253193
},
3194+
"quantity.parse|natural|10 atomic_mass_unit": {
3195+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
3196+
"value": {
3197+
"content": "10 atomic_mass_unit",
3198+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
3199+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
3200+
"latex": "10~\\mathrm{atomic_mass_unit}",
3201+
"messages": [],
3202+
"standard_unit": "gram",
3203+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
3204+
"unit": "atomic_mass_unit",
3205+
"unit_factor": "41513476723/25000000000000000000000000000000000",
3206+
"unit_latex": "\\mathrm{atomic_mass_unit}",
3207+
"value": "10",
3208+
"value_latex": "10"
3209+
}
3210+
},
31263211
"quantity.parse|natural|10 deg": {
31273212
"reason": "units: angles in radians (radian = 1); degree is pi/180 (was 1/360 of a turn, inconsistent with angleminute)",
31283213
"value": {
@@ -3157,6 +3242,40 @@
31573242
"value_latex": "10"
31583243
}
31593244
},
3245+
"quantity.parse|natural|10 eV": {
3246+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
3247+
"value": {
3248+
"content": "10 electronvolt",
3249+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
3250+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
3251+
"latex": "10~\\mathrm{electronvolt}",
3252+
"messages": [],
3253+
"standard_unit": "gram*metre**2/second**2",
3254+
"standard_value": "10*801088317/5000000000000000000000000",
3255+
"unit": "eV",
3256+
"unit_factor": "801088317/5000000000000000000000000",
3257+
"unit_latex": "\\mathrm{electronvolt}",
3258+
"value": "10",
3259+
"value_latex": "10"
3260+
}
3261+
},
3262+
"quantity.parse|natural|10 electronvolt": {
3263+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
3264+
"value": {
3265+
"content": "10 electronvolt",
3266+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
3267+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
3268+
"latex": "10~\\mathrm{electronvolt}",
3269+
"messages": [],
3270+
"standard_unit": "gram*metre**2/second**2",
3271+
"standard_value": "10*801088317/5000000000000000000000000",
3272+
"unit": "electronvolt",
3273+
"unit_factor": "801088317/5000000000000000000000000",
3274+
"unit_latex": "\\mathrm{electronvolt}",
3275+
"value": "10",
3276+
"value_latex": "10"
3277+
}
3278+
},
31603279
"quantity.parse|natural|10 kg m/s^2 + 10 kg m/s^2": {
31613280
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
31623281
"value": {
@@ -3634,6 +3753,23 @@
36343753
"value_latex": "10"
36353754
}
36363755
},
3756+
"quantity.parse|natural|10 u": {
3757+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
3758+
"value": {
3759+
"content": "10 atomic_mass_unit",
3760+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
3761+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
3762+
"latex": "10~\\mathrm{atomic_mass_unit}",
3763+
"messages": [],
3764+
"standard_unit": "gram",
3765+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
3766+
"unit": "u",
3767+
"unit_factor": "41513476723/25000000000000000000000000000000000",
3768+
"unit_latex": "\\mathrm{atomic_mass_unit}",
3769+
"value": "10",
3770+
"value_latex": "10"
3771+
}
3772+
},
36373773
"quantity.parse|natural|100* Pa": {
36383774
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
36393775
"value": {
@@ -4374,6 +4510,23 @@
43744510
"value_latex": "10"
43754511
}
43764512
},
4513+
"quantity.parse|strict_all|10 atomic_mass_unit": {
4514+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
4515+
"value": {
4516+
"content": "10 atomic_mass_unit",
4517+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
4518+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
4519+
"latex": "10~\\mathrm{atomic_mass_unit}",
4520+
"messages": [],
4521+
"standard_unit": "gram",
4522+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
4523+
"unit": "atomic_mass_unit",
4524+
"unit_factor": "41513476723/25000000000000000000000000000000000",
4525+
"unit_latex": "\\mathrm{atomic_mass_unit}",
4526+
"value": "10",
4527+
"value_latex": "10"
4528+
}
4529+
},
43774530
"quantity.parse|strict_all|10 deg": {
43784531
"reason": "units: angles in radians (radian = 1); degree is pi/180 (was 1/360 of a turn, inconsistent with angleminute)",
43794532
"value": {
@@ -4408,6 +4561,40 @@
44084561
"value_latex": "10"
44094562
}
44104563
},
4564+
"quantity.parse|strict_all|10 eV": {
4565+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
4566+
"value": {
4567+
"content": "10 electronvolt",
4568+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
4569+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
4570+
"latex": "10~\\mathrm{electronvolt}",
4571+
"messages": [],
4572+
"standard_unit": "gram*metre**2/second**2",
4573+
"standard_value": "10*801088317/5000000000000000000000000",
4574+
"unit": "eV",
4575+
"unit_factor": "801088317/5000000000000000000000000",
4576+
"unit_latex": "\\mathrm{electronvolt}",
4577+
"value": "10",
4578+
"value_latex": "10"
4579+
}
4580+
},
4581+
"quantity.parse|strict_all|10 electronvolt": {
4582+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
4583+
"value": {
4584+
"content": "10 electronvolt",
4585+
"dimension": "(801088317/500000000)*length**2*10**3*mass/(10**19*time**2)",
4586+
"expanded_unit": "(801088317/500000000)*metre**2*10**3*gram/(10**19*second**2)",
4587+
"latex": "10~\\mathrm{electronvolt}",
4588+
"messages": [],
4589+
"standard_unit": "gram*metre**2/second**2",
4590+
"standard_value": "10*801088317/5000000000000000000000000",
4591+
"unit": "electronvolt",
4592+
"unit_factor": "801088317/5000000000000000000000000",
4593+
"unit_latex": "\\mathrm{electronvolt}",
4594+
"value": "10",
4595+
"value_latex": "10"
4596+
}
4597+
},
44114598
"quantity.parse|strict_all|10 g/sm": {
44124599
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
44134600
"value": {
@@ -5102,6 +5289,23 @@
51025289
"value_latex": "10"
51035290
}
51045291
},
5292+
"quantity.parse|strict_all|10 u": {
5293+
"reason": "physical_quantities: the electronvolt is exactly 1.602176634e-19 J (2019 SI) and the atomic mass unit 1.66053906892e-27 kg (CODATA 2022); were 1.60218e-19 J and 1.66054e-27 kg",
5294+
"value": {
5295+
"content": "10 atomic_mass_unit",
5296+
"dimension": "(41513476723/25000000000)*10**3*mass/10**27",
5297+
"expanded_unit": "(41513476723/25000000000)*10**3*gram/10**27",
5298+
"latex": "10~\\mathrm{atomic_mass_unit}",
5299+
"messages": [],
5300+
"standard_unit": "gram",
5301+
"standard_value": "10*41513476723/25000000000000000000000000000000000",
5302+
"unit": "u",
5303+
"unit_factor": "41513476723/25000000000000000000000000000000000",
5304+
"unit_latex": "\\mathrm{atomic_mass_unit}",
5305+
"value": "10",
5306+
"value_latex": "10"
5307+
}
5308+
},
51055309
"quantity.parse|strict_all|10*pi kilogrammetre/second^2": {
51065310
"reason": "units: FeedbackTag removed; reverted-unit facts now exposed as plain RevertedUnit(before, marked, after) records, not (id, tag, inputs) triples",
51075311
"value": {

0 commit comments

Comments
 (0)