mathjson-solver 1.17.0__tar.gz → 1.19.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (117) hide show
  1. mathjson_solver-1.19.0/.github/ISSUE_TEMPLATE/bug_report.md +25 -0
  2. mathjson_solver-1.19.0/.github/workflows/python-app.yml +33 -0
  3. mathjson_solver-1.19.0/.github/workflows/test-coverage.yml +51 -0
  4. mathjson_solver-1.19.0/.gitignore +129 -0
  5. mathjson_solver-1.19.0/CODE_OF_CONDUCT.md +124 -0
  6. mathjson_solver-1.19.0/CONTRIBUTING.md +6 -0
  7. {mathjson_solver-1.17.0/src/mathjson_solver.egg-info → mathjson_solver-1.19.0}/PKG-INFO +6 -16
  8. mathjson_solver-1.19.0/SECURITY.md +14 -0
  9. mathjson_solver-1.19.0/docs/README.md +1198 -0
  10. mathjson_solver-1.19.0/docs/integration-test-cases.md +82 -0
  11. mathjson_solver-1.19.0/logo.png +0 -0
  12. mathjson_solver-1.19.0/logo.svg +105 -0
  13. mathjson_solver-1.19.0/pyproject.toml +20 -0
  14. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/src/mathjson_solver/__main__.py +60 -20
  15. mathjson_solver-1.19.0/tests/test_datetime.py +219 -0
  16. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_equal.py +18 -0
  17. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_gail_model.py +1 -1
  18. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_state_tuples_reduce.py +67 -39
  19. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_with_pytest.py +10 -72
  20. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_50_CASES_WORKSHEET.md +156 -0
  21. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_AGE35-39_ANALYSIS.md +74 -0
  22. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_AGE35-44_ANALYSIS.md +106 -0
  23. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_COMPARISON_REPORT.md +34 -0
  24. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_COMPLETE_VALIDATION_ANALYSIS.md +198 -0
  25. mathjson_solver-1.19.0/unsorted_uncommited2/NCI_VALIDATION_WORKSHEET.md +53 -0
  26. mathjson_solver-1.19.0/unsorted_uncommited2/R_CODE_VERIFICATION_ANALYSIS.md +214 -0
  27. mathjson_solver-1.19.0/unsorted_uncommited2/corrected_comparison.txt +109 -0
  28. mathjson_solver-1.19.0/unsorted_uncommited2/final_comparison.txt +109 -0
  29. mathjson_solver-1.19.0/unsorted_uncommited2/full_comparison.md +191 -0
  30. mathjson_solver-1.19.0/unsorted_uncommited2/gail_continuous_model_visualization.html +257 -0
  31. mathjson_solver-1.19.0/unsorted_uncommited2/gail_continuous_model_visualization.md +126 -0
  32. mathjson_solver-1.19.0/unsorted_uncommited2/generate_comprehensive_comparison.py +107 -0
  33. mathjson_solver-1.19.0/unsorted_uncommited2/test_interval_analysis.py +61 -0
  34. mathjson_solver-1.19.0/unsorted_uncommited2/updated_comparison.txt +109 -0
  35. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/DESCRIPTION +11 -0
  36. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/NAMESPACE +2 -0
  37. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/absolute.risk.R +190 -0
  38. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/check.summary.R +27 -0
  39. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/error.table.R +50 -0
  40. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/error.table.all.R +34 -0
  41. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/list.constants.R +23 -0
  42. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/recode.check.R +139 -0
  43. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/relative.risk.R +51 -0
  44. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/R/risk.summary.R +18 -0
  45. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/data/BrCa_1_AR.rda +0 -0
  46. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/data/BrCa_beta.rda +0 -0
  47. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/data/BrCa_lambda1.rda +0 -0
  48. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/data/BrCa_lambda2.rda +0 -0
  49. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/data/exampledata.rda +0 -0
  50. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/BCRA-package.Rd +65 -0
  51. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/BrCa_1_AR.Rd +22 -0
  52. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/BrCa_beta.Rd +22 -0
  53. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/BrCa_lambda1.Rd +28 -0
  54. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/BrCa_lambda2.Rd +28 -0
  55. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/absolute.risk.Rd +50 -0
  56. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/check.summary.Rd +43 -0
  57. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/error.table.Rd +37 -0
  58. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/error.table.all.Rd +36 -0
  59. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/exampledata.Rd +42 -0
  60. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/list.constants.Rd +35 -0
  61. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/recode.check.Rd +120 -0
  62. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/relative.risk.Rd +45 -0
  63. mathjson_solver-1.19.0/unsorted_uncommitted/BCRA_2.0/BCRA/man/risk.summary.Rd +38 -0
  64. mathjson_solver-1.19.0/unsorted_uncommitted/CLEAN_MODEL_USAGE.md +225 -0
  65. mathjson_solver-1.19.0/unsorted_uncommitted/COSTANTINO1999_RESULTS_TABLE.md +137 -0
  66. mathjson_solver-1.19.0/unsorted_uncommitted/EXACT_PATIENT_EXAMPLES.md +118 -0
  67. mathjson_solver-1.19.0/unsorted_uncommitted/FINAL_IMPLEMENTATION_SUMMARY.md +286 -0
  68. mathjson_solver-1.19.0/unsorted_uncommitted/GAIL_MODEL_IMPLEMENTATION_REPORT.md +107 -0
  69. mathjson_solver-1.19.0/unsorted_uncommitted/INTEGRATION_MODEL_VALIDATION_COMPARISON.md +112 -0
  70. mathjson_solver-1.19.0/unsorted_uncommitted/NCI_VALIDATION_STRATEGY.md +112 -0
  71. mathjson_solver-1.19.0/unsorted_uncommitted/gail_continuous_model_mathjson.json +445 -0
  72. mathjson_solver-1.19.0/unsorted_uncommitted/publications/costantino_1999.pdf +0 -0
  73. mathjson_solver-1.19.0/unsorted_uncommitted/publications/gail_1989.pdf +0 -0
  74. mathjson_solver-1.19.0/unsorted_uncommitted/tests/generate_exact_patient_examples.py +423 -0
  75. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_bcpt_validation_integration.py +268 -0
  76. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_approximated_model_nci_validated.py +409 -0
  77. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_exact_nci_implementation.py +519 -0
  78. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_exact_with_cumulative.py +387 -0
  79. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_exact_with_reduce.py +332 -0
  80. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_model_costantino_integration.py +553 -0
  81. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_gail_model_nci_validated_fixed.py +558 -0
  82. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_nci_calculator_validation.py +289 -0
  83. mathjson_solver-1.19.0/unsorted_uncommitted/tests/test_patient_examples_comparison.py +319 -0
  84. mathjson_solver-1.19.0/untracked/chart.csv +17 -0
  85. mathjson_solver-1.19.0/untracked/cvd_risk.json +509 -0
  86. mathjson_solver-1.19.0/untracked/image.png +0 -0
  87. mathjson_solver-1.19.0/untracked/score2.csv +49 -0
  88. mathjson_solver-1.19.0/untracked/score2_mid.csv +49 -0
  89. mathjson_solver-1.19.0/untracked/score2_results2.xlsx +0 -0
  90. mathjson_solver-1.19.0/untracked/score2_table.py +121 -0
  91. mathjson_solver-1.17.0/PKG-INFO +0 -178
  92. mathjson_solver-1.17.0/pyproject.toml +0 -3
  93. mathjson_solver-1.17.0/setup.cfg +0 -29
  94. mathjson_solver-1.17.0/setup.py +0 -26
  95. mathjson_solver-1.17.0/src/mathjson_solver.egg-info/SOURCES.txt +0 -32
  96. mathjson_solver-1.17.0/src/mathjson_solver.egg-info/dependency_links.txt +0 -1
  97. mathjson_solver-1.17.0/src/mathjson_solver.egg-info/top_level.txt +0 -1
  98. mathjson_solver-1.17.0/tests/test_gail_model_nci_validated_with_beta.py +0 -618
  99. mathjson_solver-1.17.0/tests/test_nci_discrete_implementation_with_beta.py +0 -503
  100. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/LICENSE +0 -0
  101. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/README.md +0 -0
  102. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/src/mathjson_solver/__init__.py +0 -0
  103. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_TrapezoidalIntegratel.py +0 -0
  104. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_atindex.py +0 -0
  105. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_cumulative.py +0 -0
  106. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_exceptions.py +0 -0
  107. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_extract_variables.py +0 -0
  108. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_findinterval.py +0 -0
  109. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_interpolate.py +0 -0
  110. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_range.py +0 -0
  111. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_reduce_simple.py +0 -0
  112. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_scalars.py +0 -0
  113. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_sets.py +0 -0
  114. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_simple_cases.py +0 -0
  115. {mathjson_solver-1.17.0 → mathjson_solver-1.19.0}/tests/test_slice.py +0 -0
  116. /mathjson_solver-1.17.0/tests/test_gail_model_nci_validated_no_beta.py → /mathjson_solver-1.19.0/unsorted_uncommitted/best_so_far/man_test_gail_model_nci_validated_no_beta.py +0 -0
  117. /mathjson_solver-1.17.0/tests/test_nci_discrete_implementation_no_beta.py → /mathjson_solver-1.19.0/unsorted_uncommitted/best_so_far/man_test_nci_discrete_implementation_no_beta.py +0 -0
@@ -0,0 +1,25 @@
1
+ ---
2
+ name: Bug report
3
+ about: Create a report to help us improve
4
+ title: ''
5
+ labels: ''
6
+ assignees: MartinsMednis
7
+
8
+ ---
9
+
10
+ **Describe the bug**
11
+ A clear and concise description of what the bug is. Is it a problem with particular expression or calculation? Is it a problem with installation or setup?
12
+
13
+ **To Reproduce**
14
+ Please share:
15
+ 1. Mathjson expression
16
+ 2. Expression parameters values
17
+ 3. What is the actual result or outcome?
18
+ 4. What is the expected result or outcome?
19
+
20
+ **Environment:**
21
+ - OS: [e.g. ubuntu]
22
+ - Python version
23
+
24
+ **Additional context**
25
+ Add any other context about the problem here.
@@ -0,0 +1,33 @@
1
+ # This workflow will install Python dependencies, run tests and lint with a single version of Python
2
+ # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
3
+ name: Python application
4
+ on:
5
+ push:
6
+ branches: [ "main" ]
7
+ pull_request:
8
+ branches: [ "main" ]
9
+ permissions:
10
+ contents: read
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
+ - name: Set up Python 3.10
17
+ uses: actions/setup-python@v3
18
+ with:
19
+ python-version: "3.10"
20
+ - name: Install dependencies
21
+ run: |
22
+ python -m pip install --upgrade pip
23
+ pip install flake8 pytest
24
+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
25
+ - name: Lint with flake8
26
+ run: |
27
+ # stop the build if there are Python syntax errors or undefined names
28
+ flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
29
+ # exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
30
+ flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
31
+ - name: Test with pytest
32
+ run: |
33
+ pytest
@@ -0,0 +1,51 @@
1
+ name: Test Coverage
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main
7
+ pull_request:
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+
13
+ steps:
14
+ - name: Checkout Repository
15
+ uses: actions/checkout@v4
16
+
17
+ - name: Set up Python
18
+ uses: actions/setup-python@v4
19
+ with:
20
+ python-version: "3.12"
21
+
22
+ - name: Install Dependencies
23
+ run: |
24
+ pip install pytest pytest-cov
25
+
26
+ - name: Run pytest, then run again with Coverage
27
+ run: |
28
+ pytest
29
+ pytest --cov=mathjson_solver --cov-report=term-missing --cov-report=xml
30
+
31
+ - name: Extract Coverage Percentage
32
+ run: |
33
+ COVERAGE=$(awk -F 'line-rate="' '{print $2}' coverage.xml | cut -d '"' -f1)
34
+ COVERAGE_PERCENT=$(awk -v cov="$COVERAGE" 'BEGIN {print int(cov * 100)}')
35
+ echo "COVERAGE_PERCENT=$COVERAGE_PERCENT" >> "$GITHUB_ENV"
36
+
37
+ # - name: Generate Coverage Badge
38
+ # run: |
39
+ # COLOR="red"
40
+ # if [ $COVERAGE_PERCENT -ge 80 ]; then COLOR="green";
41
+ # elif [ $COVERAGE_PERCENT -ge 50 ]; then COLOR="yellow";
42
+ # fi
43
+ # echo "![Coverage](https://img.shields.io/badge/coverage-${COVERAGE_PERCENT}%25-${COLOR})" > coverage-badge.md
44
+
45
+ # - name: Commit and Push Badge
46
+ # run: |
47
+ # git config --local user.name "github-actions"
48
+ # git config --local user.email "github-actions@github.com"
49
+ # git add coverage-badge.md
50
+ # git commit -m "Update coverage badge" || echo "No changes to commit"
51
+ # git push
@@ -0,0 +1,129 @@
1
+ # Byte-compiled / optimized / DLL files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ wheels/
23
+ pip-wheel-metadata/
24
+ share/python-wheels/
25
+ *.egg-info/
26
+ .installed.cfg
27
+ *.egg
28
+ MANIFEST
29
+
30
+ # PyInstaller
31
+ # Usually these files are written by a python script from a template
32
+ # before PyInstaller builds the exe, so as to inject date/other infos into it.
33
+ *.manifest
34
+ *.spec
35
+
36
+ # Installer logs
37
+ pip-log.txt
38
+ pip-delete-this-directory.txt
39
+
40
+ # Unit test / coverage reports
41
+ htmlcov/
42
+ .tox/
43
+ .nox/
44
+ .coverage
45
+ .coverage.*
46
+ .cache
47
+ nosetests.xml
48
+ coverage.xml
49
+ *.cover
50
+ *.py,cover
51
+ .hypothesis/
52
+ .pytest_cache/
53
+
54
+ # Translations
55
+ *.mo
56
+ *.pot
57
+
58
+ # Django stuff:
59
+ *.log
60
+ local_settings.py
61
+ db.sqlite3
62
+ db.sqlite3-journal
63
+
64
+ # Flask stuff:
65
+ instance/
66
+ .webassets-cache
67
+
68
+ # Scrapy stuff:
69
+ .scrapy
70
+
71
+ # Sphinx documentation
72
+ docs/_build/
73
+
74
+ # PyBuilder
75
+ target/
76
+
77
+ # Jupyter Notebook
78
+ .ipynb_checkpoints
79
+
80
+ # IPython
81
+ profile_default/
82
+ ipython_config.py
83
+
84
+ # pyenv
85
+ .python-version
86
+
87
+ # pipenv
88
+ # According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89
+ # However, in case of collaboration, if having platform-specific dependencies or dependencies
90
+ # having no cross-platform support, pipenv may install dependencies that don't work, or not
91
+ # install all needed dependencies.
92
+ #Pipfile.lock
93
+
94
+ # PEP 582; used by e.g. github.com/David-OConnor/pyflow
95
+ __pypackages__/
96
+
97
+ # Celery stuff
98
+ celerybeat-schedule
99
+ celerybeat.pid
100
+
101
+ # SageMath parsed files
102
+ *.sage.py
103
+
104
+ # Environments
105
+ .env
106
+ .venv
107
+ env/
108
+ venv/
109
+ ENV/
110
+ env.bak/
111
+ venv.bak/
112
+
113
+ # Spyder project settings
114
+ .spyderproject
115
+ .spyproject
116
+
117
+ # Rope project settings
118
+ .ropeproject
119
+
120
+ # mkdocs documentation
121
+ /site
122
+
123
+ # mypy
124
+ .mypy_cache/
125
+ .dmypy.json
126
+ dmypy.json
127
+
128
+ # Pyre type checker
129
+ .pyre/
@@ -0,0 +1,124 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ We as members, contributors, and leaders pledge to make participation in our
6
+ community a harassment-free experience.
7
+
8
+ We pledge to act and interact in ways that contribute to an open, welcoming
9
+ and healthy community.
10
+
11
+ ## Our Standards
12
+
13
+ Examples of behavior that contributes to a positive environment for our
14
+ community include:
15
+
16
+ * Demonstrating empathy and kindness toward other people
17
+ * Being respectful of differing opinions, viewpoints, and experiences
18
+ * Giving and gracefully accepting constructive feedback
19
+ * Accepting responsibility and apologizing to those affected by our mistakes,
20
+ and learning from the experience
21
+ * Focusing on what is best not just for us as individuals, but for the
22
+ overall community
23
+
24
+ Examples of unacceptable behavior include:
25
+
26
+ * The use of sexualized language or imagery, and sexual attention or
27
+ advances of any kind
28
+ * Trolling, insulting or derogatory comments, and personal or political attacks
29
+ * Public or private harassment
30
+ * Publishing others' private information, such as a physical or email
31
+ address, without their explicit permission
32
+ * Other conduct which could reasonably be considered inappropriate in a
33
+ professional setting
34
+
35
+ ## Enforcement Responsibilities
36
+
37
+ Community leaders are responsible for clarifying and enforcing our standards of
38
+ acceptable behavior and will take appropriate and fair corrective action in
39
+ response to any behavior that they deem inappropriate, threatening, offensive,
40
+ or harmful.
41
+
42
+ Community leaders have the right and responsibility to remove, edit, or reject
43
+ comments, commits, code, wiki edits, issues, and other contributions that are
44
+ not aligned to this Code of Conduct, and will communicate reasons for moderation
45
+ decisions when appropriate.
46
+
47
+ ## Scope
48
+
49
+ This Code of Conduct applies within all community spaces, and also applies when
50
+ an individual is officially representing the community in public spaces.
51
+ Examples of representing our community include using an official e-mail address,
52
+ posting via an official social media account, or acting as an appointed
53
+ representative at an online or offline event.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported to the community leaders responsible for enforcement at
59
+ .
60
+ All complaints will be reviewed and investigated promptly and fairly.
61
+
62
+ All community leaders are obligated to respect the privacy and security of the
63
+ reporter of any incident.
64
+
65
+ ## Enforcement Guidelines
66
+
67
+ Community leaders will follow these Community Impact Guidelines in determining
68
+ the consequences for any action they deem in violation of this Code of Conduct:
69
+
70
+ ### 1. Correction
71
+
72
+ **Community Impact**: Use of inappropriate language or other behavior deemed
73
+ unprofessional or unwelcome in the community.
74
+
75
+ **Consequence**: A private, written warning from community leaders, providing
76
+ clarity around the nature of the violation and an explanation of why the
77
+ behavior was inappropriate. A public apology may be requested.
78
+
79
+ ### 2. Warning
80
+
81
+ **Community Impact**: A violation through a single incident or series
82
+ of actions.
83
+
84
+ **Consequence**: A warning with consequences for continued behavior. No
85
+ interaction with the people involved, including unsolicited interaction with
86
+ those enforcing the Code of Conduct, for a specified period of time. This
87
+ includes avoiding interactions in community spaces as well as external channels
88
+ like social media. Violating these terms may lead to a temporary or
89
+ permanent ban.
90
+
91
+ ### 3. Temporary Ban
92
+
93
+ **Community Impact**: A serious violation of community standards, including
94
+ sustained inappropriate behavior.
95
+
96
+ **Consequence**: A temporary ban from any sort of interaction or public
97
+ communication with the community for a specified period of time. No public or
98
+ private interaction with the people involved, including unsolicited interaction
99
+ with those enforcing the Code of Conduct, is allowed during this period.
100
+ Violating these terms may lead to a permanent ban.
101
+
102
+ ### 4. Permanent Ban
103
+
104
+ **Community Impact**: Demonstrating a pattern of violation of community
105
+ standards, including sustained inappropriate behavior, harassment of an
106
+ individual, or aggression toward or disparagement of classes of individuals.
107
+
108
+ **Consequence**: A permanent ban from any sort of public interaction within
109
+ the community.
110
+
111
+ ## Attribution
112
+
113
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage],
114
+ version 2.0, available at
115
+ https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
116
+
117
+ Community Impact Guidelines were inspired by [Mozilla's code of conduct
118
+ enforcement ladder](https://github.com/mozilla/diversity).
119
+
120
+ [homepage]: https://www.contributor-covenant.org
121
+
122
+ For answers to common questions about this code of conduct, see the FAQ at
123
+ https://www.contributor-covenant.org/faq. Translations are available at
124
+ https://www.contributor-covenant.org/translations.
@@ -0,0 +1,6 @@
1
+ # Contributing Code
2
+ We welcome your contributions in the form of pull requests.
3
+
4
+ 1. Fork the repo;
5
+ 2. Make improvements;
6
+ 3. Make a pull request to share your improvements with the community and to include it into official release.
@@ -1,26 +1,16 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mathjson-solver
3
- Version: 1.17.0
3
+ Version: 1.19.0
4
4
  Summary: Utilities for MathJSON evaluation
5
- Home-page: https://github.com/LongenesisLtd/mathjson-solver
6
- Author: Martins Mednis
7
- Author-email: mrt@mednis.info
5
+ Project-URL: Homepage, https://github.com/LongenesisLtd/mathjson-solver
8
6
  Project-URL: Bug Tracker, https://github.com/LongenesisLtd/mathjson-solver/issues
9
- Classifier: Programming Language :: Python :: 3
7
+ Author-email: Martins Mednis <mrt@mednis.info>
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
10
  Classifier: Operating System :: OS Independent
11
+ Classifier: Programming Language :: Python :: 3
11
12
  Requires-Python: >=3.6
12
13
  Description-Content-Type: text/markdown
13
- License-File: LICENSE
14
- Dynamic: author
15
- Dynamic: author-email
16
- Dynamic: classifier
17
- Dynamic: description
18
- Dynamic: description-content-type
19
- Dynamic: home-page
20
- Dynamic: license-file
21
- Dynamic: project-url
22
- Dynamic: requires-python
23
- Dynamic: summary
24
14
 
25
15
  # MathJSON Solver
26
16
 
@@ -0,0 +1,14 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+
6
+ | Version | Supported |
7
+ | ------- | ------------------ |
8
+ | 1.13.x | :white_check_mark: |
9
+ | < 1.13.x | :x: |
10
+
11
+
12
+ ## Reporting a Vulnerability
13
+
14
+ To report a vulnerability, please open an issue. The issue will be reviewed within two working days, however if the fix is simple, a patch is usually provided in few hours.