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

stanford-oval / genie-toolkit / 1634
54%
master: 56%

Build:
Build:
LAST BUILD BRANCH: dependabot/npm_and_yarn/ws-8.11.0
DEFAULT BRANCH: master
Ran 10 Feb 2021 01:53AM UTC
Jobs 8
Files 316
Run time 24min
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
1634

push

travis-ci-com

web-flow
Refactor how entities are generated in agent sentences (#453)

The goal of this refactor is two fold:
- We need to generate delexicalized agent utterances at inference
  time to pass to the NLG
- We want the actual text of the entity to be generated by the I18n
  code during postprocessing, so consistent postprocessing is
  applied to both synthetic and NLG sentences, and we can use
  locale-specific code.

To apply this refactoring, the system of inference time constants
is modified to make use of a SequentialEntityAllocator, which allocates
entity tokens (NUMBER_0, DATE_1, etc.) for each value that appears
in the context. This entity allocator is also passed to the Describe
module when that module extracts a value from the program.

At training time, we have only one SequentialEntityAllocator,
which is primed with the fake entities used during generation,
plus any entity that is generated by the simulator and observed
by Describe. At inference time, we reset the entity allocator
immediately prior to processing a new context.

The entities thus allocated are later passed to the I18n module for
postprocessing. This module gained code to automatically select
the most appropriate unit for a given size.

Fixes #447

10800 of 23233 branches covered (46.49%)

Branch coverage included in aggregate %.

167 of 213 new or added lines in 13 files covered. (78.4%)

3 existing lines in 3 files now uncovered.

25374 of 43928 relevant lines covered (57.76%)

546053.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1634.1 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:05AM UTC 0
44.81
Travis Job 1634.1
2 1634.2 (COVERALLS_PARALLEL=true) 10 Feb 2021 01:53AM UTC 0
29.29
Travis Job 1634.2
3 1634.3 (COVERALLS_PARALLEL=true) 10 Feb 2021 01:53AM UTC 0
11.85
Travis Job 1634.3
4 1634.4 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:03AM UTC 0
21.04
Travis Job 1634.4
5 1634.5 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:10AM UTC 0
22.03
Travis Job 1634.5
6 1634.6 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:17AM UTC 0
27.47
Travis Job 1634.6
7 1634.7 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:06AM UTC 0
22.22
Travis Job 1634.7
8 1634.8 (COVERALLS_PARALLEL=true) 10 Feb 2021 02:13AM UTC 0
28.99
Travis Job 1634.8
Source Files on build 1634
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #1634
  • 316836d4 on github
  • Prev Build on next (#1632)
  • Next Build on next (#1636)
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