https://github.com/broadinstitute/carrot-example-test

A repo containing a basic example test to run using CARROT

https://github.com/broadinstitute/carrot-example-test

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A repo containing a basic example test to run using CARROT

Basic Info
  • Host: GitHub
  • Owner: broadinstitute
  • Language: Jupyter Notebook
  • Default Branch: main
  • Size: 14.6 KB
Statistics
  • Stars: 0
  • Watchers: 4
  • Forks: 2
  • Open Issues: 1
  • Releases: 2
Created about 5 years ago · Last pushed over 3 years ago
Metadata Files
Readme

README.md

carrot-example-test

This repository contains an example test to be used as reference for designing tests when using CARROT and the CARROT CLI.

What's in this repository?

The example application

The example test uses a simple Node application with two commands:

example-test make-data [a] [b] prints 20 x,y coordinate pairs for values of x in the range [0,2] in increments of 0.1 supplied to the function y = ab^x

example-test compare [file] accepts a csv file containing output from make-data and prints prints 20 x,y coordinate pairs for values of x in the range [0,2] in increments of 0.1, where y = |2^x - file(x)| where file(x) is the y value paired with x within the file.

The test config

The carrot-test-config directory contains a file called carrot_commands.txt which lists the series of CARROT CLI commands to use to prepare and run the example test, along with all the necessary files to do so.

Using this repository

First, ensure you have access to a running CARROT server with software building functionality and reporting functionality configured, and that you have downloaded and installed the CARROT CLI and configured it to point to that server.

Then, download the contents of carrot-test-config and run the commands in the carrot_commands.txt file using CARROT CLI, following the instructions in the comments. Make sure you are using the version of this repository that is compatible with the version of CARROT that you are running. The branch names and release names in this repository match version numbers for releases of CARROT. If there is not a release or branch of this repository that matches the version of CARROT you are using, use Price is Right rules to determine which version to use: pick the branch of this repository with a version number that is closest to your CARROT version without exceeding it.

Owner

  • Name: Broad Institute
  • Login: broadinstitute
  • Kind: organization
  • Location: Cambridge, MA

Broad Institute of MIT and Harvard

GitHub Events

Total
Last Year

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 5
  • Total Committers: 1
  • Avg Commits per committer: 5.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Kevin Lydon k****n@b****g 5
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: about 1 hour
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • KevinCLydon (2)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

package-lock.json npm
  • ansi-regex 5.0.0
  • ansi-styles 4.3.0
  • cliui 7.0.4
  • color-convert 2.0.1
  • color-name 1.1.4
  • emoji-regex 8.0.0
  • escalade 3.1.1
  • get-caller-file 2.0.5
  • is-fullwidth-code-point 3.0.0
  • require-directory 2.1.1
  • string-width 4.2.2
  • strip-ansi 6.0.0
  • wrap-ansi 7.0.0
  • y18n 5.0.8
  • yargs 17.0.1
  • yargs-parser 20.2.7
package.json npm
  • yargs ^17.0.1
Dockerfile docker
  • node 12 build