<commit_before># Zephyr: using e-mission for evaluating power consumption #

## Collecting data ##
- Install the e-mission app for your platform
    - android: https://play.google.com/store/apps/details?id=edu.berkeley.eecs.emission
    - iOS: https://itunes.apple.com/us/app/emission/id1084198445?&mt=8
- Switch to the zephyr-specific UI (https://e-mission.eecs.berkeley.edu/#/client_setup?new_client=zephyr&clear_usercache=true&clear_local_storage=true)
- Turn off tracking (Profile -> Tracking)
- Change the sampling rate if needed. Default is every hour. (Profile -> Developer Zone -> Sync)

## Analysing data ##
The data from your phone goes directly to a server for open data.
The password for the server is concatenation of the first names of the maintainer's advisors and associated labs (R....D....R...B...). All information can be found in the third sentence of her home page https://people.eecs.berkeley.edu/~shankari/.

The server contains several reference notebooks to help you evaluate the power drain of your sensing regime.
Re-run them to match your experiment.
http://172.16.58.3:8888/tree/zephyr/reference
Make sure to change the `label`, `start_ts` and `end_ts` to match your experiment.

In particular, the steps are:
- Calibrate your approach (http://172.16.58.3:8888/tree/zephyr/reference/Calibration.ipynb)
- Run your experiment
- Report the difference in slope as your performance evaluation<commit_msg>Clarified that people should copy the notebooks<commit_after># Zephyr: using e-mission for evaluating power consumption #

## Collecting data ##
- Install the e-mission app for your platform
    - android: https://play.google.com/store/apps/details?id=edu.berkeley.eecs.emission
    - iOS: https://itunes.apple.com/us/app/emission/id1084198445?&mt=8
- Switch to the zephyr-specific UI (https://e-mission.eecs.berkeley.edu/#/client_setup?new_client=zephyr&clear_usercache=true&clear_local_storage=true)
- Turn off tracking (Profile -> Tracking)
- Change the sampling rate if needed. Default is every hour. (Profile -> Developer Zone -> Sync)

## Analysing data ##
The data from your phone goes directly to a server for open data.
The password for the server is concatenation of the first names of the maintainer's advisors and associated labs (R....D....R...B...). All information can be found in the third sentence of her home page https://people.eecs.berkeley.edu/~shankari/.

The server contains several reference notebooks to help you evaluate the power drain of your sensing regime.
Copy them to a new directory and re-run them to match your experiment.
http://172.16.58.3:8888/tree/zephyr/reference
Make sure to change the `label`, `start_ts` and `end_ts` to match your experiment.

In particular, the steps are:
- Calibrate your approach (http://172.16.58.3:8888/tree/zephyr/reference/Calibration.ipynb)
- Run your experiment
- Report the difference in slope as your performance evaluation
{'fraction_non_alphanumeric': 0.10195005131713993, 'fraction_numerical': 0.023947998631542934, 'mean_word_length': 4.297101449275362, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4518828', 'n_tokens_mistral': 899, 'n_tokens_neox': 844, 'n_words': 316}