crashmetrics.bncap_cop and crashmetrics.bncap_rating¶
bncap_cop
¶
Bharat NCAP child occupant protection (AIS-197 Annexure V).
The child occupant protection (COP) score is out of 49 points (22 for vehicles without rear seats, such as two-seaters), the sum of:
- Dynamic assessment, 24 points: Q1.5 and Q3 in the ODB frontal test
(8 points each: head 4, neck 2, chest 2) and the MDB side test (4
points each, head).
score_child_frontal,score_child_side,score_cop_dynamic. - CRS installation, 12 points: installation list (10) and the two
manufacturer-recommended CRS (2).
score_crs_installation. - Vehicle based assessments, 13 points (10 for two-seaters).
score_vehicle_based.
score_cop adds them up and gives the COP stars (Annexure VIII 4.3).
Scores are rounded to 3 decimals (Section 4.2 of the standard).
Edition: AIS-197 of September 2023, for ratings from 1 October 2023 to
30 September 2027 (crashmetrics.bncap.PROTOCOL); score_cop takes
edition=2023 and its result carries the protocol text.
Units: accelerations g, forces N, excursions mm.
CHILD_HEAD_CONTACT_PEAK
module-attribute
¶
Peak resultant head acceleration (g) at or above which head contact with the CRS is assumed (4.2.2.1, 4.2.3.2).
CHILD_FRONTAL_LIMITS
module-attribute
¶
CHILD_FRONTAL_LIMITS: dict[
str, dict[str, tuple[float, float]]
] = {
"q1.5": {
"head_a3ms": (72.0, 88.0),
"neck_tension": (1700.0, 2620.0),
"chest_a3ms": (41.0, 55.0),
"head_excursion": (549.0, 550.0),
},
"q3": {
"head_a3ms": (87.0, 100.0),
"neck_tension": (1700.0, 2620.0),
"chest_a3ms": (50.0, 66.0),
"head_excursion": (549.0, 550.0),
},
}
Frontal (higher, lower) performance limits (Annexure V 4.2.2): full points at or below the first value, none at or above the second, linear between. Head 3 ms acceleration only applies with head contact.
CHILD_SIDE_LIMITS
module-attribute
¶
Side head 3 ms acceleration limits for both dummies (4.2.3.2).
AIRBAG_POINTS
module-attribute
¶
AIRBAG_POINTS: dict[str, float] = {
"label_not_ok": 0.0,
"label_only": 1.0,
"manual": 3.0,
"automatic": 4.0,
}
Passenger airbag warning marking and disabling (5.6): label not OK 0; label OK, no disconnection 1; manual disconnection 3; automatic 4 (the label is a precondition).
ChildFrontalScore
dataclass
¶
ChildFrontalScore(
dummy: str,
points: float,
head: float,
neck: float,
chest: float,
head_governing: str,
notes: tuple[str, ...] = (),
)
Frontal impact score of one child dummy (8 points).
ChildSideScore
dataclass
¶
Side impact score of one child dummy (4 points, head).
CopDynamicScore
dataclass
¶
CopDynamicScore(
points: float,
frontal: dict[str, ChildFrontalScore],
side: dict[str, ChildSideScore],
notes: tuple[str, ...] = (),
max_points: float = 24.0,
)
Dynamic assessment, 24 points.
CrsInstallation
dataclass
¶
Installation result of one CRS over its eligible seating positions.
CrsInstallationScore
dataclass
¶
VehicleBasedAssessment
dataclass
¶
VehicleBasedAssessment(
three_point_belts: bool = True,
gabarit_all_seats: bool = False,
gabarit_handbook_and_airbag: bool = False,
three_simultaneous: bool = False,
three_simultaneous_isize: bool = False,
isofix_un: bool = False,
isofix_marked: bool = False,
isofix_isize_ready: bool = False,
two_largest_isofix: bool = False,
airbag: AirbagState = "label_not_ok",
integrated_crs: bool = False,
integrated_crs_group_1_3: bool = False,
)
Inputs of the vehicle based assessments (Annexure V Section 5).
three_point_belts
class-attribute
instance-attribute
¶
5.1: every passenger seat has a 3-point automatic belt meeting the regulations; otherwise all vehicle based points are 0.
gabarit_all_seats
class-attribute
instance-attribute
¶
5.2.2 a) to e) met on all passenger seats: 1 point.
gabarit_handbook_and_airbag
class-attribute
instance-attribute
¶
5.2.2 f) to h) met as well (handbook seat suitability, airbag statements, airbag disabling standard): 1 more point.
three_simultaneous
class-attribute
instance-attribute
¶
5.3.1: three seating positions take installation-list CRS (groups 0-III) at the same time: 1 point (not for two-seaters).
three_simultaneous_isize
class-attribute
instance-attribute
¶
5.3.1.3: three seating positions take i-Size CRS at the same time: 1 point (not for two-seaters).
isofix_un
class-attribute
instance-attribute
¶
5.4 A): ISOFIX to UN regulation (precondition, 0 points).
isofix_marked
class-attribute
instance-attribute
¶
5.4 B): anchorages and pairs marked: 1 point (needs A).
isofix_isize_ready
class-attribute
instance-attribute
¶
5.4 C): i-Size ready: 1 more point (needs A and B).
two_largest_isofix
class-attribute
instance-attribute
¶
5.5: two seating positions take the largest rearward facing ISOFIX CRS (two-seaters: the passenger seat): 1 point.
airbag
class-attribute
instance-attribute
¶
5.6: passenger airbag warning marking and disabling.
integrated_crs
class-attribute
instance-attribute
¶
5.7.1: integrated CRS as standard: 1 point.
integrated_crs_group_1_3
class-attribute
instance-attribute
¶
5.7.2: a group I-III integrated CRS as standard: 1 more point.
CopScore
dataclass
¶
CopScore(
points: float,
max_points: float,
stars: int,
dynamic: CopDynamicScore | None,
installation: CrsInstallationScore,
vehicle_based: VehicleBasedScore,
two_seater: bool,
notes: tuple[str, ...] = (),
protocol: str = PROTOCOL,
)
score_child_frontal
¶
score_child_frontal(
dummy: Dummy,
facing: Facing,
head_a3ms: float,
neck_tension: float,
chest_a3ms: float,
head_peak: float | None = None,
crs_head_contact: bool = False,
head_excursion: float | None = None,
head_exposure_ok: bool = True,
vehicle_head_contact: bool = False,
) -> ChildFrontalScore
Score a Q1.5 or Q3 in the ODB frontal test (Annexure V 4.2.2).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dummy
|
Dummy
|
|
required |
facing
|
Facing
|
|
required |
head_a3ms
|
float
|
Head resultant acceleration, 3 ms exceedance, g (used only with head contact with the CRS). |
required |
neck_tension
|
float
|
Upper neck Fz tension, N. |
required |
chest_a3ms
|
float
|
Chest resultant acceleration, 3 ms exceedance, g. |
required |
head_peak
|
float | None
|
Peak head resultant acceleration, g: contact with the CRS is assumed at or above 80 g (Q1.5) or 96 g (Q3). |
None
|
crs_head_contact
|
bool
|
Direct evidence of head contact with the CRS. |
False
|
head_excursion
|
float | None
|
Forward facing: largest forward head excursion relative to the Cr point, mm (4 points up to 549 mm, 0 from 550 mm); None if it cannot be estimated (then deemed 549 mm or less). |
None
|
head_exposure_ok
|
bool
|
Rearward facing: no compressive load on the top of the head and the head contained in the shell (4.2.2.3). |
True
|
vehicle_head_contact
|
bool
|
Head contact with the vehicle at any time (4.2.1): no head points in this test. |
False
|
Notes
A Q1.5 in a forward facing CRS loses 6 points, 4 for the head and 2 for the neck (4.1.1).
score_child_side
¶
score_child_side(
dummy: Dummy,
head_a3ms: float,
head_peak: float | None = None,
crs_head_contact: bool = False,
head_contained: bool = True,
vehicle_head_contact: bool = False,
) -> ChildSideScore
Score a Q1.5 or Q3 in the MDB side test (Annexure V 4.2.3), 4 points.
The head must stay contained in the CRS shell (else 0); without head contact with the CRS it scores 4, with contact 4 points at 72 g or less and none from 88 g (head 3 ms acceleration).
score_cop_dynamic
¶
score_cop_dynamic(
frontal: Sequence[ChildFrontalScore],
side: Sequence[ChildSideScore],
ejected: Sequence[str] = (),
recommendation_valid: bool = True,
) -> CopDynamicScore
Combine the child dummy scores of the frontal and side tests.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
frontal
|
Sequence[ChildFrontalScore]
|
One score per dummy (Q1.5 and Q3) and test. |
required |
side
|
Sequence[ChildFrontalScore]
|
One score per dummy (Q1.5 and Q3) and test. |
required |
ejected
|
Sequence[str]
|
Dummies ( |
()
|
recommendation_valid
|
bool
|
False if the manufacturer gave no (appropriate) CRS recommendation: no dynamic points (2.1.4). |
True
|
score_crs_installation
¶
score_crs_installation(
installation_list: Sequence[CrsInstallation],
recommended: Sequence[CrsInstallation] | None = None,
coverage_requirements_met: bool = True,
) -> CrsInstallationScore
CRS installation score, 12 points (Annexure V 3.7).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
installation_list
|
Sequence[CrsInstallation]
|
Every CRS on the original installation list. CRSi = (Ti - Fi) / Ti; their average (exempt CRS excluded) times 10 points. |
required |
recommended
|
Sequence[CrsInstallation] | None
|
The two manufacturer-recommended CRS: their average CRSi times 2 points. None if there is no recommendation (maximum 10 points). |
None
|
coverage_requirements_met
|
bool
|
False if not every passenger seating position (front row excepted) accommodates a group 0+ and a group I CRS from the list, or not every group 0-III is accommodated somewhere: the installation score is halved (3.2.9). |
True
|
score_vehicle_based
¶
score_vehicle_based(
v: VehicleBasedAssessment, two_seater: bool = False
) -> VehicleBasedScore
Vehicle based assessment score: 13 points, or 10 for vehicles without rear seats (Annexure V Section 5 and 6.1.3, Annexure VIII 4.2).
score_cop
¶
score_cop(
installation: CrsInstallationScore,
vehicle_based: VehicleBasedScore,
dynamic: CopDynamicScore | None = None,
two_seater: bool = False,
edition: int = EDITION,
) -> CopScore
Child occupant protection total and stars (AIS-197 2023).
49 points (dynamic 24, installation 12, vehicle based 13) with the star thresholds 41 / 35 / 27 / 18 / 9; two-seaters (no dynamic assessment) 22 points with 20 / 17 / 13 / 9 / 5 (Annexure VIII 4.3).
bncap_rating
¶
Bharat NCAP safety assist qualifiers and the complete rating (AIS-197 Section 4 and Annexure VI).
Fitment of safety assist technologies is a qualifier for the adult occupant protection (AOP) stars (Table 2A): a car gets at most the highest star level whose requirements it meets.
- Every star level: pedestrian protection to AIS-100 and seat belt reminders to AIS-145, fitted as standard.
- 5 and 4 stars: ESC fitted, demonstrated and committed to 100 %
fitment within 2 years; side head protection fitted on the test model,
a passed pole test, and a minimum standard fitment share by
publication year (
side_head_fitment_required). - 3 stars: ESC as for 5 stars from October 2025 (optional before); side head protection optional in at least one variant and a passed pole test.
- 1 and 2 stars: ESC and side head protection optional.
Functions:
side_head_fitment_required: Minimum standard fitment share of side head protection for 4 or 5 stars by publication date.safety_assist_max_stars: Highest star level whose qualifiers are met.bncap_rating: AOP stars (with the qualifiers) and COP stars together.
Edition: AIS-197 of September 2023, for ratings from 1 October 2023 to
30 September 2027 (crashmetrics.bncap.PROTOCOL). bncap_rating takes
edition=2023, refuses results scored under another protocol, and
prints the protocol in its summary.
SafetyAssist
dataclass
¶
SafetyAssist(
publication: date,
pedestrian_ais100: bool,
seat_belt_reminder_ais145: bool,
esc_fitted: bool = False,
esc_demonstrated: bool = False,
esc_full_fitment_commitment: bool = False,
side_head_protection_fitted: bool = False,
pole_test_passed: bool = False,
side_head_standard_fitment: float = 0.0,
side_head_optional_in_variant: bool = False,
)
Safety assist technology fitment of the rated model.
pedestrian_ais100
instance-attribute
¶
Pedestrian protection to AIS-100 fitted as standard and shown by a test or type approval report.
seat_belt_reminder_ais145
instance-attribute
¶
Seat belt reminders to AIS-145 fitted as standard and shown.
esc_fitted
class-attribute
instance-attribute
¶
ESC fitted on the test model.
esc_demonstrated
class-attribute
instance-attribute
¶
ESC test (UN GTR 8, UN R140 or AIS-133) passed, or a valid type approval report.
esc_full_fitment_commitment
class-attribute
instance-attribute
¶
Commitment to fit ESC in 100 % of the model within 2 years of publication (stand-alone option meanwhile).
side_head_protection_fitted
class-attribute
instance-attribute
¶
Side head protection fitted on the test model.
pole_test_passed
class-attribute
instance-attribute
¶
Side pole test to Annexure III performed and passed
(crashmetrics.bncap.pole_test_passed).
side_head_standard_fitment
class-attribute
instance-attribute
¶
Share of production with side head protection as standard (0-1).
side_head_optional_in_variant
class-attribute
instance-attribute
¶
Side head protection offered at least as an option in a variant.
SafetyAssistResult
dataclass
¶
BncapRating
dataclass
¶
BncapRating(
aop: AopRating,
cop: CopScore,
safety_assist: SafetyAssistResult,
protocol: str = PROTOCOL,
)
side_head_fitment_required
¶
Minimum share of production with side head protection as standard.
Annexure VI 2.2 (5 stars) and 3.2 (4 stars), by publication year (October to September). Returns a fraction (0.3 = 30 %), 0.0 where the protection only has to be optional in at least one variant, or None for 3 stars and fewer (no fitment share).
The 4-star table ends in September 2027 and requires 100 % from October 2030; in between the last tabulated value (50 %) is used.
safety_assist_max_stars
¶
safety_assist_max_stars(
sa: SafetyAssist,
) -> SafetyAssistResult
Highest AOP star level allowed by the safety assist qualifiers (AIS-197 Annexure VI).
bncap_rating
¶
bncap_rating(
frontal: TestResult,
side: TestResult,
cop: CopScore,
safety_assist: SafetyAssist,
edition: int = EDITION,
) -> BncapRating
Return the adult and child star ratings.
The AOP stars come from crashmetrics.bncap.aop_rating with the
safety assist qualifiers as max_stars_allowed; the COP stars
from the COP points (crashmetrics.bncap_cop.score_cop).