• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / backend
89%

Build:
DEFAULT BRANCH: master
Repo Added 26 Jun 2021 01:33PM UTC
Files 158
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: master
CHANGE BRANCH
x
Reset
  • master
  • ai-tests-for-pr1238-1761885873
  • assessment-finish-submit
  • copilot/fix-1285
  • dependabot/hex/bamboo-2.4.0
  • dependabot/hex/bamboo-2.5.0
  • dependabot/hex/bamboo_ses-0.4.6
  • dependabot/hex/credo-1.7.13
  • dependabot/hex/csv-3.2.2
  • dependabot/hex/dialyxir-1.4.6
  • dependabot/hex/dialyxir-1.4.7
  • dependabot/hex/ex_aws-2.5.8
  • dependabot/hex/ex_aws-2.5.9
  • dependabot/hex/ex_aws_s3-2.5.2
  • dependabot/hex/excoveralls-0.18.4
  • dependabot/hex/excoveralls-0.18.5
  • dependabot/hex/exvcr-0.16.0
  • dependabot/hex/git_hooks-0.8.0
  • dependabot/hex/git_hooks-0.8.1
  • dependabot/hex/guardian-2.4.0
  • dependabot/hex/hackney-1.22.0
  • dependabot/hex/hackney-1.23.0
  • dependabot/hex/hackney-1.25.0
  • dependabot/hex/httpoison-2.3.0
  • dependabot/hex/inch_ex-2.1.0
  • dependabot/hex/mock-0.3.9
  • dependabot/hex/openid_connect-1.0.0
  • dependabot/hex/phoenix-1.7.18
  • dependabot/hex/phoenix-1.7.19
  • dependabot/hex/phoenix-1.7.20
  • dependabot/hex/phoenix-1.7.21
  • dependabot/hex/phoenix-1.8.1
  • dependabot/hex/phoenix-1.8.2
  • dependabot/hex/phoenix-1.8.3
  • dependabot/hex/phoenix_ecto-4.6.5
  • dependabot/hex/phoenix_ecto-4.7.0
  • dependabot/hex/phoenix_html-4.2.0
  • dependabot/hex/phoenix_html-4.3.0
  • dependabot/hex/plug_cowboy-2.7.3
  • dependabot/hex/plug_cowboy-2.7.4
  • dependabot/hex/plug_cowboy-2.7.5
  • dependabot/hex/postgrex-0.20.0
  • dependabot/hex/postgrex-0.21.0
  • dependabot/hex/postgrex-0.21.1
  • dependabot/hex/recase-0.9.0
  • dependabot/hex/recase-0.9.1
  • dependabot/hex/sentry-10.10.0
  • dependabot/hex/sentry-10.8.1
  • dependabot/hex/sentry-11.0.0
  • dependabot/hex/sentry-11.0.1
  • dependabot/hex/sentry-11.0.2
  • dependabot/hex/sentry-11.0.4
  • dependabot/hex/sweet_xml-0.7.5
  • dependabot/hex/timex-3.7.13
  • dependabot/hex/xml_builder-2.4.0
  • exam_mode
  • feat/add-AI-generated-comments-grading
  • feat/upgrade-logger
  • filter-team-formation-list
  • fix-issues-with-bonus-xp
  • fix-seeding
  • fix/compile-env
  • fix/logstream-creation
  • language-options
  • leaderboard
  • leaderboard-fix
  • leaderboard-fix2
  • leaderboard-refactor
  • logging-answer-deploy
  • notebooks
  • payload_size_limit
  • revert-1271-master
  • timer-feature
  • upgrade-ci-version
  • upgrade-version
  • vscode/auth
  • warnings

04 Dec 2025 05:47PM UTC coverage: 88.716% (-0.9%) from 89.621%
9c2823cf899c9314fd4ccec9dd6c3b589d83e839

push

github

web-flow
AI-powered marking (#1248)

* feat: v1 of AI-generated comments

* feat: added logging of inputs and outputs

* Update generate_ai_comments.ex

* feat: function to save outputs to database

* Format answers json before sending to LLM

* Add LLM Prompt to question params when submitting assessment xml file

* Add LLM Prompt to api response when grading view is open

* feat: added llm_prompt from qn to raw_prompt

* feat: enabling/disabling of LLM feature by course level

* feat: added llm_grading boolean field to course creation API

* feat: added api key storage in courses & edit api key/enable llm grading

* feat: encryption for llm_api_key

* feat: added final comment editing route

* feat: added logging of chosen comments

* fix: bugs when certain fields were missing

* feat: updated tests

* formatting

* fix: error handling when calling openai API

* fix: credo issues

* formatting

* Address some comments

* Fix formatting

* rm IO.inspect

* a

* Use case instead of if

* Streamlines generate_ai_comments to only send the selected question and its relevant info + use the correct llm_prompt

* Remove unncessary field

* default: false for llm_grading

* Add proper linking between ai_comments table and submissions. Return it to submission retrieval as well

* Resolve some migration comments

* Add llm_model and llm_api_url to the DB + schema

* Moves api key, api url, llm model and course prompt to course level

* Add encryption_key to env

* Do not hardcode formatting instructions

* Add Assessment level prompts to the XML

* Return some additional info for composing of prompts

* Remove un-used 'save comments'

* Fix existing assessment tests

* Fix generate_ai_comments test cases

* Fix bug preventing avengers from generating ai comments

* Fix up tests + error msgs

* Formatting

* some mix credo suggestions

* format

* Fix credo issue

* bug fix + credo fixes

* Fix tests

* format

* Modify test.exs

* Update lib/cadet_web/controllers/gener... (continued)

118 of 174 new or added lines in 9 files covered. (67.82%)

1 existing line in 1 file now uncovered.

3758 of 4236 relevant lines covered (88.72%)

7103.93 hits per line

Relevant lines Covered
Build:
Build:
4236 RELEVANT LINES 3758 COVERED LINES
7103.93 HITS PER LINE
Source Files on master
  • Tree
  • List 158
  • Changed 12
  • Source Changed 0
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
9c2823cf... master AI-powered marking (#1248) * feat: v1 of AI-generated comments * feat: added logging of inputs and outputs * Update generate_ai_comments.ex * feat: function to save outputs to database * Format answers json before sending to LLM * Add LLM Pr... push 04 Dec 2025 05:51PM UTC web-flow github
88.72
21716773... master build(deps): Bump recase from 0.9.0 to 0.9.1 (#1298) Bumps [recase](https://github.com/wemake-services/recase) from 0.9.0 to 0.9.1. - [Release notes](https://github.com/wemake-services/recase/releases) - [Changelog](https://github.com/wemake-serv... push 04 Dec 2025 05:45PM UTC web-flow github
89.62
8430cba7... master build(deps-dev): Bump inch_ex from 2.1.0-rc.1 to 2.1.0 (#1308) Bumps [inch_ex](https://github.com/rrrene/inch_ex) from 2.1.0-rc.1 to 2.1.0. - [Changelog](https://github.com/rrrene/inch_ex/blob/master/CHANGELOG.md) - [Commits](https://github.com/r... push 04 Dec 2025 02:52PM UTC web-flow github
89.65
823ac74c... master build(deps): Bump phoenix from 1.8.1 to 1.8.2 (#1306) Bumps [phoenix](https://github.com/phoenixframework/phoenix) from 1.8.1 to 1.8.2. - [Release notes](https://github.com/phoenixframework/phoenix/releases) - [Changelog](https://github.com/phoen... push 27 Nov 2025 10:42AM UTC web-flow github
89.65
3962b47a... master build(deps-dev): Bump dialyxir from 1.4.6 to 1.4.7 (#1302) Bumps [dialyxir](https://github.com/jeremyjh/dialyxir) from 1.4.6 to 1.4.7. - [Release notes](https://github.com/jeremyjh/dialyxir/releases) - [Changelog](https://github.com/jeremyjh/dial... push 27 Nov 2025 08:51AM UTC web-flow github
89.62
8a0b9124... master build(deps): Bump plug_cowboy from 2.7.4 to 2.7.5 (#1305) Bumps [plug_cowboy](https://github.com/elixir-plug/plug_cowboy) from 2.7.4 to 2.7.5. - [Changelog](https://github.com/elixir-plug/plug_cowboy/blob/master/CHANGELOG.md) - [Commits](https://... push 19 Nov 2025 05:43AM UTC web-flow github
89.62
8736877e... master Language options (#1247) * Add options field * Add options field * Fix format * Update some test cases * Update test cases * Fix XML factory * Revert undocumented XML path change * Simplify logic --------- Co-authored-by: Richard Dominic... push 04 Nov 2025 04:15PM UTC web-flow github
89.62
40cd12aa... master build(deps): Bump bamboo_ses from 0.4.5 to 0.4.6 (#1297) Bumps [bamboo_ses](https://github.com/kalys/bamboo_ses) from 0.4.5 to 0.4.6. - [Changelog](https://github.com/kalys/bamboo_ses/blob/main/CHANGELOG.md) - [Commits](https://github.com/kalys/b... push 21 Oct 2025 01:06PM UTC web-flow github
89.64
26b67a57... master build(deps-dev): Bump credo from 1.7.12 to 1.7.13 (#1296) Bumps [credo](https://github.com/rrrene/credo) from 1.7.12 to 1.7.13. - [Release notes](https://github.com/rrrene/credo/releases) - [Changelog](https://github.com/rrrene/credo/blob/master/... push 21 Oct 2025 12:57PM UTC web-flow github
89.64
5972b709... master build(deps): Bump phoenix_html from 4.2.1 to 4.3.0 (#1295) Bumps [phoenix_html](https://github.com/phoenixframework/phoenix_html) from 4.2.1 to 4.3.0. - [Changelog](https://github.com/phoenixframework/phoenix_html/blob/main/CHANGELOG.md) - [Commi... push 21 Oct 2025 12:51PM UTC web-flow github
89.64
See All Builds (1304)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc