<commit_before>CalTRACK Compliance
===================

.. role:: red

Checklist for caltrack compliance:


Section 2.2: Data Constraints
-----------------------------


Section 2.2.1: Missing Values/Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.1.1**: :any:`eemeter.get_baseline_data` must set ``max_days=365``.
- **2.2.1.2**: :any:`eemeter.caltrack_sufficiency_criteria` must set ``min_fraction_daily_coverage=0.9``.
- **2.2.1.3**: (Data Preparation) Missing values in input data have been represented as ``float('nan')``, ``np.nan``, or anything recognized as null by the method :any:`pandas.isnull`.
- **2.2.1.4**: (Data Preparation) Values of ``0`` in electricity data have been converted to ``np.nan``.


Section 2.2.2: Daily Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.2.1**: (Data Preparation) Input meter data has been appropriately downsampled to daily values.
- **2.2.2.2**: (Data Preparation) Estimated reads in input data have been combined with subsequent reads.
- **2.2.2.3**: :any:`eemeter.merge_temperature_data` sets ``percent_hourly_coverage_per_day=0.5``.
- **2.2.2.4**: (Data Preparation) Meter usage and temperature data that is downsampled to daily has used matching time zone information to ensure that the upsampled values represent the same periods of time.


Section 2.2.3: Billing Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.3.1**: (Data Preparation) Estimated reads in input data have been combined with subsequent reads up to a 70 day limit. Estimated reads count as missing values when evaluating the sufficiency criteria defined in 2.2.1.2. 
- **2.2.3.2**: :any:`eemeter.caltrack_sufficiency_criteria` must set ``min_fraction_daily_coverage=0.9``.
- **2.2.3.3**: (Data Preparation) Input meter data that represents billing periods less than 25 days long has been converted to ``np.nan``.<commit_msg>updated doc to test pull request<commit_after>CalTRACK Compliance
===================

.. role:: red

Checklist for caltrack compliance:


Section 2.2: Data Constraints
-----------------------------


Section 2.2.1: Missing Values/Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.1.1**: :any:`eemeter.get_baseline_data` must set ``max_days=365``.
- **2.2.1.2**: :any:`eemeter.caltrack_sufficiency_criteria` must set ``min_fraction_daily_coverage=0.9``.
- **2.2.1.3**: (Data Preparation) Missing values in input data have been represented as ``float('nan')``, ``np.nan``, or anything recognized as null by the method :any:`pandas.isnull`.
- **2.2.1.4**: (Data Preparation) Values of ``0`` in electricity data have been converted to ``np.nan``.


Section 2.2.2: Daily Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.2.1**: (Data Preparation) Input meter data has been appropriately downsampled to daily values.
- **2.2.2.2**: (Data Preparation) The estimated reads in input data have been combined with subsequent reads.
- **2.2.2.3**: :any:`eemeter.merge_temperature_data` sets ``percent_hourly_coverage_per_day=0.5``.
- **2.2.2.4**: (Data Preparation) Meter usage and temperature data that is downsampled to daily has used matching time zone information to ensure that the upsampled values represent the same periods of time.


Section 2.2.3: Billing Data Sufficiency
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- **2.2.3.1**: (Data Preparation) Estimated reads in input data have been combined with subsequent reads up to a 70 day limit. Estimated reads count as missing values when evaluating the sufficiency criteria defined in 2.2.1.2. 
- **2.2.3.2**: :any:`eemeter.caltrack_sufficiency_criteria` must set ``min_fraction_daily_coverage=0.9``.
- **2.2.3.3**: (Data Preparation) Input meter data that represents billing periods less than 25 days long has been converted to ``np.nan``.
{'fraction_non_alphanumeric': 0.20664399686110385, 'fraction_numerical': 0.03818990321736856, 'mean_word_length': 4.6651851851851855, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 24, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '941676', 'n_tokens_mistral': 1228, 'n_tokens_neox': 1106, 'n_words': 395}