• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

amiv-eth / amivapi / 608
94%

Build:
DEFAULT BRANCH: master
Ran 05 Feb 2019 11:25PM UTC
Jobs 3
Files 80
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
608

push

travis-ci

web-flow
Metadata summary for study documents (#342)

Currently, we have a lot of metadata for study docs, but no efficient way to search through it.
In order to provide users a menu to select professors, for example, an application would have to download *all* study documents to learn the possible professors.

On the other hand, this information is much needed, as most students will not know from the top of their head how exactly their professors name might be written or if their lecture can be found as 'Analysis' or 'Analysis I'

This defeats the purpose of filtering study documents with metadata.

Thus, this commit adds a server-side summary of metadata.
The response contains a new meta field `_summary`, which lists the available values for all meta-data fields along with how many documents are available for them.

```
_summary:
    professor:
        Prof. Dr. Awesome: 10
        Prof. Okay: 5
        ...
    lecture:
        ...
    ...
```

The summary is efficiently computed using the MongoDB aggregation framework.

3685 of 3905 relevant lines covered (94.37%)

1.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 608.1 (TOXENV=py35) 05 Feb 2019 11:26PM UTC 0
94.37
Travis Job 608.1
2 608.2 (TOXENV=py36) 05 Feb 2019 11:27PM UTC 0
94.21
Travis Job 608.2
3 608.3 (TOXENV=flake8) 05 Feb 2019 11:25PM UTC 0
Travis Job 608.3
Source Files on build 608
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #608
  • 7d9b8edf on github
  • Prev Build on master (#600)
  • Next Build on master (#610)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc