Comments (3)
A much better way would be to add the log.txt to score. Here is the submission part of score.json returned by execution node to load balancer which forwards the same to front end.
"submission_details":
{
"marks" :[],
"comment" :[],
"id_no" :"",
"Lab_No": "",
"commit": "",
"time":"",
"status": "",
"penalty": "" ,
"socket": ""
}
We can add the following fields to this json.
"submission_details":
{
"log":"base64 encoding of log.txt file",
}
The client script can show the result as a collapsible HTML element along with the rest of the evaluation results page.
from autolabjs.
The work was completed in commit 66cff2b. Now the browser code shows the log.txt to the user.
The remaining part is to commit results/ directory to student's git repository. This has to be done in the execution_node.
from autolabjs.
The committing of results/ to student's git directory only makes sense after having a well functioning autolabcli. Till then, only the log is returned.
from autolabjs.
Related Issues (20)
- ansible playbook for setup.sh HOT 3
- ansible playbook for keys.sh HOT 1
- Coding idiom to pass env variables to a JS function HOT 1
- Clean export environment variables HOT 1
- Main server uses stale DB connection
- Drop socket.io from main server? HOT 1
- Mysql behaviour unpredicatable HOT 2
- Congestion Avoidance HOT 5
- Update install script to control docker image builds HOT 2
- Update docker containers HOT 2
- Installation procedure fails due to mysql HOT 9
- Add Ansible task for crontab addition HOT 2
- Deployment Tests Fail
- Correct use of hostnames in Ansible scripts HOT 1
- Integrate glances with install setup HOT 1
- Mainserver configure hyperlink fails HOT 2
- Correct SSL config HOT 1
- Error in Vagrantfile
- Install bug in dependencies.yml
- config page load HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autolabjs.