Skip to content

Add local development hot-reloading for experiment reports #862

Open
@myanvoos

Description

@myanvoos

To my understanding, right now while an experiment is running locally with ./run-all-experiments.py, the results go in the results directory (or as specified by the user) whenever they're available. The results-report directory is only updated after we manually run python -m report.web -r results -o results-report. This means that currently there's no automatic refresh/update of the report while the experiment is still running locally.

It might be good to add a functionality that watches the results directory for any new finished experiment, then automatically updates results-report (or equivalent) and hot-reloads the HTTP server accordingly. So you can run the local HTTP server alongside experiments. Perhaps this can be triggered with a --watch flag on ./run_all_experiments.py or on python -m report.web -r results -o results-report.

Discussion much appreciated :) I'll have an experimental PR for demonstration up later this week.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions