Skip to content

M1 作業 — 謝翔宇#31

Open
brian60610 wants to merge 1 commit into
Zenobia0000:mainfrom
brian60610:main
Open

M1 作業 — 謝翔宇#31
brian60610 wants to merge 1 commit into
Zenobia0000:mainfrom
brian60610:main

Conversation

@brian60610

Copy link
Copy Markdown

No description provided.

@github-actions

github-actions Bot commented May 3, 2026

Copy link
Copy Markdown

📊 作業批改結果

總分:100 / 600(17%)— 等級 F


💡 完整解答請到你自己 fork 的 repo → Actions 頁籤查看。

M1 NumPy(100/100 — 100%)

題目 分數 狀態
test_green_mean 10/10
test_green_double 10/10
test_green_filter 10/10
test_yellow_expensive_count 15/15
test_yellow_top3_stock_indices 15/15
test_yellow_restock_cost 15/15
test_red_double11_prices 20/20
test_red_no_forloop 5/5

M2 Pandas 清理(0/100 — 0%)

題目 分數 狀態
test_green_read_csv 0/10
test_green_shape 0/10
test_green_dtypes 0/10
test_yellow_clean_columns 0/15
test_yellow_clean_amount 0/15
test_yellow_drop_duplicates 0/15
test_red_clean_orders_returns_df 0/4
test_red_clean_orders_columns 0/4
test_red_clean_orders_amount_is_numeric 0/4
test_red_clean_orders_date_is_datetime 0/5
test_red_clean_orders_no_nulls 0/4
test_red_clean_orders_no_duplicates 0/4
❌ 錯誤提示(點擊展開)

test_green_read_csv

tests/test_m2.py:18: in test_green_read_csv
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_green_shape

tests/test_m2.py:24: in test_green_shape
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_green_dtypes

tests/test_m2.py:29: in test_green_dtypes
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_yellow_clean_columns

tests/test_m2.py:36: in test_yellow_clean_columns
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_yellow_clean_amount

tests/test_m2.py:45: in test_yellow_clean_amount
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_yellow_drop_duplicates

tests/test_m2.py:51: in test_yellow_drop_duplicates
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_red_clean_orders_returns_df

tests/test_m2.py:59: in test_red_clean_orders_returns_df
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_red_clean_orders_columns

tests/test_m2.py:64: in test_red_clean_orders_columns
    assert result is not None
E   assert None is not None

test_red_clean_orders_amount_is_numeric

tests/test_m2.py:70: in test_red_clean_orders_amount_is_numeric
    assert result is not None
E   assert None is not None

test_red_clean_orders_date_is_datetime

tests/test_m2.py:76: in test_red_clean_orders_date_is_datetime
    assert result is not None
E   assert None is not None

test_red_clean_orders_no_nulls

tests/test_m2.py:82: in test_red_clean_orders_no_nulls
    assert result is not None
E   assert None is not None

test_red_clean_orders_no_duplicates

tests/test_m2.py:88: in test_red_clean_orders_no_duplicates
    assert result is not None
E   assert None is not None

M3 Pandas 進階(0/100 — 0%)

題目 分數 狀態
test_green_load_and_merge 0/10
test_green_row_count 0/10
test_green_column_list 0/10
test_yellow_top_category 0/15
test_yellow_gold_vip_stats 0/15
test_yellow_region_avg_amount 0/15
test_red_rfm_top5_shape 0/9
test_red_rfm_top5_columns 0/8
test_red_rfm_top5_sorted_by_m 0/8
❌ 錯誤提示(點擊展開)

test_green_load_and_merge

tests/test_m3.py:22: in test_green_load_and_merge
    assert result is not None, "函式回傳了 None,請確認有 return"
E   AssertionError: 函式回傳了 None,請確認有 return
E   assert None is not None

test_green_row_count

tests/test_m3.py:29: in test_green_row_count
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_green_column_list

tests/test_m3.py:34: in test_green_column_list
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_top_category

tests/test_m3.py:42: in test_yellow_top_category
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_gold_vip_stats

tests/test_m3.py:48: in test_yellow_gold_vip_stats
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_region_avg_amount

tests/test_m3.py:59: in test_yellow_region_avg_amount
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_red_rfm_top5_shape

tests/test_m3.py:71: in test_red_rfm_top5_shape
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_red_rfm_top5_columns

tests/test_m3.py:77: in test_red_rfm_top5_columns
    assert result is not None
E   assert None is not None

test_red_rfm_top5_sorted_by_m

tests/test_m3.py:84: in test_red_rfm_top5_sorted_by_m
    assert result is not None
E   assert None is not None

M4 時間序列(0/100 — 0%)

題目 分數 狀態
test_green_avg_by_month 0/10
test_green_top3_dates 0/10
test_green_date_range 0/10
test_yellow_monthly_revenue 0/15
test_yellow_rolling_avg 0/15
test_yellow_category_median 0/15
test_red_monthly_report_columns 0/9
test_red_monthly_report_values 0/8
test_red_monthly_report_growth 0/8
❌ 錯誤提示(點擊展開)

test_green_avg_by_month

tests/test_m4.py:18: in test_green_avg_by_month
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_green_top3_dates

tests/test_m4.py:30: in test_green_top3_dates
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_green_date_range

tests/test_m4.py:37: in test_green_date_range
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_monthly_revenue

tests/test_m4.py:46: in test_yellow_monthly_revenue
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_rolling_avg

tests/test_m4.py:57: in test_yellow_rolling_avg
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_category_median

tests/test_m4.py:68: in test_yellow_category_median
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_red_monthly_report_columns

tests/test_m4.py:79: in test_red_monthly_report_columns
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_red_monthly_report_values

tests/test_m4.py:89: in test_red_monthly_report_values
    assert result is not None
E   assert None is not None

test_red_monthly_report_growth

tests/test_m4.py:96: in test_red_monthly_report_growth
    assert result is not None
E   assert None is not None

M5 視覺化(0/100 — 0%)

題目 分數 狀態
test_green_bar_category 0/10
test_green_hist_amount 0/10
test_green_set_labels 0/10
test_yellow_line_region_trend 0/15
test_yellow_box_vip 0/15
test_yellow_scatter_price_amount 0/15
test_red_category_dashboard_is_figure 0/13
test_red_category_dashboard_has_4_subplots 0/12
❌ 錯誤提示(點擊展開)

test_green_bar_category

tests/test_m5.py:23: in test_green_bar_category
    _assert_is_figure(result, "green_bar_category")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_bar_category: 函式回傳了 None
E   assert None is not None

test_green_hist_amount

tests/test_m5.py:30: in test_green_hist_amount
    _assert_is_figure(result, "green_hist_amount")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_hist_amount: 函式回傳了 None
E   assert None is not None

test_green_set_labels

tests/test_m5.py:35: in test_green_set_labels
    _assert_is_figure(result, "green_set_labels")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_set_labels: 函式回傳了 None
E   assert None is not None

test_yellow_line_region_trend

tests/test_m5.py:46: in test_yellow_line_region_trend
    _assert_is_figure(result, "yellow_line_region_trend")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: yellow_line_region_trend: 函式回傳了 None
E   assert None is not None

test_yellow_box_vip

tests/test_m5.py:54: in test_yellow_box_vip
    _assert_is_figure(result, "yellow_box_vip")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: yellow_box_vip: 函式回傳了 None
E   assert None is not None

test_yellow_scatter_price_amount

tests/test_m5.py:59: in test_yellow_scatter_price_amount
    _assert_is_figure(result, "yellow_scatter_price_amount")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: yellow_scatter_price_amount: 函式回傳了 None
E   assert None is not None

test_red_category_dashboard_is_figure

tests/test_m5.py:66: in test_red_category_dashboard_is_figure
    _assert_is_figure(result, "red_category_dashboard")
tests/test_m5.py:15: in _assert_is_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: red_category_dashboard: 函式回傳了 None
E   assert None is not None

test_red_category_dashboard_has_4_subplots

tests/test_m5.py:71: in test_red_category_dashboard_has_4_subplots
    assert result is not None
E   assert None is not None

M6 Plotly Capstone(0/100 — 0%)

題目 分數 狀態
test_green_plotly_bar 0/10
test_green_plotly_line 0/10
test_green_plotly_pie 0/10
test_yellow_clean_and_merge 0/15
test_yellow_kpi_summary 0/15
test_yellow_plotly_scatter 0/15
test_red_dashboard_is_figure 0/13
test_red_dashboard_has_traces 0/12
❌ 錯誤提示(點擊展開)

test_green_plotly_bar

tests/test_m6.py:22: in test_green_plotly_bar
    _assert_is_plotly_figure(result, "green_plotly_bar")
tests/test_m6.py:14: in _assert_is_plotly_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_plotly_bar: 函式回傳了 None
E   assert None is not None

test_green_plotly_line

tests/test_m6.py:27: in test_green_plotly_line
    _assert_is_plotly_figure(result, "green_plotly_line")
tests/test_m6.py:14: in _assert_is_plotly_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_plotly_line: 函式回傳了 None
E   assert None is not None

test_green_plotly_pie

tests/test_m6.py:32: in test_green_plotly_pie
    _assert_is_plotly_figure(result, "green_plotly_pie")
tests/test_m6.py:14: in _assert_is_plotly_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: green_plotly_pie: 函式回傳了 None
E   assert None is not None

test_yellow_clean_and_merge

tests/test_m6.py:43: in test_yellow_clean_and_merge
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_kpi_summary

tests/test_m6.py:52: in test_yellow_kpi_summary
    assert result is not None, "函式回傳了 None"
E   AssertionError: 函式回傳了 None
E   assert None is not None

test_yellow_plotly_scatter

tests/test_m6.py:63: in test_yellow_plotly_scatter
    _assert_is_plotly_figure(result, "yellow_plotly_scatter")
tests/test_m6.py:14: in _assert_is_plotly_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: yellow_plotly_scatter: 函式回傳了 None
E   assert None is not None

test_red_dashboard_is_figure

tests/test_m6.py:69: in test_red_dashboard_is_figure
    _assert_is_plotly_figure(result, "red_dashboard")
tests/test_m6.py:14: in _assert_is_plotly_figure
    assert result is not None, f"{name}: 函式回傳了 None"
E   AssertionError: red_dashboard: 函式回傳了 None
E   assert None is not None

test_red_dashboard_has_traces

tests/test_m6.py:73: in test_red_dashboard_has_traces
    assert result is not None
E   assert None is not None

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.

1 participant