-
Notifications
You must be signed in to change notification settings - Fork 39
AI Usage section of Major Project Submission #613
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
base: develop
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
|
|
@@ -92,6 +92,22 @@ <h3 class="mb-4">Major Project Form</h3> | |||
| </small> | ||||
| </div> | ||||
| </div> | ||||
|
|
||||
| <div class="col-lg-6"> | ||||
| <label for="ai-usage" class="d-block h5 mt-4 mb-2"> | ||||
| AI Usage | ||||
| </label> | ||||
|
|
||||
| <textarea | ||||
| id="ai-usage" | ||||
| name="ai-usage" | ||||
| rows="4" | ||||
| class="form-control mb-extra" | ||||
| placeholder="AI has become a staple to the computer science field. There's no shame in saying you used AI, but be honest about how much you used AI versus how much you did." | ||||
| required | ||||
| ></textarea> | ||||
| </div> | ||||
| </div> | ||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
I think this would solve your problem
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But that extra div is my favorite one :(
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. i hate your extra div 😠 |
||||
|
|
||||
| <div class="col-lg-6"> | ||||
| <label for="time-commitment" class="d-block h5 mt-5 mb-2"> | ||||
|
|
||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| """AI usage input for major projects | ||
|
|
||
| Revision ID: 4c0f1c4e006f | ||
| Revises: ce92a683ecf8 | ||
| Create Date: 2026-09-06 22:35:09.349126 | ||
|
|
||
| """ | ||
|
|
||
| # revision identifiers, used by Alembic. | ||
| revision = "4c0f1c4e006f" | ||
| down_revision = "ce92a683ecf8" | ||
|
Comment on lines
+3
to
+11
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. You're going to hate me, but because I hotfixed the stuff for account creation, this is broken, when it references |
||
|
|
||
| import sqlalchemy as sa | ||
| from alembic import op | ||
|
|
||
|
|
||
| def upgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.add_column("major_projects", sa.Column("ai_usage", sa.Text(), nullable=True)) | ||
| # ### end Alembic commands ### | ||
|
|
||
|
|
||
| def downgrade(): | ||
| # ### commands auto generated by Alembic - please adjust! ### | ||
| op.drop_column("major_projects", "ai_usage") | ||
| # ### end Alembic commands ### | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is crashing, you need to edit
conditional/utils/major_project.pyto include ai usage i believe