Release(Preparation) - Added Todo and prepared for release

This commit is contained in:
Dandaedre 2023-02-23 21:55:56 +01:00
parent b4db930466
commit fcaf53a150
4 changed files with 30 additions and 5 deletions

27
Todo.md Normal file
View File

@ -0,0 +1,27 @@
# Pre-Release
## v0.2
### Breaking
🟩 (GUI) Visual feedback when pressing solve
🟩 (GUI) Ability to save
🟩 (GUI) Make the logging work
### Important
🟩 (PKG) Have xtasks setup for release/cleanup/build
🟩 (PKG) Merge latest pre-release for the GUI
### Features
🟩 (GUI) Refactor code
# Roadmap
## v1.0.0
### Important
🟩 (LIB) Rust API docs
🟩 (CLI) Accept and copy from the base recipes
🟩 (CLI) Accept and copy pots & food
🟩 (PKG) Have a unified toml/yaml way of registering recipes
🟩 (LIB) Tests
### Features
🟩 (GUI) Have full documentation
🟩 (LIB) Benchmarks
🟩 (GUI) Code coverage

View File

@ -25,7 +25,7 @@ impl ActionBuilder {
short_name = short_name.replace("II", "2");
short_name.retain(|c| !c.is_whitespace() && c != '\'');
short_name[0..1].make_ascii_lowercase();
if name == "Basic Synthesis" { short_name = "basicSynth".to_string(); }
if name == "Basic Synthesis" { short_name = "basicSynth2".to_string(); }
if name == "Groundwork" { short_name = "groundwork".to_string(); }
if name == "Careful Synthesis" { short_name = "carefulSynthesis".to_string(); }

View File

@ -95,8 +95,7 @@ impl Display for SolverResult{
//#[pymethods]
impl SolverResult{
pub fn from_craft(craft: & Craft,step1_solutions : usize,step2_solutions : usize, found_100_percent: bool)->SolverResult{
// Todo: recreate actions
// Where steps ?
let mut actions = craft.actions.iter().map(|action|
format!("{}",action.short_name)
).collect::<Vec<String>>();

View File

@ -129,7 +129,7 @@ pub fn next_action_phase_2<'a>(craft: & Craft<'a>) -> Vec<Option<&'a Action>> {
available_actions.push(&ACTIONS.advanced_touch);
forbidden_actions.push(&ACTIONS.basic_touch);
}
// Todo, allow earlier byregot if the craft can be finished all the same (useless with always optimize on)
if craft.buffs.inner_quiet >= craft.args.byregot_step { // 10
available_actions.push(&ACTIONS.trained_finesse);
available_actions.push(&ACTIONS.great_strides);
@ -155,7 +155,6 @@ pub fn next_action_phase_2<'a>(craft: & Craft<'a>) -> Vec<Option<&'a Action>> {
pub fn generate_routes_phase2<'a>(craft: Craft<'a>) -> Option<Vec<Craft<'a>>> {
let mut queue = VecDeque::new();
// Todo: Return a vec of relevant functions, instead of the most quality one
let mut top_route: Craft<'a> = craft.clone(); // Default route, no hq on that one
let mut top_routes: Vec<Craft<'a>> = vec![];