<commit_before>web-service
===========

#### Some deign notes
* 'ClusterDetail' and 'ClusterSummary' are provided as separate resources. Past experiences with the
[http://www.ebi.ac.uk/pride/ws/archive/](PRIDE Archive web service) demonstrated that having a single resource
(e.g. 'project') providing both 'ProjectDetail' and 'ProjectSummary' depending on what individual end point was
requested is confusing from the point of view of client libraries and web apps.
* Following a similar logic, spectra and psms will be independent WS endpoints, instead of being part of ClusterDetail.
Doing so we can better manage resources in the client, since this end point can potentially return long collections
of results.<commit_msg>typos in notes<commit_after>web-service
===========

#### Some deign notes
* `ClusterDetail` and `ClusterSummary` are provided as separate resources. Past experiences with the
[http://www.ebi.ac.uk/pride/ws/archive/](PRIDE Archive web service) demonstrated that having a single resource
(e.g. 'project') providing both `ProjectDetail` and `ProjectSummary` depending on what individual end point was
requested is confusing from the point of view of client libraries and web apps.
* Following a similar logic, spectra and psms will be independent WS endpoints, instead of being part of `ClusterDetail`.
Doing so we can better manage resources in the client, since this end point can potentially return long collections
of results.
{'fraction_non_alphanumeric': 0.07845836200963524, 'fraction_numerical': 0.0, 'mean_word_length': 5.349344978165939, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1610943', 'n_tokens_mistral': 351, 'n_tokens_neox': 339, 'n_words': 187}