From 69e017ca7df8920b2990c2670b981fd95ed3200d Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Thu, 23 Apr 2026 13:13:25 -0700 Subject: [PATCH] Added decimal precision and SGI groupings. Co-authored-by: Copilot --- electron/decoder/decoder.js | 13 +- package.json | 2 +- .../price-diff-pc-formatter.atom.jsx | 17 +- .../jobs-group-modal.molecule.jsx | 5 +- .../jobs-targets-stats.molecule.jsx | 7 +- .../reporting-jobs-list.molecule.jsx | 7 +- .../reporting-scatterchart.molecule.jsx | 91 +- .../reporting-totals-stats.molecule.jsx | 12 +- src/ipc/ipc-estimate-utils.js | 3098 +++++++++++++++++ src/util/GetJobTarget.js | 10 +- src/util/decimalPrecision.js | 8 + 11 files changed, 3170 insertions(+), 100 deletions(-) create mode 100644 src/util/decimalPrecision.js diff --git a/electron/decoder/decoder.js b/electron/decoder/decoder.js index 8b909d8..3958122 100644 --- a/electron/decoder/decoder.js +++ b/electron/decoder/decoder.js @@ -65,10 +65,18 @@ async function DecodeEstimate(filePath, includeFilePathInReturnJob = false, clos delete job.mat_rates; job.insp_date = ad2.INSP_DATE; + const ins_rule_set = store.get("ins_rule_set"); + if (job.OWNR_FN === "" || !job.OWNR_FN) job.OWNR_FN = ad2.CLMT_FN; if (job.OWNR_LN === "" || !job.OWNR_LN) job.OWNR_LN = ad2.CLMT_LN; + if (ins_rule_set === "SGI") { + if (job.OWNR_FN === "" || !job.OWNR_FN) job.OWNR_FN = job.INSD_FN; + if (job.OWNR_LN === "" || !job.OWNR_LN) job.OWNR_LN = job.INSD_LN; + } if (job.OWNR_CO_NM) job.OWNR_LN = `${job.OWNR_LN} ${job.OWNR_CO_NM}`; delete job.OWNR_CO_NM; + delete job.INSD_LN; + delete job.INSD_FN; const accepted_ins_co = store.get("accepted_ins_co"); let returnValue; @@ -77,7 +85,6 @@ async function DecodeEstimate(filePath, includeFilePathInReturnJob = false, clos // returnValue = { ERROR: "Vehicle mileage is less than 20,000kms." }; // } else - const ins_rule_set = store.get("ins_rule_set"); if (!accepted_ins_co.includes(job.INS_CO_NM)) { returnValue = { @@ -192,8 +199,8 @@ async function DecodeAd1File(extensionlessFilePath) { // "CAT_NO", "TLOS_IND", // "CUST_PR", - // "INSD_LN", - // "INSD_FN", + "INSD_LN", + "INSD_FN", // "INSD_TITLE", // "INSD_CO_NM", // "INSD_ADDR1", diff --git a/package.json b/package.json index a71937b..bc1d18c 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "productName": "ImEX RPS", "author": "ImEX Systems Inc. ", "description": "ImEX RPS", - "version": "1.6.0-alpha.7", + "version": "1.6.0-alpha.8", "main": "electron/main.js", "homepage": "./", "dependencies": { diff --git a/src/components/atoms/price-diff-pc-formatter/price-diff-pc-formatter.atom.jsx b/src/components/atoms/price-diff-pc-formatter/price-diff-pc-formatter.atom.jsx index 6552071..bfb1908 100644 --- a/src/components/atoms/price-diff-pc-formatter/price-diff-pc-formatter.atom.jsx +++ b/src/components/atoms/price-diff-pc-formatter/price-diff-pc-formatter.atom.jsx @@ -5,28 +5,25 @@ import { createStructuredSelector } from "reselect"; import { selectSelectedJobTargetPc } from "../../../redux/application/application.selectors"; import { selectBodyshop } from "../../../redux/user/user.selectors"; import "./price-diff-pc-formatter.styles.scss"; +import { getDecimalPrecision } from "../../../util/decimalPrecision"; const mapStateToProps = createStructuredSelector({ selectedJobTargetPc: selectSelectedJobTargetPc, - bodyshop: selectBodyshop, + bodyshop: selectBodyshop }); -export function PriceDiffPcFormatterAtom({ - bodyshop, - price_diff_pc, - selectedJobTargetPc, -}) { +export function PriceDiffPcFormatterAtom({ bodyshop, price_diff_pc, selectedJobTargetPc }) { + const precision = getDecimalPrecision(); return (
selectedJobTargetPc ? "green" : "red", display: "flex", - alignItems: "center", + alignItems: "center" }} > - {(price_diff_pc * 100).toFixed(1)}% - {price_diff_pc === 1 || - (price_diff_pc <= bodyshop.ppd_diff_alert && price_diff_pc > 0) ? ( + {(price_diff_pc * 100).toFixed(precision)}% + {price_diff_pc === 1 || (price_diff_pc <= bodyshop.ppd_diff_alert && price_diff_pc > 0) ? ( ) : null}
diff --git a/src/components/molecules/jobs-group-modal/jobs-group-modal.molecule.jsx b/src/components/molecules/jobs-group-modal/jobs-group-modal.molecule.jsx index b7001c4..84114a4 100644 --- a/src/components/molecules/jobs-group-modal/jobs-group-modal.molecule.jsx +++ b/src/components/molecules/jobs-group-modal/jobs-group-modal.molecule.jsx @@ -5,6 +5,7 @@ import { InfoCircleFilled } from "@ant-design/icons"; import { FakedGroupsForV3WithMake } from "../../../ipc/ipc-estimate-utils"; import { WhichMPIRulesetToApply } from "../../../util/constants"; import { alphaSort } from "../../../util/sorters"; +import { getDecimalPrecision } from "../../../util/decimalPrecision"; const data = [ { @@ -366,7 +367,7 @@ const v3DataSource = _.sortBy( export function JobsGroupV3ModalMolecule() { const [visible, setVisible] = useState(false); const [search, setSearch] = useState(""); - + const precision = getDecimalPrecision(); const v3DataSourceFiltered = search === null || search.trim() === "" ? v3DataSource @@ -420,7 +421,7 @@ export function JobsGroupV3ModalMolecule() { title: "Target", dataIndex: "target", key: "target", - render: (text, record) => `${(record.target * 100).toFixed(1)}%` + render: (text, record) => `${(record.target * 100).toFixed(precision)}%` } ]} /> diff --git a/src/components/molecules/jobs-targets-stats/jobs-targets-stats.molecule.jsx b/src/components/molecules/jobs-targets-stats/jobs-targets-stats.molecule.jsx index a49175b..4928b99 100644 --- a/src/components/molecules/jobs-targets-stats/jobs-targets-stats.molecule.jsx +++ b/src/components/molecules/jobs-targets-stats/jobs-targets-stats.molecule.jsx @@ -9,6 +9,7 @@ import { CalculateJobRpsDollars, CalculateJobRpsPc } from "../../../util/Calcula import ErrorResultAtom from "../../atoms/error-result/error-result.atom"; import { WhichMPIRulesetToApply } from "../../../util/constants"; import { selectBodyshop } from "../../../redux/user/user.selectors"; +import { getDecimalPrecision } from "../../../util/decimalPrecision"; const mapStateToProps = createStructuredSelector({ selectedJobTargetPc: selectSelectedJobTargetPc, @@ -39,7 +40,7 @@ export function JobsTargetsStatsMolecule({ loading, job, selectedJobTargetPc, bo const targetRpsDollars = dbPriceSum.percentage(selectedJobTargetPc * 100); const dollarDiff = jobRpsDollars.subtract(targetRpsDollars); const MPIRulesetToApply = WhichMPIRulesetToApply(job.close_date); - + const precision = getDecimalPrecision(); return (
% @@ -72,7 +73,7 @@ export function JobsTargetsStatsMolecule({ loading, job, selectedJobTargetPc, bo valueStyle={{ color: selectedJobTargetPc > (jobRpsPc || 0) ? "tomato" : "seagreen" }} - value={((jobRpsPc || 0) * 100).toFixed(1)} + value={((jobRpsPc || 0) * 100).toFixed(precision)} suffix="%" /> diff --git a/src/components/molecules/reporting-jobs-list/reporting-jobs-list.molecule.jsx b/src/components/molecules/reporting-jobs-list/reporting-jobs-list.molecule.jsx index 966d08f..9896d3e 100644 --- a/src/components/molecules/reporting-jobs-list/reporting-jobs-list.molecule.jsx +++ b/src/components/molecules/reporting-jobs-list/reporting-jobs-list.molecule.jsx @@ -19,6 +19,7 @@ import VehicleGroupAlertAtom from "../../atoms/vehicle-group-alert/vehicle-group import GroupVerifySwitch from "../group-verify-switch/group-verify-switch.component"; import JobsClaimsClerkMolecule from "../jobs-claims-clerk/jobs-claims-clerk.molecule.jsx"; import { addExcludedId, removeExcludedId } from "../../../redux/reporting/reporting.actions.js"; +import { getDecimalPrecision } from "../../../util/decimalPrecision.js"; const { ipcRenderer } = window; @@ -44,7 +45,7 @@ export function ReportingJobsListMolecule({ removeExcludedId }) { const [searchText, setSearchText] = useState(""); - + const precision = getDecimalPrecision(); const columns = [ { title: "Claim No.", @@ -172,7 +173,7 @@ export function ReportingJobsListMolecule({ color: record.jobRpsPc > record.jobTarget ? "seagreen" : "tomato" }} > - {`${(record.jobRpsPc * 100 || 0).toFixed(1)}% / ${(record.jobTarget * 100).toFixed(1)}%`} + {`${(record.jobRpsPc * 100 || 0).toFixed(precision)}% / ${(record.jobTarget * 100).toFixed(precision)}%`} ) }, @@ -186,7 +187,7 @@ export function ReportingJobsListMolecule({ onChange={(checked) => { checked ? addExcludedId(record.id) : removeExcludedId(record.id); ipcRenderer.send(ipcTypes.app.toMain.track, { - event: "TOGGLE_SCENARIO_MANAGER", + event: "TOGGLE_SCENARIO_MANAGER" }); }} /> diff --git a/src/components/molecules/reporting-scatterchart/reporting-scatterchart.molecule.jsx b/src/components/molecules/reporting-scatterchart/reporting-scatterchart.molecule.jsx index 5ecf75b..1ee0d58 100644 --- a/src/components/molecules/reporting-scatterchart/reporting-scatterchart.molecule.jsx +++ b/src/components/molecules/reporting-scatterchart/reporting-scatterchart.molecule.jsx @@ -1,10 +1,4 @@ -import { - Card, - Radio, - Skeleton, - Tooltip as AntdToolTip, - Typography, -} from "antd"; +import { Card, Radio, Skeleton, Tooltip as AntdToolTip, Typography } from "antd"; import React, { useState } from "react"; import { connect } from "react-redux"; import { @@ -16,37 +10,31 @@ import { Tooltip, XAxis, YAxis, - ZAxis, + ZAxis } from "recharts"; import { createStructuredSelector } from "reselect"; -import { - selectReportLoading, - selectScorecard, -} from "../../../redux/reporting/reporting.selectors"; +import { selectReportLoading, selectScorecard } from "../../../redux/reporting/reporting.selectors"; import DataLabelAtom from "../../atoms/data-label/data-label.atom"; import ErrorResultAtom from "../../atoms/error-result/error-result.atom"; +import { getDecimalPrecision } from "../../../util/decimalPrecision"; const mapStateToProps = createStructuredSelector({ reportingLoading: selectReportLoading, - scoreCard: selectScorecard, + scoreCard: selectScorecard }); const mapDispatchToProps = (dispatch) => ({}); -export default connect( - mapStateToProps, - mapDispatchToProps -)(ReportingScatterChartMolecule); +export default connect(mapStateToProps, mapDispatchToProps)(ReportingScatterChartMolecule); export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { const [type, setType] = useState("percent"); if (reportingLoading) return ; - if (!scoreCard) - return ; + if (!scoreCard) return ; const handleTypeChange = (e) => { setType(e.target.value); }; - + const precision = getDecimalPrecision(); return (
@@ -63,19 +51,12 @@ export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { placement="bottomLeft" title="Calculated as Actual Job RPS % less Target Job RPS %. E.g. 10% - 8% = 2%" > - - % Variance from Target - + % Variance from Target )} {type === "dollars" && ( - - - $ Variance from Target - + + $ Variance from Target )} @@ -103,13 +84,7 @@ export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { unit="%" /> )} - {type === "dollars" && ( - - )} + {type === "dollars" && } @@ -120,24 +95,12 @@ export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { return ( {item.owner} - - {item.vehicle} - - - {item.jobRpsDollars.toFormat()} - - - {(item.jobRpsPc * 100).toFixed(1)}% - - - {item.dbPriceSum.toFormat()} - - - {`${item.deviationPc}%`} - - - ${item.deviationDollars} - + {item.vehicle} + {item.jobRpsDollars.toFormat()} + {(item.jobRpsPc * 100).toFixed(precision)}% + {item.dbPriceSum.toFormat()} + {`${item.deviationPc.toFixed(precision)}%`} + ${item.deviationDollars} ); }} @@ -145,12 +108,7 @@ export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { /> {Object.keys(scoreCard.scatterChart).map((key, idx) => ( - + ))} @@ -159,11 +117,4 @@ export function ReportingScatterChartMolecule({ reportingLoading, scoreCard }) { ); } -const colors = [ - "#0c344d", - "#6cc314", - "#f5782a", - "#f5be2a", - "#fbff90", - "dodgerblue", -]; +const colors = ["#0c344d", "#6cc314", "#f5782a", "#f5be2a", "#fbff90", "dodgerblue"]; diff --git a/src/components/molecules/reporting-totals-stats/reporting-totals-stats.molecule.jsx b/src/components/molecules/reporting-totals-stats/reporting-totals-stats.molecule.jsx index 6b80646..c80768e 100644 --- a/src/components/molecules/reporting-totals-stats/reporting-totals-stats.molecule.jsx +++ b/src/components/molecules/reporting-totals-stats/reporting-totals-stats.molecule.jsx @@ -1,11 +1,11 @@ import { Alert, Button, Skeleton, Statistic } from "antd"; -import React from "react"; import { connect } from "react-redux"; import { createStructuredSelector } from "reselect"; +import { clearExcludedIds } from "../../../redux/reporting/reporting.actions"; import { selectExcludedIds, selectReportLoading, selectScorecard } from "../../../redux/reporting/reporting.selectors"; import ErrorResultAtom from "../../atoms/error-result/error-result.atom"; -import { clearExcludedIds } from "../../../redux/reporting/reporting.actions"; +import { getDecimalPrecision } from "../../../util/decimalPrecision"; const mapStateToProps = createStructuredSelector({ reportingLoading: selectReportLoading, scoreCard: selectScorecard, @@ -20,7 +20,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(ReportingTotalsStats export function ReportingTotalsStatsMolecule({ reportingLoading, scoreCard, excludedJobIds, clearExcludedIds }) { if (reportingLoading) return ; if (!scoreCard) return ; - + const precision = getDecimalPrecision(); return ( <>
diff --git a/src/ipc/ipc-estimate-utils.js b/src/ipc/ipc-estimate-utils.js index e8c85cd..c25d0cb 100644 --- a/src/ipc/ipc-estimate-utils.js +++ b/src/ipc/ipc-estimate-utils.js @@ -5403,3 +5403,3101 @@ export const FakedGroupsForV3WithMake = [ id: "" } ]; + + +export const SgiGroupsV12026April = [ + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ACURA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0201, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ACURA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.08, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ACURA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1071, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ACURA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ACURA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1585, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ALFA ROMEO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "ALFA ROMEO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "AUDI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0268, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "AUDI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0299, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "AUDI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0635, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "AUDI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "AUDI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.07, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BMW", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0078, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BMW", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0213, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BMW", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0317, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BMW", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BMW", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.056, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BUICK", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.032, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BUICK", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0513, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BUICK", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0953, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BUICK", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "BUICK", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1967, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CADILLAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.02, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CADILLAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0167, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CADILLAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0555, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CADILLAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CADILLAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1336, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Large Van", + "type": "VN", + "ageGte": 1, + "ageLt": 2, + "target": 0.0484, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Large Van", + "type": "VN", + "ageGte": 3, + "ageLt": 5, + "target": 0.1809, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Large Van", + "type": "VN", + "ageGte": 5, + "ageLt": 8, + "target": 0.1137, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Large Van", + "type": "VN", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Large Van", + "type": "VN", + "ageGte": 8, + "ageLt": null, + "target": 0.164, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.033, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0828, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1603, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2465, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0328, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.071, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1495, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHEVROLET", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.206, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHRYSLER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0572, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHRYSLER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0921, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHRYSLER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1682, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHRYSLER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "CHRYSLER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2281, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.068, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1331, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.2239, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2386, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "DODGE", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.2555, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FIAT", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FIAT", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.056, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Large Van", + "type": "VN", + "ageGte": 1, + "ageLt": 2, + "target": 0.0334, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Large Van", + "type": "VN", + "ageGte": 3, + "ageLt": 5, + "target": 0.0545, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Large Van", + "type": "VN", + "ageGte": 5, + "ageLt": 8, + "target": 0.0831, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Large Van", + "type": "VN", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Large Van", + "type": "VN", + "ageGte": 8, + "ageLt": null, + "target": 0.1282, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.045, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0828, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1664, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2181, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0324, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.0731, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1483, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "FORD", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1854, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GENESIS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0013, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GENESIS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0082, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GENESIS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0205, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GENESIS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Large Van", + "type": "VN", + "ageGte": 3, + "ageLt": 5, + "target": 0.0111, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Large Van", + "type": "VN", + "ageGte": 5, + "ageLt": 8, + "target": 0.0837, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Large Van", + "type": "VN", + "ageGte": 8, + "ageLt": null, + "target": 0.162, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0235, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0663, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1568, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2349, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0234, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.0715, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1506, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "GMC", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1982, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0488, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1259, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1686, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2421, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0188, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.0637, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1379, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HONDA", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1901, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HUMMER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1579, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HUMMER", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0392, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0879, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.162, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.192, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0158, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.0024, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "HYUNDAI", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "INFINITI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0117, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "INFINITI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0227, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "INFINITI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0646, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "INFINITI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "INFINITI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0944, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JAGUAR", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JAGUAR", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0082, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JAGUAR", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0091, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JAGUAR", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JAGUAR", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0061, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0427, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1057, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1782, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2352, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0124, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.033, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.0239, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "JEEP", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "KIA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0408, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "KIA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1118, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "KIA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1611, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "KIA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "KIA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1765, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LAND ROVER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0017, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LAND ROVER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0018, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LAND ROVER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0058, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LAND ROVER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LAND ROVER", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0214, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LEXUS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.02, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LEXUS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0466, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LEXUS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0704, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LEXUS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LEXUS", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1327, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0199, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0146, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0499, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0979, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "LINCOLN", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1163, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MAZDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0294, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MAZDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0826, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MAZDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1268, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MAZDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MAZDA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1967, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Large Van", + "type": "VN", + "ageGte": 1, + "ageLt": 2, + "target": 0, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Large Van", + "type": "VN", + "ageGte": 3, + "ageLt": 5, + "target": 0, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Large Van", + "type": "VN", + "ageGte": 5, + "ageLt": 8, + "target": 0.0946, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Large Van", + "type": "VN", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Large Van", + "type": "VN", + "ageGte": 8, + "ageLt": null, + "target": 0.0406, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.007, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.006, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0269, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCEDES-BENZ", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0411, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MERCURY", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1952, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MINI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MINI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0089, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MINI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0245, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MINI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MINI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0872, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MITSUBISHI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.025, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MITSUBISHI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0806, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MITSUBISHI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1526, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MITSUBISHI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "MITSUBISHI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2019, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0481, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1177, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1929, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2198, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0074, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.0606, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.0962, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "NISSAN", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1814, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "OLDSMOBILE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.3797, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PONTIAC", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2896, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PORSCHE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PORSCHE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0591, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PORSCHE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PORSCHE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "PORSCHE", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0205, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Large Van", + "type": "VN", + "ageGte": 1, + "ageLt": 2, + "target": 0.0109, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Large Van", + "type": "VN", + "ageGte": 3, + "ageLt": 5, + "target": 0.0458, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Large Van", + "type": "VN", + "ageGte": 5, + "ageLt": 8, + "target": 0.1211, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Large Van", + "type": "VN", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Large Van", + "type": "VN", + "ageGte": 8, + "ageLt": null, + "target": 0.1498, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0988, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.1402, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1658, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "RAM", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.2028, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SATURN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.2101, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SCION", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SCION", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1149, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SMART", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0076, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUBARU", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0309, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUBARU", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.09, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUBARU", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1263, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUBARU", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUBARU", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.202, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "SUZUKI", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1594, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0002, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.01, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0042, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TESLA", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0668, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.1225, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.1664, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1933, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Truck", + "type": "TK", + "ageGte": 1, + "ageLt": 2, + "target": 0.0532, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Truck", + "type": "TK", + "ageGte": 3, + "ageLt": 5, + "target": 0.1249, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Truck", + "type": "TK", + "ageGte": 5, + "ageLt": 8, + "target": 0.1734, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Truck", + "type": "TK", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "TOYOTA", + "desc": "Truck", + "type": "TK", + "ageGte": 8, + "ageLt": null, + "target": 0.1977, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLKSWAGEN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0127, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLKSWAGEN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0464, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLKSWAGEN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0762, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLKSWAGEN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLKSWAGEN", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.1099, + "age_desc": "Over 7 years", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLVO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 1, + "ageLt": 2, + "target": 0.0134, + "age_desc": "2 years old and newer", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLVO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 3, + "ageLt": 5, + "target": 0.0176, + "age_desc": "From 3 to 4 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLVO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 5, + "ageLt": 8, + "target": 0.0391, + "age_desc": "From 5 to 7 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLVO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 0, + "ageLt": 1, + "target": 0, + "age_desc": "0 years old", + "name": "SGIV1" + }, + { + "effective_date": Date("2024-01-01"), + "end_date": null, + "ins_co": "SGI", + "make": "VOLVO", + "desc": "Passenger Vehicle", + "type": "PC", + "ageGte": 8, + "ageLt": null, + "target": 0.0151, + "age_desc": "Over 7 years", + "name": "SGIV1" + } +] \ No newline at end of file diff --git a/src/util/GetJobTarget.js b/src/util/GetJobTarget.js index 34ad168..76bd8bf 100644 --- a/src/util/GetJobTarget.js +++ b/src/util/GetJobTarget.js @@ -1,4 +1,4 @@ -import { V3TargetFinder } from "../ipc/ipc-estimate-utils"; +import { V3TargetFinder, SgiGroupsV12026April } from "../ipc/ipc-estimate-utils"; import { store } from "../redux/store"; import { WhichMPIRulesetToApply } from "./constants"; @@ -7,7 +7,13 @@ export default function GetJobTarget({ group, v_age, targets, close_date, v_mile switch (ins_rule_set) { case "SGI": - return 0; + let type = job.v_type === "PC" || job.v_type === "SUV" ? "PC" : job.v_type; + const sgiTarget = SgiGroupsV12026April.find((f) => f.make === job.v_makedesc.toUpperCase() + && (f.type === type || f.type === null) + && job.v_age >= f.ageGte + && (f.ageLt === null ? true : job.v_age < f.ageLt) + ); + return sgiTarget?.target || 0; case "MPI": default: diff --git a/src/util/decimalPrecision.js b/src/util/decimalPrecision.js new file mode 100644 index 0000000..f53047b --- /dev/null +++ b/src/util/decimalPrecision.js @@ -0,0 +1,8 @@ +import { store } from "../redux/store"; + +export function getDecimalPrecision() { + const ins_rule_set = store.getState().user.bodyshop.ins_rule_set; + return ins_rule_set === "SGI" ? 2 : 1; +} + +export default getDecimalPrecision; \ No newline at end of file