Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
d334a9a
fix: ports forwarded to localhost when running on production mode
unkosan Feb 3, 2025
d19a517
feat: changed port number to access frontend
unkosan Feb 3, 2025
1ef9a3f
feat: ditto for mocks
unkosan Feb 3, 2025
6e87970
feat: ditto2 for mocks
unkosan Feb 3, 2025
7aae702
feat: modification on test
unkosan Feb 3, 2025
e223d4b
refactor: renamed top level dirname of front and backend
unkosan Feb 3, 2025
bcb6778
Revert "refactor: renamed top level dirname of front and backend"
unkosan Feb 3, 2025
35334f0
feat: removed dependency to uid and gid
unkosan Feb 3, 2025
f7f9e56
feat: swapped docker-compose files for dev and prod
unkosan Feb 3, 2025
fb4367a
feat: refined readme.md
unkosan Feb 3, 2025
6cee9ef
Merge pull request #132 from unkosan/feature/no-ref/change-structures…
unkosan Feb 5, 2025
7d2881c
fix: updated versions of github actions
unkosan Feb 5, 2025
02af5f5
refactor: renamed root dir of next.js into frontend
unkosan Feb 5, 2025
6665753
feat: renamed root dir for backend
unkosan Feb 5, 2025
7dcf834
feat: changed names of tags
unkosan Feb 5, 2025
506e127
Merge pull request #133 from unkosan/feature/no-ref/change-structures…
unkosan Feb 5, 2025
e64e143
refactor: further refinement of modularity in trainer main component
unkosan Feb 5, 2025
79aa557
refactor: removed main component on trainer module
unkosan Feb 5, 2025
5373ce0
refactor: created detail pane component for better clarity
unkosan Feb 7, 2025
7504df6
refactor: definition of layout for latent graph now in one place
unkosan Feb 7, 2025
1faba11
refactor: removed main component on gmm index page
unkosan Feb 7, 2025
f94980d
feat: implemented isLoading for latent graphs
unkosan Feb 10, 2025
2e2c5a1
feat: moved functions for action buttons to each component
unkosan Feb 10, 2025
8643193
refactor: flattened file structure of viewer components
unkosan Feb 10, 2025
b180704
refactor: changed style description to bootstrap AMAP
unkosan Feb 10, 2025
a333a25
feat: implemented isLoading for latent graphs 2
unkosan Feb 10, 2025
04ebfcf
feat: added loading behavior
unkosan Feb 10, 2025
e9eda86
feat: export functions instead of specifying targets with raw strings
unkosan Feb 11, 2025
29122f7
feat: unified contents in tabs into one file
unkosan Feb 11, 2025
e0d505d
refactor: unified param tables for vae and gmm
unkosan Feb 19, 2025
7ea9293
feat: update readme on root
unkosan Feb 19, 2025
bb551ea
feat: ditto
unkosan Feb 19, 2025
94d8da6
feat: changed readme on the top
unkosan Feb 20, 2025
48aaf91
feat: docs migrated to mkdocs
unkosan Feb 20, 2025
bc2caff
refactor: impl thunk for redux in bayesopt
unkosan Feb 20, 2025
65e1254
feat: diito
unkosan Feb 20, 2025
7ce3ff1
feat: simplified desc for install
unkosan Feb 21, 2025
f546bcf
refactor: split model selector into some files and hooks
unkosan Feb 25, 2025
b176f74
refactor: disassembled data-table
unkosan Feb 25, 2025
8627afb
refactor: splitted decode components into smaller ones
unkosan Feb 25, 2025
ce7f665
feat: implemented hooks and tests for model-picker
unkosan Feb 27, 2025
76ea290
refactor: implemented hooks for interaction-tables
unkosan Feb 27, 2025
69d95a7
refactor: ditto
unkosan Feb 27, 2025
5640229
refactor: splitted decoder components into input and output pane
unkosan Feb 27, 2025
0cb0aea
feat: removed randomRegion field from interaction data on redux
unkosan Feb 27, 2025
3db9829
refactor: use @testing-library/react instead of react-hook
unkosan Feb 27, 2025
8d308f7
refactor: moved logic part of decode-output to hooks
unkosan Feb 27, 2025
7daf00f
refactor: hooks for decoder-input
unkosan Feb 27, 2025
819bf8e
feat: simplified downloader component
unkosan Feb 28, 2025
0c7053e
refactor: added tests for downloader
unkosan Feb 28, 2025
ab7c60e
refactor: disassembled encode-input to view and hooks
unkosan Feb 28, 2025
f2cb915
refactor: test for encode-input
unkosan Mar 1, 2025
d956a7f
refactor: splitted latent-graph into views and hooks
unkosan Mar 3, 2025
71142cb
refactor: separated initialization feature into hook
unkosan Mar 3, 2025
038c72b
refactor: view and hook for bayes-opt-config
unkosan Mar 3, 2025
4ff9f62
refactor: sessions component split into view and hooks
unkosan Mar 3, 2025
5db1505
refactor: view-hooks split for initial-dataset
unkosan Mar 3, 2025
936b463
refactor: view-hooks split for query-table
unkosan Mar 3, 2025
6dcc770
refactor: view-hooks split for registered-table
unkosan Mar 3, 2025
910ac90
feat: renamed wholeSelected to masterboxChecked for clarity
unkosan Mar 3, 2025
110f435
feat: ditto
unkosan Mar 3, 2025
bd5f3d3
refactor: renamed to index.tsx
unkosan Mar 5, 2025
e6cbf5f
feat: removed files that are no longer needed
unkosan Mar 5, 2025
c3ef909
refactor: view-hooks split for latent-graph and vae-selector
unkosan Mar 5, 2025
a977eda
refactor: moved use-initializer to hooks in components
unkosan Mar 5, 2025
3ad3323
refactor: removed files no longer used
unkosan Mar 5, 2025
d612258
fix: resolved multiple call of useEffect with the same value
unkosan Mar 5, 2025
5a46d17
refactor: force displaying loading pane on graph when loading session
unkosan Mar 5, 2025
fdd1588
fix: addressed issue of mismatch for id of tabs for bayesopt tables
unkosan Mar 5, 2025
5b135ea
feat: updated hovertemplates
unkosan Mar 5, 2025
5edfd67
refactor: modified path to components
unkosan Mar 5, 2025
cda609c
refactor: removed isLoading redux store
unkosan Mar 5, 2025
567e326
refactor: hook-view split for trainer-add module
unkosan Mar 6, 2025
4fbc53d
refactor: view-hooks split for gmm-add
unkosan Mar 6, 2025
edb4278
feat: view-hook split for gmm-home, without gmm-job-handler
unkosan Mar 7, 2025
e793746
refactor: view-hooks split for trainer-home, without vae-jobs-list
unkosan Mar 7, 2025
240b39e
refactor: view-hooks split for jobs-list
unkosan Mar 7, 2025
c614cd7
refactor: flattend filetree for components in nested pages
unkosan Mar 7, 2025
4e07603
refactor: ditto
unkosan Mar 7, 2025
851e379
refactor: modified landing page
unkosan Mar 10, 2025
2209af4
refactor: use-job-item for *-trainer pages
unkosan Mar 10, 2025
77612c2
refactor: grouped related modules to graph-helper
unkosan Mar 10, 2025
d8b7ebc
refactor: removed top-level hooks
unkosan Mar 10, 2025
49e1370
refactor: arranged common components
unkosan Mar 10, 2025
78ea02a
refactor: abstraction of all modal components
unkosan Mar 12, 2025
84c3f40
refactor: arranged file tree
unkosan Mar 12, 2025
b0bd63d
fix: hotfix for rendering GMM issue
unkosan Mar 12, 2025
c9e74fa
refactor: onSomething to handleSomething
unkosan Mar 14, 2025
81dcb35
feat: loading on save
unkosan Mar 14, 2025
42f4823
refactor: added clinerule
unkosan Mar 14, 2025
15a9165
refactor: test for gmm-add
unkosan Mar 14, 2025
87794bb
refactor: test for gmm-home
unkosan Mar 14, 2025
ea14b0b
refactor: tests for bayesopt components
unkosan Mar 15, 2025
cd0b6bf
fix: condtional statement before useCallback
unkosan Mar 15, 2025
6cd384b
feat: change on env
unkosan Mar 15, 2025
74bd5e5
Merge pull request #134 from unkosan/feature/no-ref/refactor-layouts
unkosan Mar 15, 2025
d53fb0f
Merge branch 'dev' into feature/no-ref/docs
unkosan Mar 15, 2025
10d7717
feat: deployment of mkdocs
unkosan Mar 15, 2025
2c287b7
chore: check if mkdocs-workflow works
unkosan Mar 15, 2025
5354ea5
fix: added permission to mkdocs workflow
unkosan Mar 15, 2025
edf8955
fix: show images on top documentation page
unkosan Mar 15, 2025
73643a3
fix: path change
unkosan Mar 15, 2025
b0b074e
Merge pull request #135 from unkosan/bugfix/no-ref/github-workflow
unkosan Mar 24, 2025
3046727
feat: blushed up about pages
unkosan Mar 24, 2025
e060d4f
feat: changed contents to send for mails
unkosan Mar 27, 2025
b735028
feat: made readme more concise
unkosan Mar 27, 2025
0b86bac
feat: fixed order of child job on fetching
unkosan Mar 27, 2025
b96be2d
fix: vae id shown on renaming vae name
unkosan Mar 27, 2025
45ecb27
feat: custom format for duration on job-cards
unkosan Mar 27, 2025
13e95c4
feat: removed 'experiment' tag
unkosan Mar 27, 2025
0a57968
Merge pull request #136 from unkosan/feature/no-ref/docs
unkosan Mar 27, 2025
124cc96
Merge pull request #137 from unkosan/feature/no-ref/refactor-layouts
unkosan Mar 27, 2025
107e5f7
feat: implemented weblogo-map
unkosan Mar 27, 2025
c09e4c0
feat: split into view-hooks
unkosan Mar 27, 2025
7f96c31
fix: formatted python code with black
unkosan Mar 27, 2025
4d44447
fix: ditto
unkosan Mar 27, 2025
93947e7
fix: ditto
unkosan Mar 27, 2025
6c36033
feat: dpi as argument
unkosan Mar 27, 2025
99da783
feat: applied suggestion from coderabbit
unkosan Mar 27, 2025
7b88630
Merge pull request #138 from unkosan/feature/no-ref/weblogo-map
unkosan Mar 27, 2025
df0e8d5
feat: implmented showTitle property
unkosan Mar 27, 2025
fe57edf
feat: added missing field on initialization hook
unkosan Mar 28, 2025
a96ad9f
fix: ditto
unkosan Mar 28, 2025
4c27884
Merge pull request #139 from unkosan/feature/no-ref/option-show-title
unkosan Mar 28, 2025
784e356
feat: tests for hooks of trainer-add
unkosan Mar 28, 2025
f688a21
fix: testing-library/react for hooks
unkosan Mar 28, 2025
166142b
feat: added test for trainer-home
unkosan Mar 28, 2025
1be760c
fix: testing-library/react for hooks of trainer-home
unkosan Mar 28, 2025
1f7b3ef
fix: applied suggestion from coderabbit
unkosan Mar 28, 2025
8ec5898
Merge pull request #140 from unkosan/feature/no-ref/tests-for-trainers
unkosan Mar 28, 2025
c41773c
feat: changed the name of compose file
unkosan May 2, 2025
10264a3
Merge pull request #141 from unkosan/feature/no-ref/rename-compose-yaml
unkosan May 2, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'
version: "3"
services:
# Update this to the name of the service you want to work with in your docker-compose.yml file
back:
# Uncomment if you want to override the service's Dockerfile to one in the .devcontainer
# folder. Note that the path of the Dockerfile and context is relative to the *primary*
backend:
# Uncomment if you want to override the service's Dockerfile to one in the .devcontainer
# folder. Note that the path of the Dockerfile and context is relative to the *primary*
# docker-compose.yml file (the first in the devcontainer.json "dockerComposeFile"
# array). The sample below assumes your primary file is in the root of your project.
#
Expand All @@ -23,4 +23,3 @@ services:

# Overrides default command so things don't shut down after the process ends.
command: /bin/sh -c "while sleep 1000; do :; done"

83 changes: 40 additions & 43 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,43 @@
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/docker-existing-docker-compose
{
"name": "dev-back",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": [
"../docker-compose.yml",
"docker-compose.yml"
],
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "back",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"usernamehw.errorlens",
"eamodio.gitlens",
"ms-python.black-formatter",
"ms-vscode-remote.remote-containers",
"GitHub.vscode-pull-request-github",
"mhutchie.git-graph"
]
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "devcontainer"
}
"name": "dev-back",
// Update the 'dockerComposeFile' list if you have more compose files or use different names.
// The .devcontainer/docker-compose.yml file contains any overrides you need/want to make.
"dockerComposeFile": ["../compose.yml", "compose.yml"],
// The 'service' property is the name of the service for the container that VS Code should
// use. Update this value and .devcontainer/docker-compose.yml to the real service name.
"service": "backend",
// The optional 'workspaceFolder' property is the path VS Code should open by default when
// connected. This is typically a file mount in .devcontainer/docker-compose.yml
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",
"customizations": {
"vscode": {
"extensions": [
"ms-python.python",
"usernamehw.errorlens",
"eamodio.gitlens",
"ms-python.black-formatter",
"ms-vscode-remote.remote-containers",
"GitHub.vscode-pull-request-github",
"mhutchie.git-graph"
]
}
},
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Uncomment the next line if you want start specific services in your Docker Compose config.
// "runServices": [],
// Uncomment the next line if you want to keep your containers running after VS Code shuts down.
// "shutdownAction": "none",
// Uncomment the next line to run commands after the container is created.
// "postCreateCommand": "cat /etc/os-release",
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as an existing user other than the container default. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "devcontainer"
}
4 changes: 2 additions & 2 deletions .github/workflows/ai-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '[run review]') && github.event.issue.pull_request) ||
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '[run review]')) ||
(github.event_name == 'pull_request' && !contains(github.event.pull_request.title, 'release') && !contains(github.event.pull_request.title, 'Release'))
timeout-minutes: 15
timeout-minutes: 60
steps:
- uses: wisteria30/ai-pr-reviewer@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
AZURE_OPENAI_API_KEY: ${{ secrets.AZURE_OPENAI_API_KEY }}
AZURE_OPENAI_API_INSTANCE_NAME: ${{ secrets.AZURE_OPENAI_API_INSTANCE_NAME }}
AZURE_OPENAI_API_DEPLOYMENT_NAME: ${{ secrets.AZURE_OPENAI_API_DEPLOYMENT_NAME }}
AZURE_OPENAI_API_VERSION: '2023-03-15-preview'
AZURE_OPENAI_API_VERSION: "2025-02-01-preview"
with:
debug: false
review_simple_changes: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: psf/black@stable
with:
options: "--check --verbose"
src: "./raptgen"
src: "./backend"
64 changes: 0 additions & 64 deletions .github/workflows/fastapi-docs.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: yarn install, build, and test
run: |
cd ./visualizer
cd ./frontend
yarn install --frozen-lockfile
yarn build
yarn test
45 changes: 45 additions & 0 deletions .github/workflows/mkdocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Deploy mkdocs to GitHub Pages

on:
push:
branches:
- dev
- bugfix/no-ref/github-workflow
paths:
- "docs/**"
- "mkdocs.yml"
workflow_dispatch:

permissions:
contents: write
pages: write
id-token: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

deploy:
runs-on: ubuntu-latest
needs: build
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: actions/configure-pages@v5
- uses: actions/upload-pages-artifact@v3
with:
path: "."
- name: Deploy
id: deployment
uses: actions/deploy-pages@v4
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,6 @@ Temporary Items
# vscode config files
.vscode/

# ignore lock file of yarn
**/yarn.lock

# ignore database file
raptgen/data/test_tasks.db
raptgen/data/tasks.db
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2023 Ryota Nakano
Copyright (c) 2025 Ryota Nakano,

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading