adaptivetesting 1.1.3__tar.gz → 1.1.4__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.
- adaptivetesting-1.1.4/CHANGELOG.md +10 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/PKG-INFO +1 -1
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__functions/__bayes.py +12 -9
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/pyproject.toml +1 -1
- adaptivetesting-1.1.3/CHANGELOG.md +0 -4
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.github/CONTRIBUTING.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.github/workflows/publish.yml +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.github/workflows/python-test.yml +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.gitignore +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.gitlab-ci.yml +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.python-version +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.readthedocs.yml +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.vscode/extensions.json +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/.vscode/settings.json +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/LICENSE +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/README.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/data/__csv_context.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/data/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/data/__pickle_context.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__default_implementation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__pre_test.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__semi_implementation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__test_assembler.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/__gen_response_pattern.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__bayes_modal_estimation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__expect_a_posteriori.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__functions/__estimators.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__ml_estimation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__prior.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__test_information.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/item_selection/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/item_selection/__maximum_information_criterion.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/item_selection/__urrys_rule.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__adaptive_test.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__algorithm_exception.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__item_pool.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__item_selection_exception.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__misc.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__test_item.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__test_result.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__estimator_interface.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__item_selection_protocol.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__test_results_interface.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/simulation/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/simulation/__simulation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/__init__.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_adaptive_test.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_bayes_modal.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_eap.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_generate_response_pattern.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_information_test.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_item_selection.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_load_test_items.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_mle.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_pretest.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_simulation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_standard_error.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_test_assembler.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/Makefile +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/data.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/implementations.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/index.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/make.bat +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/math.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/models.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/readme.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/requirements.txt +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/services.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/simulation.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/_static/logo.svg +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/_static/main.css +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/conf.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/data.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/implementations.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/index.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/math.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/models.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/services.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/simulation.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/source/tests.rst +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/docs/tests.md +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/examples/.gitignore +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/examples/simulation.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/examples/testing.py +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/images/default.svg +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/images/semi-adaptive.svg +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/mypy.ini +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/requirements.txt +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/setup.cfg +0 -0
- {adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/uv.lock +0 -0
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Version 1.1.4
|
|
2
|
+
- Bug Fix #43 (optimization interval in `maximize_posterior` function)
|
|
3
|
+
|
|
4
|
+
# Version 1.1.3
|
|
5
|
+
- Bug Fix #34 (numerical stability issue concerning the ability estimation and standard error calculation)
|
|
6
|
+
|
|
7
|
+
# Version 1.1.2
|
|
8
|
+
|
|
9
|
+
- The `ItemPool` class now correctly honors the `id` field of items. (#30, #31)
|
|
10
|
+
- Examples and the readme file have been updated accordingly.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: adaptivetesting
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.4
|
|
4
4
|
Summary: adaptivetesting is a Python package that can be used to simulate and evaluate custom CAT scenarios as well as implement them in real-world testing scenarios from a single codebase
|
|
5
5
|
Project-URL: Homepage, https://github.com/condecon/adaptivetesting
|
|
6
6
|
Project-URL: Documentation, https://github.com/condecon/adaptivetesting/tree/main/docs
|
|
@@ -11,22 +11,25 @@ def maximize_posterior(
|
|
|
11
11
|
c: np.ndarray,
|
|
12
12
|
d: np.ndarray,
|
|
13
13
|
response_pattern: np.ndarray,
|
|
14
|
-
prior: Prior
|
|
14
|
+
prior: Prior,
|
|
15
|
+
optimization_interval: tuple[float, float] = (-10, 10)
|
|
15
16
|
) -> float:
|
|
16
17
|
"""_summary_
|
|
17
18
|
|
|
18
19
|
Args:
|
|
19
|
-
a (np.ndarray):
|
|
20
|
-
|
|
21
|
-
b (np.ndarray):
|
|
20
|
+
a (np.ndarray): item parameter a
|
|
21
|
+
|
|
22
|
+
b (np.ndarray): item parameter b
|
|
22
23
|
|
|
23
|
-
c (np.ndarray):
|
|
24
|
+
c (np.ndarray): item parameter c
|
|
24
25
|
|
|
25
|
-
d (np.ndarray):
|
|
26
|
+
d (np.ndarray): item parameter d
|
|
26
27
|
|
|
27
|
-
response_pattern (np.ndarray):
|
|
28
|
+
response_pattern (np.ndarray): response pattern (simulated or user generated)
|
|
28
29
|
|
|
29
|
-
prior (Prior):
|
|
30
|
+
prior (Prior): prior distribution
|
|
31
|
+
|
|
32
|
+
optimization_interval (Tuple[float, float]): interval used for the optimization function
|
|
30
33
|
|
|
31
34
|
Returns:
|
|
32
35
|
float: Bayes Modal estimator for the given parameters
|
|
@@ -35,7 +38,7 @@ def maximize_posterior(
|
|
|
35
38
|
return likelihood(mu, a, b, c, d, response_pattern) * prior.pdf(mu)
|
|
36
39
|
|
|
37
40
|
result: OptimizeResult = minimize_scalar(lambda mu: posterior(mu),
|
|
38
|
-
bounds=
|
|
41
|
+
bounds=optimization_interval,
|
|
39
42
|
method="bounded") # type: ignore
|
|
40
43
|
|
|
41
44
|
if not result.success:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name="adaptivetesting"
|
|
3
|
-
version="1.1.
|
|
3
|
+
version="1.1.4"
|
|
4
4
|
description="adaptivetesting is a Python package that can be used to simulate and evaluate custom CAT scenarios as well as implement them in real-world testing scenarios from a single codebase"
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__pre_test.py
RENAMED
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/implementations/__test_assembler.py
RENAMED
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/__gen_response_pattern.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/estimators/__ml_estimation.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/item_selection/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/math/item_selection/__urrys_rule.py
RENAMED
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__algorithm_exception.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/models/__item_selection_exception.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__estimator_interface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/services/__test_results_interface.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_information_test.py
RENAMED
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_item_selection.py
RENAMED
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_load_test_items.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_standard_error.py
RENAMED
|
File without changes
|
{adaptivetesting-1.1.3 → adaptivetesting-1.1.4}/adaptivetesting/tests/test_test_assembler.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|