Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[THREAD] Additional tests to be developed #101

Open
VincentAuriau opened this issue Jun 10, 2024 · 5 comments
Open

[THREAD] Additional tests to be developed #101

VincentAuriau opened this issue Jun 10, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@VincentAuriau
Copy link
Collaborator

No description provided.

@VincentAuriau VincentAuriau added the enhancement New feature or request label Jun 10, 2024
@VincentAuriau VincentAuriau changed the title [Tests] Additional tests to be developed [THREAD] Additional tests to be developed Jul 18, 2024
@VincentAuriau
Copy link
Collaborator Author

VincentAuriau commented Jul 19, 2024

#131 : Add basic tests for Baseline Models
#133: Add some more tests for Baseline Models
#137: Add test for softmax with exit choice
#148: Add tests for Indexers and ChoiceDataset from DF
#149: Add Storage & ChoiceDataset tests
#160: ADD: tests for SimpleMNL and ChoiceModel
#161: ADD: Eager mode for tf.function
#167: ADD: allow for choice of nb of parallel iterations when using LBFGS
#168
#190

Copy link
Contributor

github-actions bot commented Jul 31, 2024

Coverage

Coverage Report for Python 3.9
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py3921496%40–41, 144–156, 711
   expedia.py1028319%37–301
   tafeng.py490100% 
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2541295%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439
   baseline_models.py490100% 
   conditional_logit.py2362191%46, 49, 51, 82, 85, 88–92, 95–99, 133, 298, 335, 392, 467–473, 598, 632, 739, 743
   latent_class_base_model.py2863986%55–61, 273–279, 288, 325–330, 497–500, 605, 624, 665–701, 715, 720, 751–752, 774–775, 869–870, 974
   latent_class_mnl.py62690%257–261, 296
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2911296%55, 77, 160, 269, 351, 484, 530, 600, 679, 848, 900, 904
   reslogit.py1321192%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py139696%167, 275, 347, 355, 357, 359
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27678%28–30, 93–95, 160–162
   gurobi_opt.py2362360%3–675
   or_tools_opt.py2301195%103, 107, 296–305, 315, 319, 607, 611
TOTAL407065484% 

Tests Skipped Failures Errors Time
134 0 💤 0 ❌ 0 🔥 5m 47s ⏱️

Copy link
Contributor

github-actions bot commented Jul 31, 2024

Coverage

Coverage Report for Python 3.10
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py3921397%38, 144–156, 711
   expedia.py1028319%37–301
   tafeng.py490100% 
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2541295%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439
   baseline_models.py490100% 
   conditional_logit.py2362191%46, 49, 51, 82, 85, 88–92, 95–99, 133, 298, 335, 392, 467–473, 598, 632, 739, 743
   latent_class_base_model.py2863986%55–61, 273–279, 288, 325–330, 497–500, 605, 624, 665–701, 715, 720, 751–752, 774–775, 869–870, 974
   latent_class_mnl.py62690%257–261, 296
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2911296%55, 77, 160, 269, 351, 484, 530, 600, 679, 848, 900, 904
   reslogit.py1321192%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py139696%167, 275, 347, 355, 357, 359
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27678%28–30, 93–95, 160–162
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2301195%103, 107, 296–305, 315, 319, 607, 611
TOTAL407265584% 

Tests Skipped Failures Errors Time
134 0 💤 0 ❌ 0 🔥 5m 56s ⏱️

Copy link
Contributor

github-actions bot commented Jul 31, 2024

Coverage

Coverage Report for Python 3.11
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py3921397%38, 144–156, 711
   expedia.py1028319%37–301
   tafeng.py490100% 
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2541295%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439
   baseline_models.py490100% 
   conditional_logit.py2362191%46, 49, 51, 82, 85, 88–92, 95–99, 133, 298, 335, 392, 467–473, 598, 632, 739, 743
   latent_class_base_model.py2863986%55–61, 273–279, 288, 325–330, 497–500, 605, 624, 665–701, 715, 720, 751–752, 774–775, 869–870, 974
   latent_class_mnl.py62690%257–261, 296
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2911296%55, 77, 160, 269, 351, 484, 530, 600, 679, 848, 900, 904
   reslogit.py1321192%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py139696%167, 275, 347, 355, 357, 359
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27678%28–30, 93–95, 160–162
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2301195%103, 107, 296–305, 315, 319, 607, 611
TOTAL407265584% 

Tests Skipped Failures Errors Time
134 0 💤 0 ❌ 0 🔥 6m 7s ⏱️

Copy link
Contributor

github-actions bot commented Aug 2, 2024

Coverage

Coverage Report for Python 3.12
FileStmtsMissCoverMissing
choice_learn
   __init__.py20100% 
   tf_ops.py480100% 
choice_learn/data
   __init__.py30100% 
   choice_dataset.py6473395%198, 250, 283, 421, 463–464, 589, 724, 738, 840, 842, 937, 957–961, 1140, 1159–1161, 1174–1176, 1204, 1209, 1218, 1235, 1276, 1288, 1302, 1341, 1356, 1361, 1390, 1403, 1438–1439
   indexer.py2372291%20, 31, 45, 60–67, 202–204, 219–230, 265, 291
   storage.py161696%22, 33, 51, 56, 61, 71
   store.py72720%3–275
choice_learn/datasets
   __init__.py40100% 
   base.py3921397%38, 144–156, 711
   expedia.py1028319%37–301
   tafeng.py490100% 
choice_learn/datasets/data
   __init__.py00100% 
choice_learn/models
   __init__.py14286%15–16
   base_model.py2541295%144, 186, 283, 302, 342, 349, 378, 397, 428–429, 438–439
   baseline_models.py490100% 
   conditional_logit.py2362191%46, 49, 51, 82, 85, 88–92, 95–99, 133, 298, 335, 392, 467–473, 598, 632, 739, 743
   latent_class_base_model.py2863986%55–61, 273–279, 288, 325–330, 497–500, 605, 624, 665–701, 715, 720, 751–752, 774–775, 869–870, 974
   latent_class_mnl.py62690%257–261, 296
   learning_mnl.py67396%157, 182, 188
   nested_logit.py2911296%55, 77, 160, 269, 351, 484, 530, 600, 679, 848, 900, 904
   reslogit.py1321192%28, 30, 32, 34, 36, 285, 360, 369, 374, 382, 432
   rumnet.py236399%748–751, 982
   simple_mnl.py139696%167, 275, 347, 355, 357, 359
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   __init__.py00100% 
   assortment_optimizer.py27678%28–30, 93–95, 160–162
   gurobi_opt.py2382380%3–675
   or_tools_opt.py2301195%103, 107, 296–305, 315, 319, 607, 611
TOTAL407265584% 

Tests Skipped Failures Errors Time
134 0 💤 0 ❌ 0 🔥 7m 24s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant