iic2143_reporter 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +102 -20
- data/lib/iic2143_reporter/version.rb +1 -1
- data/lib/iic2143_reporter.rb +11 -0
- metadata +13 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d58fbac2589f3d53486695993896852fb56633511fb6b360ed44d666d2d1543
|
4
|
+
data.tar.gz: eb54d2598dcac0ae8bd2c9310d7d90026a561a322e6d70500970a064341dd804
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3fcc9b9425089c39f56b66c80da10624d279436a0ca82b5df3e0bde38c9dda4cfe4abb272ef7ac6790da2fce907e9ffab450a3ec6dc476efa9fbd1134a2130d
|
7
|
+
data.tar.gz: 38bf0486f76ac3a0dc564595e72d033acb3aee63b694ac49c6ac6257440466d9dd2b40a6bb47f30c0c92cbae9ffdc824e42dab1158de5c97b1781a4f8d4100cd
|
data/README.md
CHANGED
@@ -1,43 +1,125 @@
|
|
1
|
-
#
|
1
|
+
# IIC2143Reporter
|
2
2
|
|
3
|
-
|
3
|
+
> Important: This gem is DEPRECATED and has been replaced by 'ruby_test_student_grader'.
|
4
|
+
> Reason: the new name is clearer and ongoing development happens there.
|
5
|
+
>
|
6
|
+
> Recommended: gem install ruby_test_student_grader
|
7
|
+
> Learn more: [ruby_test_student_grader on RubyGems](https://rubygems.org/gems/ruby_test_student_grader)
|
4
8
|
|
5
|
-
|
9
|
+
[](https://opensource.org/licenses/MIT)
|
10
|
+
[](https://badge.fury.io/rb/iic2143_reporter)
|
6
11
|
|
7
|
-
## Installation
|
8
12
|
|
9
|
-
|
13
|
+
A Ruby gem for generating academic test reports in HTML format. Initially designed for automated grading of university programming assignments, with flexibility to adapt to different testing frameworks.
|
14
|
+
|
15
|
+
**Current Status**: Early Development (Beta)
|
16
|
+
**Primary Use**: Automated evaluation of academic coding tasks
|
17
|
+
**Future Goal**: Modular system for diverse testing scenarios
|
18
|
+
|
19
|
+
---
|
10
20
|
|
11
|
-
|
21
|
+
## Installation
|
22
|
+
|
23
|
+
### Local Development
|
24
|
+
Add to your Rails Gemfile:
|
25
|
+
```ruby
|
26
|
+
gem 'iic2143_reporter', path: '/path/to/gem/directory'
|
27
|
+
```
|
28
|
+
Then run:
|
12
29
|
|
13
30
|
```bash
|
14
|
-
bundle
|
31
|
+
bundle install
|
15
32
|
```
|
33
|
+
From RubyGems (Once Published)
|
34
|
+
```bash
|
35
|
+
gem install iic2143_reporter
|
36
|
+
```
|
37
|
+
## Basic Usage
|
38
|
+
Configure in your test helper:
|
16
39
|
|
17
|
-
|
40
|
+
```bash
|
41
|
+
test/test_helper.rb
|
42
|
+
```
|
43
|
+
```ruby
|
44
|
+
require 'iic2143_reporter'
|
45
|
+
|
46
|
+
Minitest.after_run do
|
47
|
+
IIC2143Reporter::Reporter.new(
|
48
|
+
total_score, # Calculated score
|
49
|
+
max_score, # Maximum possible score
|
50
|
+
failed_tests, # Array of failed test names
|
51
|
+
automated_feedback # Generated feedback summary
|
52
|
+
).generate
|
53
|
+
end
|
54
|
+
```
|
55
|
+
Report will be generated at:
|
18
56
|
|
19
57
|
```bash
|
20
|
-
|
58
|
+
public/test_report.html
|
21
59
|
```
|
60
|
+
## Evaluated Data:
|
61
|
+
```bash
|
62
|
+
Test results (pass/fail)
|
63
|
+
|
64
|
+
Score calculations
|
65
|
+
|
66
|
+
Execution metadata
|
22
67
|
|
23
|
-
|
68
|
+
Custom feedback
|
24
69
|
|
25
|
-
|
70
|
+
Detailed error traces
|
71
|
+
```
|
72
|
+
## Development Current Features
|
73
|
+
|
74
|
+
- [x] HTML Report Generation
|
75
|
+
- [x] Academic Grading System
|
76
|
+
- [x] Detailed Error Analysis
|
77
|
+
- [x] Customizable Templates
|
78
|
+
|
79
|
+
Planned Features
|
80
|
+
- [ ] PDF/CSV Export
|
81
|
+
- [ ] LMS Integration
|
82
|
+
- [ ] Code Similarity Detection
|
83
|
+
- [ ] AI-Powered Feedback
|
84
|
+
|
85
|
+
## Academic Configuration
|
86
|
+
```ruby
|
87
|
+
IIC2143Reporter.configure do |config|
|
88
|
+
config.grading_scale = {
|
89
|
+
passing: 4.0,
|
90
|
+
excellence: 5.5
|
91
|
+
}
|
92
|
+
config.rubric = {
|
93
|
+
code_quality: 30%,
|
94
|
+
coverage: 20%,
|
95
|
+
functionality: 50%
|
96
|
+
}
|
97
|
+
end
|
98
|
+
```
|
99
|
+
## Architecture
|
100
|
+
```bash
|
101
|
+
lib/
|
102
|
+
├── iic2143_reporter/
|
103
|
+
│ ├── reporter.rb # Core logic
|
104
|
+
│ ├── grader.rb # Grading system
|
105
|
+
│ └── template.html.erb # HTML template
|
106
|
+
├── iic2143_reporter.rb # Main module
|
107
|
+
```
|
108
|
+
## Contributing
|
109
|
+
We welcome contributions for:
|
26
110
|
|
27
|
-
|
111
|
+
New report formats
|
28
112
|
|
29
|
-
|
113
|
+
Additional framework support
|
30
114
|
|
31
|
-
|
115
|
+
Code analysis improvements
|
32
116
|
|
33
|
-
|
117
|
+
AI integration modules
|
34
118
|
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/iic2143_reporter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/iic2143_reporter/blob/master/CODE_OF_CONDUCT.md).
|
36
119
|
|
37
120
|
## License
|
121
|
+
MIT License - See LICENSE. Requires attribution in academic materials using this software.
|
38
122
|
|
39
|
-
|
40
|
-
|
41
|
-
## Code of Conduct
|
123
|
+
Educational assessment tool - Adaptable for diverse pedagogical needs.
|
42
124
|
|
43
|
-
|
125
|
+
**Note**: This project is in very early stage and could have major bugs
|
data/lib/iic2143_reporter.rb
CHANGED
@@ -7,3 +7,14 @@ module IIC2143Reporter
|
|
7
7
|
class Error < StandardError; end
|
8
8
|
# Your code goes here...
|
9
9
|
end
|
10
|
+
|
11
|
+
# Deprecation notice at require-time (printed once per process)
|
12
|
+
unless defined?(IIC2143_REPORTER_DEPRECATION_WARNED)
|
13
|
+
IIC2143_REPORTER_DEPRECATION_WARNED = true
|
14
|
+
warn <<~MSG
|
15
|
+
[DEPRECATION] 'iic2143_reporter' is deprecated and has been replaced by 'ruby_test_student_grader'.
|
16
|
+
Reason: clearer name; active development continues in the new gem.
|
17
|
+
Please migrate when you can: gem install ruby_test_student_grader
|
18
|
+
Learn more: https://rubygems.org/gems/ruby_test_student_grader
|
19
|
+
MSG
|
20
|
+
end
|
metadata
CHANGED
@@ -1,18 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: iic2143_reporter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- jtvaldivia
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-08-10 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
13
|
+
description: 'This gem is deprecated and has been replaced by ''ruby_test_student_grader''.
|
14
|
+
The new name is clearer and future maintenance and improvements will happen there.
|
15
|
+
You can still use this gem, but we strongly recommend migrating. More info: https://rubygems.org/gems/ruby_test_student_grader'
|
14
16
|
email:
|
15
|
-
-
|
17
|
+
- josevaldivia9@gmail.com
|
16
18
|
executables: []
|
17
19
|
extensions: []
|
18
20
|
extra_rdoc_files: []
|
@@ -26,7 +28,12 @@ homepage: https://github.com/tu-usuario/iic2143_reporter
|
|
26
28
|
licenses:
|
27
29
|
- MIT
|
28
30
|
metadata: {}
|
29
|
-
post_install_message:
|
31
|
+
post_install_message: |
|
32
|
+
[DEPRECATION] 'iic2143_reporter' is deprecated and has been replaced by 'ruby_test_student_grader'.
|
33
|
+
Reason: the new name is clearer; active development continues in the new gem.
|
34
|
+
Please migrate when you can:
|
35
|
+
gem install ruby_test_student_grader
|
36
|
+
Learn more: https://rubygems.org/gems/ruby_test_student_grader
|
30
37
|
rdoc_options: []
|
31
38
|
require_paths:
|
32
39
|
- lib
|
@@ -44,5 +51,5 @@ requirements: []
|
|
44
51
|
rubygems_version: 3.5.22
|
45
52
|
signing_key:
|
46
53
|
specification_version: 4
|
47
|
-
summary:
|
54
|
+
summary: "[DEPRECATED] HTML report generator for IIC2143 tests"
|
48
55
|
test_files: []
|