<commit_before># Services

In addition to all services registered by [Robo][robo], **drubo** makes the 
following services available.

---

## drubo.diff

[```\SebastianBergmann\Diff\Differ```][code.differ]

Returns a diff engine object.

---

## drubo.environment

[```\Drubo\Environment\EnvironmentInterface```][code.environmentinterface]

Returns the currently active environment object.

---

## drubo.environment.config

[```\Drubo\Config\Environment\EnvironmentConfigInterface```][code.environmentconfiginterface]

Returns the configuration object for the currently active environment.

---

## drubo.environment.config.schema

[```\Drubo\Config\Environment\EnvironmentConfigSchema```][code.environmentconfigschema]

Returns the schema object for environment-specific configurations.

---

## drubo.environment.list

[```\Drubo\Environment\EnvironmentListInterface```][code.environmentlistinterface]

Returns the environment list object containing all available environment names. 
The default implementation provides the following name:

* ```develop```
* ```staging```
* ```production```

Replace this service, if you need more/other environment names for your project.<commit_msg>Fix typos in services documentation<commit_after># Services

In addition to all services registered by [Robo][robo], **drubo** makes the 
following services available.

---

## drubo.diff

[```\SebastianBergmann\Diff\Differ```][code.differ]

Returns a diff engine object.

---

## drubo.environment

[```\Drubo\Environment\EnvironmentInterface```][code.environmentinterface]

Returns the current active environment object.

---

## drubo.environment.config

[```\Drubo\Config\Environment\EnvironmentConfigInterface```][code.environmentconfiginterface]

Returns the configuration object for the current active environment.

---

## drubo.environment.config.schema

[```\Drubo\Config\Environment\EnvironmentConfigSchema```][code.environmentconfigschema]

Returns the schema object for environment-specific configurations.

---

## drubo.environment.list

[```\Drubo\Environment\EnvironmentListInterface```][code.environmentlistinterface]

Returns the environment list object containing all available environment names. 
The default implementation provides the following name:

* ```develop```
* ```staging```
* ```production```

Replace this service, if you need more/other environment names for your project.
{'fraction_non_alphanumeric': 0.12604340567612687, 'fraction_numerical': 0.0, 'mean_word_length': 5.676880222841226, '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': '1018637', 'n_tokens_mistral': 663, 'n_tokens_neox': 640, 'n_words': 173}