<commit_before># Directory Structure

Orion Context Broker is divided into a number of libraries, each library
containing a number of modules (with *module* we refer to a source code file
and its corresponding header file). Each library has its own directory under `src/lib/`.

The main program, that basically initializes the libraries and starts the
REST interface resides in `contextBroker.cpp` in its own directory `src/app/contextBroker/`.

Unit tests and functional tests reside under the `test/` directory while
scripts used for testing and release making are found under `scripts/`.

* **src**: contains the source code, with the following subdirectories:
  * **app**: contains the source code for applications (each application in a separate subdirectory). The main application, the Orion Context Broker, resides in the **contextBroker** directory
  * **lib**: contains source code libraries (each library in a separate subdirectory)
* **test**: contains tests. There are several subdirectories (each subdirectory corresponding to a different test 
  suite/procedure), but the most important ones are: 
  * **unittest**: contains unit tests
  * **functionalTest**: contains functional end-to-end tests based on the "test harness" engine
  * **acceptance**: contains functional end-to-end test based on the Behave (NGSIv2) or Lettuce (NGSIv1) Python frameworks
* **scripts**: contains utility scripts (e.g. scripts used by the test frameworks, etc.)
* **doc**: contains documentation, with the following subdirectories:
  * **apiary**: for apiary-based documentation
  * **manuals**: for markdown based documentation
* **etc**: files that are installed under etc/ (logrorate examples, etc.)
* **docker**: contains the docker files
* **ci**: contains files required by Orion's CI process
* **archive**: contains older files that is no longer in use but that we don't feel comfortable removing just yet<commit_msg>Fix typo<commit_after># Directory Structure

Orion Context Broker is divided into a number of libraries, each library
containing a number of modules (with *module* we refer to a source code file
and its corresponding header file). Each library has its own directory under `src/lib/`.

The main program, that basically initializes the libraries and starts the
REST interface resides in `contextBroker.cpp` in its own directory `src/app/contextBroker/`.

Unit tests and functional tests reside under the `test/` directory while
scripts used for testing and release making are found under `scripts/`.

* **src**: contains the source code, with the following subdirectories:
  * **app**: contains the source code for applications (each application in a separate subdirectory). The main application, the Orion Context Broker, resides in the **contextBroker** directory
  * **lib**: contains source code libraries (each library in a separate subdirectory)
* **test**: contains tests. There are several subdirectories (each subdirectory corresponding to a different test 
  suite/procedure), but the most important ones are: 
  * **unittest**: contains unit tests
  * **functionalTest**: contains functional end-to-end tests based on the "test harness" engine
  * **acceptance**: contains functional end-to-end test based on the Behave (NGSIv2) or Lettuce (NGSIv1) Python frameworks
* **scripts**: contains utility scripts (e.g. scripts used by the test frameworks, etc.)
* **doc**: contains documentation, with the following subdirectories:
  * **apiary**: for apiary-based documentation
  * **manuals**: for markdown based documentation
* **etc**: files that are installed under etc/ (logrotate examples, etc.)
* **docker**: contains the docker files
* **ci**: contains files required by Orion's CI process
* **archive**: contains older files that is no longer in use but that we don't feel comfortable removing just yet
{'fraction_non_alphanumeric': 0.08709256844850065, 'fraction_numerical': 0.0010430247718383311, 'mean_word_length': 5.127795527156549, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '4877998', 'n_tokens_mistral': 944, 'n_tokens_neox': 903, 'n_words': 502}