# Cluster Matching and CSV Upload

This is recommended to use in conjunction with Passport’s Model-Based Detection System for the highest level of Sybil resistance and most democratic funding distribution.

To use COCM, you will access a notebook available for Grants Managers to calculate their cluster match scores in-browser. The steps are as follows:\
\
1\. Click on the cluster matching template here and this will open the link to the app<br>

<figure><img src="https://857206242-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkbKO77FrKggy6eoo9ZmK%2Fuploads%2FI4hZKSAgI3c7MBnEczBr%2Fimage.png?alt=media&#x26;token=0b825fbc-f50a-4a5b-9d39-f94fd8c84558" alt=""><figcaption></figcaption></figure>

2. This is the URL in case above link doesn't open :[ ](https://qf-calculator.fly.dev/?round_id=%3CYOUR_ROUND_ID%3E\&chain_id=%3CYOUR_CHAIN_ID%3E)[https://qf-calculator.fly.dev/?round\_id=\<YOUR\_ROUND\_ID>\&chain\_id=\<YOUR\_CHAIN\_ID>](https://qf-calculator.fly.dev/?round_id=%3CYOUR_ROUND_ID%3E\&chain_id=%3CYOUR_CHAIN_ID%3E) (note: the direct line from Manager should contain the correct round address and chain id.)
3. The notebook will generate the results, which are available for you to review.&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/5Wh3AoPDAJz897tcpxGgsxxZurttUo0jyMykAec7BnVql6GLBQYt6QrPyunTKLJ-a8L4poyUjlSrPMMh_X7DumraFiMCTCh9lrQygTmJM_yRFi04XF5fmouZLkoQ3Wc0S3n2ZHIpqntTwA4W-srCrWA" alt=""><figcaption></figcaption></figure>

4. It also generates a CSV file. Download the CSV file when you are satisfied with the results.

<figure><img src="https://lh7-us.googleusercontent.com/Lg6Mk7yVDsoPaQTlcci-Bon6FzMDl13ypyf9b_rGaZDi9eAUNvLpYy9lKFxcYQLI9icw3vjUVP1cwVc7o0KPInmasy5d_X4wjF6jglRpnA26HgNcXwIiHr0dKEc72eVmDfyCBoSdIb4-LaXXW8uA5as" alt=""><figcaption></figcaption></figure>

5. Navigate back to your round in Manager. Upload Cluster Match calculations CSV file as a Custom Results upload in Grants Stack.

<figure><img src="https://lh7-us.googleusercontent.com/nYNc6ztajZTxtnSUtuqkbOQrN_pPSTo72ROnnzybcIuQ3n0DppPHTeRexmq1K7pPCFQ4aoHpG6hYzryNLcOROaFIv67sa707YLiUc_fNMrpHWdQdllHSTT2c_Po0FFbIOFjzHJz8zjwtt9EpRf11UXY" alt=""><figcaption></figcaption></figure>

6. See final matching distribution based off of Cluster Match calculations CSV file, and finalize the round as normal.
