Skip to content

Dev tests - #131

Merged
VincentAuriau merged 10 commits into
mainfrom
dev-tests
Jul 19, 2024
Merged

Dev tests#131
VincentAuriau merged 10 commits into
mainfrom
dev-tests

Conversation

@VincentAuriau

Copy link
Copy Markdown
Collaborator

Description of the goal of the PR

Description:

Changes this PR introduces

  • ENH: dataset is now always choice_dataset
  • FIX: Baseline models with latest improvements and changes]
  • ADD: Basic tests for baseline models

@github-actions

github-actions Bot commented Jul 19, 2024

Copy link
Copy Markdown
Contributor

Coverage

Coverage Report
FileStmtsMissCoverMissing
choice_learn
   tf_ops.py471764%45, 141–143, 199–203, 220–231
choice_learn/data
   choice_dataset.py62817971%67, 78, 101–112, 123, 145–153, 159, 168–177, 190–203, 221–288, 306–325, 333–339, 341, 353, 394–401, 408, 420, 450–451, 472, 482–483, 491, 519, 552, 559–568, 576–578, 585, 592, 633–634, 713, 727–733, 756–759, 829, 831, 867, 921, 926, 937–938, 969–970, 974–981, 986–997, 1004, 1008, 1102, 1116, 1135–1137, 1150–1152, 1180, 1185, 1194, 1206–1211, 1252, 1264, 1278, 1293, 1305, 1317, 1332, 1337, 1360, 1362, 1366, 1374–1375, 1379, 1387–1388, 1394–1398, 1403–1407, 1411, 1414–1415, 1462, 1479–1480, 1495, 1510
   indexer.py2337070%20, 31, 45, 60–67, 99, 103, 105–108, 179, 184–187, 203–205, 220–231, 261, 266, 288, 292, 336, 393, 409, 423, 492–493, 517, 524, 532, 545–567, 570–591, 601, 613
   storage.py1572286%22, 33, 51, 56, 61, 71, 151, 153, 160, 162, 166, 173, 176, 235–236, 262, 290, 360, 366, 384, 414, 424
   store.py72720%2–274
choice_learn/datasets
   base.py34320141%36, 61–68, 90–96, 118, 185, 191–220, 225–294, 309–358, 373–405, 414–481, 566–578, 581–584, 587, 594–605, 609–622, 631–657, 665, 671, 738, 825, 870, 919, 1004
   expedia.py1029210%26–299
   tafeng.py49198%50
choice_learn/models
   __init__.py12283%12–13
   base_model.py24010656%90, 92, 97–98, 105–123, 164, 200–228, 261, 279–320, 327, 356, 370, 375, 383–411, 416–417, 462–495, 505–513, 531–546, 612–613, 615–620, 668–670, 692–714, 769, 771–774
   baseline_models.py461763%19, 51–52, 58–60, 83, 93–98, 150–153
   conditional_logit.py23213741%45, 48, 50, 81, 84, 87–91, 94–98, 132, 135, 175–178, 297, 334, 386, 433–571, 588–593, 620–629, 645–666, 691–715, 719–742
   latent_class_base_model.py1861860%3–609
   latent_class_mnl.py59590%3–299
   nested_logit.py2882629%54–82, 124–162, 188, 220, 229–236, 251–274, 284–317, 327–348, 358–359, 393–542, 581–623, 659–702, 719–724, 751–760, 776–797, 822–869, 878–904
   rumnet.py24115934%166–170, 181–213, 230–238, 263–267, 280–312, 329–336, 359–363, 376–412, 427–437, 527, 529, 556–562, 631–670, 709–752, 793–820, 874–921, 951–971, 1006–1058, 1097–1140, 1178–1205
   simple_mnl.py1379233%75–81, 92–98, 134–172, 199, 233, 250–271, 296–320, 324–352
   tastenet.py945640%15, 64, 90–104, 140–142, 177–207, 223, 238–254, 273–289
choice_learn/toolbox
   assortment_optimizer.py27270%4–180
   gurobi_opt.py2382380%2–674
   or_tools_opt.py2262260%3–666
TOTAL3666222139% 

Tests Skipped Failures Errors Time
56 0 💤 0 ❌ 0 🔥 53.229s ⏱️

@VincentAuriau
VincentAuriau merged commit 82152d3 into main Jul 19, 2024
@VincentAuriau
VincentAuriau deleted the dev-tests branch July 19, 2024 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant