Skip to content

Commit

Permalink
Analysis: Clean up, argparse, and tests (#33)
Browse files Browse the repository at this point in the history
* decoder: started cleanup

* cos: decoder cleanup: added meti message since it is not available online anymore

* cos: decoder cleanup: added argparse

* cos: decoder cleanup: README for examples for analysis

* decoder: argument parser

* cosmicos: decoder cleanup: todo in arguments parsing

* cosmicos: decoder cleanup: added various commandline parameters, generalized ngram entropy plot

* analysis: cleaned up single file

- removed decoding

- cleaned up functions

- finished command line arguments

* analysis: fixed some minor bugs

* analysis: meti.txt updated

* analysis: changed random generation of messages due to best practises

* analysis: meti.txt updated

* analysis: removed examples

* analysis: started adding test suits

* analysis: small changes test suits

* analysis: added entropy tests

* analysis: added zipf tests

* analysis: small documentations

* analysis: simplified word rank code

* analysis: simplified entropy calculation code

* analysis: comment in entropy calculation

* analysis: removed some non-necessary variables

* analysis: simplified guess control character code

* analysis: added CI testing to workflows

* cos: changed Python version in workflows to 3.8

* cos: added Python numpy package to workflows

* cos: tried numpy not via systems package but by steps in job in workflow yaml file

* cos: added missing matplotlib in workflow yaml file; separated standard library imports from external dependencies in Python file
  • Loading branch information
joha2 committed Apr 27, 2022
1 parent f1bfda9 commit 67e80da
Show file tree
Hide file tree
Showing 5 changed files with 761 additions and 578 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
haxe-version: [3.4.7]
python-version: [2.7]
python-version: [3.8]
node-version: [12.x]

steps:
Expand All @@ -34,6 +34,12 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Install numpy and matplotlib
run: |
python -m pip install --upgrade pip
pip install numpy
pip install matplotlib
- name: Set up Haxe ${{ matrix.haxe-version }}
uses: krdlab/setup-haxe@v1
with:
Expand All @@ -47,3 +53,7 @@ jobs:

- name: make test
run: src/make_without_docker.sh test

- name: analysis test
run: python analysis/tests_runner.py

Loading

0 comments on commit 67e80da

Please sign in to comment.