Skip to content

Conversation

@homsi6313-art
Copy link

Set up project structure, initialize git, and create initial files including README and resources. Removed unnecessary files and set up a JavaScript program.

Set up project structure, initialize git, and create initial files including README and resources. Removed unnecessary files and set up a JavaScript program.
@github-actions
Copy link

📝 HackYourFuture auto grade

Assignment Score: 22 / 100 ❌

Status: ❌ Not passed
Minimum score to pass: 50
🧪 The auto grade is experimental and still being improved

Test Details
======================= Task 1 =======================
▶️ Running setup.sh...
✅ Successfully executed setup.sh.
✅ Script ran for at least 6 seconds
❌ Path does not exist: project
❌ Path does not exist: project/README.md
❌ Path does not exist: project/settings.conf
❌ Path does not exist: project/resources
❌ Path does not exist: project/resources/icon.png
❌ Path does not exist: project/resources/logo.png
❌ Path does not exist: project/src
❌ Path does not exist: project/src/program.js
❌ Path does not exist: project/src/database
❌ Path does not exist: project/.git
✅ Path does not exist: project/resources/family picture.jpg
✅ Path does not exist: project/src/profile
✅ Path does not exist: project/src/program.java
❌ Error reading file: project/src/program.js
❌ Error reading file: project/README.md
✅ Output has: "Creating project"
✅ Output has: "Setup project"
✅ Output has: "Setup JavaScript"
✅ Output has: "JavaScript works!"
✅ Output has: "icon.png"
✅ Output has: "All done!"
❌ Error checking git commits: spawn /bin/sh ENOENT

======================= Task 2 =======================
Your GitHub username: <paste here your github username>
▶️ Downloading profile README from: https://raw.githubusercontent.com/<paste here your github username>/<paste here your github username>/main/README.md
❌ Failed to download profile README: HTTP 404: Not Found
❌ Profile does not contain GitHub top languages widget
❌ Profile does not contain GitHub streaks widget
❌ Profile does not contain an animated title

======================= Summary =======================
- Task 1 Score: 32%
- Task 2 Score: 0%
Total Score: 22%
Min passing score: 50%

@remarcmij remarcmij self-assigned this Jan 15, 2026
Copy link

@remarcmij remarcmij left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @homsi6313-art, although task1 seems to work on my computer, you added some statements that were not part of the assignment and that may have cause the autograding to fail.

The task2 seems to be unfinished. This needs more work.

@@ -1 +1,63 @@
# Write your code here
#!/bin/bash
set -e

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was not asked for in the instructions.

Comment on lines +6 to +7
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need this?

SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
cd "$SCRIPT_DIR"

mkdir -p project

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The -p option is superfluous here and elsewhere where you used mkdir. There are no intermediate directories to create. Mind the YAGNI principle:

a programmer should not add functionality until deemed necessary.

sleep 3
echo "Setup project..."


Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A single blank line to separate blocks of code is customary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants