<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with Wdesk from Workiva-->
<!--Copyright 2022 Workiva-->
<!--r:9e25d9c3-ccf8-4859-b3d8-aab67dfb1e40,g:499279aa-caa0-4f26-a60c-3625ccc0aa5b-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://compassinc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="simple" xlink:href="comp-20220630.xsd#CondensedConsolidatedBalanceSheets"/>
  <link:calculationLink xlink:role="http://compassinc.com/role/CondensedConsolidatedBalanceSheets" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_ec223e33-0750-4eba-a885-24310897e94f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_02be8fbb-a2b6-4b77-b1a4-df6cd1ca9057" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityNoncurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_ec223e33-0750-4eba-a885-24310897e94f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityNoncurrent_02be8fbb-a2b6-4b77-b1a4-df6cd1ca9057" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_256c3fde-0e7d-418b-8974-9c03e249cce2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherLiabilitiesNoncurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_ec223e33-0750-4eba-a885-24310897e94f" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_256c3fde-0e7d-418b-8974-9c03e249cce2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_7fc42f71-99e8-4490-b934-03cd6f7f3d51" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Liabilities_ec223e33-0750-4eba-a885-24310897e94f" xlink:to="loc_us-gaap_LiabilitiesCurrent_7fc42f71-99e8-4490-b934-03cd6f7f3d51" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsPayableCurrent_80170b24-b076-440d-a435-4156bb5e6310" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsPayableCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:to="loc_us-gaap_AccountsPayableCurrent_80170b24-b076-440d-a435-4156bb5e6310" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAccruedLiabilitiesCurrent_8a4bcbe2-5f09-4166-b0a4-adf0c654a804" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAccruedLiabilitiesCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:to="loc_us-gaap_OtherAccruedLiabilitiesCurrent_8a4bcbe2-5f09-4166-b0a4-adf0c654a804" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LinesOfCreditCurrent_cfdf9027-d639-4272-871e-4b4f75fa6a19" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LinesOfCreditCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:to="loc_us-gaap_LinesOfCreditCurrent_cfdf9027-d639-4272-871e-4b4f75fa6a19" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedSalesCommissionCurrent_72c9baba-6303-40f2-9503-a7073e2bd7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccruedSalesCommissionCurrent"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:to="loc_us-gaap_AccruedSalesCommissionCurrent_72c9baba-6303-40f2-9503-a7073e2bd7fc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseLiabilityCurrent_06a35ccb-703e-4cd1-8919-49f355ab607b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseLiabilityCurrent"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesCurrent_7732e67e-fdf0-4657-aa1e-a92aefa6459f" xlink:to="loc_us-gaap_OperatingLeaseLiabilityCurrent_06a35ccb-703e-4cd1-8919-49f355ab607b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_659e8495-cee0-474a-bb1c-c65053c23b33" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MinorityInterest_0eb8f9c8-8044-4064-8869-d100dada5315" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_MinorityInterest"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_659e8495-cee0-474a-bb1c-c65053c23b33" xlink:to="loc_us-gaap_MinorityInterest_0eb8f9c8-8044-4064-8869-d100dada5315" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_9b79c0ec-e0e2-4a39-9ae7-4c01072904fa" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_659e8495-cee0-474a-bb1c-c65053c23b33" xlink:to="loc_us-gaap_StockholdersEquity_9b79c0ec-e0e2-4a39-9ae7-4c01072904fa" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Assets"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_3ba04a53-53b0-4107-a819-60700f326281" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_AssetsCurrent_3ba04a53-53b0-4107-a819-60700f326281" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_9653a8e4-1ba3-43eb-b23d-2fac93046f1b" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_9653a8e4-1ba3-43eb-b23d-2fac93046f1b" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingLeaseRightOfUseAsset_1d273fb9-36dc-4ee1-abc5-c0e81919c53d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingLeaseRightOfUseAsset"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_OperatingLeaseRightOfUseAsset_1d273fb9-36dc-4ee1-abc5-c0e81919c53d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ce0ee4af-5a14-4688-8962-bb1fe8bdd08d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IntangibleAssetsNetExcludingGoodwill"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_IntangibleAssetsNetExcludingGoodwill_ce0ee4af-5a14-4688-8962-bb1fe8bdd08d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Goodwill_79f45a18-7d00-40a1-97f0-e98d0d4657bf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Goodwill"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_Goodwill_79f45a18-7d00-40a1-97f0-e98d0d4657bf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_99fc9320-b5e8-4ad0-9d58-fb9b3220b65d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsNoncurrent"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_Assets_ad745ea1-fef8-4f84-a07c-780101bc24d1" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_99fc9320-b5e8-4ad0-9d58-fb9b3220b65d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1133331-0ac1-49d6-97ec-527c18c62eda" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies_dd8ab8da-e8a8-4510-b25e-43956c797c87" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1133331-0ac1-49d6-97ec-527c18c62eda" xlink:to="loc_us-gaap_CommitmentsAndContingencies_dd8ab8da-e8a8-4510-b25e-43956c797c87" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities_dede2474-ca23-44c9-bc7b-760cb1163b4c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Liabilities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1133331-0ac1-49d6-97ec-527c18c62eda" xlink:to="loc_us-gaap_Liabilities_dede2474-ca23-44c9-bc7b-760cb1163b4c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9bc198ad-e582-451e-a6ed-23ce896c82b0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity_a1133331-0ac1-49d6-97ec-527c18c62eda" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_9bc198ad-e582-451e-a6ed-23ce896c82b0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsCurrent_77e2add1-dab6-4c02-b9d3-3f546f0c8a18" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AssetsCurrent"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableNetCurrent_1d237fe0-9bc6-41ac-99b9-ae09de1466f0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AccountsReceivableNetCurrent"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_77e2add1-dab6-4c02-b9d3-3f546f0c8a18" xlink:to="loc_us-gaap_AccountsReceivableNetCurrent_1d237fe0-9bc6-41ac-99b9-ae09de1466f0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssetsCurrent_a004474f-e03f-472f-bc79-602883be501c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherAssetsCurrent"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_77e2add1-dab6-4c02-b9d3-3f546f0c8a18" xlink:to="loc_us-gaap_OtherAssetsCurrent_a004474f-e03f-472f-bc79-602883be501c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesAndLoansReceivableNetCurrent_2b43afee-d696-4ebf-b75c-77e178b6324e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NotesAndLoansReceivableNetCurrent"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_77e2add1-dab6-4c02-b9d3-3f546f0c8a18" xlink:to="loc_us-gaap_NotesAndLoansReceivableNetCurrent_2b43afee-d696-4ebf-b75c-77e178b6324e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c74b01de-5507-4c05-9098-b3fdbb600a4d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_AssetsCurrent_77e2add1-dab6-4c02-b9d3-3f546f0c8a18" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_c74b01de-5507-4c05-9098-b3fdbb600a4d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_c2ecec94-7862-49a8-9e5c-8b31805efb32" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_StockholdersEquity"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_d1753f7e-7c64-48ff-be29-bd05b91fd95c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_c2ecec94-7862-49a8-9e5c-8b31805efb32" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_d1753f7e-7c64-48ff-be29-bd05b91fd95c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue_21df4f84-a73c-420e-bc95-262f7f656d34" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CommonStockValue"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_c2ecec94-7862-49a8-9e5c-8b31805efb32" xlink:to="loc_us-gaap_CommonStockValue_21df4f84-a73c-420e-bc95-262f7f656d34" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_d7135b21-7948-482d-a22f-160b45aa0692" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AdditionalPaidInCapitalCommonStock"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_StockholdersEquity_c2ecec94-7862-49a8-9e5c-8b31805efb32" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_d7135b21-7948-482d-a22f-160b45aa0692" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://compassinc.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="simple" xlink:href="comp-20220630.xsd#CondensedConsolidatedStatementsofOperations"/>
  <link:calculationLink xlink:role="http://compassinc.com/role/CondensedConsolidatedStatementsofOperations" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d40b27f-c05d-42e3-b8dc-b041fc6c30f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_e447db16-1c45-4a0e-abcc-6124e6faea5f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d40b27f-c05d-42e3-b8dc-b041fc6c30f5" xlink:to="loc_us-gaap_OperatingIncomeLoss_e447db16-1c45-4a0e-abcc-6124e6faea5f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentIncomeNonoperating_708c07ad-1ed6-4b75-95c3-f8ff31f07f7f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InvestmentIncomeNonoperating"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d40b27f-c05d-42e3-b8dc-b041fc6c30f5" xlink:to="loc_us-gaap_InvestmentIncomeNonoperating_708c07ad-1ed6-4b75-95c3-f8ff31f07f7f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_7d333b7d-ecb0-4ca3-a232-6b25f9ea1fcc" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_InterestExpense"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_2d40b27f-c05d-42e3-b8dc-b041fc6c30f5" xlink:to="loc_us-gaap_InterestExpense_7d333b7d-ecb0-4ca3-a232-6b25f9ea1fcc" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_b2ad593d-957a-4c1e-816e-f2516341f338" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_a7a102cc-d303-4de7-b79d-2f62e39f89fb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_b2ad593d-957a-4c1e-816e-f2516341f338" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_a7a102cc-d303-4de7-b79d-2f62e39f89fb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_144a3aa9-4c41-4412-bbcc-243f685fb5f5" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_b2ad593d-957a-4c1e-816e-f2516341f338" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_144a3aa9-4c41-4412-bbcc-243f685fb5f5" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d05b82a8-0e54-42d2-b8b6-153caf12d7a2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_ProfitLoss_b2ad593d-957a-4c1e-816e-f2516341f338" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_d05b82a8-0e54-42d2-b8b6-153caf12d7a2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_c9b81038-9dd1-4e08-a873-c54d280343d6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ff123850-78a3-4bcd-8c75-1f8a7f505000" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_c9b81038-9dd1-4e08-a873-c54d280343d6" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_ff123850-78a3-4bcd-8c75-1f8a7f505000" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_816b4399-e90c-43d6-b59d-c4bada9c2de8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetIncomeLoss_c9b81038-9dd1-4e08-a873-c54d280343d6" xlink:to="loc_us-gaap_ProfitLoss_816b4399-e90c-43d6-b59d-c4bada9c2de8" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAndAmortization_2e38e0b7-874d-44e3-8638-0cf1aa7f8beb" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationAndAmortization"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_DepreciationAndAmortization_2e38e0b7-874d-44e3-8638-0cf1aa7f8beb" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesCommissionsAndFees_da2cfd33-aefd-4a21-8c3f-d03a734cff6d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_SalesCommissionsAndFees"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_SalesCommissionsAndFees_da2cfd33-aefd-4a21-8c3f-d03a734cff6d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestructuringCharges_a7bf3538-5fbd-4150-ba3a-591c6c556e98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RestructuringCharges"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_RestructuringCharges_a7bf3538-5fbd-4150-ba3a-591c6c556e98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_51f20388-6da0-48f2-b241-db1921f8040f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ResearchAndDevelopmentExpense"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_51f20388-6da0-48f2-b241-db1921f8040f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense_e06a146a-646e-4a8c-9f6c-f1d6ab673b84" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_GeneralAndAdministrativeExpense_e06a146a-646e-4a8c-9f6c-f1d6ab673b84" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherSellingAndMarketingExpense_a82068af-dcb1-47b7-8c8c-df9628054808" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherSellingAndMarketingExpense"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_OtherSellingAndMarketingExpense_a82068af-dcb1-47b7-8c8c-df9628054808" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherCostAndExpenseOperating_cb44dbfe-afa1-4206-bbc5-3cce1967ea37" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OtherCostAndExpenseOperating"/>
    <link:calculationArc order="7" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingExpenses_4ecd93cc-aa74-4aac-94cd-3d42d32350be" xlink:to="loc_us-gaap_OtherCostAndExpenseOperating_cb44dbfe-afa1-4206-bbc5-3cce1967ea37" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_f3ab4108-53df-4b76-a759-d270bf8cd953" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingExpenses_2309b3fb-bef1-4399-8290-97e8a7da4d74" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_OperatingExpenses"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_f3ab4108-53df-4b76-a759-d270bf8cd953" xlink:to="loc_us-gaap_OperatingExpenses_2309b3fb-bef1-4399-8290-97e8a7da4d74" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_d9a466dc-b5c5-4482-a5a3-1c5f5165446e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_Revenues"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_OperatingIncomeLoss_f3ab4108-53df-4b76-a759-d270bf8cd953" xlink:to="loc_us-gaap_Revenues_d9a466dc-b5c5-4482-a5a3-1c5f5165446e" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://compassinc.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="simple" xlink:href="comp-20220630.xsd#CondensedConsolidatedStatementsofCashFlows"/>
  <link:calculationLink xlink:role="http://compassinc.com/role/CondensedConsolidatedStatementsofCashFlows" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss_990e1e19-fde0-487e-a9c2-be5a27454e98" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProfitLoss"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_ProfitLoss_990e1e19-fde0-487e-a9c2-be5a27454e98" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_comp_BadDebtExpense_f4016ec9-7d35-4ac4-b14d-811a1b893962" xlink:href="comp-20220630.xsd#comp_BadDebtExpense"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_comp_BadDebtExpense_f4016ec9-7d35-4ac4-b14d-811a1b893962" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_687df7df-7026-4dc0-acab-84f70f12e95a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherAccruedLiabilities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherAccruedLiabilities_687df7df-7026-4dc0-acab-84f70f12e95a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_510d5721-7a5a-42ba-800c-bde7ec9f5217" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_DepreciationDepletionAndAmortization"/>
    <link:calculationArc order="4" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_510d5721-7a5a-42ba-800c-bde7ec9f5217" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_comp_IncreaseDecreaseInCommissionPayable_45bc2d49-7f35-4dd0-a65a-a6deeae82eef" xlink:href="comp-20220630.xsd#comp_IncreaseDecreaseInCommissionPayable"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_comp_IncreaseDecreaseInCommissionPayable_45bc2d49-7f35-4dd0-a65a-a6deeae82eef" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_d648fe34-835f-475f-8ef9-3e170bb87612" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsPayableTrade"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayableTrade_d648fe34-835f-475f-8ef9-3e170bb87612" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_c0ceee16-ef4d-4b75-b6d9-e9177181a71f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherCurrentAssets"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherCurrentAssets_c0ceee16-ef4d-4b75-b6d9-e9177181a71f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_comp_IncreaseDecreaseInOperatingLeaseRightOfUseAssetsNetOfOperatingLeaseLiabilities_f6aa1010-24ca-402e-b13c-3cae0fa58732" xlink:href="comp-20220630.xsd#comp_IncreaseDecreaseInOperatingLeaseRightOfUseAssetsNetOfOperatingLeaseLiabilities"/>
    <link:calculationArc order="8" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_comp_IncreaseDecreaseInOperatingLeaseRightOfUseAssetsNetOfOperatingLeaseLiabilities_f6aa1010-24ca-402e-b13c-3cae0fa58732" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromEquityMethodInvestments_b28c1b5b-64f4-4338-abc4-8dd424b0eac1" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncomeLossFromEquityMethodInvestments"/>
    <link:calculationArc order="9" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncomeLossFromEquityMethodInvestments_b28c1b5b-64f4-4338-abc4-8dd424b0eac1" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AmortizationOfFinancingCosts_66a1dff9-f6f7-479c-bd58-451504894391" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_AmortizationOfFinancingCosts"/>
    <link:calculationArc order="10" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_AmortizationOfFinancingCosts_66a1dff9-f6f7-479c-bd58-451504894391" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInFinanceReceivables_3f73f4e5-8fe7-4535-b566-5fe2c8fbec02" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInFinanceReceivables"/>
    <link:calculationArc order="11" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInFinanceReceivables_3f73f4e5-8fe7-4535-b566-5fe2c8fbec02" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_d343cc31-b901-481a-b814-bbc22156449c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1"/>
    <link:calculationArc order="12" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_BusinessCombinationContingentConsiderationArrangementsChangeInAmountOfContingentConsiderationLiability1_d343cc31-b901-481a-b814-bbc22156449c" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_d1ffb84c-092a-40ab-b26d-db9b41170ed4" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable"/>
    <link:calculationArc order="13" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_d1ffb84c-092a-40ab-b26d-db9b41170ed4" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_ed5c731a-de93-4267-8d36-d646e8af6206" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_IncreaseDecreaseInOtherNoncurrentAssets"/>
    <link:calculationArc order="14" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherNoncurrentAssets_ed5c731a-de93-4267-8d36-d646e8af6206" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_078a5419-b963-4871-adbc-01261e37d0cf" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ShareBasedCompensation"/>
    <link:calculationArc order="15" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_fb5db4bb-498e-4b21-8df0-237ba7d48ce8" xlink:to="loc_us-gaap_ShareBasedCompensation_078a5419-b963-4871-adbc-01261e37d0cf" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9e9c2e06-9438-4bf2-ac12-8bfc1480866d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f60596b9-52eb-419f-9af6-3013e51f0e2a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9e9c2e06-9438-4bf2-ac12-8bfc1480866d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_f60596b9-52eb-419f-9af6-3013e51f0e2a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c8975a3a-ef97-4f09-9665-1cab777f800f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9e9c2e06-9438-4bf2-ac12-8bfc1480866d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_c8975a3a-ef97-4f09-9665-1cab777f800f" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_71e8c0e4-d048-494f-9a5e-88c0c9289eb7" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:calculationArc order="3" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseIncludingExchangeRateEffect_9e9c2e06-9438-4bf2-ac12-8bfc1480866d" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_71e8c0e4-d048-494f-9a5e-88c0c9289eb7" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsOfDebtIssuanceCosts_69c1c1fe-377f-4e7d-a12e-4a35c2eaaf1a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsOfDebtIssuanceCosts"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_PaymentsOfDebtIssuanceCosts_69c1c1fe-377f-4e7d-a12e-4a35c2eaaf1a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_218a8d46-199c-4759-bbf1-82e210f45226" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromLinesOfCredit"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_218a8d46-199c-4759-bbf1-82e210f45226" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_f331f25b-5ecd-4b86-8e67-2efa2e73778d" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_PaymentForContingentConsiderationLiabilityFinancingActivities_f331f25b-5ecd-4b86-8e67-2efa2e73778d" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_6624feed-a667-4d55-99ce-4b34b2bbed3a" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:calculationArc order="4" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_6624feed-a667-4d55-99ce-4b34b2bbed3a" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_df9e3e0a-5291-4014-bbb0-abc8789099f2" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromStockOptionsExercised"/>
    <link:calculationArc order="5" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_df9e3e0a-5291-4014-bbb0-abc8789099f2" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_3d471374-43e6-4e0b-9866-3adef58e48d0" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_ProceedsFromIssuanceInitialPublicOffering"/>
    <link:calculationArc order="6" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_ProceedsFromIssuanceInitialPublicOffering_3d471374-43e6-4e0b-9866-3adef58e48d0" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_bbfe43df-a541-4b8e-afd5-4a904e3ffdc6" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:calculationArc order="7" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_d6167b0c-2f38-4012-996b-c23a0330a8ea" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_bbfe43df-a541-4b8e-afd5-4a904e3ffdc6" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af771d9f-bea5-4ba0-b78e-51feea83165c" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_e9ad5081-a709-4b7e-9fab-d54f38b0fa9e" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates"/>
    <link:calculationArc order="1" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af771d9f-bea5-4ba0-b78e-51feea83165c" xlink:to="loc_us-gaap_PaymentsToAcquireInterestInSubsidiariesAndAffiliates_e9ad5081-a709-4b7e-9fab-d54f38b0fa9e" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_11329565-4cac-48c9-bad2-b253ebe56684" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment"/>
    <link:calculationArc order="2" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af771d9f-bea5-4ba0-b78e-51feea83165c" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_11329565-4cac-48c9-bad2-b253ebe56684" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_52dc1e1b-c921-4ab4-8be8-abc30103a597" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired"/>
    <link:calculationArc order="3" weight="-1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_af771d9f-bea5-4ba0-b78e-51feea83165c" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_52dc1e1b-c921-4ab4-8be8-abc30103a597" xlink:type="arc"/>
  </link:calculationLink>
  <link:roleRef roleURI="http://compassinc.com/role/FairValueofFinancialAssetsandLiabilitiesBalancesofContingentConsiderationDetail" xlink:type="simple" xlink:href="comp-20220630.xsd#FairValueofFinancialAssetsandLiabilitiesBalancesofContingentConsiderationDetail"/>
  <link:calculationLink xlink:role="http://compassinc.com/role/FairValueofFinancialAssetsandLiabilitiesBalancesofContingentConsiderationDetail" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7106318b-4b16-4c18-a979-684888db86ee" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationContingentConsiderationLiability"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_827de83a-2812-4d4d-9894-778329d53445" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities"/>
    <link:calculationArc order="1" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7106318b-4b16-4c18-a979-684888db86ee" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_827de83a-2812-4d4d-9894-778329d53445" xlink:type="arc"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_a83f4f48-3edb-4d88-9a4b-17d8ddf6a01f" xlink:href="https://xbrl.fasb.org/us-gaap/2022/elts/us-gaap-2022.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther"/>
    <link:calculationArc order="2" weight="1.0" xlink:arcrole="http://www.xbrl.org/2003/arcrole/summation-item" xlink:from="loc_us-gaap_BusinessCombinationContingentConsiderationLiability_7106318b-4b16-4c18-a979-684888db86ee" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedNoncurrentLiabilitiesOther_a83f4f48-3edb-4d88-9a4b-17d8ddf6a01f" xlink:type="arc"/>
  </link:calculationLink>
</link:linkbase>
