cookie123456
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # WEBマクロ ## 文責 英語科 添削ツール 出口雄統 ## 作成日 2022-09-14 ## 目的 本ドキュメントはICEからのWebマクロ・コメント集対応試験種の確認とWebマクロへの答案アップロード, 採点マスタ不備フォーム送信, 期限アラート, 提出期限に基づく背景色の設定を既存のICE拡張に追加したchrome extensions "ice_chromeExtensions_main_eng"開発に関する要件定義書です. ## 概要 ### 構成 実装していただきたい機能は以下の通りです. なお, いくつかの機能については既存の拡張機能で実装済みです. - Webマクロ対応試験種の確認 採点マスタのマスタデータに基づき, Webマクロで採点可能な試験種をICE上で判別可能にします. - コメント集対応試験種の確認 コメント集のマスタデータに基づき, コメント集が存在する試験種をICE上で判別可能にします. ->GASで拡張機能側で対応+クリックすると飛べるのがいいのでは? →表の列を増やすことで対応 - Webマクロへの答案アップロード ICE→Webマクロへの答案アップロードをICE上からボタン1つで可能にします. -> - 採点マスタ不備フォーム送信 採点マスタに不備がある場合, ICE上からフォーム送信を可能にします. - 不備答案フォーム送信 答案由来の不備がある場合, ICE上からフォーム送信を可能にします. ***以下の機能はリーダーmtgで相談してから実装するか決めます*** - 期限アラート ICEの「添削」画面上に答案の提出期限に関する注意文を表示します. - 提出期限に基づく背景色の設定 提出期限までの日数に応じて背景色を変更します. ### 用語定義 以下では, 本ドキュメントに登場する用語の定義をします. - ice_chromeExtensions_main_eng 開発対象となるchrome拡張機能の名前です. 本ドキュメントでは以降, 略して"ICME(イクメ)"と呼称します. - Webマクロ ITチームによって2020年度に開発された新たな採点方法「マクロ」を実装したWebアプリです. 化学科を発端として, ローカルのlibreOfficeにpythonマクロを導入していたものが, 物理/ITの参入によって, Webアプリ化し, 参入障壁を下げました. こちらのドキュメント(https://sites.google.com/view/nagase-web-macro/%E6%8E%A1%E7%82%B9%E7%94%A8%E3%83%9E%E3%83%8B%E3%83%A5%E3%82%A2%E3%83%AB)に使用・ログイン方法が書かれています. - コメント集 英語科内で添削者に提供している, 生徒解答の類似ミスに対するコメントをまとめたスプレッドシートです. 正式名称は, 「添削コメント集」であり, 出口が統括をつとめる「添削ツール」の管轄です. こちらに一覧がまとまっております. (https://drive.google.com/drive/u/1/folders/1PbRQN2avVCQQpbjUuoHVcnUSpiYcKTpd) - 採点マスタのマスタデータ 現在準備中です. 作成の進捗管理を行うスプレッドシートを指します. - コメント集のマスタデータ 修正中です. コメント集が完成しているかをまとめたスプレッドシートを指します. 概要をkeyとする場合は問題ありませんが, CODE_NUMをkeyとする場合はステータスにずれが生じて問題になります. (https://docs.google.com/spreadsheets/d/1zXCr7XKRMfnJRZdF-yxWlrV7YQQVhKmr9MrM_U_49eI/edit#gid=1566447967) - 不備答案フォーム 答案が切れている・文字が薄くて読めない等の答案由来の不備を発見した際に, 添削者が報告するフォームです. (https://forms.gle/wNmCfLfpm8vF8AH66) - 採点マスタ不備フォーム 大問の配点が異なる・加点理由に誤字がある等のWebマクロ採点マスタ由来の不備を発見した際に, 添削者が報告するフォームです. ***私大で用いているサンプルであり, 実装は別のフォームを用います*** (https://forms.gle/mKoTKoJiM2h82Bbx7) - Webマクロへの答案アップロード Webマクロ採点を行うためには, Webアプリ上でCODE_NUM+生徒番号をファイル名とする答案pdfをサーバーにアップロードする必要があります. そのHTTP通信をICE上で行うことを指します. ***私大で用いているICE拡張*** (https://drive.google.com/drive/u/1/folders/1EyV0Ghr_6wGjrDMfsqPB2Tws1KItpYZm) ## 業務要件 ### 現状のフロー 現状のフローは以下の通りです. 1. 振り分けられた答案をICEからローカルにDLし, Webマクロ(Webアプリ)にログインする 2. 答案由来の不備を発見した場合は, 不備答案フォームを別タブで開いて, 手動で入力を行い, 送信する 3. 答案自体に不備がなく添削可能な場合は, Webマクロ上でICEからDLした答案をULする 4. Webマクロ未対応の試験種の場合は, 「採点マスタが完成していません。」などのアラートが出るのでデジタル採点を行う 5. Webマクロ対応試験種で, かつマクロ添削時に配点情報など, 採点マスタ由来の不備を発見した場合は,   採点マスタ不備フォームを別タブで開いて, 手動で入力を行い, 送信する 6. Webマクロ対応試験種で, かつ採点マスタに不備がなく添削を終えた場合は, ICEへ採点済み答案をドラッグアンドドロップで提出 ### 開発後のフロー ICME開発後のフローは以下の通りです. 1. 振り分けられた答案でWebマクロ対応しているものは, ICE上のボタン1つでWebマクロへULする 2. 答案由来の不備を発見した場合は, ICE上のプルダウンから不備理由を選択し, フォームをボタン1つで送信する 3. 答案自体に不備がなく添削可能な場合で, かつマクロ添削時に配点情報など, 採点マスタ由来の不備を発見した場合は,   ICE上のプルダウンから不備理由を選択し, フォームをボタン1つで送信する 4. 採点マスタに不備がなく添削を終えた場合は, ICEへ採点済み答案をドラッグアンドドロップで提出 ### How to 実装 ICME? あくまで出口の想像, というかこういう感じかなあというのは・・・ 1. ICEの「添削」画面上=tableから「概要」を配列で取得 2. fetch postしてweb apiとしてデプロイしたコメント集・採点マスタ, それぞれのマスタデータ(スプレッドシート)上 or スタンドアローン型のスクリプトを起動 3. gas側から受け取った結果に基づいて, 背景色などを変更してそれぞれの対応チェック 4. ICEのHTMLから添削者番号, 氏名, ASIDなどの基本情報を取得 & 新たにプルダウンリスト・各種フォーム用のDOMを生成 5. 取得した基本情報をクエリパラメータとして, クリックイベントを仕掛ける. ページ遷移先をiframeにして別タブ展開させずにICE上でフォーム送信を完結させる.   藤井さんのREAD_MEとか(https://produce-web.net/sendform-iframe/)を読むといい. というか, まあ既に実装してますよね多分... ### 利用者一覧 - 英語科の全添削者 ### 規模 過去にchrome extensionsの開発経験があるbot管理メンバー1~2名を想定しております. ### スケジュール | 日付 | 内容 | |--------|--------| | 2022年09月31日まで | 要件確認 | | 2022年11月15日まで | 開発 | | 2022年11月31日まで | テスト | | 2022年12月20日まで| テスト結果に伴う修正 | | 2022年12月31日まで| 予備日 | | 2022年1月1日| 開発完了・リリース | ### 予算 基本的にbot管理で出していただきたいです. 必要であれば, 添削ツールからは6万円程度(~30h)なら申請していただいて構いません. ### 導入するにあたって行うこと - ICEから答案をDLしたのち、WebマクロへULする - 答案由来の不備を発見した場合は, ICE上のプルダウンから不備理由を選択し, フォームをボタン1つで送信する and 答案自体に不備がなく添削可能な場合で, かつマクロ添削時に配点情報など, 採点マスタ由来の不備を発見した場合は,ICE上のプルダウンから不備理由を選択し, フォームをボタン1つで送信する GAS側 - 試験種のリストを受け取って, Webマクロ/コメント集が使えるかを返すdoPost()を実装 拡張機能側 - ICEから答案DL -> Webマクロを開いて「ファイル選択」 -> UL - ICEで試験種のリストを取得 -> GASに送信してWebマクロ/コメント集が使えるかどうか取得 -> ICEの答案一覧画面に反映 ### 担当分け 遠山 - ICEから答案DL, WebマクロにUL 鶴谷 - GASと連携して, Webマクロやコメント集の使用可否をICEの答案一覧画面に反映 - まずはGASを実装 - https://docs.google.com/spreadsheets/d/1zXCr7XKRMfnJRZdF-yxWlrV7YQQVhKmr9MrM_U_49eI/edit#gid=1566447967 ここからのapiの作成は、外部からのアクセス不可であるため、パミッションエラーが出た。 - そのため、https://docs.google.com/spreadsheets/d/1KmCXEsVgnTXI5bATWaimKPahbuOZDXoQumLkENG3m3g/edit#gid=0 こちらのspreadsheetを用いて実装した。

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully