npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

experiment-report-generator

v3.1.8

Published

A report generator app

Downloads

60

Readme

Experiment Report Generator (ERG) npm version

forthebadge made-with-electron

This a react app which can be installed as an npm package. Primary purpose of this package is to provide a very simple way for a data engineer to showcase their work, with a simple command.

In effect, the only thing a developer would have to do is run a simple command to start the app and voila, it will start an app in their localhost and they can showcase different reports on their Experiment results.

The app is at a very primitive stage. User is supposed to follow a specific folder structure for the app to fit and work perfectly. In the future this will be more generalized, simplified and easy-to-use.

Installation

Prerequisites

  • Node

This package simply uses two folders - one that's holding images and another that's holding json files of the experiment run configurations - and displaying them in a simple grid.

Steps

1. Create a folder called reports to hold all your outputs in your project root. Make sure to save all your outputs in specific folders inside reports based on their content.

2. Create two more folders - visualizations and experimental_logs. These two
    will hold files for visual outputs and json data of individual experiments respectively.
    The internal files have been labelled based on the experiment id they belong to.
    for ex - visualizations/exp_1_loss_plot.png, experimental_logs/exp_1.json. This is to ensure we always display the details related to the relevant experiment only.

3. Change directory to the root of your project i.e just outside
of your reports folder.

4. Run the following command to install the package:
    npm install experiment-report-generator
5. Create a file called ergconfig.json with the follwing configurations.
    {
        "model_keys":[
            "model_filename",
            "final_accuracy",
            "average_loss",
            "lr",
            "batch_size"
        ],
        "view":"grid",
        "files_list":[],
        "erg":{
            "output_directory":"output",
            "experiment_logs_directory":"experimental_logs",
            "visualizations_directory":"visualizations",
            "report_output_directory":"./reports",
            "report_template_directory":"/src/assets/reports"
        }
    }
   This is a default configuration to be set. You may change the values under model_keys
   and erg to customize to some extent your report view and if you
   want to place your folders under different naming conventions.
6. Run npx makereport

After executing the above steps, a webserver should start from the reports folder of your project and if you hit it, you should be able see the UI of the react app.

Features

  • Simple Previews of your experiments
  • Creation of instant views to showcase experiment progress in a simple, effective manner with very little effort.
  • Currently only supports creation of a grid display of your image plots and it's details. It will be further expanded in the future, to create user defined customized views.

Tech Stack

Client: React, SCSS

Server: Node, Express

Screenshots

App Screenshot