Skip to content

实验02-江俊杰-2024280466#4

Open
J1angJJ wants to merge 1 commit into
jwentong:mainfrom
J1angJJ:main
Open

实验02-江俊杰-2024280466#4
J1angJJ wants to merge 1 commit into
jwentong:mainfrom
J1angJJ:main

Conversation

@J1angJJ
Copy link
Copy Markdown

@J1angJJ J1angJJ commented May 14, 2026

完成内容

  • 完成 Hamming(7,4) 编码、伴随式计算和单比特纠错译码
  • 完成附加题:卷积码编码和 Viterbi 硬判决译码
  • 完成 ZF 均衡器、FIR 滤波和 LMS 自适应均衡器
  • 生成实验结果图并完成实验报告

本地验证

  • pytest:16 passed
  • 自动评分:100/100,A(优秀)
  • 结果图已生成:
    • results/coding_ber_curve.png
    • results/equalization_eye_comparison.png
    • results/equalization_mse_curve.png

AI 使用说明

使用 AI 辅助阅读项目结构、补全代码、排查本地运行和编码问题、整理实验报告;最终结果已通过本地测试和自动评分脚本验证。

@github-actions
Copy link
Copy Markdown

🤖 自动评分结果

提交者: @J1angJJ

============================================================
信道编码与信道均衡实验 - 自动评分系统
============================================================

1️⃣ 环境配置测试 (5分)
  ✅ 环境测试通过: +5分

2️⃣ Part 1:信道编码测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

3️⃣ Part 2:信道均衡测试 (35分)
  通过测试: 8/8
  评分规则: 函数正确性25分 + 结果图10分
  得分: 35/35

4️⃣ 实验报告检查 (15分)
  报告得分: 15/15

5️⃣ 代码质量检查
  ✅ 代码质量优秀 (9.26/10): +5分

6️⃣ 选做任务加分
  ✅ 卷积码/Viterbi选做已实现: +10分

============================================================
总分: 100/100
等级: A (优秀)
============================================================
详细评分报告已保存到: grade_report.json

Part 1 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part1_coding.py::TestHamming74::test_known_encoding PASSED  [ 12%]
grading/test_part1_coding.py::TestHamming74::test_multiple_blocks_length PASSED [ 25%]
grading/test_part1_coding.py::TestHamming74::test_codewords_have_zero_syndrome PASSED [ 37%]
grading/test_part1_coding.py::TestHamming74::test_single_error_syndrome_matches_column PASSED [ 50%]
grading/test_part1_coding.py::TestHamming74::test_decode_without_error PASSED [ 62%]
grading/test_part1_coding.py::TestHamming74::test_decode_all_single_bit_errors PASSED [ 75%]
grading/test_part1_coding.py::TestHamming74::test_invalid_input_length PASSED [ 87%]
grading/test_part1_coding.py::test_coding_result_file_exists PASSED      [100%]

============================== 8 passed in 0.76s ===============================

Part 2 测试详情
============================= test session starts ==============================
platform linux -- Python 3.11.15, pytest-9.0.3, pluggy-1.6.0 -- /opt/hostedtoolcache/Python/3.11.15/x64/bin/python
cachedir: .pytest_cache
rootdir: /home/runner/work/wireless-coding-equalization-exp/wireless-coding-equalization-exp
collecting ... collected 8 items

grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_identity PASSED [ 12%]
grading/test_part2_equalization.py::TestEqualization::test_apply_fir_filter_matches_convolution PASSED [ 25%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_length PASSED [ 37%]
grading/test_part2_equalization.py::TestEqualization::test_zf_equalizer_reduces_isi_near_center PASSED [ 50%]
grading/test_part2_equalization.py::TestEqualization::test_lms_equalizer_shapes PASSED [ 62%]
grading/test_part2_equalization.py::TestEqualization::test_lms_error_decreases_on_training PASSED [ 75%]
grading/test_part2_equalization.py::TestEqualization::test_invalid_inputs PASSED [ 87%]
grading/test_part2_equalization.py::test_equalization_result_files_exist PASSED [100%]

============================== 8 passed in 0.41s ===============================

完整评分报告可在 Actions Artifacts 中下载。

@Wjaywhy
Copy link
Copy Markdown

Wjaywhy commented May 14, 2026

well done

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants