Skip to content

Commit

Permalink
fix output of scratch testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tednaleid committed May 27, 2024
1 parent 06dc66c commit 485c30d
Showing 1 changed file with 17 additions and 73 deletions.
90 changes: 17 additions & 73 deletions d2armor.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1686,15 +1686,15 @@
},
{
"cell_type": "code",
"execution_count": 153,
"execution_count": 33,
"metadata": {},
"outputs": [],
"source": [
"def print_row_weighted_vs_max(row):\n",
" # print the row so that we show the weighted value compared to the weighted max value\n",
" row = row.to_dict()\n",
" for key, value in row.items():\n",
" if not (key.startswith('weighted_') and not key.endswith('_max')):\n",
" if not (key.startswith('weighted_') or key.endswith('_max')):\n",
" print(f\"{key}: {value[0]}\")\n",
" if key.startswith('weighted_') and not key.endswith('_max'):\n",
" max_key = key + '_max'\n",
Expand Down Expand Up @@ -1735,7 +1735,7 @@
},
{
"cell_type": "code",
"execution_count": 154,
"execution_count": 34,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1764,7 +1764,7 @@
"└──────────┴────────────┴──────────┴───────────┴───┴───────────┴───────────┴───────────┴───────────┘"
]
},
"execution_count": 154,
"execution_count": 34,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1790,7 +1790,7 @@
},
{
"cell_type": "code",
"execution_count": 155,
"execution_count": 35,
"metadata": {},
"outputs": [
{
Expand All @@ -1813,7 +1813,7 @@
},
{
"cell_type": "code",
"execution_count": 147,
"execution_count": 36,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1867,66 +1867,13 @@
"weighted_resilience_recovery_discipline: 790 < 835\n",
"weighted_resilience_recovery_intellect: 690 < 710\n",
"weighted_resilience_recovery_strength: 620 < 790\n",
"weighted_resilience_discipline_intellect: 820 == 820 *************\n",
"weighted_resilience_discipline_intellect: 820 == 820 ************************************\n",
"weighted_resilience_discipline_strength: 750 < 830\n",
"weighted_resilience_intellect_strength: 650 < 765\n",
"weighted_recovery_discipline_intellect: 690 < 770\n",
"weighted_recovery_discipline_strength: 620 < 785\n",
"weighted_recovery_intellect_strength: 520 < 685\n",
"weighted_discipline_intellect_strength: 650 < 680\n",
"mobility_max: 95\n",
"resilience_max: 100\n",
"recovery_max: 90\n",
"discipline_max: 100\n",
"intellect_max: 60\n",
"strength_max: 100\n",
"helmet_max: 6917530001406404775\n",
"gauntlets_max: 6917529936709740897\n",
"chest_armor_max: 6917530009187077342\n",
"leg_armor_max: 6917530005255852048\n",
"class_item_max: 6917529583788947730\n",
"num_artifice_max: 4\n",
"weighted_mobility_max: 1175\n",
"weighted_resilience_max: 1235\n",
"weighted_recovery_max: 1135\n",
"weighted_discipline_max: 1235\n",
"weighted_intellect_max: 865\n",
"weighted_strength_max: 1225\n",
"weighted_mobility_resilience_max: 945\n",
"weighted_mobility_recovery_max: 825\n",
"weighted_mobility_discipline_max: 1075\n",
"weighted_mobility_intellect_max: 845\n",
"weighted_mobility_strength_max: 980\n",
"weighted_resilience_recovery_max: 950\n",
"weighted_resilience_discipline_max: 1135\n",
"weighted_resilience_intellect_max: 955\n",
"weighted_resilience_strength_max: 1120\n",
"weighted_recovery_discipline_max: 1080\n",
"weighted_recovery_intellect_max: 820\n",
"weighted_recovery_strength_max: 945\n",
"weighted_discipline_intellect_max: 925\n",
"weighted_discipline_strength_max: 950\n",
"weighted_intellect_strength_max: 825\n",
"weighted_mobility_resilience_recovery_max: 685\n",
"weighted_mobility_resilience_discipline_max: 835\n",
"weighted_mobility_resilience_intellect_max: 735\n",
"weighted_mobility_resilience_strength_max: 800\n",
"weighted_mobility_recovery_discipline_max: 755\n",
"weighted_mobility_recovery_intellect_max: 630\n",
"weighted_mobility_recovery_strength_max: 750\n",
"weighted_mobility_discipline_intellect_max: 755\n",
"weighted_mobility_discipline_strength_max: 785\n",
"weighted_mobility_intellect_strength_max: 700\n",
"weighted_resilience_recovery_discipline_max: 835\n",
"weighted_resilience_recovery_intellect_max: 710\n",
"weighted_resilience_recovery_strength_max: 790\n",
"weighted_resilience_discipline_intellect_max: 820\n",
"weighted_resilience_discipline_strength_max: 830\n",
"weighted_resilience_intellect_strength_max: 765\n",
"weighted_recovery_discipline_intellect_max: 770\n",
"weighted_recovery_discipline_strength_max: 785\n",
"weighted_recovery_intellect_strength_max: 685\n",
"weighted_discipline_intellect_strength_max: 680\n"
"weighted_discipline_intellect_strength: 650 < 680\n"
]
}
],
Expand All @@ -1936,7 +1883,7 @@
},
{
"cell_type": "code",
"execution_count": 137,
"execution_count": 37,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -1965,7 +1912,7 @@
"└──────────┴────────────┴──────────┴───────────┴───┴───────────┴───────────┴───────────┴───────────┘"
]
},
"execution_count": 137,
"execution_count": 37,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -1984,7 +1931,7 @@
},
{
"cell_type": "code",
"execution_count": 138,
"execution_count": 39,
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -1994,15 +1941,12 @@
" & (pl.col('chest_armor') == chest_id)\n",
" & (pl.col('leg_armor') == leg_id)\n",
" & (pl.col('class_item') == class_item_id)\n",
").sort('weighted_resilience_discipline_intellect', descending=True)[0]\n",
"\n",
"\n",
"\n"
").sort('weighted_resilience_discipline_intellect', descending=True)[0]"
]
},
{
"cell_type": "code",
"execution_count": 67,
"execution_count": 40,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -2045,7 +1989,7 @@
},
{
"cell_type": "code",
"execution_count": 68,
"execution_count": 41,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -2073,7 +2017,7 @@
"└──────────┴────────────┴──────────┴───────────┴───┴───────────┴───────────┴───────────┴───────────┘"
]
},
"execution_count": 68,
"execution_count": 41,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -2085,7 +2029,7 @@
},
{
"cell_type": "code",
"execution_count": 70,
"execution_count": 42,
"metadata": {},
"outputs": [
{
Expand Down Expand Up @@ -2124,7 +2068,7 @@
"└──────────┴────────────┴──────────┴───────────┴───┴───────────┴───────────┴───────────┴───────────┘"
]
},
"execution_count": 70,
"execution_count": 42,
"metadata": {},
"output_type": "execute_result"
}
Expand Down

0 comments on commit 485c30d

Please sign in to comment.