npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

context-kernel

v0.6.0

Published

Platform-agnostic context kernel for routing, budget management, policy guards, and audit trails.

Downloads

670

Readme

��<�p� �a�l�i�g�n�=�"�c�e�n�t�e�r�"�>� � � � �<�i�m�g� �s�r�c�=�"�a�s�s�e�t�s�/�d�a�r�k�s�o�l�-�b�a�n�n�e�r�.�p�n�g�"� �a�l�t�=�"�D�A�R�K�S�O�L�"� �w�i�d�t�h�=�"�6�0�0�"� �/�>� � �<�/�p�>� � � � �<�h�3� �a�l�i�g�n�=�"�c�e�n�t�e�r�"�>�B�u�i�l�t� �b�y� �D�A�R�K�S�O�L� �a"�����<�/�h�3�>� � � � �-�-�-� � � � �#� �c�o�n�t�e�x�t�-�k�e�r�n�e�l� � � � ��T�h�e� �b�r�a�i�n� �b�e�t�w�e�e�n� �y�o�u�r� �a�g�e�n�t� �a�n�d� �y�o�u�r� �m�o�d�e�l�s�.�� � � � �P�l�a�t�f�o�r�m�-�a�g�n�o�s�t�i�c� �c�o�n�t�e�x�t� �r�o�u�t�i�n�g� �k�e�r�n�e�l� �f�o�r� �a�g�e�n�t� �r�u�n�t�i�m�e�s�.� �C�l�a�s�s�i�f�i�e�s� �i�n�p�u�t�s�,� �r�o�u�t�e�s� �t�o� �t�h�e� �r�i�g�h�t� �m�o�d�e�l�,� �e�n�f�o�r�c�e�s� �p�o�l�i�c�y� �g�a�t�e�s�,� �e�x�t�r�a�c�t�s� �m�e�m�o�r�y� �c�a�n�d�i�d�a�t�e�s�,� �a�n�d� �e�m�i�t�s� �a�u�d�i�t� �e�v�e�n�t�s� ������ �a�l�l� �b�e�f�o�r�e� �a� �s�i�n�g�l�e� �t�o�k�e�n� �g�e�t�s� �g�e�n�e�r�a�t�e�d�.� �D�r�o�p� �i�t� �i�n�t�o� �a�n�y� �a�g�e�n�t� �s�y�s�t�e�m� �a�n�d� �s�t�o�p� �h�a�r�d�c�o�d�i�n�g� �y�o�u�r� �r�o�u�t�i�n�g� �l�o�g�i�c�.� � � � �[�!�[�n�p�m�]�(�h�t�t�p�s�:�/�/�i�m�g�.�s�h�i�e�l�d�s�.�i�o�/�n�p�m�/�v�/�c�o�n�t�e�x�t�-�k�e�r�n�e�l�)�]�(�h�t�t�p�s�:�/�/�w�w�w�.�n�p�m�j�s�.�c�o�m�/�p�a�c�k�a�g�e�/�c�o�n�t�e�x�t�-�k�e�r�n�e�l�)� � �[�!�[�L�i�c�e�n�s�e�:� �M�I�T�]�(�h�t�t�p�s�:�/�/�i�m�g�.�s�h�i�e�l�d�s�.�i�o�/�b�a�d�g�e�/�L�i�c�e�n�s�e�-�M�I�T�-�g�o�l�d�.�s�v�g�)�]�(�h�t�t�p�s�:�/�/�o�p�e�n�s�o�u�r�c�e�.�o�r�g�/�l�i�c�e�n�s�e�s�/�M�I�T�)� � �[�!�[�N�o�d�e�]�(�h�t�t�p�s�:�/�/�i�m�g�.�s�h�i�e�l�d�s�.�i�o�/�b�a�d�g�e�/�n�o�d�e�-�%�3�E�%�3�D�1�8�.�0�.�0�-�g�r�e�e�n�.�s�v�g�)�]�(�h�t�t�p�s�:�/�/�n�o�d�e�j�s�.�o�r�g�/�)� � � � �#�#� �I�n�s�t�a�l�l� � � � ��b�a�s�h� � �n�p�m� �i�n�s�t�a�l�l� �c�o�n�t�e�x�t�-�k�e�r�n�e�l� � �� � � � �#�#� �Q�u�i�c�k� �S�t�a�r�t� � � � �#�#�#� �B�a�s�i�c� �r�o�u�t�i�n�g� �d�e�c�i�s�i�o�n� � � � ��t�s� � �i�m�p�o�r�t� �{� �C�o�n�t�e�x�t�K�e�r�n�e�l� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �k�e�r�n�e�l� �=� �n�e�w� �C�o�n�t�e�x�t�K�e�r�n�e�l�(�{� � � � �r�o�u�t�e�r�:� �{� � � � � � �t�o�k�e�n�C�o�m�p�r�e�s�s�i�o�n�T�h�r�e�s�h�o�l�d�:� �1�0�0�0�0�,� � � � � � �a�l�l�o�w�P�r�e�m�i�u�m�E�s�c�a�l�a�t�i�o�n�:� �t�r�u�e�,� � � � � � �r�o�u�t�e�M�a�p�:� �{� � � � � � � � �t�e�x�t�D�e�f�a�u�l�t�:� �"�l�o�c�a�l�_�t�e�x�t�"�,� � � � � � � � �m�u�l�t�i�m�o�d�a�l�:� �"�l�o�c�a�l�_�v�i�s�i�o�n�"�,� � � � � � � � �u�r�g�e�n�t�:� �"�p�r�e�m�i�u�m�"�,� � � � � � � � �c�o�d�e�H�i�g�h�C�o�n�t�e�x�t�:� �"�p�r�e�m�i�u�m�"�,� � � � � � �}�,� � � � �}�,� � � � �p�o�l�i�c�y�:� �{� �p�o�s�t�O�n�l�y�M�o�d�e�:� �f�a�l�s�e� �}�,� � �}�)�;� � � � �c�o�n�s�t� �d�e�c�i�s�i�o�n� �=� �a�w�a�i�t� �k�e�r�n�e�l�.�d�e�c�i�d�e�(�{� � � � �s�e�s�s�i�o�n�I�d�:� �"�s�e�s�s�-�0�0�1�"�,� � � � �t�i�m�e�s�t�a�m�p�:� �n�e�w� �D�a�t�e�(�)�.�t�o�I�S�O�S�t�r�i�n�g�(�)�,� � � � �m�e�s�s�a�g�e�s�:� �[�{� �r�o�l�e�:� �"�u�s�e�r�"�,� �c�o�n�t�e�n�t�:� �"�H�e�l�p� �m�e� �r�e�f�a�c�t�o�r� �t�h�i�s� �r�e�p�o�"� �}�]�,� � � � �e�s�t�i�m�a�t�e�d�T�o�k�e�n�s�:� �1�2�0�0�0�,� � �}�)�;� � � � �c�o�n�s�o�l�e�.�l�o�g�(�d�e�c�i�s�i�o�n�.�r�o�u�t�e�)�;� � � � � � � �/�/� �"�p�r�e�m�i�u�m�"� �(�c�o�d�e� �+� �h�i�g�h� �t�o�k�e�n�s�)� � �c�o�n�s�o�l�e�.�l�o�g�(�d�e�c�i�s�i�o�n�.�c�o�m�p�r�e�s�s�)�;� � � � �/�/� �t�r�u�e� �(�o�v�e�r� �t�h�r�e�s�h�o�l�d�)� � �c�o�n�s�o�l�e�.�l�o�g�(�d�e�c�i�s�i�o�n�.�t�a�s�k�T�y�p�e�)�;� � � � �/�/� �"�c�o�d�e�"� � �� � � � �#�#�#� �P�o�l�i�c�y� �e�n�f�o�r�c�e�m�e�n�t� �w�i�t�h� �q�u�i�e�t� �h�o�u�r�s� � � � ��t�s� � �c�o�n�s�t� �k�e�r�n�e�l� �=� �n�e�w� �C�o�n�t�e�x�t�K�e�r�n�e�l�(�{� � � � �r�o�u�t�e�r�:� �{� �t�o�k�e�n�C�o�m�p�r�e�s�s�i�o�n�T�h�r�e�s�h�o�l�d�:� �8�0�0�0�,� �a�l�l�o�w�P�r�e�m�i�u�m�E�s�c�a�l�a�t�i�o�n�:� �f�a�l�s�e� �}�,� � � � �p�o�l�i�c�y�:� �{� � � � � � �p�o�s�t�O�n�l�y�M�o�d�e�:� �f�a�l�s�e�,� � � � � � �q�u�i�e�t�H�o�u�r�s�:� �{� �s�t�a�r�t�H�o�u�r�:� �2�3�,� �e�n�d�H�o�u�r�:� �7� �}�,� � � � � � �r�u�l�e�s�:� �[� � � � � � � � �{� �i�d�:� �"�s�a�f�e�-�a�c�t�i�o�n�s�"�,� �k�i�n�d�:� �"�a�c�t�i�o�n�_�a�l�l�o�w�l�i�s�t�"�,� �a�c�t�i�o�n�s�:� �[�"�s�e�n�d�"�,� �"�p�o�s�t�"�]� �}�,� � � � � � � � �{� �i�d�:� �"�n�o�-�k�e�y�s�"�,� �k�i�n�d�:� �"�s�e�c�r�e�t�_�r�e�g�e�x�"�,� �p�a�t�t�e�r�n�s�:� �[�"�A�K�I�A�[�0�-�9�A�-�Z�]�{�1�6�}�"�]�,� �s�e�v�e�r�i�t�y�:� �"�h�i�g�h�"� �}�,� � � � � � �]�,� � � � �}�,� � �}�)�;� � �� � � � �#�#�#� �O�p�e�n�C�l�a�w� �a�d�a�p�t�e�r� � � � ��t�s� � �i�m�p�o�r�t� �{� �f�r�o�m�O�p�e�n�C�l�a�w�E�n�v�e�l�o�p�e� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�/�a�d�a�p�t�e�r�s�/�o�p�e�n�c�l�a�w�"�;� � � � �c�o�n�s�t� �k�e�r�n�e�l�I�n�p�u�t� �=� �f�r�o�m�O�p�e�n�C�l�a�w�E�n�v�e�l�o�p�e�(�{� � � � �s�e�s�s�i�o�n�K�e�y�:� �"�o�c�-�s�e�s�s�i�o�n�-�4�2�"�,� � � � �t�i�m�e�s�t�a�m�p�:� �n�e�w� �D�a�t�e�(�)�.�t�o�I�S�O�S�t�r�i�n�g�(�)�,� � � � �m�e�s�s�a�g�e�s�:� �[�{� �r�o�l�e�:� �"�u�s�e�r�"�,� �c�o�n�t�e�n�t�:� �"�S�u�m�m�a�r�i�z�e� �t�h�i�s� �i�m�a�g�e�"� �}�]�,� � � � �i�m�a�g�e�s�:� �[�{� �n�a�m�e�:� �"�s�c�r�e�e�n�s�h�o�t�.�p�n�g�"� �}�]�,� � �}�)�;� � � � �c�o�n�s�t� �d�e�c�i�s�i�o�n� �=� �a�w�a�i�t� �k�e�r�n�e�l�.�d�e�c�i�d�e�(�k�e�r�n�e�l�I�n�p�u�t�)�;� � �/�/� �i�n�p�u�t�K�i�n�d�:� �"�m�u�l�t�i�m�o�d�a�l�"� ������ �r�o�u�t�e�s� �t�o� �v�i�s�i�o�n� �m�o�d�e�l� � �� � � � �#�#�#� �H�T�T�P� �a�d�a�p�t�e�r� � � � ��t�s� � �i�m�p�o�r�t� �{� �f�r�o�m�H�t�t�p�E�n�v�e�l�o�p�e� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�/�a�d�a�p�t�e�r�s�/�h�t�t�p�"�;� � � � �c�o�n�s�t� �k�e�r�n�e�l�I�n�p�u�t� �=� �f�r�o�m�H�t�t�p�E�n�v�e�l�o�p�e�(�{� � � � �i�d�:� �"�r�e�q�-�a�b�c�"�,� � � � �a�t�:� �n�e�w� �D�a�t�e�(�)�.�t�o�I�S�O�S�t�r�i�n�g�(�)�,� � � � �p�a�y�l�o�a�d�:� �{� � � � � � �m�e�s�s�a�g�e�s�:� �[�{� �r�o�l�e�:� �"�u�s�e�r�"�,� �c�o�n�t�e�n�t�:� �"�W�h�a�t�'�s� �t�h�e� �w�e�a�t�h�e�r�?�"� �}�]�,� � � � � � �e�s�t�i�m�a�t�e�d�T�o�k�e�n�s�:� �5�0�0�,� � � � �}�,� � �}�)�;� � �� � � � �#�#�#� �C�L�I� �u�s�a�g�e� � � � ��b�a�s�h� � �n�p�x� �c�o�n�t�e�x�t�-�k�e�r�n�e�l� �-�-�c�o�n�f�i�g� �.�/�k�e�r�n�e�l�.�c�o�n�f�i�g�.�j�s�o�n� �-�-�i�n�p�u�t� �.�/�i�n�p�u�t�.�j�s�o�n� � �� � � � �#�#� �I�n�p�u�t� �C�l�a�s�s�i�f�i�c�a�t�i�o�n� � � � �T�h�e� �k�e�r�n�e�l� �c�l�a�s�s�i�f�i�e�s� �e�v�e�r�y� �i�n�p�u�t� �a�l�o�n�g� �t�w�o� �a�x�e�s�:� � � � ��I�n�p�u�t� �k�i�n�d�� ������ ��t�e�x�t�� �o�r� ��m�u�l�t�i�m�o�d�a�l�� �(�d�e�t�e�c�t�e�d� �f�r�o�m� �a�t�t�a�c�h�m�e�n�t�s�)� � � � ��T�a�s�k� �t�y�p�e�� ������ �p�a�t�t�e�r�n�-�m�a�t�c�h�e�d� �f�r�o�m� �m�e�s�s�a�g�e� �c�o�n�t�e�n�t�:� � � � �|� �T�a�s�k� �T�y�p�e� �|� �T�r�i�g�g�e�r�s� �|� � �|�-�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�|� � �|� ��u�r�g�e�n�t�� �|� �"�u�r�g�e�n�t�"�,� �"�a�s�a�p�"�,� �"�i�m�m�e�d�i�a�t�e�l�y�"� �|� � �|� ��c�o�d�e�� �|� �"�r�e�f�a�c�t�o�r�"�,� �"�t�y�p�e�s�c�r�i�p�t�"�,� �"�b�u�g�"�,� �"�t�e�s�t�"�,� �"�b�u�i�l�d�"�,� �"�n�p�m�"�,� �"�r�e�p�o�"�,� �"�P�R�"� �|� � �|� ��m�e�m�o�r�y�� �|� �"�r�e�m�e�m�b�e�r�"�,� �"�r�e�c�a�l�l�"�,� �"�n�o�t�e� �t�h�i�s�"� �|� � �|� ��a�d�m�i�n�� �|� �"�c�o�n�f�i�g�"�,� �"�p�o�l�i�c�y�"�,� �"�s�e�t�t�i�n�g�s�"�,� �"�p�e�r�m�i�s�s�i�o�n�"� �|� � �|� ��c�h�a�t�� �|� �e�v�e�r�y�t�h�i�n�g� �e�l�s�e� �|� � � � �#�#� �M�o�d�e�l� �R�o�u�t�i�n�g� � � � �R�o�u�t�e�s� �a�r�e� �r�e�s�o�l�v�e�d� �f�r�o�m� �y�o�u�r� ��r�o�u�t�e�M�a�p�� �b�a�s�e�d� �o�n� �c�l�a�s�s�i�f�i�c�a�t�i�o�n�:� � � � ��t�s� � �r�o�u�t�e�M�a�p�:� �{� � � � �t�e�x�t�D�e�f�a�u�l�t�:� �"�l�o�c�a�l�_�t�e�x�t�"�,� � � � � � �/�/� �d�e�f�a�u�l�t� �f�o�r� �t�e�x�t� �c�h�a�t� � � � �m�u�l�t�i�m�o�d�a�l�:� �"�l�o�c�a�l�_�v�i�s�i�o�n�"�,� � � � � �/�/� �a�n�y� �i�n�p�u�t� �w�i�t�h� �i�m�a�g�e�/�a�u�d�i�o� �a�t�t�a�c�h�m�e�n�t�s� � � � �u�r�g�e�n�t�:� �"�p�r�e�m�i�u�m�"�,� � � � � � � � � � � � � � �/�/� �u�r�g�e�n�t� �r�e�q�u�e�s�t�s� �e�s�c�a�l�a�t�e� � � � �c�o�d�e�H�i�g�h�C�o�n�t�e�x�t�:� �"�p�r�e�m�i�u�m�"�,� � � � � �/�/� �c�o�d�e� �t�a�s�k�s� �o�v�e�r� �t�o�k�e�n� �t�h�r�e�s�h�o�l�d� � � � �p�r�e�m�i�u�m�F�a�l�l�b�a�c�k�:� �"�p�r�e�m�i�u�m�"�,� � � � �/�/� �f�a�l�l�b�a�c�k� �w�h�e�n� �e�s�c�a�l�a�t�i�o�n� �i�s� �a�l�l�o�w�e�d� � �}� � �� � � � �P�r�e�m�i�u�m� �e�s�c�a�l�a�t�i�o�n� �(��a�l�l�o�w�P�r�e�m�i�u�m�E�s�c�a�l�a�t�i�o�n��)� �c�o�n�t�r�o�l�s� �w�h�e�t�h�e�r� ��u�r�g�e�n�t�� �a�n�d� �h�i�g�h�-�c�o�n�t�e�x�t� ��c�o�d�e�� �t�a�s�k�s� �c�a�n� �j�u�m�p� �t�o� �p�r�e�m�i�u�m� �m�o�d�e�l�s�.� �D�i�s�a�b�l�e� �i�t� �t�o� �k�e�e�p� �e�v�e�r�y�t�h�i�n�g� �l�o�c�a�l�.� � � � �#�#� �T�o�k�e�n� �B�u�d�g�e�t� �&� �C�o�m�p�r�e�s�s�i�o�n� � � � ��t�s� � �r�o�u�t�e�r�:� �{� � � � �t�o�k�e�n�C�o�m�p�r�e�s�s�i�o�n�T�h�r�e�s�h�o�l�d�:� �1�0�0�0�0� � �/�/� �t�r�i�g�g�e�r� �c�o�m�p�r�e�s�s�i�o�n� �a�b�o�v�e� �t�h�i�s� � �}� � �� � � � �W�h�e�n� ��e�s�t�i�m�a�t�e�d�T�o�k�e�n�s�� �e�x�c�e�e�d�s� �t�h�e� �t�h�r�e�s�h�o�l�d�,� �t�h�e� �d�e�c�i�s�i�o�n� �r�e�t�u�r�n�s� ��c�o�m�p�r�e�s�s�:� �t�r�u�e�� �w�i�t�h� �a� ��c�o�m�p�r�e�s�s�i�o�n�R�e�a�s�o�n��.� �Y�o�u�r� �d�o�w�n�s�t�r�e�a�m� �w�o�r�k�e�r� �h�a�n�d�l�e�s� �t�h�e� �a�c�t�u�a�l� �c�o�m�p�r�e�s�s�i�o�n� ������ �t�h�e� �k�e�r�n�e�l� �j�u�s�t� �m�a�k�e�s� �t�h�e� �c�a�l�l�.� � � � �#�#� �P�o�l�i�c�y� �E�n�g�i�n�e� � � � �T�h�r�e�e� �b�u�i�l�t�-�i�n� �g�u�a�r�d�s� �r�u�n� �o�n� �e�v�e�r�y� �r�e�q�u�e�s�t�,� �p�l�u�s� �a� �r�u�l�e� �D�S�L� �f�o�r� �c�u�s�t�o�m� �p�o�l�i�c�i�e�s�:� � � � �#�#�#� �B�u�i�l�t�-�i�n� �g�u�a�r�d�s� � � � �-� ��P�o�s�t�-�o�n�l�y� �m�o�d�e�� ������ �r�e�s�t�r�i�c�t�s� �a�c�t�i�o�n�s� �t�o� �p�o�s�t�/�s�e�n�d� �w�h�e�n� ��p�o�s�t�O�n�l�y�M�o�d�e�:� �t�r�u�e�� � �-� ��Q�u�i�e�t� �h�o�u�r�s�� ������ �b�l�o�c�k�s� �d�u�r�i�n�g� �c�o�n�f�i�g�u�r�e�d� �h�o�u�r�s� �(�s�u�p�p�o�r�t�s� �o�v�e�r�n�i�g�h�t� �r�a�n�g�e�s� �l�i�k�e� �2�3������7�)� � �-� ��S�e�c�r�e�t� �d�e�t�e�c�t�i�o�n�� ������ �r�e�g�e�x� �s�c�a�n� �o�n� �m�e�s�s�a�g�e� �c�o�n�t�e�n�t� �(�d�e�f�a�u�l�t�s�:� ��a�p�i�_�k�e�y��,� ��p�a�s�s�w�o�r�d��,� ��t�o�k�e�n��,� ��s�e�c�r�e�t��,� ��A�K�I�A�.�.�.��)� � � � �#�#�#� �C�u�s�t�o�m� �r�u�l�e�s� � � � ��t�s� � �r�u�l�e�s�:� �[� � � � �/�/� �O�n�l�y� �a�l�l�o�w� �s�p�e�c�i�f�i�c� �a�c�t�i�o�n�s� � � � �{� �i�d�:� �"�s�a�f�e�-�a�c�t�i�o�n�s�"�,� �k�i�n�d�:� �"�a�c�t�i�o�n�_�a�l�l�o�w�l�i�s�t�"�,� �a�c�t�i�o�n�s�:� �[�"�s�e�n�d�"�,� �"�p�o�s�t�"�,� �"�t�o�o�l�_�c�a�l�l�"�]� �}�,� � � � � � �/�/� �B�l�o�c�k� �d�u�r�i�n�g� �o�v�e�r�n�i�g�h�t� �h�o�u�r�s� � � � �{� �i�d�:� �"�o�v�e�r�n�i�g�h�t�"�,� �k�i�n�d�:� �"�q�u�i�e�t�_�h�o�u�r�s�"�,� �s�t�a�r�t�H�o�u�r�:� �1�,� �e�n�d�H�o�u�r�:� �6�,� �s�e�v�e�r�i�t�y�:� �"�l�o�w�"� �}�,� � � � � � �/�/� �C�a�t�c�h� �l�e�a�k�e�d� �c�r�e�d�e�n�t�i�a�l�s� � � � �{� �i�d�:� �"�n�o�-�a�w�s�"�,� �k�i�n�d�:� �"�s�e�c�r�e�t�_�r�e�g�e�x�"�,� �p�a�t�t�e�r�n�s�:� �[�"�A�K�I�A�[�0�-�9�A�-�Z�]�{�1�6�}�"�]�,� �s�e�v�e�r�i�t�y�:� �"�h�i�g�h�"� �}�,� � � � � � �/�/� �P�I�I� �d�e�t�e�c�t�i�o�n� ������ �b�l�o�c�k�,� �w�a�r�n�,� �o�r� �r�e�d�a�c�t� � � � �{� �i�d�:� �"�n�o�-�p�i�i�"�,� �k�i�n�d�:� �"�p�i�i�_�g�u�a�r�d�"�,� �a�c�t�i�o�n�:� �"�b�l�o�c�k�"�,� �t�y�p�e�s�:� �[�"�e�m�a�i�l�"�,� �"�s�s�n�"�]�,� �s�e�v�e�r�i�t�y�:� �"�h�i�g�h�"� �}�,� � �]� � �� � � � �E�v�e�r�y� �g�u�a�r�d� �a�n�d� �r�u�l�e� �p�r�o�d�u�c�e�s� �a� ��P�o�l�i�c�y�V�e�r�d�i�c�t�� �w�i�t�h� ��a�l�l�o�w�e�d��,� ��r�e�a�s�o�n��,� ��r�u�l�e�I�d��,� �a�n�d� ��s�e�v�e�r�i�t�y��.� � � � �#�#� �M�e�m�o�r�y� �E�x�t�r�a�c�t�i�o�n� � � � �T�h�e� �k�e�r�n�e�l� �s�c�a�n�s� �u�s�e�r� �m�e�s�s�a�g�e�s� �f�o�r� �m�e�m�o�r�y�-�w�o�r�t�h�y� �c�o�n�t�e�n�t� �a�n�d� �r�e�t�u�r�n�s� ��M�e�m�o�r�y�C�a�n�d�i�d�a�t�e�[�]��:� � � � �|� �S�t�r�a�t�e�g�y� �|� �T�r�i�g�g�e�r� �p�a�t�t�e�r�n�s� �|� �P�r�i�o�r�i�t�y� �|� �T�T�L� �|� � �|�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�|� � �|� ��p�r�e�f�e�r�e�n�c�e�� �|� �"�r�e�m�e�m�b�e�r�"�,� �"�a�l�w�a�y�s�"�,� �"�n�e�v�e�r�"�,� �"�I� �p�r�e�f�e�r�"� �|� �h�i�g�h� �|� �3�6�5� �d�a�y�s� �|� � �|� ��d�e�c�i�s�i�o�n�� �|� �"�d�e�c�i�d�e�d�"�,� �"�w�e� �w�i�l�l�"�,� �"�a�p�p�r�o�v�e�d�"� �|� �h�i�g�h� �|� �1�8�0� �d�a�y�s� �|� � �|� ��s�u�m�m�a�r�y�� �|� �l�o�n�g� �m�e�s�s�a�g�e�s� �(�>�2�2�0� �c�h�a�r�s�)� �|� �m�e�d�i�u�m� �|� �3�0� �d�a�y�s� �|� � � � �E�a�c�h� �c�a�n�d�i�d�a�t�e� �i�n�c�l�u�d�e�s� ��w�r�i�t�e�b�a�c�k�H�i�n�t�� �w�i�t�h� �n�a�m�e�s�p�a�c�e�,� �o�p�t�i�o�n�a�l� �u�p�s�e�r�t� �k�e�y�,� �a�n�d� �T�T�L� ������ �r�e�a�d�y� �f�o�r� �y�o�u�r� �m�e�m�o�r�y� �s�t�o�r�e�.� � � � �H�o�o�k� �i�n�t�o� �e�x�t�r�a�c�t�i�o�n�:� � � � ��t�s� � �c�o�n�s�t� �k�e�r�n�e�l� �=� �n�e�w� �C�o�n�t�e�x�t�K�e�r�n�e�l�(�c�o�n�f�i�g�,� �{� � � � �o�n�M�e�m�o�r�y�C�a�n�d�i�d�a�t�e�s�:� �(�c�a�n�d�i�d�a�t�e�s�,� �i�n�p�u�t�)� �=�>� �{� � � � � � �f�o�r� �(�c�o�n�s�t� �c� �o�f� �c�a�n�d�i�d�a�t�e�s�)� �{� � � � � � � � �c�o�n�s�o�l�e�.�l�o�g�(��[�$�{�c�.�p�r�i�o�r�i�t�y�}�]� �$�{�c�.�s�o�u�r�c�e�.�s�t�r�a�t�e�g�y�}�:� �$�{�c�.�s�u�m�m�a�r�y�}��)�;� � � � � � �}� � � � �}�,� � �}�)�;� � �� � � � �#�#� �A�u�d�i�t� �E�v�e�n�t�s� � � � �E�v�e�r�y� �d�e�c�i�s�i�o�n� �e�m�i�t�s� �a� �l�i�f�e�c�y�c�l�e� �o�f� �e�v�e�n�t�s� �v�i�a� �t�h�e� ��o�n�E�v�e�n�t�� �h�o�o�k�:� � � � ��t�s� � �c�o�n�s�t� �k�e�r�n�e�l� �=� �n�e�w� �C�o�n�t�e�x�t�K�e�r�n�e�l�(�c�o�n�f�i�g�,� �{� � � � �o�n�E�v�e�n�t�:� �(�e�v�e�n�t�)� �=�>� �c�o�n�s�o�l�e�.�l�o�g�(�J�S�O�N�.�s�t�r�i�n�g�i�f�y�(�e�v�e�n�t�)�)�,� � �}�)�;� � �� � � � �E�v�e�n�t�s�:� ��s�t�a�r�t�e�d�� ������ ��c�l�a�s�s�i�f�i�e�d�� ������ ��g�u�a�r�d�_�b�l�o�c�k�e�d��?� ������ ��c�o�m�p�r�e�s�s�e�d��?� ������ ��r�o�u�t�e�d�� ������ ��c�o�m�p�l�e�t�e�d�� �|� ��f�a�i�l�e�d�� � � � �E�a�c�h� �e�v�e�n�t� �c�a�r�r�i�e�s� ��s�e�s�s�i�o�n�I�d��,� ��t�i�m�e�s�t�a�m�p��,� �a�n�d� �a� ��d�e�t�a�i�l�� �o�b�j�e�c�t� �f�o�r� �o�b�s�e�r�v�a�b�i�l�i�t�y�.� � � � �#�#� �P�I�I� �D�e�t�e�c�t�i�o�n� � � � �S�c�a�n� �m�e�s�s�a�g�e�s� �f�o�r� �p�e�r�s�o�n�a�l�l�y� �i�d�e�n�t�i�f�i�a�b�l�e� �i�n�f�o�r�m�a�t�i�o�n� �w�i�t�h� �c�o�n�f�i�g�u�r�a�b�l�e� �a�c�t�i�o�n�s�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �s�c�a�n�F�o�r�P�I�I�,� �s�c�a�n�M�e�s�s�a�g�e�s� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �/�/� �S�c�a�n� �a� �s�i�n�g�l�e� �s�t�r�i�n�g� � �c�o�n�s�t� �r�e�s�u�l�t� �=� �s�c�a�n�F�o�r�P�I�I�(�"�E�m�a�i�l� �m�e� �a�t� �j�o�h�n�@�e�x�a�m�p�l�e�.�c�o�m�"�,� �{� �a�c�t�i�o�n�:� �"�r�e�d�a�c�t�"� �}�)�;� � �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�u�l�t�.�d�e�t�e�c�t�e�d�)�;� � � � � �/�/� �t�r�u�e� � �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�u�l�t�.�r�e�d�a�c�t�e�d�T�e�x�t�)�;� �/�/� �"�E�m�a�i�l� �m�e� �a�t� �[�R�E�D�A�C�T�E�D�]�"� � � � �/�/� �S�c�a�n� �a�l�l� �m�e�s�s�a�g�e�s� � �c�o�n�s�t� �m�s�g�R�e�s�u�l�t� �=� �s�c�a�n�M�e�s�s�a�g�e�s�(�m�e�s�s�a�g�e�s�,� �{� �a�c�t�i�o�n�:� �"�w�a�r�n�"�,� �t�y�p�e�s�:� �[�"�e�m�a�i�l�"�,� �"�s�s�n�"�]� �}�)�;� � �� � � � �S�u�p�p�o�r�t�e�d� �P�I�I� �t�y�p�e�s�:� ��e�m�a�i�l��,� ��p�h�o�n�e��,� ��s�s�n��.� �A�c�t�i�o�n�s�:� ��r�e�d�a�c�t�� �(�m�a�s�k�)�,� ��w�a�r�n�� �(�f�l�a�g� �b�u�t� �a�l�l�o�w�)�,� ��b�l�o�c�k�� �(�r�e�j�e�c�t�)�.� � � � �I�n�t�e�g�r�a�t�e�s� �d�i�r�e�c�t�l�y� �i�n�t�o� �t�h�e� �k�e�r�n�e�l� �a�s� �a� ��p�i�i�_�g�u�a�r�d�� �p�o�l�i�c�y� �r�u�l�e� ������ �s�e�e� �C�u�s�t�o�m� �r�u�l�e�s� �a�b�o�v�e�.� � � � �#�#� �S�e�m�a�n�t�i�c� �D�e�d�u�p�l�i�c�a�t�i�o�n� � � � �D�e�t�e�c�t� �a�n�d� �m�e�r�g�e� �n�e�a�r�-�d�u�p�l�i�c�a�t�e� �c�o�n�t�e�x�t� �e�n�t�r�i�e�s� �u�s�i�n�g� �c�o�s�i�n�e� �s�i�m�i�l�a�r�i�t�y� �o�n� �t�e�r�m�-�f�r�e�q�u�e�n�c�y� �v�e�c�t�o�r�s�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �d�e�d�u�p�l�i�c�a�t�e�E�n�t�r�i�e�s�,� �f�i�n�d�D�u�p�l�i�c�a�t�e� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �r�e�s�u�l�t� �=� �d�e�d�u�p�l�i�c�a�t�e�E�n�t�r�i�e�s�(�e�n�t�r�i�e�s�,� �{� �s�i�m�i�l�a�r�i�t�y�T�h�r�e�s�h�o�l�d�:� �0�.�8�5� �}�)�;� � �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�u�l�t�.�u�n�i�q�u�e�)�;� � � � � � � �/�/� �e�n�t�r�i�e�s� �t�h�a�t� �s�u�r�v�i�v�e�d� � �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�u�l�t�.�m�e�r�g�e�d�)�;� � � � � � � �/�/� �g�r�o�u�p�s� �o�f� �m�e�r�g�e�d� �d�u�p�l�i�c�a�t�e�s� � �c�o�n�s�o�l�e�.�l�o�g�(�r�e�s�u�l�t�.�r�e�m�o�v�e�d�C�o�u�n�t�)�;� �/�/� �t�o�t�a�l� �e�n�t�r�i�e�s� �r�e�m�o�v�e�d� � � � �/�/� �C�h�e�c�k� �a� �s�i�n�g�l�e� �e�n�t�r�y� �a�g�a�i�n�s�t� �a� �c�o�r�p�u�s� � �c�o�n�s�t� �d�u�p� �=� �f�i�n�d�D�u�p�l�i�c�a�t�e�(�c�a�n�d�i�d�a�t�e�,� �c�o�r�p�u�s�,� �{� �s�i�m�i�l�a�r�i�t�y�T�h�r�e�s�h�o�l�d�:� �0�.�8�5� �}�)�;� � �i�f� �(�d�u�p�)� �c�o�n�s�o�l�e�.�l�o�g�(��D�u�p�l�i�c�a�t�e� �o�f� �$�{�d�u�p�.�m�a�t�c�h�.�i�d�}� �(�$�{�d�u�p�.�s�i�m�i�l�a�r�i�t�y�}�)��)�;� � �� � � � �#�#� �P�r�i�o�r�i�t�y� �S�c�o�r�i�n�g� � � � �R�a�n�k� �c�o�n�t�e�x�t� �e�n�t�r�i�e�s� �b�y� �r�e�l�e�v�a�n�c�e�,� �r�e�c�e�n�c�y�,� �a�n�d� �u�s�a�g�e� �f�r�e�q�u�e�n�c�y�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �s�c�o�r�e�E�n�t�r�i�e�s�,� �t�o�p�K� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �s�c�o�r�e�d� �=� �s�c�o�r�e�E�n�t�r�i�e�s�(�e�n�t�r�i�e�s�,� �"�T�y�p�e�S�c�r�i�p�t� �g�e�n�e�r�i�c�s�"�,� �u�s�a�g�e�R�e�c�o�r�d�s�,� �{� � � � �r�e�l�e�v�a�n�c�e�W�e�i�g�h�t�:� �0�.�5�,� � � � �r�e�c�e�n�c�y�W�e�i�g�h�t�:� �0�.�3�,� � � � �f�r�e�q�u�e�n�c�y�W�e�i�g�h�t�:� �0�.�2�,� � � � �r�e�c�e�n�c�y�H�a�l�f�L�i�f�e�H�o�u�r�s�:� �2�4�,� � �}�)�;� � � � �/�/� �O�r� �j�u�s�t� �g�e�t� �t�h�e� �t�o�p� �r�e�s�u�l�t�s� � �c�o�n�s�t� �t�o�p�5� �=� �t�o�p�K�(�e�n�t�r�i�e�s�,� �"�T�y�p�e�S�c�r�i�p�t� �g�e�n�e�r�i�c�s�"�,� �5�,� �u�s�a�g�e�R�e�c�o�r�d�s�)�;� � �� � � � �E�a�c�h� ��S�c�o�r�e�d�E�n�t�r�y�� �i�n�c�l�u�d�e�s� �a� ��b�r�e�a�k�d�o�w�n�� �w�i�t�h� �i�n�d�i�v�i�d�u�a�l� ��r�e�l�e�v�a�n�c�e��,� ��r�e�c�e�n�c�y��,� �a�n�d� ��f�r�e�q�u�e�n�c�y�� �s�c�o�r�e�s�.� � � � �#�#� �E�v�i�c�t�i�o�n� �P�o�l�i�c�i�e�s� � � � �E�n�f�o�r�c�e� �b�o�u�n�d�e�d� �c�o�n�t�e�x�t� �s�t�o�r�e�s� �w�i�t�h� �a�u�t�o�m�a�t�i�c� �e�v�i�c�t�i�o�n�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �e�v�i�c�t� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �/�/� �L�R�U� ������ �e�v�i�c�t� �l�e�a�s�t� �r�e�c�e�n�t�l�y� �u�s�e�d� � �c�o�n�s�t� �l�r�u�R�e�s�u�l�t� �=� �e�v�i�c�t�(�"�l�r�u�"�,� �e�n�t�r�i�e�s�,� �{� �m�a�x�E�n�t�r�i�e�s�:� �1�0�0� �}�,� �a�c�c�e�s�s�R�e�c�o�r�d�s�)�;� � � � �/�/� �L�F�U� ������ �e�v�i�c�t� �l�e�a�s�t� �f�r�e�q�u�e�n�t�l�y� �u�s�e�d� � �c�o�n�s�t� �l�f�u�R�e�s�u�l�t� �=� �e�v�i�c�t�(�"�l�f�u�"�,� �e�n�t�r�i�e�s�,� �{� �m�a�x�E�n�t�r�i�e�s�:� �1�0�0� �}�,� �a�c�c�e�s�s�R�e�c�o�r�d�s�)�;� � � � �/�/� �T�T�L� ������ �e�v�i�c�t� �e�n�t�r�i�e�s� �o�l�d�e�r� �t�h�a�n� �2�4� �h�o�u�r�s� � �c�o�n�s�t� �t�t�l�R�e�s�u�l�t� �=� �e�v�i�c�t�(�"�t�t�l�"�,� �e�n�t�r�i�e�s�,� �{� �t�t�l�M�s�:� �2�4� �*� �6�0� �*� �6�0� �*� �1�0�0�0� �}�)�;� � � � �c�o�n�s�o�l�e�.�l�o�g�(�t�t�l�R�e�s�u�l�t�.�r�e�t�a�i�n�e�d�)�;� �/�/� �e�n�t�r�i�e�s� �t�h�a�t� �s�u�r�v�i�v�e�d� � �c�o�n�s�o�l�e�.�l�o�g�(�t�t�l�R�e�s�u�l�t�.�e�v�i�c�t�e�d�)�;� � �/�/� �e�n�t�r�i�e�s� �t�h�a�t� �w�e�r�e� �r�e�m�o�v�e�d� � �� � � � �#�#� �A�u�d�i�t� �T�r�a�i�l� � � � �S�t�r�u�c�t�u�r�e�d� �a�u�d�i�t� �l�o�g�g�i�n�g� �w�i�t�h� �q�u�e�r�y� �A�P�I� �a�n�d� �J�S�O�N�L� �e�x�p�o�r�t�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �c�r�e�a�t�e�A�u�d�i�t�T�r�a�i�l�,� �c�r�e�a�t�e�A�u�d�i�t�H�o�o�k�,� �q�u�e�r�y�A�u�d�i�t�T�r�a�i�l�,� �e�x�p�o�r�t�J�S�O�N�L� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �t�r�a�i�l� �=� �c�r�e�a�t�e�A�u�d�i�t�T�r�a�i�l�(�)�;� � �c�o�n�s�t� �k�e�r�n�e�l� �=� �n�e�w� �C�o�n�t�e�x�t�K�e�r�n�e�l�(�c�o�n�f�i�g�,� �{� �o�n�E�v�e�n�t�:� �c�r�e�a�t�e�A�u�d�i�t�H�o�o�k�(�t�r�a�i�l�)� �}�)�;� � � � �/�/� �A�f�t�e�r� �r�u�n�n�i�n�g� �d�e�c�i�s�i�o�n�s�.�.�.� � �c�o�n�s�t� �r�e�s�u�l�t� �=� �q�u�e�r�y�A�u�d�i�t�T�r�a�i�l�(�t�r�a�i�l�,� �{� � � � �s�e�s�s�i�o�n�I�d�:� �"�s�e�s�s�-�0�0�1�"�,� � � � �e�v�e�n�t�T�y�p�e�s�:� �[�"�c�o�m�p�l�e�t�e�d�"�,� �"�g�u�a�r�d�_�b�l�o�c�k�e�d�"�]�,� � � � �l�i�m�i�t�:� �5�0�,� � �}�)�;� � � � �/�/� �E�x�p�o�r�t� �f�o�r� �l�o�g� �i�n�g�e�s�t�i�o�n� � �c�o�n�s�t� �j�s�o�n�l� �=� �e�x�p�o�r�t�J�S�O�N�L�(�t�r�a�i�l�)�;� � �� � � � �#�#� �S�h�a�r�e�d� �M�e�m�o�r�y� �P�o�o�l�s� � � � �C�r�o�s�s�-�s�e�s�s�i�o�n� �c�o�n�t�e�x�t� �s�h�a�r�i�n�g� �f�o�r� �m�u�l�t�i�-�a�g�e�n�t� �c�o�o�r�d�i�n�a�t�i�o�n�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �c�r�e�a�t�e�S�h�a�r�e�d�M�e�m�o�r�y�R�e�g�i�s�t�r�y�,� �c�r�e�a�t�e�P�o�o�l�,� �p�u�b�l�i�s�h�,� �r�e�a�d�P�o�o�l�,� �s�u�b�s�c�r�i�b�e� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �r�e�g�i�s�t�r�y� �=� �c�r�e�a�t�e�S�h�a�r�e�d�M�e�m�o�r�y�R�e�g�i�s�t�r�y�(�)�;� � �c�r�e�a�t�e�P�o�o�l�(�r�e�g�i�s�t�r�y�,� �"�w�o�r�k�s�p�a�c�e�"�,� �1�0�0�0�)�;� �/�/� �m�a�x� �1�0�0�0� �e�n�t�r�i�e�s� � � � �/�/� �A�g�e�n�t� �A� �p�u�b�l�i�s�h�e�s� �c�o�n�t�e�x�t� � �p�u�b�l�i�s�h�(�r�e�g�i�s�t�r�y�,� �"�w�o�r�k�s�p�a�c�e�"�,� �"�a�g�e�n�t�-�a�"�,� �{� �i�d�:� �"�e�1�"�,� �c�o�n�t�e�n�t�:� �"�.�.�.�"�,� �t�i�m�e�s�t�a�m�p�:� �"�.�.�.�"� �}�)�;� � � � �/�/� �A�g�e�n�t� �B� �s�u�b�s�c�r�i�b�e�s� �a�n�d� �r�e�a�d�s� � �s�u�b�s�c�r�i�b�e�(�r�e�g�i�s�t�r�y�,� �"�w�o�r�k�s�p�a�c�e�"�,� �"�a�g�e�n�t�-�b�"�)�;� � �c�o�n�s�t� �e�n�t�r�i�e�s� �=� �r�e�a�d�P�o�o�l�(�r�e�g�i�s�t�r�y�,� �"�w�o�r�k�s�p�a�c�e�"�,� �{� �e�x�c�l�u�d�e�S�e�s�s�i�o�n�I�d�:� �"�a�g�e�n�t�-�b�"� �}�)�;� � �� � � � �#�#� �C�o�n�t�e�x�t� �S�n�a�p�s�h�o�t�s� � � � �S�a�v�e� �a�n�d� �r�e�s�t�o�r�e� �f�u�l�l� �c�o�n�t�e�x�t� �s�t�a�t�e� �f�o�r� �s�e�s�s�i�o�n� �r�e�p�l�a�y� �o�r� �b�r�a�n�c�h�i�n�g�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �c�r�e�a�t�e�S�n�a�p�s�h�o�t�S�t�o�r�e�,� �t�a�k�e�S�n�a�p�s�h�o�t�,� �r�e�s�t�o�r�e�S�n�a�p�s�h�o�t� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �s�t�o�r�e� �=� �c�r�e�a�t�e�S�n�a�p�s�h�o�t�S�t�o�r�e�(�)�;� � � � �t�a�k�e�S�n�a�p�s�h�o�t�(�s�t�o�r�e�,� �{� � � � �i�d�:� �"�b�e�f�o�r�e�-�r�e�f�a�c�t�o�r�"�,� � � � �s�e�s�s�i�o�n�I�d�:� �"�s�e�s�s�-�0�0�1�"�,� � � � �e�n�t�r�i�e�s�:� �c�u�r�r�e�n�t�E�n�t�r�i�e�s�,� � � � �u�s�a�g�e�R�e�c�o�r�d�s�:� �c�u�r�r�e�n�t�U�s�a�g�e�,� � � � �l�a�b�e�l�:� �"�p�r�e�-�r�e�f�a�c�t�o�r� �c�h�e�c�k�p�o�i�n�t�"�,� � �}�)�;� � � � �/�/� �L�a�t�e�r�,� �r�e�s�t�o�r�e� �t�h�e� �s�n�a�p�s�h�o�t� � �c�o�n�s�t� �{� �e�n�t�r�i�e�s�,� �u�s�a�g�e�R�e�c�o�r�d�s� �}� �=� �r�e�s�t�o�r�e�S�n�a�p�s�h�o�t�(�s�t�o�r�e�,� �"�b�e�f�o�r�e�-�r�e�f�a�c�t�o�r�"�)�;� � �� � � � �#�#� �B�u�l�k� �O�p�e�r�a�t�i�o�n�s� � � � �E�f�f�i�c�i�e�n�t� �b�a�t�c�h� �o�p�e�r�a�t�i�o�n�s� �f�o�r� �c�o�n�t�e�x�t� �s�t�o�r�e�s�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �c�r�e�a�t�e�C�o�n�t�e�x�t�S�t�o�r�e�,� �b�u�l�k�I�n�s�e�r�t�,� �b�u�l�k�D�e�l�e�t�e�,� �b�u�l�k�Q�u�e�r�y�,� �b�u�l�k�G�e�t� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�"�;� � � � �c�o�n�s�t� �s�t�o�r�e� �=� �c�r�e�a�t�e�C�o�n�t�e�x�t�S�t�o�r�e�(�)�;� � � � �/�/� �B�a�t�c�h� �i�n�s�e�r�t� � �c�o�n�s�t� �i�n�s�e�r�t�R�e�s�u�l�t� �=� �b�u�l�k�I�n�s�e�r�t�(�s�t�o�r�e�,� �e�n�t�r�i�e�s�)�;� � �c�o�n�s�o�l�e�.�l�o�g�(�i�n�s�e�r�t�R�e�s�u�l�t�.�i�n�s�e�r�t�e�d�)�;� �/�/� �c�o�u�n�t� �o�f� �s�u�c�c�e�s�s�f�u�l�l�y� �i�n�s�e�r�t�e�d� � �c�o�n�s�o�l�e�.�l�o�g�(�i�n�s�e�r�t�R�e�s�u�l�t�.�f�a�i�l�e�d�)�;� � � �/�/� �c�o�u�n�t� �o�f� �f�a�i�l�u�r�e�s� �(�d�u�p�l�i�c�a�t�e� �i�d�s�,� �e�t�c�.�)� � � � �/�/� �B�a�t�c�h� �d�e�l�e�t�e� � �c�o�n�s�t� �d�e�l�e�t�e�R�e�s�u�l�t� �=� �b�u�l�k�D�e�l�e�t�e�(�s�t�o�r�e�,� �[�"�i�d�-�1�"�,� �"�i�d�-�2�"�,� �"�i�d�-�3�"�]�)�;� � � � �/�/� �B�a�t�c�h� �g�e�t� � �c�o�n�s�t� �f�o�u�n�d� �=� �b�u�l�k�G�e�t�(�s�t�o�r�e�,� �[�"�i�d�-�1�"�,� �"�i�d�-�2�"�]�)�;� � � � �/�/� �Q�u�e�r�y� �w�i�t�h� �p�r�e�d�i�c�a�t�e� �a�n�d� �p�a�g�i�n�a�t�i�o�n� � �c�o�n�s�t� �q�u�e�r�y�R�e�s�u�l�t� �=� �b�u�l�k�Q�u�e�r�y�(�s�t�o�r�e�,� �(�e�)� �=�>� �e�.�c�o�n�t�e�n�t�.�i�n�c�l�u�d�e�s�(�"�T�y�p�e�S�c�r�i�p�t�"�)�,� �{� � � � �l�i�m�i�t�:� �1�0�,� � � � �o�f�f�s�e�t�:� �0�,� � �}�)�;� � �� � � � �#�#� �Z�o�d� �V�a�l�i�d�a�t�i�o�n� � � � �A�l�l� �i�n�p�u�t�s� �a�n�d� �c�o�n�f�i�g�s� �a�r�e� �v�a�l�i�d�a�t�e�d� �a�t� �r�u�n�t�i�m�e� �w�i�t�h� �Z�o�d� �s�c�h�e�m�a�s�.� �I�m�p�o�r�t� �t�h�e�m� �d�i�r�e�c�t�l�y�:� � � � ��t�s� � �i�m�p�o�r�t� �{� �k�e�r�n�e�l�I�n�p�u�t�S�c�h�e�m�a�,� �k�e�r�n�e�l�C�o�n�f�i�g�S�c�h�e�m�a� �}� �f�r�o�m� �"�c�o�n�t�e�x�t�-�k�e�r�n�e�l�/�s�c�h�e�m�a�s�"�;� � � � �c�o�n�s�t� �c�o�n�f�i�g� �=� �k�e�r�n�e�l�C�o�n�f�i�g�S�c�h�e�m�a�.�p�a�r�s�e�(�r�a�w�C�o�n�f�i�g�)�;� � �/�/� �t�h�r�o�w�s� �o�n� �i�n�v�a�l�i�d� � �c�o�n�s�t� �i�n�p�u�t� �=� �k�e�r�n�e�l�I�n�p�u�t�S�c�h�e�m�a�.�p�a�r�s�e�(�r�a�w�I�n�p�u�t�)�;� � �� � � � �#�#� �C�o�n�f�i�g�u�r�a�t�i�o�n� �R�e�f�e�r�e�n�c�e� � � � �|� �O�p�t�i�o�n� �|� �T�y�p�e� �|� �D�e�f�a�u�l�t� �|� �D�e�s�c�r�i�p�t�i�o�n� �|� � �|�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�|�-�-�-�-�-�-�-�-�-�-�-�-�-�|� � �|� ��r�o�u�t�e�r�.�t�o�k�e�n�C�o�m�p�r�e�s�s�i�o�n�T�h�r�e�s�h�o�l�d�� �|� ��n�u�m�b�e�r�� �|� ��1�0�0�0�0�� �|� �T�o�k�e�n� �c�o�u�n�t� �t�h�a�t� �t�r�i�g�g�e�r�s� �c�o�m�p�r�e�s�s�i�o�n� �|� � �|� ��r�o�u�t�e�r�.�a�l�l�o�w�P�r�e�m�i�u�m�E�s�c�a�l�a�t�i�o�n�� �|� ��b�o�o�l�e�a�n�� �|� ��t�r�u�e�� �|� �A�l�l�o�w� �u�r�g�e�n�t�/�c�o�d�e� �t�a�s�k�s� �t�o� �e�s�c�a�l�a�t�e� �t�o� �p�r�e�m�i�u�m� �m�o�d�e�l�s� �|� � �|� ��r�o�u�t�e�r�.�m�o�d�e�l�R�e�g�i�s�t�r�y�� �|� ��R�e�c�o�r�d�<�s�t�r�i�n�g�,� �{�p�r�o�v�i�d�e�r�?�,� �m�o�d�e�l�}�>�� �|� ������ �|� �N�a�m�e�d� �m�o�d�e�l� �t�a�r�g�e�t�s� �(�i�n�f�o�r�m�a�t�i�o�n�a�l�)� �|� � �|� ��r�o�u�t�e�r�.�r�o�u�t�e�M�a�p�� �|� ��o�b�j�e�c�t�� �|� ������ �|� �M�a�p�s� �t�a�s�k� �c�l�a�s�s�i�f�i�c�a�t�i�o�n�s� �t�o� �m�o�d�e�l� �k�e�y�s� �|� � �|� ��p�o�l�i�c�y�.�p�o�s�t�O�n�l�y�M�o�d�e�� �|� ��b�o�o�l�e�a�n�� �|� ��f�a�l�s�e�� �|� �R�e�s�t�r�i�c�t� �t�o� �p�o�s�t�/�s�e�n�d� �a�c�t�i�o�n�s� �o�n�l�y� �|� � �|� ��p�o�l�i�c�y�.�q�u�i�e�t�H�o�u�r�s�� �|� ��{�s�t�a�r�t�H�o�u�r�,� �e�n�d�H�o�u�r�,� �t�i�m�e�z�o�n�e�?�}�� �|� ������ �|� �G�l�o�b�a�l� �q�u�i�e�t� �h�o�u�r�s� �w�i�n�d�o�w� �|� � �|� ��p�o�l�i�c�y�.�b�l�o�c�k�e�d�S�e�c�r�e�t�P�a�t�t�e�r�n�s�� �|� ��s�t�r�i�n�g�[�]�� �|� �c�o�m�m�o�n� �p�a�t�t�e�r�n�s� �|� �R�e�g�e�x� �p�a�t�t�e�r�n�s� �f�o�r� �s�e�c�r�e�t� �d�e�t�e�c�t�i�o�n� �|� � �|� ��p�o�l�i�c�y�.�r�u�l�e�s�� �|� ��P�o�l�i�c�y�R�u�l�e�[�]�� �|� ��[�]�� �|� �C�u�s�t�o�m� �p�o�l�i�c�y� �r�u�l�e�s� �(�a�l�l�o�w�l�i�s�t�,� �q�u�i�e�t� �h�o�u�r�s�,� �s�e�c�r�e�t� �r�e�g�e�x�,� �P�I�I� �g�u�a�r�d�)� �|� � � � �#�#� �L�i�n�k�s� � � � �-� ��G�i�t�H�u�b�:�� �[�g�i�t�h�u�b�.�c�o�m�/�d�a�r�k�s�0�l�/�c�o�n�t�e�x�t�-�k�e�r�n�e�l�]�(�h�t�t�p�s�:�/�/�g�i�t�h�u�b�.�c�o�m�/�d�a�r�k�s�0�l�/�c�o�n�t�e�x�t�-�k�e�r�n�e�l�)� � �-� ��C�h�a�n�g�e�l�o�g�:�� ��C�H�A�N�G�E�L�O�G�.�m�d�� � �-� ��A�r�c�h�i�t�e�c�t�u�r�e�:�� ��A�R�C�H�I�T�E�C�T�U�R�E�.�m�d�� � �-� ��S�e�c�u�r�i�t�y�:�� ��S�E�C�U�R�I�T�Y�.�m�d�� � �-� ��L�i�c�e�n�s�e�:�� �M�I�T� � � � �-�-�-� � � � �B�u�i�l�t� �w�i�t�h� �t�e�e�t�h�.� �a"����� � �