<commit_before># ISARI

This project will most likely be open source. To be defined soon.

ISARI is a web application which helps univeristies to report research activities.

## technical infrastructure

### data storage / model

Data are stored in a **MongoDB** 

We use **mongo-connector** to index those data in a **elasticsearch** engine.

A **nodejs** server using **mongoose** deliver a **REST** API through **express** (or **Dolman** ?).

A web client coded in **angular2** proposes data edition and exploration feeatures.




<commit_msg>data model early documentation<commit_after># ISARI

ISARI is a web application which helps univeristies to report research activities.
This project will licensed under [AGPLv3](LICENSE.md).

## data model

We defined a data model although we use a nosql database to frame the User Interface generation (forms, validation, access...).  
We use this set of files to descrie Isari data model : 

- [global_schema.js](data_specs/global_schema.js): a mongoose data model js file which describe data objects.
- [global_meta.json](data_specs/global_meta.json): a json file listing metadata for each data attributes. This file list :
	
	- labels in fr and en
	- requirements: mandatory or recommended
	- accessType: specific access type
	- suggestions: the method to use to suggest input values (/!\ work in progress)

- [global_enum.json](data_specs/global_enum.json): a json file which list values for controlled data attributes
- [role_access.json](data_specs/role_access.json): a json file which describes roles and access types see [role_access.md](role_access.md)

## technical infrastructure

Data are stored in a **MongoDB** through **mongoose**.

We use **mongo-connector** to index those data in a **elasticsearch** engine.

A **nodejs** server using **mongoose** deliver a **REST** API through **express** (or **Dolman** ?).

A web client coded in **angular2** proposes data edition and exploration feeatures.





{'fraction_non_alphanumeric': 0.09419551934826884, 'fraction_numerical': 0.0015274949083503055, 'mean_word_length': 4.646551724137931, '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': '5573891', 'n_tokens_mistral': 547, 'n_tokens_neox': 532, 'n_words': 247}