Giter VIP home page Giter VIP logo

wenjuanxing-script-ahk's Introduction

wenjuanxing-script

·使用前

需要python3.x环境

运行pip install selenium

修改config.json配置

添加main.py中的url变量

运行main.py文件

·config.json配置参数

参数 类型 备注
t_type number 1: 单选题、2: 多选题、3: 矩阵题、4: 滑动、5: 填空、6: 排序、7: 量表
PR array 每个选项的选中概率(数组长度需与选项匹配)
对象{}在数组configs中的顺序就是题目的顺序
特殊题型的特殊参数参考以下示例
示例:
{
    "configs": [
        第一题
        {
            "t-type" : 1,
            "PR": [0.3, 0.2, 0.5]
        },
        第二题
        {
            "t-type" : 1,
            "PR": [0.3, 0.2, 0.5]
        },
        {
            "t-type": 2,
            "option": 2,        选中选项的数量
            "PR": [0.3, 0.2, 0.5]
        },
        {
            "t-type": 3,
            "topic_nums": 6,    小题数量
            "PR": [0.3, 0.2, 0.2, 0.1, 0.2]
        },
        {
            "t-type": 4,
            "intervals": [0, 50]    选择区间
        }
    ]
}

·后续开发

1、添加无配置模式 2、支持填空题、下拉选项题 3、自动检测题型

wenjuanxing-script-ahk's People

Contributors

linyys avatar abeleinsa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.