<commit_before>Instruction for testing supplier (samp)-consumer in Java
-------------------------------------------------

1. compile acssamp both in src and test


2. prepare the CDB 

cd <...>/acssamp/ws/test
mkdir -p  CDB/MACI/Containers/Container
cp ENVIRONMENTS/wsTat/Container.xml CDB/MACI/Containers/Container/Container.xml


3. start ACS

export ACS_CDB=<...>/acssamp/ws/test
acsStart
acsStartContainer -cpp Container


4. start Java supplier

acsStartJava alma.acssamp.jtest.acssampSupplier
(it samples LAMP1/brightness; using ObjExp it is possible to change the value of brightness)


5. start Java consumer

acsStartJava alma.acssamp.jtest.acssampJTest

On stdout the value of the brightness (with associated timestamp should be written)
<commit_msg>Minor update, also added a todo<commit_after>Instruction for testing supplier (samp)-consumer in Java
--------------------------------------------------------

TODO: Automate the Java test, incl. verification of output.

1. compile acssamp both in src and test


2. prepare the CDB 

cd <...>/acssamp/ws/test
mkdir -p  CDB/MACI/Containers/Container
cp ENVIRONMENTS/wsTat/Container.xml CDB/MACI/Containers/Container/Container.xml


3. start ACS

export ACS_CDB=$PWD
acsStart
acsStartContainer -cpp Container


4. start Java supplier

acsStartJava alma.acssamp.jtest.acssampSupplier
(it samples LAMP1/brightness; using ObjExp it is possible to change the value of brightness)


5. start Java consumer

acsStartJava alma.acssamp.jtest.acssampJTest

On stdout the value of the brightness (with associated timestamp should be written)

{'fraction_non_alphanumeric': 0.13136392206159647, 'fraction_numerical': 0.00754242614707731, 'mean_word_length': 3.222811671087533, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '4323980', 'n_tokens_mistral': 505, 'n_tokens_neox': 480, 'n_words': 164}