Skip to content

Merge dev to main #109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 518 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
518 commits
Select commit Hold shift + click to select a range
1cf23a4
Merge pull request #64 from oslabs-beta/austin-dev-fix
yiqunzheng Oct 22, 2024
28a4163
added id attribute back to TSX elements for Demo and Features
austinbfraser Oct 22, 2024
8f78441
committing package-lock.json added pack into mlflow directory
austinbfraser Oct 22, 2024
c44e7b0
merging latest changes from dev into austin-site-css
austinbfraser Oct 22, 2024
786f3a8
changed double quote to single
austinbfraser Oct 22, 2024
941ebfb
back to old
Kyler-Chiago Oct 22, 2024
e6e2c70
started fixing eslint errors in mlflow
Kyler-Chiago Oct 22, 2024
4ba380e
some eslint errors fixed
Kyler-Chiago Oct 22, 2024
ab32c19
Setup github actions
seneyu Oct 22, 2024
efffe67
Add rules to eslint.config.mjs
seneyu Oct 22, 2024
e35613f
more eslint fixes
Kyler-Chiago Oct 22, 2024
d86ff3d
Merge pull request #62 from oslabs-beta/austin-site-css
Kyler-Chiago Oct 23, 2024
6abf6c3
yes
Kyler-Chiago Oct 23, 2024
2539456
Merge pull request #65 from oslabs-beta/stephany/github-actions-3
yiqunzheng Oct 23, 2024
dd2c9db
merged in dev
Kyler-Chiago Oct 23, 2024
8a92ec3
yes
Kyler-Chiago Oct 23, 2024
afe39a7
Merge branch 'dev' into kyler/eslintFixes
Kyler-Chiago Oct 23, 2024
a18123a
more styling on the website, setting up the desktop view
Kyler-Chiago Oct 23, 2024
929ae34
more styling done
Kyler-Chiago Oct 24, 2024
4c44ea4
Merge pull request #66 from oslabs-beta/kyler/siteStyling
yiqunzheng Oct 24, 2024
d1fc8b6
removed typedoc
Kyler-Chiago Oct 24, 2024
8fa0589
Eslint fully passing now
Kyler-Chiago Oct 24, 2024
da6c428
Reset package-lock.json
yiqunzheng Oct 24, 2024
e83244a
merge changes
yiqunzheng Oct 24, 2024
e18e303
Setup Jest config
seneyu Oct 24, 2024
6475785
Merge pull request #67 from oslabs-beta/kyler/removeTypedoc
yiqunzheng Oct 24, 2024
5791d12
Jest example with createRun
seneyu Oct 24, 2024
4649827
merge change
yiqunzheng Oct 24, 2024
9f55d5d
Merge branch 'dev' into stephany/jest-2
seneyu Oct 24, 2024
b0a2ee6
revise gitignore
yiqunzheng Oct 24, 2024
1cb09cb
Reset package-lock.json
yiqunzheng Oct 24, 2024
1204bb2
completed iframe players in DemoCard.tsx
austinbfraser Oct 24, 2024
ec98fef
Update tech-design-doc.md
yiqunzheng Oct 24, 2024
fdbff71
revise linear regression ex
yiqunzheng Oct 25, 2024
e7040a3
refactoring to get rid of errors
Kyler-Chiago Oct 25, 2024
eed1aa3
fixed errors that prevented npm run build from running
Kyler-Chiago Oct 25, 2024
6e5ba52
Merge branch 'dev' into kyler/fixedRunBuildErrors
Kyler-Chiago Oct 25, 2024
2ceeda4
update
Kyler-Chiago Oct 25, 2024
e66437c
merging latest changes into austin-vimeo
austinbfraser Oct 25, 2024
b729a88
fixed test files
Kyler-Chiago Oct 25, 2024
421a9c4
changed 2 site buttons to <a>
Kyler-Chiago Oct 25, 2024
c580d0d
Merge pull request #68 from oslabs-beta/yiqun/new
austinbfraser Oct 25, 2024
b03da8a
Change in package-lock.json
seneyu Oct 25, 2024
ead4645
more fixes
Kyler-Chiago Oct 25, 2024
920b3aa
Merge branch 'dev' into stephany/jest-2
seneyu Oct 25, 2024
5158022
Merge pull request #71 from oslabs-beta/kyler/fixedRunBuildErrors
yiqunzheng Oct 25, 2024
10d0cf3
Merge pull request #70 from oslabs-beta/yiqunzheng-patch-1
Kyler-Chiago Oct 25, 2024
a83ead7
removed react player as dependency
austinbfraser Oct 25, 2024
482df3a
merging latest changes into austin-vimeo
austinbfraser Oct 25, 2024
42f30c7
Merge pull request #72 from oslabs-beta/austin-vimeo
yiqunzheng Oct 25, 2024
4ce00ec
Merge branch 'dev' into stephany/jest-2
seneyu Oct 25, 2024
2aab235
more site styling
Kyler-Chiago Oct 25, 2024
beaf046
updated npm run lint
Kyler-Chiago Oct 25, 2024
e7688e3
put ignores back in eslint
Kyler-Chiago Oct 25, 2024
a963a12
Uninstall supertest, update config files, minor fixes
seneyu Oct 25, 2024
c9c86f1
Refactor scripts to automate jest test
seneyu Oct 25, 2024
9de4114
Refactor createRun example
seneyu Oct 26, 2024
11b01f2
add NN multi run example
yiqunzheng Oct 26, 2024
c4a5768
Minor changes
seneyu Oct 26, 2024
032e46b
Merge pull request #69 from oslabs-beta/stephany/jest-2
yiqunzheng Oct 26, 2024
a91e634
merged in dev
Kyler-Chiago Oct 26, 2024
3870034
Merge pull request #75 from oslabs-beta/kyler/siteStylingR2
austinbfraser Oct 26, 2024
dac0164
Add eslint and jest tests to the workflow
seneyu Oct 26, 2024
5656b56
Remove npm run test because mlflow ui is an external service
seneyu Oct 26, 2024
a617c82
added Vimeo link for Managing Experiments in MLflow js to Demo.tsx co…
austinbfraser Oct 26, 2024
20212a1
Add to mlflow/ path
seneyu Oct 26, 2024
43809db
Refactor mlflow-js.yaml file to include .github/workflows path
seneyu Oct 26, 2024
d6df07a
partial progress on ExperimentClient test ts
austinbfraser Oct 26, 2024
f4a819c
started documentation page
Kyler-Chiago Oct 26, 2024
84b7f16
Add deleteRun, restoreRun, getRun, updateRun to RunClient test file
seneyu Oct 28, 2024
89f75dc
Merge branch 'dev' into yiqun/new
yiqunzheng Oct 28, 2024
55e6966
revise config files: package.json, tsconfig.json, jest.config.ts, add…
yiqunzheng Oct 29, 2024
36fe1de
add back "declaration": true
yiqunzheng Oct 30, 2024
308528b
remove concurrenly and wait on from package.json and add sourcemap to…
yiqunzheng Oct 30, 2024
cc889b8
add test for model registry
yiqunzheng Oct 30, 2024
e69f187
Add logMetric, logBatch, logModel, setTag, deleteTag, logParam to Run…
seneyu Oct 30, 2024
ddc3c64
more work done on documentation
Kyler-Chiago Oct 31, 2024
c64e374
basic documentation done
Kyler-Chiago Oct 31, 2024
cf238f0
basic documentation page set up
Kyler-Chiago Oct 31, 2024
b3e53d6
Merge branch 'dev' into kyler/documentationPage
Kyler-Chiago Oct 31, 2024
45a7cc2
some styling fixes to the documentation page
Kyler-Chiago Oct 31, 2024
8c29340
added the workflow methods to the documentation
Kyler-Chiago Oct 31, 2024
cb3a318
small change to leftSidebar header on documentation page
Kyler-Chiago Oct 31, 2024
db2613f
change to path alias
yiqunzheng Oct 31, 2024
b5f7564
Add logInputs, getMetricHistory, searchRuns, listArtifacts to RunClie…
seneyu Oct 31, 2024
1e13815
Refactor code
seneyu Oct 31, 2024
97d6ac4
Merge pull request #80 from oslabs-beta/yiqun/jest2
austinbfraser Oct 31, 2024
e3e5ecf
Merge branch 'dev' into stephany/jest
seneyu Oct 31, 2024
4cab3c2
Merge pull request #76 from oslabs-beta/austin-adding-vimeo
yiqunzheng Oct 31, 2024
20aebfd
Minor changes to test case
seneyu Oct 31, 2024
9650f64
Merge branch 'dev' into stephany/jest
seneyu Oct 31, 2024
d583f8d
updated documentation site to have headers for each client/manager
Kyler-Chiago Nov 1, 2024
c985460
fixed some mistakes in the documentation page
Kyler-Chiago Nov 1, 2024
223b93c
added reference to official mlflow REST API
Kyler-Chiago Nov 1, 2024
70ccab1
Merge branch 'dev' into kyler/documentationPage
Kyler-Chiago Nov 1, 2024
e758785
small fix for header
Kyler-Chiago Nov 1, 2024
f520c8f
Merge pull request #81 from oslabs-beta/kyler/documentationPage
yiqunzheng Nov 1, 2024
e5cc883
added period to a sentence
Kyler-Chiago Nov 1, 2024
4cb0e8a
Merge branch 'dev' into stephany/jest
seneyu Nov 1, 2024
4af4473
Merge pull request #82 from oslabs-beta/stephany/jest
yiqunzheng Nov 1, 2024
0abdf8d
Merge branch 'dev' into yiqun/new
yiqunzheng Nov 1, 2024
7e6ef64
Merge branch 'dev' into kyler/jestTest
Kyler-Chiago Nov 4, 2024
7d3e45c
Merge branch 'dev' into stephany/jest
seneyu Nov 4, 2024
5cc8240
Merge branch 'dev' into stephany/readme
seneyu Nov 4, 2024
ad4fdaf
started jest test file for modelVersionClient
Kyler-Chiago Nov 5, 2024
d0d81b0
started work on jest
Kyler-Chiago Nov 5, 2024
2d19ca4
jest testing for ModelVersionClient set up
Kyler-Chiago Nov 5, 2024
8431cec
removed some commented out code
Kyler-Chiago Nov 5, 2024
4d1274d
modelManager and modelVersionClient jest tests basics done
Kyler-Chiago Nov 5, 2024
02aeee5
some comments
Kyler-Chiago Nov 5, 2024
02b38d5
Some updates on readme with static badges
seneyu Nov 5, 2024
6b8e0d4
jest tests for ModelManager and ModelVersionClient done
Kyler-Chiago Nov 7, 2024
7fa40d6
package.json put concurrently and wait-on back in somehow they got un…
Kyler-Chiago Nov 7, 2024
076dce6
fully removed concurrently and wait-on
Kyler-Chiago Nov 7, 2024
1678e6f
kyler/jestTest
Kyler-Chiago Nov 7, 2024
d69286b
fixed some comments
Kyler-Chiago Nov 7, 2024
79830ef
Add jest testing for cleanupRuns in RunManager
seneyu Nov 7, 2024
64bcebf
Refactor testing code
seneyu Nov 7, 2024
4ae733e
Add jest testing for copyRun in RunManager
seneyu Nov 8, 2024
40e1585
kyler/jestTest
Kyler-Chiago Nov 9, 2024
f813272
some styling fixes and tab icon
Kyler-Chiago Nov 9, 2024
a327093
Merge pull request #84 from oslabs-beta/kyler/jestTest
yiqunzheng Nov 9, 2024
2d4c252
Merge branch 'dev' into stephany/jest
seneyu Nov 9, 2024
89005f5
made buttons same size
Kyler-Chiago Nov 9, 2024
ee0c028
made all the teamcards the same width
Kyler-Chiago Nov 9, 2024
b54375d
changed request/response to parameters/returns
Kyler-Chiago Nov 9, 2024
3970cc5
Minor changes
seneyu Nov 10, 2024
b5437a8
Merge branch 'dev' into stephany/readme
seneyu Nov 10, 2024
49ae364
Minor fix on RunClient's documentation
seneyu Nov 10, 2024
34eb5cf
progress on ExperimentClient.test.ts
austinbfraser Nov 11, 2024
0a56f91
merging latest from dev
austinbfraser Nov 11, 2024
20b8ed3
more progress on ExperimentClient.test.ts
austinbfraser Nov 11, 2024
8feecf8
started Dockerfile
Kyler-Chiago Nov 11, 2024
cadcd6a
Some changes on readme
seneyu Nov 11, 2024
2fa621a
fixed restoreExperiment test - forgot to push into testIds array
austinbfraser Nov 12, 2024
56fa0eb
fixed modelManager.ts to include await on two methods and docker is u…
Kyler-Chiago Nov 12, 2024
b18cf18
code change for demo
yiqunzheng Nov 12, 2024
588eb1d
Add logo with white bg, update features in readme, add contributing file
seneyu Nov 12, 2024
083f928
getting unhealthy return for mlflow-1
Kyler-Chiago Nov 12, 2024
7eb7b95
small change
Kyler-Chiago Nov 12, 2024
5710b61
Merge pull request #85 from oslabs-beta/stephany/jest
yiqunzheng Nov 12, 2024
7e5069d
Merge pull request #86 from oslabs-beta/stephany/readme
yiqunzheng Nov 12, 2024
c12fde1
Merge branch 'dev' into kyler/Docker
Kyler-Chiago Nov 12, 2024
68f7fdf
small change
Kyler-Chiago Nov 12, 2024
6fd6627
Update README.md - usage example code
yiqunzheng Nov 12, 2024
0c67185
progress on tests/ExperimentManager.test.ts
austinbfraser Nov 12, 2024
3cf7f64
adding changes to TestFile
austinbfraser Nov 12, 2024
5790f77
merging latest
austinbfraser Nov 12, 2024
8f688d4
Merge branch 'dev' into stephany/site
seneyu Nov 12, 2024
f6cdb5f
finished ExperimentManager.test.ts
austinbfraser Nov 12, 2024
a75f6ff
more fixes on ExperimentManager.test.ts
austinbfraser Nov 12, 2024
081a19f
improving test coverage on ExpMgr.test.ts
austinbfraser Nov 12, 2024
c86a637
committing deletion of unused test files
austinbfraser Nov 13, 2024
b940519
Merge pull request #88 from oslabs-beta/austin-jest
yiqunzheng Nov 13, 2024
9e286e9
Merge branch 'dev' into kyler/Docker
Kyler-Chiago Nov 13, 2024
8370908
added austin profile pic, link to Yiquns demo video
austinbfraser Nov 13, 2024
55c23ce
merging latest dev
austinbfraser Nov 13, 2024
705db1d
Check documentation for run client, minor fix on RunManager.ts, add p…
seneyu Nov 13, 2024
d03f706
Minor fixes on single quotes
seneyu Nov 13, 2024
5f81126
Minor fixes on single quotes
seneyu Nov 13, 2024
e82bcd2
progress on docker-compose
Kyler-Chiago Nov 13, 2024
828553c
small change for demo
yiqunzheng Nov 13, 2024
3aae6d2
Merge branch 'dev' into yiqun/new
yiqunzheng Nov 13, 2024
0e45fe8
add yiqun picture
yiqunzheng Nov 13, 2024
ca3bc53
yiqun pic
yiqunzheng Nov 13, 2024
c6cbaff
Merge pull request #89 from oslabs-beta/austin-demo2
yiqunzheng Nov 14, 2024
f3b8645
Merge pull request #90 from oslabs-beta/stephany/site
yiqunzheng Nov 14, 2024
70460c6
Merge pull request #91 from oslabs-beta/yiqun/site
austinbfraser Nov 14, 2024
d82bfbb
Merge pull request #87 from oslabs-beta/yiqunzheng-patch-1
austinbfraser Nov 14, 2024
2c4213b
Merge pull request #74 from oslabs-beta/yiqun/new
austinbfraser Nov 14, 2024
36f0792
kyler/Docker
Kyler-Chiago Nov 14, 2024
f636e03
Merge branch 'dev' into kyler/Docker
Kyler-Chiago Nov 14, 2024
7bb8876
removed commented out code
Kyler-Chiago Nov 14, 2024
e1a9648
changed ports to 5001
Kyler-Chiago Nov 14, 2024
33849ad
Merge pull request #92 from oslabs-beta/kyler/Docker
yiqunzheng Nov 14, 2024
dcddf57
clean up nn example
yiqunzheng Nov 14, 2024
7d65ed6
Add another readme for npm, update some routes for the links
seneyu Nov 14, 2024
d323bf3
added splash site text
austinbfraser Nov 14, 2024
0263fb2
styling changes
austinbfraser Nov 14, 2024
4203e29
Update readme for npm and minor changes
seneyu Nov 14, 2024
003d801
Merge pull request #94 from oslabs-beta/austin-css
Kyler-Chiago Nov 14, 2024
052c624
Minor changes
seneyu Nov 14, 2024
fd5c204
Merge branch 'dev' into stephany/readme-2
seneyu Nov 14, 2024
00dfe0b
Update details for npm package
seneyu Nov 14, 2024
b1182a4
small typo fixes
Kyler-Chiago Nov 14, 2024
56bc1d2
changed download button to link to npm
Kyler-Chiago Nov 14, 2024
4c9f9c0
small typo fix
Kyler-Chiago Nov 14, 2024
e1527c6
Update readme and fix version back to 1.0.0
seneyu Nov 14, 2024
42a0bdd
Merge pull request #95 from oslabs-beta/kyler/smallFixes
yiqunzheng Nov 14, 2024
e796674
Merge branch 'dev' into stephany/readme-2
seneyu Nov 14, 2024
3382ea0
Merge pull request #97 from oslabs-beta/stephany/readme-2
yiqunzheng Nov 14, 2024
9528fc5
Merge branch 'dev' into yiqun/new
yiqunzheng Nov 14, 2024
7ed63b8
revise Readme
yiqunzheng Nov 14, 2024
f1ebc03
correct spelling;
yiqunzheng Nov 14, 2024
182367d
small fix on readme
yiqunzheng Nov 14, 2024
a10a523
styling fixes, added 3rd demo, added winston prof pic
austinbfraser Nov 14, 2024
0865547
merging latest dev changes
austinbfraser Nov 14, 2024
8369b5a
fixed fuzzy mlflow js logo in nav bar
austinbfraser Nov 14, 2024
02ce69c
Merge pull request #99 from oslabs-beta/austin-CSS2
yiqunzheng Nov 15, 2024
202cd68
Merge pull request #98 from oslabs-beta/yiqun/readme
austinbfraser Nov 15, 2024
2271020
small stylign change on site pfps
Kyler-Chiago Nov 15, 2024
2fce1b1
Changes for npm
seneyu Nov 16, 2024
1765a3b
Changes for npm
seneyu Nov 16, 2024
7914532
change descriptions/wordings, fix typo and hyperlinks etc
yiqunzheng Nov 16, 2024
2f1c9e9
updated winstons prof pic so that its a square
austinbfraser Nov 16, 2024
7435fa4
small changes
Kyler-Chiago Nov 16, 2024
0cac87c
fixed ModelManager.test.ts to clean up after itself
Kyler-Chiago Nov 16, 2024
44d94a5
removed commented out code
Kyler-Chiago Nov 16, 2024
40f642c
revise wording
yiqunzheng Nov 16, 2024
3c9522d
Merge pull request #100 from oslabs-beta/austin-winstonFix
yiqunzheng Nov 16, 2024
206ecc2
Merge pull request #101 from oslabs-beta/yiqun/site
austinbfraser Nov 16, 2024
0a1146c
Merge branch 'dev' into stephany/readme-2
seneyu Nov 16, 2024
58e3313
fixed type error related to DemoCardBlurb, now that it includes an an…
austinbfraser Nov 16, 2024
dfe0603
Merge pull request #102 from oslabs-beta/site-typeFix
yiqunzheng Nov 16, 2024
4bb180d
Publish npm v1.0.1
seneyu Nov 16, 2024
5bfb7b4
site readme is now blank
austinbfraser Nov 16, 2024
85e3eef
trying to get basic docker image to run
Kyler-Chiago Nov 16, 2024
793404b
added basic dev server instructions back into site README
austinbfraser Nov 16, 2024
40ee8b7
Merge branch 'dev' into stephany/github-actions-3
seneyu Nov 16, 2024
1792c83
Merge pull request #104 from oslabs-beta/remove-site-readme
yiqunzheng Nov 16, 2024
709e4c7
Merge pull request #103 from oslabs-beta/stephany/readme-2
yiqunzheng Nov 16, 2024
54178e0
Merge branch 'dev' into stephany/github-actions-3
seneyu Nov 16, 2024
67799f2
Merge branch 'dev' of https://github.com/oslabs-beta/mlflow-js into dev
Kyler-Chiago Nov 16, 2024
b0c93fc
Merge branch 'dev' into kyler/finalDocker
Kyler-Chiago Nov 16, 2024
cd6c335
removed line of code
Kyler-Chiago Nov 16, 2024
230e929
removed blank lines of code
Kyler-Chiago Nov 16, 2024
09d2c64
Merge pull request #105 from oslabs-beta/kyler/finalDocker
yiqunzheng Nov 16, 2024
69df719
updating README.md and CONTRIBUTING.md
Kyler-Chiago Nov 16, 2024
8d0f49c
updating README.md
Kyler-Chiago Nov 16, 2024
a6a9f77
Add docker to workflows
seneyu Nov 16, 2024
7a5e32e
Merge branch 'dev' into stephany/github-actions-3
seneyu Nov 16, 2024
12e9da1
changes to docs
Kyler-Chiago Nov 16, 2024
cd80c6e
Small changes on yaml file
seneyu Nov 16, 2024
a49d444
doc changes
Kyler-Chiago Nov 16, 2024
29d6419
Move build to the end
seneyu Nov 16, 2024
ad65a66
CONTRIBUTING.md updated
Kyler-Chiago Nov 16, 2024
529eab7
documentation updated
Kyler-Chiago Nov 16, 2024
24fa1e7
doc updated
Kyler-Chiago Nov 16, 2024
b2fa127
removed commented out code
Kyler-Chiago Nov 16, 2024
d525032
add lib, add process.env.MLFLOW_TRACKING_URI to example, clean up git…
yiqunzheng Nov 16, 2024
3b2faf7
doc update
Kyler-Chiago Nov 16, 2024
8bb325a
Merge pull request #107 from oslabs-beta/yiqun/new
austinbfraser Nov 16, 2024
8ab92ea
doc update
Kyler-Chiago Nov 16, 2024
b2b12c8
pulled origin dev
Kyler-Chiago Nov 16, 2024
e6f78a7
Merge branch 'dev' into kyler/finalDocker
Kyler-Chiago Nov 16, 2024
4e12099
merged dev
Kyler-Chiago Nov 16, 2024
23f6a65
doc mod
Kyler-Chiago Nov 16, 2024
d7f9fed
Merge pull request #108 from oslabs-beta/kyler/finalDocker
yiqunzheng Nov 16, 2024
cf9231b
Update github workflows add on pull request to branch main
seneyu Nov 16, 2024
8719cde
Merge pull request #77 from oslabs-beta/stephany/github-actions-3
yiqunzheng Nov 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .github/workflows/mlflow-js.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
name: mlflow
on:
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '22.7'

- name: Install dependencies
working-directory: ./mlflow
run: npm ci

- name: Eslint
working-directory: ./mlflow
run: npm run lint

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Run MLflow server
run: |
docker run -d -p 5002:5002 --name mlflow-container ghcr.io/mlflow/mlflow:latest mlflow server --host 0.0.0.0 --port 5002
sleep 30

- name: Run tests
working-directory: ./mlflow
run: npm run test

- name: Stop MLflow server
run: docker stop mlflow-container

- name: Build
working-directory: ./mlflow
run: npm run build
69 changes: 69 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
# Contribution Guidelines

We are always open to accepting any potential contributions. Here is how you can contribute:

1. Fork the repository
2. Clone your forked repository

```bash
git clone https://github.com/your-username/repository-name.git
```

3. Create your feature branch

```bash
git checkout -b feature/AmazingFeature
```

4. Install dependencies for both mlflow and mlflow-site directories

```bash
cd /mlflow && npm install
cd ../mlflow-site && npm install
```

5. Start the MLflow Tracking Server

```bash
cd ../mlflow && npm run docker
```

This will launch the MLflow UI on your local machine at `http://localhost:5001`.

6. Make your changes

7. Run ESLint to check code style

```bash
npm run lint
```

8. Run tests to ensure your changes don't break existing functionality

(Make sure you have mlflow UI server running on port 5002. We set 5002 as our default port for testing.)

```bash
cd /mlflow && npm run dockerTest # Run this in a separate terminal
npm run test
```

This will launch the MLflow UI on your local machine at `http://localhost:5002`, and run the Jest tests.

9. Add and commit your changes

If the tests all pass:

```bash
git add .
git commit -m 'Add AmazingFeature'
```

10. Push to the branch

```bash
git push origin feature/AmazingFeature
```

11. Open a Pull Request

**Note:** Please ensure your code adheres to our style guidelines and includes appropriate documentation for any new features.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Open Source Labs Beta

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
177 changes: 177 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,178 @@
<div style="text-align: center">
<img src="/mlflow-site/public/assets/mlflow-js-logo-whitebg.png" width=600px;"/></div>

<br>

## About

[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](/LICENSE)
![Release](https://img.shields.io/badge/Release-v1.0.1-426B20)
![Build](https://img.shields.io/badge/Build-Passing-brightgreen.svg)
![Coverage](https://img.shields.io/badge/Coverage-87%25-c7ea46.svg)
[![Contributions](https://img.shields.io/badge/Contributions-Welcome-brightgreen.svg)](/CONTRIBUTING.md)

<i>MLflow.js</i> is an open-source JavaScript library that helps developers track machine learning experiments and manage models with MLflow, providing functionalities for machine learning lifecycle in JavaScript/TypeScript environments.

<br>

## Features

<i>MLflow.js</i> covers all REST API endpoints under MLflow's Tracking Server and Model Registry. Moreover, high-level abstractions have been developed to facilitate developers' common ML workflows. It provides some key advantages:

- Native JavaScript Integration: Seamlessly integrate MLflow capabilities within JavaScript codebases
- Type Safety: Built with TypeScript for enhanced developer experience and code reliability
- Modular Architecture: Designed with object-oriented structure that mirrors MLflow's concepts while being extensible and maintainable
- Client-side ML Compatibility: Complements popular JavaScript libraries like TensorFlow.js, enabling ML deployment directly in the browser or client side

<br>

## Built with

[![TypeScript](https://img.shields.io/badge/TypeScript-0077B5?style=for-the-badge&logo=typescript&logoColor=white)](https://www.typescriptlang.org/)
[![JavaScript](https://img.shields.io/badge/JavaScript-000435?style=for-the-badge&logo=javascript&logoColor=00fff)](https://www.javascript.com/)
[![React](https://img.shields.io/badge/React-36454F?style=for-the-badge&logo=React&logoColor=00fff)](https://react.dev/)
[![Next.js](https://img.shields.io/badge/Next.js-24292e?style=for-the-badge&logo=next.js&logoColor=00fff)](https://nextjs.org/)
[![TailwindCSS](https://img.shields.io/badge/Tailwind_CSS-008080?style=for-the-badge&logo=tailwindcss&logoColor=bfffff)](https://tailwindcss.com/)
[![ESLINT](https://img.shields.io/badge/ESLINT-4B32C3?style=for-the-badge&logo=eslint&logoColor=bfffff)](https://eslint.org/)
[![Node.js](https://img.shields.io/badge/Node.js-339933?style=for-the-badge&logo=node.js&logoColor=ffffff)](https://nodejs.org/en/)
[![Jest](https://img.shields.io/badge/Jest-800020?style=for-the-badge&logo=jest&logoColor=00fff)](https://jestjs.io/)
[![GitHub Actions](https://img.shields.io/badge/GitHub_Actions-30363d?style=for-the-badge&logo=github&logoColor=00fff)](https://github.com/features/actions)
[![Docker](https://img.shields.io/badge/Docker-lightblue?style=for-the-badge&logo=Docker&logoColor=00fff)](https://www.docker.com/)
[![NPM](https://img.shields.io/badge/NPM-CC3534?style=for-the-badge&logo=npm&logoColor=00fff)](https://www.npmjs.com/)
[![Vercel](https://img.shields.io/badge/Vercel-966FD6?style=for-the-badge&logo=Vercel&logoColor=00fff)](https://vercel.com/)

<br>

## Prerequisites

### Set Up MLflow

Ensure MLflow is installed on your system:

```bash
pip install mlflow
```

**Note:** MLflow is compatible with MacOS. If you encounter issues with the default system Python, consider installing Python 3 via the Homebrew package manger using `brew install python`. In this case, installing MLflow is now `pip3 install mlflow`.

### Start the MLflow Tracking Server

To start the MLflow tracking server locally, use the following command:

```bash
mlflow ui --port 5001
```

This will launch the MLflow UI on your local machine at `http://localhost:5001`.

### Alternative Docker approach to the MLflow Tracking Server

Install [Docker Desktop](https://www.docker.com/).

To start the MLflow tracking server locally, use the following commands:

```bash
docker pull ghcr.io/mlflow/mlflow
docker run -p 5001:5001 ghcr.io/mlflow/mlflow:latest mlflow server --host 0.0.0.0 --port 5001
```

This will launch the MLflow UI on your local machine at `http://localhost:5001`.

### Development Setup

For development environment setup instructions, please refer to our [Contributing Guide](/CONTRIBUTING.md).

<br>

## Quickstart

### Install <i>mlflow.js</i> Library

To use the <i>mlflow.js</i> library, navigate to your project directory and install it via npm:

```bash
npm install mlflow-js
```

### Usage Example

Here is an example of how to use the <i>mlflow.js</i> library to create an experiment:

```JavaScript
import Mlflow from 'mlflow-js';

// Initialize the MLflow client
const mlflow = new Mlflow(process.env.MLFLOW_TRACKING_URI);

// Create a new experiment
async function createExperiment(){
await mlflow.createExperiment('My Experiment');
console.log('Experiment created successfully');
}

createExperiment();

```

<br>

## Resources

- [Example Repository](https://github.com/oslabs-beta/mlflow-js/tree/dev/mlflow/examples) - Practical examples demonstrating <i>MLflow.js</i>'s functionality
- [Quick Tutorials](https://www.mlflow-js.org/) - Video walkthrough of the example code with MLflow UI
- [Read our Medium Article](link) - Overview on why we built <i>MLflow.js</i> and how it enhances ML workflows in JavaScript environments

<br>

## Documentation

Official documentation for <i>MLflow.js</i> can be found <a href="https://www.mlflow-js.org/documentation">here</a>.

### High-Level Workflows

**Experiment Manager**

- runExistingExperiment - Full workflow of creating, naming, and starting a run under an existing experiment, logging metrics, params, tags, and the model, and finishing the run
- runNewExperiment - Full workflow of creating, naming, and starting a run under a new experiment, logging metrics, params, tags, and the model, and finishing the run
- experimentSummary - Returns an array of all the passed-in experiment's runs, sorted according to the passed-in metric

**Run Manager**

- cleanupRuns - Deletes runs that do not meet certain criteria and return an object of deleted runs and details
- copyRun - Copies a run from one experiment to another (without artifacts and models)

**Model Manager**

- createRegisteredModelWithVersion - Creates a new registered model and the first version of that model
- updateRegisteredModelDescriptionAndTag - Updates a registered model's description and tags
- updateAllLatestModelVersion - Updates the latest version of the specified registered model's description, adds a new alias, and tag key/value for the latest version
- setLatestModelVersionTag - Adds a new tag key/value for the latest version of the specified registered model
- setLatestModelVersionAlias - Adds an alias for the latest version of the specified registered model
- updateLatestModelVersion - Updates the description of the latest version of a registered model
- updateAllModelVersion - Updates the specified version of the specified registered model's description and adds a new alias and tag key/value for that specified version
- deleteLatestModelVersion - Deletes the latest version of the specified registered model
- createModelFromRunWithBestMetric - Creates a new model with the specified model name from the run with the best specified metric

<br>

## Contributing

We welcome contributions to <i>MLflow.js</i>! Please see our [Contributing Guide](/CONTRIBUTING.md) for more details on how to get started.

<br>

## License

[MIT License](/LICENSE)

<br>

## Meet The Team

| Name | GitHub | LinkedIn |
| -------------- | ------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Yiqun Zheng | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/yiqunzheng) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/yiqunzheng/) |
| Kyler Chiago | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/Kyler-Chiago) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/kyler-chiago/) |
| Austin Fraser | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/austinbfraser) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](http://www.linkedin.com/in/austin-fraser) |
| Stephany Ho | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/seneyu) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/stephanyho/) |
| Winston Ludlam | [![GitHub](https://img.shields.io/badge/GitHub-181717?style=for-the-badge&logo=github)](https://github.com/winjolu/) | [![LinkedIn](https://img.shields.io/badge/LinkedIn-0077B5?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/wjludlam/) |
9 changes: 0 additions & 9 deletions license.md

This file was deleted.

3 changes: 3 additions & 0 deletions mlflow-site/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["next/core-web-vitals", "next/typescript"]
}
37 changes: 37 additions & 0 deletions mlflow-site/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz

# testing
/coverage

# next.js
/.next/
/out/

# production
/build

# misc
.DS_Store
../.DS_Store
*.pem

# debug
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# local env files
.env*.local

# vercel
.vercel

# typescript
*.tsbuildinfo
next-env.d.ts
15 changes: 15 additions & 0 deletions mlflow-site/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
13 changes: 13 additions & 0 deletions mlflow-site/next.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'i.giphy.com'
},
],
},
};

export default nextConfig;
Loading