def __program_runs_markup(program_runs):
    markup = ""
    # list program_runs with links to them with a short one line summary
    run_list_markup = ""
    for program_run_id in program_runs:
        run_list_markup += report.link_title(paths.relative_path(__report_url(program_runs), program_report.complete_report_url(program_run_id)), "Program_run " + program_run_id, __program_run_1line_summary(program_runs[program_run_id]))

    markup += report.section("Program runs", run_list_markup)
    return markup
def __combined_results_markup(program_runs):
    target_chart_scenarios = __target_chart_scenarios(program_runs) # get the scenarios valid for target charts
    markup = ""
    scenarios_markup = ""
    scenarios_markup += __combined_scenarios_summary_markup(target_chart_scenarios, program_runs)
    for scenario_name in target_chart_scenarios:
        scenarios_markup += __combined_scenario_markup(scenario_name, program_runs)
    markup += report.section("Combined action/s charts for scenarios with targets", scenarios_markup)
    return markup
Esempio n. 3
0
def __program_runs_markup(program_runs):
    markup = ""
    # list program_runs with links to them with a short one line summary
    run_list_markup = ""
    for program_run_id in program_runs:
        run_list_markup += report.link_title(
            paths.relative_path(
                __report_url(program_runs),
                program_report.complete_report_url(program_run_id)),
            "Program_run " + program_run_id,
            __program_run_1line_summary(program_runs[program_run_id]))

    markup += report.section("Program runs", run_list_markup)
    return markup
Esempio n. 4
0
def __combined_results_markup(program_runs):
    target_chart_scenarios = __target_chart_scenarios(
        program_runs)  # get the scenarios valid for target charts
    markup = ""
    scenarios_markup = ""
    scenarios_markup += __combined_scenarios_summary_markup(
        target_chart_scenarios, program_runs)
    for scenario_name in target_chart_scenarios:
        scenarios_markup += __combined_scenario_markup(scenario_name,
                                                       program_runs)
    markup += report.section(
        "Combined action/s charts for scenarios with targets",
        scenarios_markup)
    return markup